|  | Commit message (Collapse) | Author | 
|---|
|  | Currently when a rule that doesn't make windows floating matches, even
sub-windows of float type get tiled rather than just the main window.
This is inconsistent with dwm and other compositors. Fix this by making
these windows floating after applying rules.
Fixes #1142. | 
|  | When there are no xcursor themes available, Wayland uses its own built-in shapes [1].
Wayland (and thus to extend wlroots) is based on the XDG's cursor spec [2],
which itself is based on CSS' [3][4], neither of which define `fleur` shape. So dwl,
without any external themes, falls back to `default` shape when dragging a window.
There is `all-scroll` shape that is being symlinked to (or vice versa) by `move`,
`dnd-move`, `grabbed` and `fleur` shapes by various themes.
Since `all-scroll` is being symlinked to anyway, and has been part of all relevant
specs as the shape for this use case for a very long time now, use it instead.
[1] https://gitlab.freedesktop.org/wayland/wayland/-/blob/main/cursor/cursor-data.h#L559
[2] https://www.freedesktop.org/wiki/Specifications/cursor-spec
[3] https://drafts.csswg.org/css-ui/#cursor
[4] https://developer.mozilla.org/en-US/docs/Web/CSS/cursor | 
|  |  | 
|  |  | 
|  |  | 
|  |  | 
|  | Fixes: https://codeberg.org/dwl/dwl/issues/723
Supersedes: https://codeberg.org/dwl/dwl/pulls/724 | 
|  | To keep consistency with the rest of listeners | 
|  | Last commit addressing the issue mentioned in
0925fe956aeddb983875f0fd892e9049e2d8cb76 | 
|  | Continuation of 0925fe956aeddb983875f0fd892e9049e2d8cb76 | 
|  | This reverts commit 33bcd2e4ca892bb0b558660c99ed63a3dfdd9011.
We keep LISTEN_STATIC for three instances where we use it. We use
simple listeners for the rest of signals.
This is the continuation of 0925fe956aeddb983875f0fd892e9049e2d8cb76 | 
|  | Recently wlroots was updated to assert that signals do not have listeners
attached on destroy.
This is just a preliminar work to fix dwl. At the moment dwl will trigger the
assertions at exit.
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4918 | 
|  | waitid(2) is not a async-signal-safe function acording to signal-safety(7)
We can stop doing this because wlroots!4926 allows compositors to install
signal handlers for SIGCHLD.
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4926 | 
|  | References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4553 | 
|  | Fixes: https://codeberg.org/dwl/dwl/issues/713 | 
|  | References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4858 | 
|  | (wlroots!4848)
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4848 | 
|  | This line makes dwl crash after closing mpv with the switchtotag patch. | 
|  | unnecessary since grouping Keyboard wl_list to use wlr_keyboard_group in 023efce
ΔSLOC: -1 | 
|  |  | 
|  |  | 
|  |  | 
|  |  | 
|  |  | 
|  | resize() now does the same check | 
|  |  | 
|  |  | 
|  | We only used geom.x and geom.y. We can access those variables directly from the
scene node. | 
|  |  | 
|  |  | 
|  |  | 
|  | References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4192 | 
|  | ΔSLOC: -6 | 
|  | We can't call resize() on unmanaged clients because they don't have borders and
resize() requires them.
Fixes: 94f4ead7dad89433e6087dc19950738c64bbed05 | 
|  | Fixes: 13925eb1da8af2c1d23ee9d01efd03c3626081b2 | 
|  | only calling wlr_xwayland_surface_configure() may be not enough because we also
need to move the scene node in order to make effective the configure | 
|  | this avoids a client resizing itself when the user is interactively resizing
the client | 
|  |  | 
|  | References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4756 | 
|  | References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4262
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4715 | 
|  | Fixes: https://codeberg.org/dwl/dwl/issues/680 | 
|  |  | 
|  | Fixes: ab5c554d096ebca8446b7b1354c49be014b8b747 | 
|  | Signed-off-by: Leonardo Hernández Hernández <leohdz172@proton.me> | 
|  | [sevz: commit message is mine] | 
|  | This reverts commit 043ab3ac1335d7a1cd84fe0f9cea8056977211a4. | 
|  |  | 
|  | This does not work as intended. Lets revert it temporarily and add it back
after the release.
This reverts commit 298949bbc4eae8cedb9cdd11cfc9ebd139ac5d5f. | 
|  | Applybounds doesn't move client when it overlays
only with border with monitor to the right.
Apparently, c->geom.width already includes the border
as well. | 
|  |  |