aboutsummaryrefslogtreecommitdiff
path: root/dwl.c (follow)
Commit message (Collapse)AuthorAge
* ipc patchRaghuram Subramani2025-07-27
|
* Merge branch 'main' into compromyseRaghuram Subramani2025-07-27
|\
| * float sub-windows matching a ruleGuido Cella2025-06-14
| | | | | | | | | | | | | | | | | | 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.
| * Use `all-scroll` instead of `fleur` xcursor shape for window draggingkilpilainen2025-06-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Fix crash disabling monitor with locked surfaceNikita Ivanov2025-06-09
| |
| * Cleanup commentsA Frederick Christensen2025-06-07
| |
| * fix: shouldn't configure uninitialized layer_surfaceDreamMaoMao2025-03-13
| |
| * fix: crash when open some x11 appDreamMaoMao2025-03-12
| |
* | updateRaghuram Subramani2025-02-02
| |
* | updateRaghuram Subramani2025-02-02
| |
* | Merge branch 'main' into compromyseRaghuram Subramani2025-02-02
|\|
| * allocate with LISTEN_STATICkorei9992025-02-01
| | | | | | | | | | Fixes: https://codeberg.org/dwl/dwl/issues/723 Supersedes: https://codeberg.org/dwl/dwl/pulls/724
| * rename some listenersLeonardo Hernández Hernández2025-01-19
| | | | | | | | To keep consistency with the rest of listeners
| * destroy keyboard group after unlinking listenersLeonardo Hernández Hernández2025-01-19
| | | | | | | | | | Last commit addressing the issue mentioned in 0925fe956aeddb983875f0fd892e9049e2d8cb76
| * unlink global listeners on destroyLeonardo Hernández Hernández2025-01-19
| | | | | | | | Continuation of 0925fe956aeddb983875f0fd892e9049e2d8cb76
| * Partially revert "Line saver: LISTEN_STATIC macro"Leonardo Hernández Hernández2025-01-19
| | | | | | | | | | | | | | | | | | 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
| * unlink some destroy listenersLeonardo Hernández Hernández2025-01-17
| | | | | | | | | | | | | | | | | | | | 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
| * do not call waitid(2) in the signal handler when Xwayland is enabledLeonardo Hernández Hernández2025-01-14
| | | | | | | | | | | | | | | | | | 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
| * use wlr_xwayland_surface_has_window_type() (wlroots!4553)Leonardo Hernández Hernández2025-01-14
| | | | | | | | References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4553
* | Merge remote-tracking branch 'upstream/main' into compromyseRaghuram Subramani2024-12-30
|\|
| * manually call updatemons in powermgrsetmode()Leonardo Hernández Hernández2024-12-10
| | | | | | | | Fixes: https://codeberg.org/dwl/dwl/issues/713
* | Merge remote-tracking branch 'upstream/main' into compromyseRaghuram Subramani2024-11-02
|\|
| * specify version for presentation-time (wlroots!4858)Leonardo Hernández Hernández2024-10-27
| | | | | | | | References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4858
| * check if the backend supports explicit sync before creating the object ↵Leonardo Hernández Hernández2024-10-27
| | | | | | | | | | | | (wlroots!4848) References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4848
* | (patch): gaps.patchRaghuram Subramani2024-10-08
| |
* | (update): Cursor sizeRaghuram Subramani2024-09-29
| |
* | (patch): pertag.patchRaghuram Subramani2024-09-29
| |
* | (patch): naturalscrolltrackpad.patchRaghuram Subramani2024-09-29
| |
* | (patch): autostart.patchRaghuram Subramani2024-09-29
| |
* | (patch): attachbottom.patchRaghuram Subramani2024-09-29
| |
* | (patch): alwayscenter.patchRaghuram Subramani2024-09-29
|/
* fix a use after freeGuido Cella2024-09-12
| | | | This line makes dwl crash after closing mpv with the switchtotag patch.
* remove unused link member from KeyboardGroupchoc2024-08-27
| | | | | | unnecessary since grouping Keyboard wl_list to use wlr_keyboard_group in 023efce ΔSLOC: -1
* disable scene node unless it is unmanagedLeonardo Hernández Hernández2024-08-27
|
* send a configure to unmanaged clients when mappingLeonardo Hernández Hernández2024-08-27
|
* configure xdg_toplevels after configuring it's decorationLeonardo Hernández Hernández2024-08-27
|
* remove a space before parenthesis in function callsLeonardo Hernández Hernández2024-08-27
|
* destroy popups when we can't get it's parent or they don't have monitorLeonardo Hernández Hernández2024-08-27
|
* remove a redundant checkLeonardo Hernández Hernández2024-08-27
| | | | resize() now does the same check
* avoid using a else blockLeonardo Hernández Hernández2024-08-27
|
* introduce client_set_scale()Leonardo Hernández Hernández2024-08-27
|
* remove unnecessary LayerShell.geomLeonardo Hernández Hernández2024-08-27
| | | | | We only used geom.x and geom.y. We can access those variables directly from the scene node.
* update comment about first fields of Client and LayerSurface orderLeonardo Hernández Hernández2024-08-27
|
* fix style in configurex11()Leonardo Hernández Hernández2024-08-27
|
* fix crash when a client is created while all outputs are disabledLeonardo Hernández Hernández2024-08-26
|
* use wlr_scene_set_gamma_control_manager_v1() (wlroots!4192)Leonardo Hernández Hernández2024-08-14
| | | | References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4192
* guarantee client_get_{title,appid} never return NULLLeonardo Hernández Hernández2024-08-14
| | | | ΔSLOC: -6
* fix potential crash in configurex11()Leonardo Hernández Hernández2024-08-10
| | | | | | | We can't call resize() on unmanaged clients because they don't have borders and resize() requires them. Fixes: 94f4ead7dad89433e6087dc19950738c64bbed05
* account border width in configurex11()Leonardo Hernández Hernández2024-08-08
| | | | Fixes: 13925eb1da8af2c1d23ee9d01efd03c3626081b2
* actually move unmanaged clients in configurex11()Leonardo Hernández Hernández2024-08-08
| | | | | 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