prevent a use-after-free at exit
do not compute layout box twice
make sure fullscreen clients have the right size
fix screen artifacts when setting gamma the artifacts were caused because we tried to set the gamma right after receiving the event, this resulted in two pending page-flips, which not always play well together. This also seems to fix a screen freeze when turning on a monitor that has gamma. Additionally the current method won't work once [0] is merged [0]: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4423
use wlr_scene_subsurface_tree_set_clip References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4131 Closes: https://github.com/djpohly/dwl/issues/411
Revert "respect size hints" This reverts commit 72e0a560d9836c5e8658003f548203bcd722e565.
use newer cursor naming spec References: https://www.freedesktop.org/wiki/Specifications/cursor-spec/ References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4416
ignore maximize events for clients using xdg-shell v5 and newer
send maximized if tiled isn't supported (XDG shell) wlroots doesn't do it automatically anymore References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4409
Merge remote-tracking branch 'upstream/main' into wlroots-next
clarify the dependencies needed by dwl Note that previous df131cdb78c6e3e79c3fafa522f0e4f6b43d2ab4 libX11 headers were also required for building (but not for runtime) Also, I want to apologize to the packagers for do not list *all* the required dependencies before.
update README.md these things were changed in the code but not in the readme
check client is mapped before setting border color For some reason brave configured for as a wayland client triggers this code on startup and segfaults. Checking if the client is mapped fixes this, like with the previous fix for urgent border colour. References: 887fde65a3010905aa10f373cfcfe540cfc1781e Fixes: 72a7d78a1a7926a207539eb50f44b2e1eb089d49
Merge remote-tracking branch 'upstream/main' into wlroots-next
use <xcb/xcb.h> instead of <X11/Xlib.h>
only set border color for urgent *and* mapped X11 clients this fixes a segfault when the client emits .set_hints but it's not mapped Fixes: 72a7d78a1a7926a207539eb50f44b2e1eb089d49
Merge remote-tracking branch 'upstream/main' into wlroots-next
Revert "just add define" I'm going to make some changes in the config file anyway This reverts commit e5367753bb90add013ee5d170a110064298ac2c4.
add [-d] flag to enable debug logging
simplify setting the border color of clients