Commit graph

3560 commits

Author SHA1 Message Date
Jack Zeal
2f32626ed5
Merge ecf7770704 into 90c38e2681 2026-04-08 08:34:10 +02:00
John Lindgren
90c38e2681 xdg: set initial position a hair earlier to fix window rules
Partially reverts: 3f223fe5b0
("xdg: unify initial positioning logic")
2026-04-07 20:05:00 +02:00
Jack Zeal
ecf7770704 Realign spacing for CI 2026-04-06 20:11:29 -07:00
Jack Zeal
b2803b8f4d Add highlight/shadow controls for beveled items 2026-04-06 20:09:51 -07:00
Jens Peters
a893b1ab50 input: fix tablet tool tilt motion
Tilt axis are not relative.
2026-04-06 22:10:10 +01:00
Jack Zeal
6dffb80d6a Add infrastructure to generatecustom highlight/lowlight 2026-04-06 09:59:40 -07:00
Jack Zeal
2591661005 Guard for possible null menu buffer
Guard for possible null menu buffer, attempt 2
2026-04-05 18:10:11 -07:00
Jack Zeal
308a3291cb Remove attempt to reuse code with switch fallthrough 2026-04-05 18:02:50 -07:00
Jack Zeal
8997f35607 Rename camelcase names 2026-04-05 17:57:15 -07:00
Jack Zeal
987b2c2a89 Realign with codesniffer rules 2026-04-05 17:48:57 -07:00
Jack Zeal
5846a95f98 Add beveled borders to buttons 2026-04-04 09:35:08 -07:00
Jack Zeal
f3711b294a Add fields for button borders 2026-04-04 08:56:12 -07:00
Jack Zeal
43d643c878 Explicitly differentiate between 'no border' and 'flat border' since it's visible with gradients 2026-04-04 07:38:27 -07:00
Jack Zeal
4d0ec36773 Avoid corner-related gaps reappearing after reconfigure 2026-04-04 00:54:28 -07:00
Jack Zeal
40208c57f1 Free a wasted allocation in parser 2026-04-04 00:45:35 -07:00
Jack Zeal
44a0da2e7f Better handling of exclusive mode 2026-04-04 00:36:13 -07:00
Jack Zeal
dfc3239ced Remove duplicate re-rendering: 2026-04-04 00:02:10 -07:00
Jack Zeal
73cd8eb0bb Force a redraw so we know we'll get a refreshed border after reconfig 2026-04-04 00:00:20 -07:00
Jack Zeal
d1951f73ec Don't clobber the border under the title 2026-04-03 23:32:39 -07:00
Jack Zeal
59c37bc91b Start on texture on the main title bar segment 2026-04-03 23:17:28 -07:00
Consolatis
c9b4da2ce2 osd-thumbnail: handle buffer allocation failure
Fixes: #3489
2026-04-02 22:10:30 +02:00
Jack Zeal
1c79213470 Use osd.bg for OSD border texture 2026-04-01 22:36:44 -07:00
Jack Zeal
f361a3bec9 Force discard of the resize popup after theme reload so we don't end up with residual old styles 2026-04-01 22:31:52 -07:00
Jack Zeal
96ae2f2d9d Remove debug code 2026-04-01 21:36:44 -07:00
Jack Zeal
e7b53c5d28 Pull menu bevels from theme 2026-04-01 21:31:21 -07:00
Jack Zeal
362c3e1b47 Add osd.border.type and osd.border.bevel-width options 2026-04-01 20:40:21 -07:00
Jack Zeal
773996f1ee add window.*.border.type and window.*.border.bevel-width options 2026-04-01 20:18:43 -07:00
Jack Zeal
b07165f154 Ensure we use all details of borders when caching them 2026-04-01 19:43:20 -07:00
Jack Zeal
fe44a2e9b3 Reuse common code for raised and sunken bevels 2026-04-01 19:39:24 -07:00
tranzystorekk
e45548077e CI: Void: use wlroots0.20-devel distro package 2026-04-01 17:37:26 +02:00
Jack Zeal
bfd4364ba9 Correct blundered merge conflict resolution 2026-03-31 22:29:35 -07:00
Jack Zeal
6ae186edc5
Merge branch 'master' into master 2026-04-01 05:27:23 +00:00
Jack Zeal
8188f0a80e Adapt workspace switcher Cairo logic to use modified border cache 2026-03-31 22:23:54 -07:00
Jack Zeal
2f2cf73bfa
Merge pull request #1 from Consolatis/tmp/pr_3463_beveled_borders
[wip] keep wlr_buffers around
2026-04-01 05:10:31 +00:00
Consolatis
7be58fbaba CI: add no-backends build test
Some checks failed
labwc.github.io / notify (push) Has been cancelled
2026-03-31 22:58:49 +02:00
Consolatis
3df8fcda3a meson.build: make libinput and libdrm depend on wlroots feature flags 2026-03-31 22:58:49 +02:00
Consolatis
8c6faa010f make wlroots libinput backend optional 2026-03-31 22:58:49 +02:00
Consolatis
dfbea3e156 make wlroots session backend optional 2026-03-31 22:58:49 +02:00
Consolatis
046d055ac0 make wlroots DRM backend optional 2026-03-31 22:58:49 +02:00
Johan Malm
fe1955fb27 Stop generating wayland-protocols server headers
We still need to generate wlr-protocols server headers, as well as
client headers and code.

