~ruther/dwl

0925fe95 — Leonardo Hernández Hernández 8 months ago
unlink some destroy listeners

Recently wlroots was updated to assert that signals do not have listeners
attached on destroy.

This is just a preliminar work to fix dwl. At the moment dwl will trigger the
assertions at exit.

References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4918
26504f9a — Leonardo Hernández Hernández 9 months ago
do not call waitid(2) in the signal handler when Xwayland is enabled

waitid(2) is not a async-signal-safe function acording to signal-safety(7)

We can stop doing this because wlroots!4926 allows compositors to install
signal handlers for SIGCHLD.

References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4926
6f34a6d3 — Leonardo Hernández Hernández 1 year, 2 months ago
use wlr_xwayland_surface_has_window_type() (wlroots!4553)

References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4553
30f50634 — Leonardo Hernández Hernández 10 months ago
manually call updatemons in powermgrsetmode()

Fixes: https://codeberg.org/dwl/dwl/issues/713
1d08ade1 — Leonardo Hernández Hernández 10 months ago
remove binary before copying to destination

Since Linux 6.11 is possible overwrite a running executable, possibly making it
crash.

Thanks to: movq42rax
Fixes: https://codeberg.org/dwl/dwl/issues/709
References: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2a010c412853
References: https://lore.kernel.org/stable/CACKH++YAtEMYu2nTLUyfmxZoGO37fqogKMDkBpddmNaz5HE6ng@mail.gmail.com/T/#u
84245764 — Leonardo Hernández Hernández 11 months ago
specify version for presentation-time (wlroots!4858)

References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4858
6ca87210 — Leonardo Hernández Hernández 11 months ago
check if the backend supports explicit sync before creating the object (wlroots!4848)

References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4848
002c7d22 — Leonardo Hernández Hernández 1 year, 1 month ago
tell xwayland clients they're maximized

like we do to xdg clients when tiled state is not supported.
8206cc88 — Guido Cella 1 year, 1 month ago
fix a use after free

This line makes dwl crash after closing mpv with the switchtotag patch.
54f20783 — Guido Cella 1 year, 1 month ago
reorder config.mk variables

By placing the default WLR_INCS and WLR_LIBS before the ones for an
alternative wlroots, they don't need to be commented to enable the
alternative ones.
9c05b962 — Leonardo Hernández Hernández 1 year, 1 month ago
fix style for client_set_scale()
remove unused link member from KeyboardGroup

unnecessary since grouping Keyboard wl_list to use wlr_keyboard_group in 023efce

ΔSLOC: -1
c49312f0 — Leonardo Hernández Hernández 1 year, 1 month ago
disable scene node unless it is unmanaged
f8990609 — Leonardo Hernández Hernández 1 year, 1 month ago
send a configure to unmanaged clients when mapping
cc72df11 — Leonardo Hernández Hernández 1 year, 1 month ago
configure xdg_toplevels after configuring it's decoration
0312720a — Leonardo Hernández Hernández 1 year, 1 month ago
remove a space before parenthesis in function calls
6de87121 — Leonardo Hernández Hernández 1 year, 1 month ago
destroy popups when we can't get it's parent or they don't have monitor
bbc00d88 — Leonardo Hernández Hernández 1 year, 1 month ago
remove a redundant check

resize() now does the same check
54b54612 — Leonardo Hernández Hernández 1 year, 2 months ago
avoid using a else block
43016bda — Leonardo Hernández Hernández 1 year, 2 months ago
introduce client_set_scale()
Next