summaryrefslogtreecommitdiff
path: root/dwl.c
AgeCommit message (Collapse)Author
2025-10-17Merge remote-tracking branch 'upstream/main'0undefined
2025-08-04Revert "add support for ext-image-copy-capture-v1 and ↵A Frederick Christensen
ext-image-capture-source-v1 (wlroots!4545)" This reverts commit b28674e0ca4a9ecc92cb0607498e3db2df3d4c00. This PR is not yet finalized. (Screen freezes).
2025-08-04add support for ext-image-copy-capture-v1 and ext-image-capture-source-v1 ↵Leonardo Hernández Hernández
(wlroots!4545) References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4545
2025-06-14float sub-windows matching a ruleGuido Cella
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.
2025-06-09Use `all-scroll` instead of `fleur` xcursor shape for window draggingkilpilainen
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
2025-06-09Fix crash disabling monitor with locked surfaceNikita Ivanov
2025-06-07Cleanup commentsA Frederick Christensen
2025-04-09Patch: hide vacant tags0undefined
2025-04-08Merge remote-tracking branch 'upstream/main'0undefined
2025-03-13fix: shouldn't configure uninitialized layer_surfaceDreamMaoMao
2025-03-12fix: crash when open some x11 appDreamMaoMao
2025-02-15Merge remote-tracking branch 'upstream/main' into tmp0undefined
2025-02-02allocate with LISTEN_STATICkorei999
Fixes: https://codeberg.org/dwl/dwl/issues/723 Supersedes: https://codeberg.org/dwl/dwl/pulls/724
2025-01-20tmp0scar
2025-01-19rename some listenersLeonardo Hernández Hernández
To keep consistency with the rest of listeners
2025-01-19destroy keyboard group after unlinking listenersLeonardo Hernández Hernández
Last commit addressing the issue mentioned in 0925fe956aeddb983875f0fd892e9049e2d8cb76
2025-01-19unlink global listeners on destroyLeonardo Hernández Hernández
Continuation of 0925fe956aeddb983875f0fd892e9049e2d8cb76
2025-01-19Partially revert "Line saver: LISTEN_STATIC macro"Leonardo Hernández Hernández
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
2025-01-18unlink some destroy listenersLeonardo Hernández Hernández
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
2025-01-14do not call waitid(2) in the signal handler when Xwayland is enabledLeonardo Hernández Hernández
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
2025-01-14use wlr_xwayland_surface_has_window_type() (wlroots!4553)Leonardo Hernández Hernández
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4553
2024-12-11manually call updatemons in powermgrsetmode()Leonardo Hernández Hernández
Fixes: https://codeberg.org/dwl/dwl/issues/713
2024-10-28specify version for presentation-time (wlroots!4858)Leonardo Hernández Hernández
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4858
2024-10-28check if the backend supports explicit sync before creating the object ↵Leonardo Hernández Hernández
(wlroots!4848) References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4848
2024-10-21Patch: bar0scar
2024-10-21Patch: ipc0scar
2024-10-01Patch: extend foccusstack to enable focus first or last0scar
2024-10-01Patch: movestack0scar
Source: https://github.com/djpohly/dwl/wiki/movestack Author: sam-barr (ss7m) Patch: extend movestack to move clients to first or last
2024-10-01Patch: smartborders0scar
2024-10-01Revert "Patch: Smart borders"0scar
This reverts commit 8c62ba88848c8dc4b0d0471382e9ec4ca139fb60.
2024-10-01Patch: autostart0scar
2024-10-01Patch: center0scar
Source: https://github.com/djpohly/dwl/compare/main...dm1tz:04-center.patch
2024-10-01Patch: gap0scar
2024-10-01Patch: swallow0scar
2024-10-01Patch: sticky0scar
2024-10-01Patch: named scratchpads0scar
2024-09-30Patch: Smart borders0scar
Source: https://github.com/djpohly/dwl/compare/main...sevz17:smartborders.patch
2024-09-23Patch: privilege drop0scar
Source: https://github.com/djpohly/dwl/compare/main...DanielMowitz:privilege-drop.patch
2024-09-23Patch: mouse-follows-focus0scar
2024-09-12fix a use after freeGuido Cella
This line makes dwl crash after closing mpv with the switchtotag patch.
2024-08-28remove unused link member from KeyboardGroupchoc
unnecessary since grouping Keyboard wl_list to use wlr_keyboard_group in 023efce ΔSLOC: -1
2024-08-28disable scene node unless it is unmanagedLeonardo Hernández Hernández
2024-08-28send a configure to unmanaged clients when mappingLeonardo Hernández Hernández
2024-08-28configure xdg_toplevels after configuring it's decorationLeonardo Hernández Hernández
2024-08-28remove a space before parenthesis in function callsLeonardo Hernández Hernández
2024-08-28destroy popups when we can't get it's parent or they don't have monitorLeonardo Hernández Hernández
2024-08-28remove a redundant checkLeonardo Hernández Hernández
resize() now does the same check
2024-08-28avoid using a else blockLeonardo Hernández Hernández
2024-08-28introduce client_set_scale()Leonardo Hernández Hernández
2024-08-28remove unnecessary LayerShell.geomLeonardo Hernández Hernández
We only used geom.x and geom.y. We can access those variables directly from the scene node.