Johan Malm
ca082e7172
build: bump version to 0.9.1
2025-08-02 12:54:05 +01:00
Johan Malm
296e175bdb
NEWS.md: update notes for 0.9.1
2025-08-02 12:50:19 +01:00
Consolatis
3e3681858e
src/xdg.c: prevent interacting with un-initialized xdg toplevels after unmap
...
Fixes : #2937
Fixes : #2944
Originally-Reported-By: tranzystorekk via IRC
2025-07-29 20:49:19 +01:00
John Lindgren
39f79c0cd9
img: fix apparent double-free in img_svg_render() failure path
...
img_svg_render() calls g_object_unref() on the RsvgHandle in its
error path, but the handle is owned by the shared lab_img_data
struct and will be double-freed later by lab_img_destroy().
The double-free was introduced when img_svg_load() was split from
img_svg_render(). The g_object_unref() should have been removed from
img_svg_render() but was missed.
Fixes: 16dbdc64e5
("ssd: rework titlebar button rendering")
2025-07-29 20:47:34 +01:00
John Lindgren
f338af1cc9
xwayland: fix swapped width/height in _NET_WM_ICON stride calculation
...
Probably slipped through since most window icons are square anyway.
2025-07-29 20:46:48 +01:00
Johan Malm
4beee3851f
build: bump version to 0.9.0
2025-07-11 21:52:18 +01:00
Johan Malm
101180bef4
NEWS.md: update notes for 0.9.0
2025-07-11 21:47:52 +01:00
Consolatis
d6a2ca94c7
docs: update package maintainer list
...
The Arch package is now an official Arch package with
a new maintainer.
The Github account of the Artix Linux maintainer has
been deleted.
2025-07-11 14:02:31 +02:00
Weblate
c9e812ffde
Translation updates from weblate
...
Co-authored-by: Batu <bai@baturax.com>
Co-authored-by: Heimen Stoffels <vistausss@fastmail.com>
Co-authored-by: Jan Rolski <wbcwknvstb@proton.me>
Co-authored-by: NorwayFun <temuri.doghonadze@gmail.com>
Co-authored-by: Priit Jõerüüt <lxqtwlate@joeruut.com>
Co-authored-by: Roberalz <lumintnian@outlook.com>
Co-authored-by: Sa'eed M Farahani <silitonix@gmail.com>
Co-authored-by: Standreas <standreas@riseup.net>
Co-authored-by: UTUMI Hirosi <utuhiro78@yahoo.co.jp>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: bittin <bittin@reimu.nl>
Co-authored-by: therealmate <hellogaming91@gmail.com>
Translate-URL: https://translate.lxqt-project.org/projects/labwc/labwc/
Translate-URL: https://translate.lxqt-project.org/projects/labwc/labwc/es/
Translate-URL: https://translate.lxqt-project.org/projects/labwc/labwc/et/
Translate-URL: https://translate.lxqt-project.org/projects/labwc/labwc/eu/
Translate-URL: https://translate.lxqt-project.org/projects/labwc/labwc/fa/
Translate-URL: https://translate.lxqt-project.org/projects/labwc/labwc/gl/
Translate-URL: https://translate.lxqt-project.org/projects/labwc/labwc/hu/
Translate-URL: https://translate.lxqt-project.org/projects/labwc/labwc/it/
Translate-URL: https://translate.lxqt-project.org/projects/labwc/labwc/ja/
Translate-URL: https://translate.lxqt-project.org/projects/labwc/labwc/ka/
Translate-URL: https://translate.lxqt-project.org/projects/labwc/labwc/nl/
Translate-URL: https://translate.lxqt-project.org/projects/labwc/labwc/pl/
Translate-URL: https://translate.lxqt-project.org/projects/labwc/labwc/sv/
Translate-URL: https://translate.lxqt-project.org/projects/labwc/labwc/tr/
Translation: Labwc/labwc
2025-07-07 19:47:54 +01:00
Kyuyrii
4a22bea0a6
Added information about idle screen inhibitor.
2025-07-06 20:05:51 +01:00
Consolatis
38a1a9bbbc
Disable all output leasing due to a wlroots UAF
2025-07-06 19:59:43 +01:00
Consolatis
4699d446cb
Fix UAF when granting an output lease
...
Wlroots now destroys the wlr_output when granting a lease.
So we can't iterate through the outputs in the request after
granting the lease. This is also not necessary anymore because
they are already destroyed and thus removed from the layout.
2025-07-06 19:59:43 +01:00
Consolatis
d5e93dcfef
src/output.c: remove wlroots 0.18 wlopm with custom-mode workaround
...
The fix has been included in wlroots 0.19.0.
2025-07-06 18:50:33 +01:00
Andrew J. Hesford
d2175b3a8b
src/snap-constraints.c: ignore view origin during constraint updates
2025-07-06 18:45:21 +01:00
Andrew J. Hesford
476fd5f25e
resistance: refactor snap constraints, use in interactive resistance
2025-07-06 18:45:21 +01:00
tokyo4j
3aab0c3b91
Replace alacritty in default keybind with lab-sensible-terminal
2025-07-06 14:11:27 +01:00
Weblate
c931399afc
Translation updates from weblate
...
Co-authored-by: Batu <bai@baturax.com>
Co-authored-by: Heimen Stoffels <vistausss@fastmail.com>
Co-authored-by: Jan Rolski <wbcwknvstb@proton.me>
Co-authored-by: NorwayFun <temuri.doghonadze@gmail.com>
Co-authored-by: Priit Jõerüüt <lxqtwlate@joeruut.com>
Co-authored-by: Roberalz <lumintnian@outlook.com>
Co-authored-by: Sa'eed M Farahani <silitonix@gmail.com>
Co-authored-by: Standreas <standreas@riseup.net>
Co-authored-by: UTUMI Hirosi <utuhiro78@yahoo.co.jp>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: bittin <bittin@reimu.nl>
Co-authored-by: therealmate <hellogaming91@gmail.com>
Translate-URL: https://translate.lxqt-project.org/projects/labwc/labwc/
Translate-URL: https://translate.lxqt-project.org/projects/labwc/labwc/es/
Translate-URL: https://translate.lxqt-project.org/projects/labwc/labwc/et/
Translate-URL: https://translate.lxqt-project.org/projects/labwc/labwc/fa/
Translate-URL: https://translate.lxqt-project.org/projects/labwc/labwc/hu/
Translate-URL: https://translate.lxqt-project.org/projects/labwc/labwc/it/
Translate-URL: https://translate.lxqt-project.org/projects/labwc/labwc/ja/
Translate-URL: https://translate.lxqt-project.org/projects/labwc/labwc/ka/
Translate-URL: https://translate.lxqt-project.org/projects/labwc/labwc/nl/
Translate-URL: https://translate.lxqt-project.org/projects/labwc/labwc/pl/
Translate-URL: https://translate.lxqt-project.org/projects/labwc/labwc/sv/
Translate-URL: https://translate.lxqt-project.org/projects/labwc/labwc/tr/
Translation: Labwc/labwc
2025-07-06 14:04:28 +01:00
Johan Malm
76c954fcc9
docs/menu.xml: remove Poweroff to align with builtin menu
2025-07-01 22:27:33 +01:00
Johan Malm
c749a11517
menu: add Terminal to default root-menu
2025-07-01 22:27:33 +01:00
Johan Malm
e94781ef3f
Add lab-sensible-terminal
...
Related-to: #2843 #2842
2025-07-01 22:27:33 +01:00
tokyo4j
d7fd23e52d
rcxml: revise drag-lock behavior and option names
...
This revises the changes done in 22d319c :
- Cancel defaulting to <dragLock>sticky<dragLock>. So labwc now disables
drag-lock by default, as libinput does.
- Update the options from [yes|no|sticky] to [timeout|no|yes] to
emphasize that the "sticky" mode (now "yes") is recommended when using
drag-lock.
2025-07-01 03:00:55 +09:00
Johan Malm
e365d5eaf0
layers.c: fix UAF bug on TTY change
...
Call seat_set_focus_layer(seat, NULL) in node-destroy-handler to avoid
seat->focused_layer becoming invalid and causing UAF issues in certain
situations like when outputs (and therefore layer-trees) are destroyed.
Fixes : #2863
Helped-by: @Consolatis
2025-06-29 23:22:05 +02:00
Consolatis
ca01dcaa95
main: add feature flags to --version
2025-06-28 20:33:57 +01:00
Consolatis
e0d1dc436d
server.c: remove wlroots 0.16 era workaround for xwayland drm leases
...
We instead rely on the fixes in xwayland being widely available.
This also re-enables VR headsets for X11 applications.
Fixes : #553
2025-06-28 20:33:57 +01:00
Consolatis
7cc77f9885
meson.build: require xwayland version 21.1.9 for xwayland support
...
This and later xwayland releases ship fixes for drm leased devices
causing lags in Chromium and Electron based applications. We used
to work around the issue by simply not sending drm leases to xwayland
but we can now rely on the fixes being widely available.
See #553 for more information.
2025-06-28 20:33:57 +01:00
tokyo4j
75bd188592
Strictly use handle_ prefix for signal handlers
2025-06-28 19:36:29 +09:00
tokyo4j
6f70cd0d6e
layers: don't send configure events in unmap handler
...
Alternative to 7bf08af which was reverted in the previous commit.
7bf08af fixed the problem that layer-shell clients are terminated when
it's unmapped, by sending configure events in node-destroy handler
rather than in unmap handler. But it caused a UAF bug when an output
with layer-shell clients is destroyed.
So this patch fixes the original issue by simply skipping the surface in
arrange_one_layer() if it's being unmapped.
2025-06-27 22:03:37 +01:00
tokyo4j
cc0fe78ceb
Revert "layers: arrange layers on destroy"
...
This reverts commit 7bf08af210 .
2025-06-27 22:03:37 +01:00
Weblate
d1f7d3a320
Translation updates from weblate
...
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: mirek <mirek.binas@gmail.com>
Translate-URL: https://translate.lxqt-project.org/projects/labwc/labwc/sk/
Translation: Labwc/labwc
2025-06-27 21:26:19 +01:00
Consolatis
448c61a295
scaled-icon-buffer: reduce the need for updates
2025-06-27 14:05:42 +02:00
Consolatis
acd2a23f1b
scaled-icon-buffer: add icon priority
...
Co-Authored-By: tokyo4j <hrak1529@gmail.com>
2025-06-27 14:05:42 +02:00
Sumandora
e72f862650
src/workspaces.c: allow dragged views to be moved to other workspaces
2025-06-27 13:30:30 +02:00
tokyo4j
d12751c781
ssd: work around the translucent titlebar in pixman renderer
...
Due to wlroots/pixman bug, the widened 1px buffer for the gradient
titlebar become translucent with WLR_RENDERER=pixman and
WLR_SCALE_FILTER_BILINEAR filter mode. This patch works around this
problem by using WLR_SCALE_FILTER_NEAREST filter mode if pixman
renderer is used.
2025-06-27 16:21:25 +09:00
Johan Malm
aedf279656
NEWS.md: interim update
2025-06-26 19:45:26 +01:00
tokyo4j
e5a236eef4
ime: revert workarounds for wlroots 0.18.2
...
The workarounds added in #2498 and #2437 fixed stuck key/modifier bug
caused by wlroots commit e218990. But now that the commit was reverted in
0.19, the workarounds are no longer needed.
Removing the workarounds also fixes a minor regression with Fcitx5+Firefox
that pressing Ctrl+Enter in an input box causes stuck modifier.
2025-06-26 03:20:11 +09:00
Johan Malm
db7c72ef39
labwc-theme(5): document x11-color-names
2025-06-24 01:09:30 -04:00
Johan Malm
4fd5d7747e
README.md: update keybind section
2025-06-23 21:33:15 +02:00
Johan Malm
fda63058b2
config: use Super modifier instead of Alt for default mousebinds
...
...A-Left and A-Right (for move and resize) to avoid interfering with some
clients like CAD programs and games.
2025-06-22 20:43:30 +01:00
Johan Malm
e62f403f56
config: deprecate A-F3
...
...because A-F3 is too close to A-F4 and it is better to be agnostic to
choice of launcher.
2025-06-22 20:43:30 +01:00
Johan Malm
26a9c637d8
config: deprecate A-<arrow> keybinds
...
...because Alt- keybinds should be for clients to use and the A-<arrow>
default combination is a frequent user complaint because it prevents some
common usage patterns like alt-left/right in web browers.
2025-06-22 20:43:30 +01:00
daniel
26192a9b5a
README.md: improve the documentation
2025-06-19 20:40:28 +01:00
Johan Malm
6117e85820
theme: change builtin menu fallback button to arrow
2025-06-18 21:15:56 +01:00
Johan Malm
84858967e4
docs: document gradients
...
(v2: small fixes)
2025-06-18 15:48:24 -04:00
John Lindgren
ec145a14ca
theme: support basic vertical titlebar gradients
...
Only Vertical and SplitVertical gradients are supported,
and only for window.*.title.bg.
Not supported at this time:
- horizontal or diagonal gradients
- gradients for window.*.label.bg, buttons, or menus
- any type of border (raised, sunken, etc.)
2025-06-18 15:48:24 -04:00
John Lindgren
990706b081
ssd: allow arbitrary cairo pattern as titlebar background
...
The titlebar background is now first rendered to a 1px wide buffer,
then stretched horizontally. This allows vertical gradients to be used.
2025-06-18 15:48:24 -04:00
John Lindgren
54b236e027
common/font: add scaled_font_buffer_create_for_titlebar()
...
Co-authored-by: tokyo4j <hrak1529@gmail.com>
2025-06-18 15:48:24 -04:00
John Lindgren
3ca7adace0
common/graphic-helpers: add a few cairo pattern helpers
2025-06-18 15:48:24 -04:00
John Lindgren
ee6f9a6baa
theme: parse more color string formats for Openbox compatibility
2025-06-18 15:48:24 -04:00
John Lindgren
c4bae87c04
common/graphic-helpers: adopt lookup_named_color from xpm parser
2025-06-18 15:48:24 -04:00
Consolatis
30248e1ba3
Destroy xdg_popups when its parent is destroyed
...
Fixes : #2845
2025-06-18 20:19:48 +01:00