summaryrefslogtreecommitdiffstats
path: root/dwl.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2025-03-13fix: shouldn't configure uninitialized layer_surfacemainDreamMaoMao1-0/+3
2025-03-12fix: crash when open some x11 appDreamMaoMao1-1/+1
2025-02-22add motionnotify after warpcursorSquibid1-0/+4
2025-02-22configure the bordersSquibid1-5/+5
2025-02-20implement borders patchwochap1-5/+50
tihs patch adds 2 extra borders relative to the client, they don't change the size of the client
2025-02-16Revert "Replicate dwm behavior for sloppyfocus"Squibid1-1/+1
I find this completely unintuitive, and annoying to use. This reverts commit 0047ff740a4f8da430cecdb19084f626bf535b21.
2025-02-12implement swallowchoc1-6/+108
2025-02-12implement gestureswochap1-4/+72
2025-02-12implement pointer-gestures-unstable-v1wochap1-0/+136
2025-02-12allow to add keybindings in lockscreenwochap1-0/+20
2025-02-12implement regex support in rules for app_id and title Enables the use of ↵wochap1-2/+17
regular expressions for window rules "app_id" and "title"
2025-02-12passthrough: allow pausing keybind handlingchoc1-0/+14
also allows for bitcarrying-esque control of nested instances
2025-02-11Added function to toggle pointer constraints via a keybindDavid Donahue1-15/+26
2025-02-11implement tearing protocolkorei9991-14/+170
2025-02-11handle minimize request for xwayland clientskorei9991-0/+20
2025-02-11add warp cursorSquibid1-0/+36
2025-02-11add keybind to reset mfact and nmasterSquibid1-3/+18
2025-02-11add colored bordersSquibid1-4/+2
2025-02-11add uselessgaps patchSquibid1-14/+38
2025-02-11add ipc patchSquibid1-31/+225
2025-02-01allocate with LISTEN_STATICkorei9991-1/+4
Fixes: https://codeberg.org/dwl/dwl/issues/723 Supersedes: https://codeberg.org/dwl/dwl/pulls/724
2025-01-19rename some listenersLeonardo Hernández Hernández1-18/+18
To keep consistency with the rest of listeners
2025-01-19destroy keyboard group after unlinking listenersLeonardo Hernández Hernández1-1/+1
Last commit addressing the issue mentioned in 0925fe956aeddb983875f0fd892e9049e2d8cb76
2025-01-19unlink global listeners on destroyLeonardo Hernández Hernández1-10/+39
Continuation of 0925fe956aeddb983875f0fd892e9049e2d8cb76
2025-01-19Partially revert "Line saver: LISTEN_STATIC macro"Leonardo Hernández Hernández1-36/+72
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-17unlink some destroy listenersLeonardo Hernández Hernández1-0/+2
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ández1-14/+2
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ández1-34/+0
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4553
2024-12-10manually call updatemons in powermgrsetmode()Leonardo Hernández Hernández1-0/+1
Fixes: https://codeberg.org/dwl/dwl/issues/713
2024-10-27specify version for presentation-time (wlroots!4858)Leonardo Hernández Hernández1-1/+1
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4858
2024-10-27check if the backend supports explicit sync before creating the object ↵Leonardo Hernández Hernández1-1/+2
(wlroots!4848) References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4848
2024-09-12fix a use after freeGuido Cella1-1/+0
This line makes dwl crash after closing mpv with the switchtotag patch.
2024-08-27remove unused link member from KeyboardGroupchoc1-1/+0
unnecessary since grouping Keyboard wl_list to use wlr_keyboard_group in 023efce ΔSLOC: -1
2024-08-27disable scene node unless it is unmanagedLeonardo Hernández Hernández1-1/+2
2024-08-27send a configure to unmanaged clients when mappingLeonardo Hernández Hernández1-0/+1
2024-08-27configure xdg_toplevels after configuring it's decorationLeonardo Hernández Hernández1-2/+3
2024-08-27remove a space before parenthesis in function callsLeonardo Hernández Hernández1-2/+2
2024-08-27destroy popups when we can't get it's parent or they don't have monitorLeonardo Hernández Hernández1-1/+3
2024-08-27remove a redundant checkLeonardo Hernández Hernández1-2/+1
resize() now does the same check
2024-08-27avoid using a else blockLeonardo Hernández Hernández1-3/+2
2024-08-27introduce client_set_scale()Leonardo Hernández Hernández1-4/+2
2024-08-27remove unnecessary LayerShell.geomLeonardo Hernández Hernández1-7/+4
We only used geom.x and geom.y. We can access those variables directly from the scene node.
2024-08-27update comment about first fields of Client and LayerSurface orderLeonardo Hernández Hernández1-6/+8
2024-08-27fix style in configurex11()Leonardo Hernández Hernández1-4/+6
2024-08-26fix crash when a client is created while all outputs are disabledLeonardo Hernández Hernández1-2/+4
2024-08-14use wlr_scene_set_gamma_control_manager_v1() (wlroots!4192)Leonardo Hernández Hernández1-42/+2
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4192
2024-08-14guarantee client_get_{title,appid} never return NULLLeonardo Hernández Hernández1-10/+4
ΔSLOC: -6
2024-08-10fix potential crash in configurex11()Leonardo Hernández Hernández1-2/+7
We can't call resize() on unmanaged clients because they don't have borders and resize() requires them. Fixes: 94f4ead7dad89433e6087dc19950738c64bbed05
2024-08-08account border width in configurex11()Leonardo Hernández Hernández1-1/+1
Fixes: 13925eb1da8af2c1d23ee9d01efd03c3626081b2
2024-08-08actually move unmanaged clients in configurex11()Leonardo Hernández Hernández1-4/+3
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