| Commit message (Collapse) | Author | Age |
| ... | |
| |
|
|
|
| |
`layer_surface` instead of `wlr_layer_surface`
and `scene_layer` whenever a wlr_scene_tree is related to layer surfaces
|
| | |
|
| |
|
|
|
| |
We do not allow creating them w/o monitor and they are destroyed when
destroying their monitor
|
| |
|
|
| |
It's not necessary but it'll help clients to render a perfect first frame
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |\ |
|
| | |
| |
| |
| | |
this in the case the output was re-enabled
|
| | |
| |
| |
| | |
This is no longer needed
|
| | |
| |
| |
| | |
Fixes: 32e66f45827cc8016ca2cef65ba61840f43fcc85
|
| | |
| |
| |
| |
| | |
Fixes: https://github.com/djpohly/dwl/issues/515
This reverts commit 4567979b16b0509bb80b6102ecb9b601b3cf6fa1.
|
| | | |
|
| | | |
|
| | | |
|
| | |
| |
| |
| | |
wlr_session_change_vt() is a no-op if session == NULL
|
| | |
| |
| |
| | |
they are destroyed when the wayland display is destroyed
|
| | |
| |
| |
| | |
copied from tinywl
|
| | |
| |
| |
| | |
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4421
|
| | | |
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| | | |
|
| | |\ |
|
| | |\ \ |
|
| | |\ \ \ |
|
| | |\ \ \ \ |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
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
|