~ruther/dwl

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
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.
68a17f96 — Devin J. Pohly 1 year, 10 months ago
Don't bother with ignoring SIGCHLD

It added complexity, especially with the differences in behavior between
handled and ignored signals across an exec().
9c592da0 — Devin J. Pohly 1 year, 10 months ago
Reset ignored signal handler in spawn() as well
df11b7a7 — Devin J. Pohly 1 year, 10 months ago
fix startup_cmd SIGCHLD handler

Ignored handlers are not reset by exec() calls
1e1811f9 — Leonardo Hernández Hernández 1 year, 10 months ago
drop KDE idle support

use ext-idle-notify-v1 instead
dfb6b971 — Leonardo Hernández Hernández 1 year, 10 months ago
drop support for wlr-input-inhibitor-unstable-v1

deprecated in favor of ext-session-lock-v1

References: https://gitlab.freedesktop.org/wlroots/wlr-protocols/-/commit/4aa366e3ddf5e9b67950a94b9fb299bbfe05eef8
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3848
65f68e76 — Leonardo Hernández Hernández 1 year, 10 months ago
use wlr_scene_output_build_state() to set gamma
96ab92cd — Leonardo Hernández Hernández 1 year, 10 months ago
use wlr_cursor_set_xcursor()

This avoids re-upload the cursor image in each motion event

Managing the scale is done by the function itself

References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4170
1eb8a82a — Leonardo Hernández Hernández 1 year, 11 months ago
Revert "avoid setting duplicate cursor image"

This reverts commit b5776e5180010ead5232efb36b2490f4fc9e1366.

See next commit for details
24a337e6 — Leonardo Hernández Hernández 1 year, 10 months ago
handle gamma-control-v1 set_gamma event

References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4046
5215712c — A Frederick Christensen 1 year, 10 months ago
Stray whitespace fixes
f3d01707 — Leonardo Hernández Hernández 1 year, 10 months ago
use the new {a,di}ssociate events to handle xwayland commit listener
06bc6554 — Leonardo Hernández Hernández 1 year, 10 months ago
chase wlroots map logic unification

Signed-off-by: Leonardo Hernández Hernández <leohdz172@proton.me>
Next
Do not follow this link