| Commit message (Collapse) | Author | Age | 
| ...  |  | 
| | | 
| | 
| | 
| |  | 
This reverts commit 72e0a560d9836c5e8658003f548203bcd722e565.
 | 
| | | 
| | 
| | 
| | 
| |  | 
References: https://www.freedesktop.org/wiki/Specifications/cursor-spec/
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4416
 | 
| | |  | 
 | 
| | | 
| | 
| | 
| | 
| | 
| |  | 
wlroots doesn't do it automatically anymore
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4409
 | 
| | |\   | 
 | 
| | |\ \   | 
 | 
| | |\ \ \   | 
 | 
| | |\ \ \ \   | 
 | 
| | | | | | | 
| | | | | | 
| | | | | | 
| | | | | |  | 
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4288
 | 
| | | | | | |  | 
 | 
| | | | | | |  | 
 | 
| | | | | | |  | 
 | 
| | | | | | | 
| | | | | | 
| | | | | | 
| | | | | |  | 
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4106
 | 
| | | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | |  | 
Now scene will handle sending the preferred buffer scale
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4269
 | 
| | |\ \ \ \ \   | 
 | 
| | | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | |  | 
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4220
 | 
| | | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | |  | 
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
 | 
| | | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | |  | 
There were still a couple of places where we could use this handy
multiple assignment to save a line.
ΔSLOC = -3
 | 
| | |\ \ \ \ \ \   | 
 | 
| | | | | | | | | 
| | | | | | | | 
| | | | | | | | 
| | | | | | | | 
| | | | | | | |  | 
not doing it, may freeze the output or do not actually change the gamma until
creating a client
 | 
| | | | | | | | |  | 
 | 
| | | | | | | | | 
| | | | | | | | 
| | | | | | | | 
| | | | | | | |  | 
This reverts commit 65f68e76437275a0c1c25279af646f726e213b6d.
 | 
| | | | | | | | | 
| | | | | | | | 
| | | | | | | | 
| | | | | | | |  | 
use ext-idle-notify-v1 instead
 | 
| | | | | | | | | 
| | | | | | | | 
| | | | | | | | 
| | | | | | | | 
| | | | | | | | 
| | | | | | | | 
| | | | | | | |  | 
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
 | 
| | | | | | | | |  | 
 | 
| | | | | | | | | 
| | | | | | | | 
| | | | | | | | 
| | | | | | | | 
| | | | | | | | 
| | | | | | | | 
| | | | | | | | 
| | | | | | | |  | 
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
 | 
| | | | | | | | | 
| | | | | | | | 
| | | | | | | | 
| | | | | | | | 
| | | | | | | | 
| | | | | | | |  | 
This reverts commit b5776e5180010ead5232efb36b2490f4fc9e1366.
See next commit for details
 | 
| | | | | | | | | 
| | | | | | | | 
| | | | | | | | 
| | | | | | | |  | 
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4046
 | 
| | | | | | | | |  | 
 | 
| | | | | | | | | 
| | | | | | | | 
| | | | | | | | 
| | | | | | | |  | 
Signed-off-by: Leonardo Hernández Hernández <leohdz172@proton.me>
 | 
| | |\ \ \ \ \ \ \   | 
 | 
| | | | | | | | | | 
| | | | | | | | | 
| | | | | | | | | 
| | | | | | | | | 
| | | | | | | | |  | 
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3696
Signed-off-by: Leonardo Hernández Hernández <leohdz172@proton.me>
 | 
| | |\ \ \ \ \ \ \ \   | 
 | 
| | | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | |  | 
it is called automatically by `wlr_renderer_init_wl_display()` but since we
need a pointer to wlr_linux_dmabuf_v1 to integrate it with scene API we need
to recreate that function.
Bug: https://github.com/emersion/xdg-desktop-portal-wlr/issues/216
Fixes: https://github.com/djpohly/dwl/issues/398
 | 
| | | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | |  | 
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3726
References: https://gitlab.freedesktop.org/wayland/wayland-protocols/-/blob/main/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml
 | 
| | |\ \ \ \ \ \ \ \ \   | 
 | 
| | | | | | | | | | | | 
| | | | | | | | | | | 
| | | | | | | | | | | 
| | | | | | | | | | |  | 
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3511
 | 
| | | | | | | | | | | | 
| | | | | | | | | | | 
| | | | | | | | | | | 
| | | | | | | | | | |  | 
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4000
 | 
| | | | | | | | | | | | 
| | | | | | | | | | | 
| | | | | | | | | | | 
| | | | | | | | | | |  | 
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3991
 | 
| | | | | | | | | | | | 
| | | | | | | | | | | 
| | | | | | | | | | | 
| | | | | | | | | | | 
| | | | | | | | | | | 
| | | | | | | | | | |  | 
wlroots removed the `wlr_surface_is_xwayland_surface` function, and renamed `wlr_xwayland_surface_from_wlr_surface` to `wlr_xwayland_surface_try_from_wlr_surface`.
related commit: https://gitlab.freedesktop.org/wlroots/wlroots/-/commit/fbf5982e3838ee28b5345e98832f6956c402b225
 | 
| | |\ \ \ \ \ \ \ \ \ \   | 
 | 
| | |\ \ \ \ \ \ \ \ \ \ \   | 
 | 
| | |\ \ \ \ \ \ \ \ \ \ \ \   | 
 | 
| | |\ \ \ \ \ \ \ \ \ \ \ \ \   | 
 | 
| | | | | | | | | | | | | | | | 
| | | | | | | | | | | | | | | 
| | | | | | | | | | | | | | | 
| | | | | | | | | | | | | | |  | 
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3627
 | 
| | | | | | | | | | | | | | | | 
| | | | | | | | | | | | | | | 
| | | | | | | | | | | | | | | 
| | | | | | | | | | | | | | |  | 
This way we make sure that the Monitor's boxes are updated correctly
 | 
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \   | 
 | 
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \   | 
 | 
| | | | | | | | | | | | | | | | | | 
| | | | | | | | | | | | | | | | | 
| | | | | | | | | | | | | | | | | 
| | | | | | | | | | | | | | | | |  | 
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/2693
 | 
| | | | | | | | | | | | | | | | | | 
| | | | | | | | | | | | | | | | | 
| | | | | | | | | | | | | | | | | 
| | | | | | | | | | | | | | | | |  | 
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3861
 |