| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| | |
they are destroyed when the wayland display is destroyed
|
| |
| |
| |
| | |
they does not affect performance and the size's increase is negligible
|
| |
| |
| |
| | |
copied from tinywl
|
| |
| |
| |
| | |
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4421
|
| | |
|
| |
| |
| |
| | |
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4419
|
| | |
|
| |
| |
| |
| | |
all other funcions use #ifdef -> #endif
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
the interface is declared stable, which means we could just use 0 anyway
|
| |
| |
| |
| |
| | |
the clips for xwayland and xdg clients are pretty similar, after all we only
need to adjust x and y for xdg clients
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| | |
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4131
Closes: https://github.com/djpohly/dwl/issues/411
|
| |
| |
| |
| | |
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>
|