aboutsummaryrefslogtreecommitdiffhomepage
path: root/dwl.c
AgeCommit message (Collapse)AuthorFilesLines
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
2024-08-08improve checking in configurex11()Leonardo Hernández Hernández1-1/+2
this avoids a client resizing itself when the user is interactively resizing the client
2024-08-08drop a useless check in configurex11()Leonardo Hernández Hernández1-2/+3
2024-08-07do not restack xwayland surfaces (wlroots!4756)Leonardo Hernández Hernández1-1/+0
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4756
2024-08-06add support for linux-drm-syncobj-v1 (wlroots!4715)Leonardo Hernández Hernández1-1/+5
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4262 References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4715
2024-08-06fix crash when a virtual pointer is destroyedLeonardo Hernández Hernández1-3/+3
Fixes: https://codeberg.org/dwl/dwl/issues/680
2024-07-27fix maximize callback not getting deregisterdSivecano1-0/+1
2024-07-27fix crash when re-mapping a clientLeonardo Hernández Hernández1-1/+1
Fixes: ab5c554d096ebca8446b7b1354c49be014b8b747
2024-07-24send scale on initial commit to layer surfacesLeonardo Hernández Hernández1-2/+3
Signed-off-by: Leonardo Hernández Hernández <leohdz172@proton.me>
2024-07-14use the parent scene node to determine if move clients out of LyrFloatGuido Cella1-1/+1
[sevz: commit message is mine]
2024-07-14Reapply "place child clients above fullscreen clients"Leonardo Hernández Hernández1-5/+8
This reverts commit 043ab3ac1335d7a1cd84fe0f9cea8056977211a4.
2024-07-14Merge branch 'wlroots-next'Leonardo Hernández Hernández1-67/+119
2024-07-13bump to linux-dmabuf version 5Leonardo Hernández Hernández1-1/+1
2024-07-12Revert "place child clients above fullscreen clients"Leonardo Hernández Hernández1-8/+5
This does not work as intended. Lets revert it temporarily and add it back after the release. This reverts commit 298949bbc4eae8cedb9cdd11cfc9ebd139ac5d5f.
2024-07-03Fix applyboundsRutherther1-2/+2
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.
2024-07-03feat: focus empty monitor when clickedRutherther1-0/+1
2024-07-03use round(3) and ceilf(3) from the math libraryLeonardo Hernández Hernández1-10/+9
ΔSLOC: -1
2024-07-03set preferred scale after the first commit (XDGshell)Leonardo Hernández Hernández1-3/+16
2024-07-03drop useless maplayersurfacenotify()Leonardo Hernández Hernández1-10/+0
2024-07-01set O_NONBLOCK flag to stdoutLeonardo Hernández Hernández1-0/+6
2024-06-25add bugref about why we call updatemons in outputmgrapplyortestLeonardo Hernández Hernández1-1/+1
2024-06-25Merge remote-tracking branch 'upstream/main' into wlroots-nextLeonardo Hernández Hernández1-3/+5
2024-06-25set preferred scale on creation (LayerShell)Leonardo Hernández Hernández1-0/+3
2024-06-24correctly report position to xwayland clientsLeonardo Hernández Hernández1-3/+2
Previously we didn't take into account their borders requiring us to add `borderpx` to override_redirect clients. Fixes: https://codeberg.org/dwl/dwl/issues/651
2024-06-20Merge remote-tracking branch 'upstream/main' into wlroots-nextLeonardo Hernández Hernández1-3/+5
2024-06-20Reapply gamma LUT when re-enabling an output using wlr-output-power-managementLeonardo Hernández Hernández1-3/+5
2024-06-20Merge remote-tracking branch 'upstream/main' into wlroots-nextLeonardo Hernández Hernández1-22/+62
2024-06-20Updated power management handling to address issues raised in the PRthanatos1-7/+13
2024-06-20Prevent updatemons() from removing monitors that have been put to sleep from ↵David Donahue1-1/+7
the layout
2024-06-20Implement support for output power managementEmil Miler1-0/+14
This patch is based on the original stale patch by Guido Cella @guidocella. It has been modified to apply cleanly to the latest v5.0 tag. Since the SLOC limit is now lifted, this core feature should be merged into dwl upstream. Thanks to Dima Krasner @dimkr for the cherry-pick. Closes: #559, #525
2024-06-20Check for null monitor in resize functionRutherther1-1/+7
2024-06-20Add output to layout after enabled state is committedRutherther1-5/+7