simplify client_get_clip
the clips for xwayland and xdg clients are pretty similar, after all we only
need to adjust x and y for xdg clients
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
ignore maximize events for clients using xdg-shell v5 and newer
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
Merge remote-tracking branch 'upstream/main' into wlroots-next
use <xcb/xcb.h> instead of <X11/Xlib.h>
Merge remote-tracking branch 'upstream/main' into wlroots-next
add [-d] flag to enable debug logging