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
Johan Malm
20f9f320ac
NEWS.md: update for v0.2.0
2021-04-15 21:31:09 +01:00
Johan Malm
985ffd3691
xdg: fix subsurface damage bug
...
Create struct view_child for each wlr_surface subsurface on first view
map. Firefox doesn't damage properly without this.
2021-04-15 20:37:57 +01:00
Johan Malm
2f5a44d34d
theme: move title_height to theme struct
...
title_height is a derived variable which needs both config and theme
variables (font height and title padding). The code is tidier calling
post_processing() for this from theme_init()
2021-04-15 20:13:49 +01:00
Johan Malm
85c775c3b1
theme: update built-in theme colors
...
Use #dddad6 for active title/border and #f6f5f4 for inactive.
It matches default GTK colors reasonably well.
2021-04-10 19:30:39 +01:00
Johan Malm
be942a6413
theme: fix pattern match bug
...
Remove 'else' from if-statements in order for the pattern match to apply
to more than just the first instance of each match.
2021-04-10 19:17:39 +01:00
Johan Malm
8f8a6dfea1
theme: add window.inactive.border.color
2021-04-10 19:11:29 +01:00
Johan Malm
31d3a53e46
theme: add window.active.border.color
...
This replaces window.active.handle.bg.color which will no longer be
supported.
2021-04-10 18:40:43 +01:00
Johan Malm
f3a0db29f5
README: fix typo and refactor links
2021-04-10 09:30:48 +01:00
Johan Malm
44553d8bde
README: turn configure section into a table
2021-04-10 09:20:10 +01:00
Johan Malm
d30a789fed
labwc(1): minor re-wording
2021-04-10 09:19:35 +01:00
Johan Malm
bad3311ae5
Add example autostart and environment files
2021-04-10 09:18:30 +01:00
Johan Malm
fbfa0c4a9e
Add labwc-environment(5)
2021-04-10 09:17:41 +01:00
Johan Malm
f5689410be
README/meson.build: update dependencies
2021-04-10 08:30:56 +01:00
Johan Malm
11e376e050
README: update "what" section
2021-04-10 08:27:47 +01:00
Johan Malm
584c19e329
README: fix typo
2021-04-10 08:14:33 +01:00
Johan Malm
bb5e44a143
seat: remove warning for libinput finger count
2021-04-08 17:09:06 +01:00
Johan Malm
6952bdfebc
README: update acceptance criteria section
2021-03-30 22:43:05 +01:00
Johan Malm
02628bde38
s/LAB_ADAPTIVE_SYNC/LABWC_ADAPTIVE_SYNC/
...
Use the the prefix LABWC_ for environment variable to increase
consistency.
2021-03-30 22:41:17 +01:00
Johan Malm
0a6eead36b
rcxml: simplify debugging nodenames
2021-03-30 22:40:41 +01:00
Johan Malm
a5139815d6
config: add <theme><cornerRadius>
2021-03-30 22:39:52 +01:00