~ruther/dwl

25db0453 — Leonardo Hernández Hernández 1 year, 8 months ago
set withdrawn state for xwayland invisible clients
78cf8867 — Leonardo Hernández Hernández 1 year, 8 months ago
add support for xdg-shell v6
ce997c4a — Leonardo Hernández Hernández 1 year, 8 months ago
update to xdg-shell v5
0e540561 — Leonardo Hernández Hernández 1 year, 9 months ago
add support for cursor-shape-v1

References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4106
0bb1a1cc — Leonardo Hernández Hernández 1 year, 9 months ago
increase wl_compositor version

Now scene will handle sending the preferred buffer scale

References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4269
aecff8cb — Leonardo Hernández Hernández 1 year, 9 months ago
Merge branch 'main' into wlroots-next
ca4a97b9 — Leonardo Hernández Hernández 1 year, 9 months ago
do not use wl_event_loop for signal handling

ΔSLOC: -4

Fixes: https://github.com/djpohly/dwl/issues/456
Fixes: https://github.com/djpohly/dwl/issues/459
76ba2cda — Devin J. Pohly 1 year, 9 months ago
Remove now-unneeded call to motionnotify

This appears to have been here for the side effect of updating the drag
icon's position.
4b15bbeb — Devin J. Pohly 1 year, 9 months ago
Remove unused icon variable
831fc36b — Devin J. Pohly 1 year, 9 months ago
Make drag_icon a persistent scene node

If there is no current drag icon, this node will be empty, but we now
have `drag_icon != NULL` as an invariant.  This allows us to eliminate a
conditional, since there's no harm in moving an empty node's coordinates
around with the pointer.

ΔSLOC: -1
18415278 — Devin J. Pohly 1 year, 9 months ago
properly destroy scene

ΔSLOC: +1
ff7c0e95 — Leonardo Hernández Hernández 1 year, 9 months ago
chase wlroots!4220

References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4220
33bcd2e4 — Devin J. Pohly 1 year, 9 months ago
Line saver: LISTEN_STATIC macro

This parallels the LISTEN macro for statically allocated listeners, and
it allows us to remove almost all of the global wl_listener
declarations.

This also fixes a bug with the axisnotify listener, which was declared
with a compound literal.  At block scope, these have automatic storage
duration [1], so the listener was no longer valid after setup()
returned.  (The option to declare it static explicitly was standardized
in C23, if that ever gains suckless traction.)

ΔSLOC: -27

[1]: https://en.cppreference.com/w/c/language/compound_literal#Explanation
fbd84aca — Devin J. Pohly 1 year, 9 months ago
Unify signal handling under wl_event_loop

Merge our signal handlers into a single function and let Wayland deal
with all the struct sigaction stuff.

ΔSLOC: -3
a01e402c — Devin J. Pohly 1 year, 9 months ago
Line saver: follow "local = wlr->data = obj" pattern

There were still a couple of places where we could use this handy
multiple assignment to save a line.

ΔSLOC = -3
9dd3f230 — Leonardo Hernández Hernández 1 year, 9 months ago
Merge remote-tracking branch 'upstream/main' into wlroots-next
eda0613c — Devin J. Pohly 1 year, 9 months ago
Separate drag icon from layers array and Lyr enum

If we treat the drag icon as distinct from other layers (it doesn't have
contents that are interactive, focusable, etc.), then we can iterate
over layers meaningfully with a simple for loop.

ΔSLOC: -8
733114f0 — Leonardo Hernández Hernández 1 year, 9 months ago
schedule a frame after commmiting gamma

not doing it, may freeze the output or do not actually change the gamma until
creating a client
fdb66ccf — Leonardo Hernández Hernández 1 year, 9 months ago
use detached output states to set gamma
6095ff84 — Leonardo Hernández Hernández 1 year, 9 months ago
Revert "use wlr_scene_output_build_state() to set gamma"

This reverts commit 65f68e76437275a0c1c25279af646f726e213b6d.
Next
Do not follow this link