Johan Malm
ec2c67338a
rcxml.c: survive incorrect keybind
2021-07-19 07:07:33 +01:00
Johan Malm
3bc379cc08
desktop: handle missing output safely
2021-07-19 07:06:36 +01:00
Johan Malm
c9312edf0b
build: bump wlroots dependency version number
2021-07-16 19:58:22 +01:00
Johan Malm
8a2cacdb6f
docs/rc.xml: comply with new syntax
2021-07-16 18:18:09 +01:00
Johan Malm
b31c1c4b75
rcxml: change <lab><xdg_shell_server_side_deco> to <core><decoration>
2021-07-16 17:38:17 +01:00
Johan Malm
a9b46131ab
rcxml: use root-node <labwc_config>
2021-07-16 17:30:07 +01:00
Johan Malm
e50bb45890
Move corner textures from ssd.c to theme.c
...
It makes more sense to just keep one set of corner textures for server
side view decorations, rather than storing a set for each view. This also
keeps the code simpler when when changing theme parameters.
2021-07-16 17:07:00 +01:00
Johan Malm
c668fd9b07
action: add "ToggleMaximize"
2021-07-13 21:54:22 +01:00
Johan Malm
69f0f68cc2
Open new views on output where cursor is
2021-07-13 21:50:02 +01:00
Johan Malm
eaed1a3cab
action: add "Close" to close top-most view
2021-07-12 21:47:27 +01:00
Johan Malm
9fa783e7b4
Add labwc.desktop (issue #36 )
2021-07-12 21:41:12 +01:00
Johan Malm
a3ac2f2767
layers: take into account usable area when maximizing views
2021-07-12 21:39:09 +01:00
Johan Malm
743803de3b
cursor: initialize view_area
...
...to avoid inadvertantly triggering close/minimize/maximize
2021-07-12 19:59:19 +01:00
Johan Malm
ee15a5fe56
cursor: handle button press on layer-surface (issue #41 )
2021-07-12 16:44:30 +01:00
Johan Malm
97a5695ccb
cursor: do not pass _press_ to client when alt held
2021-07-09 22:29:48 +01:00
Johan Malm
b194881ac2
cursor: handle alt + mouse button (issue #40 )
...
Move view on alt + left mouse button
Resize view on alt + right mouse button
2021-07-09 21:58:54 +01:00
Johan Malm
b19eecbbd4
keyboard: remove printf() debug message
2021-07-09 21:49:44 +01:00
Johan Malm
c6ae0b5694
xwayland-shell: unmaximize on first map
...
...to ensure consistency with xdg-shell implementation and to avoid
padding/margin complications.
2021-07-09 21:47:51 +01:00
Johan Malm
08429c5ba3
xwayland-shell: center view on first map
2021-07-09 21:45:38 +01:00
Johan Malm
3034da776b
xdg-shell: center view on first map
...
...and take into account output layout co-ordinates.
Previously xdg-shell views were just positioned at (0, 0) on first map
regardless of output co-ordinates.
Fix issue #39
2021-07-09 21:43:27 +01:00
Johan Malm
cb98f8f197
view: add view_center()
2021-07-09 21:39:20 +01:00
Johan Malm
4234d53fd7
README.md: fix typo
2021-07-09 21:34:23 +01:00
Johan Malm
75d3d5b2ca
NEWS.md: re-format
2021-07-09 21:34:00 +01:00
Johan Malm
6ad8252de9
menu/theme: use wlr_texture_destroy()
2021-07-01 19:21:09 +01:00
Johan Malm
a7dfa965d1
action: stop showing alt-tab info messages
2021-07-01 18:02:25 +01:00
Johan Malm
5f0c2d75b5
keyboard: catch C-A-F1 to C-A-F12 to switch tty
...
Fix issue #34 item 4
2021-07-01 17:53:47 +01:00
Johan Malm
238fab1518
output: assert instead of quiet return
2021-06-30 20:12:58 +01:00
Johan Malm
afe666fd6e
action: expand shell variables before execvp()
...
Expanding shell variables, including tilde, enables the following type
of keybind:
<keyboard>
<keybind key="XF86AudioMute">
<action name="Execute">
<command>bash ~/mute-script.sh</command>
</action>
</keybind>
</keyboard>
Fixes issue #32
2021-06-30 19:56:31 +01:00
kalekale
a1ae16c1cf
meson: bump wlroots dependency version number
2021-06-29 12:52:39 +01:00
Johan Malm
d38d1a9bd0
labwc 0.3.0
2021-06-28 20:59:43 +01:00
Johan Malm
018593c824
rcxml: do not try to use theme Clearlooks-3.4
...
If no theme is specified in rc.xml, just use built-in theme
2021-06-28 20:48:55 +01:00
Johan Malm
be27bb30a3
server: remove wl_display_init_shm()
...
This function is called by wlroots in wlr_renderer_init_wl_display(), so
no need to call it again. This stops Qt apps segfaulting when run with
"-platform wayland"
Fixes issue #34 item 2
2021-06-28 20:42:41 +01:00
Johan Malm
e05a3c5f65
cairo: Replace <cairo/cairo.h> by <cairo.h>
...
See sway@d45623c2
2021-06-26 18:28:27 +01:00
Johan Malm
1bbaf162c0
meson.build: fix style
2021-06-26 18:23:46 +01:00
Ezequiel Garcia
ccfa7a60db
meson: Use wrap files to manage dependencies
...
This simplifies building as there's no need to manually
git clone subprojects anymore.
Building is now as simple as:
meson build
ninja -C build
In order to update the subprojects, meson provides:
meson subprojects update
2021-06-26 18:12:24 +01:00
Johan Malm
448b3c5870
build: bump wlroots dependency to 0.15.0
2021-06-26 10:12:52 +01:00
Jan Beich
874cc9e637
xdg: chase swaywm/wlroots@9e58301df7
...
src/xdg.c:269:48: error: no member named 'subsurfaces' in 'struct wlr_surface'
wl_list_for_each(subsurface, &view->surface->subsurfaces,
~~~~~~~~~~~~~ ^
/usr/include/wayland-util.h:443:30: note: expanded from macro 'wl_list_for_each'
for (pos = wl_container_of((head)->next, pos, member); \
^~~~
/usr/include/wayland-util.h:409:32: note: expanded from macro 'wl_container_of'
(__typeof__(sample))((char *)(ptr) - \
^~~
Based on 3162766eef
2021-06-03 19:27:33 +01:00
Johan Malm
0811c0c37d
labwc-config(5): add followMouse and raiseOnFocus
2021-05-28 21:50:27 +01:00
Johan Malm
3c9f6c0551
rcxml: fix typo
2021-05-28 21:31:02 +01:00
Mikhail Kshevetskiy
00db22e44f
focus: add basic follow mouse support
2021-05-28 21:25:19 +01:00
Johan Malm
892e93dd84
output: access texture width/height directly
...
wlr_texture_get_size() is removed in wlroots@6369f709 so we have to
access width and height directly.
2021-05-17 19:55:57 +01:00
Johan Malm
9769fad7a5
README: update wlroots dependency + minor tweak to intro
2021-04-17 14:34:29 +01:00
Johan Malm
6744e10301
meson.build: require wlroots ['>=0.14.0', '<0.15.0']
...
Also specify required version when using wlroots as subproject
2021-04-17 14:26:25 +01:00
Johan Malm
147bd706d4
meson.build: require wayland-server >=1.19.0
...
Fix typo - it previously said 0.19.0
2021-04-17 14:21:42 +01:00
Johan Malm
981c03e7e4
meson.build: update version
2021-04-17 14:18:52 +01:00
Johan Malm
9316c842b1
Update NEWS.md
2021-04-16 20:52:26 +01:00
Jan Beich
b997d8e793
meson: unbreak with system wlroots after fd4ea3542f
...
meson.build:50:2: ERROR: All keyword arguments must be after positional arguments.
2021-04-15 22:21:06 +01:00
Johan Malm
560a06cbf1
NEWS.md: fix typo
2021-04-15 21:49:52 +01:00
Johan Malm
fd4ea3542f
labwc 0.2.0
2021-04-15 21:35:47 +01:00
Johan Malm
a120cc0cac
README: remove old scrot
2021-04-15 21:32:14 +01:00