References:
- https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/5075
- https://github.com/swaywm/sway/pull/8838
2026-03-31 20:51:49 +02:00
Johan Malm
b3f3fc9084 NEWS.md: interim update following port to wlroots 0.20 2026-03-31 19:34:03 +01:00
Jens Peters
674238caa9 docs: document tablet tool pressure range 2026-03-31 19:56:07 +02:00
Jens Peters
0d049552bc input: support tablet tool pressure range configuration
Needs wlroots 0.20.0.
2026-03-31 19:56:07 +02:00
Jens Peters
9209f611d5 build: require libinput 1.26
Bump the requirement for having support for
tablet tool pressure range configuration.
2026-03-31 19:56:07 +02:00
Johan Malm
46d687ab54 clients/labnag.c: return zero on get_text_size() error
Ref: https://github.com/swaywm/sway/pull/9070
2026-03-31 02:58:39 +02:00
GlassOnTin
9a8154836c keyboard: use XKB_CONTEXT_NO_SECURE_GETENV on Android
Android's bionic libc implements secure_getenv() as a function that
always returns NULL because app processes don't have AT_SECURE set.
This prevents xkbcommon from reading XKB_DEFAULT_LAYOUT and other
environment variables when resolving keyboard layouts.

Use XKB_CONTEXT_NO_SECURE_GETENV on Android so xkbcommon falls back
to regular getenv(), which works correctly in the Android app
environment.
2026-03-30 22:25:35 +01:00
GlassOnTin
862d230ff9 Make labnag a meson feature flag
Add a 'labnag' meson option (default: auto) to allow disabling the
labnag notification daemon at build time. This is useful for
embedded/headless deployments (e.g. Android) where labnag is not
needed, and avoids building its wayland-client dependencies.

Disable with: meson setup build -Dlabnag=disabled
2026-03-30 22:22:21 +01:00
tokyo4j
3128f50a25 xwayland: remove atom synchronization
It was used to get window icon via _NET_WM_ICON, which is now
implemented by wlroots 0.20. Anyone who needs another atom can revert
this commit and add atoms in the `atoms` array.
2026-03-30 11:55:37 +02:00
tokyo4j
cdee4ba5f1 xwayland: use wlr_xwayland_surface_fetch_icon() 2026-03-30 11:55:37 +02:00
Christopher Snowhill
cee5712877 chase wlroots: wlr_scene_set_gamma_control_manager_v1
Ref: 515275ee7214bf91f8a758b660093eb4b932195a
(wlr_scene: Introduce wlr_scene_set_gamma_control_manager_v1)

This wlroots change eliminates the need for separate event tracking for gamma
control application.

v2: Fix code style
v3: Rebase now that 0.20 is merged
2026-03-30 11:18:53 +02:00