aboutsummaryrefslogtreecommitdiffhomepage
path: root/dwl.c
AgeCommit message (Collapse)AuthorFilesLines
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
2024-06-20fix: make sure selmon doesn't get set to disabled monRutherther1-0/+7
2024-06-20handle gpu resetsLeonardo Hernández Hernández1-0/+26
Fixes: https://codeberg.org/dwl/dwl/issues/601
2024-06-20Run startup_cmd in new session and kill the entire groupPeter Hofmann1-1/+2
When a user's startup_cmd is a little more complex, e.g. a shell script, and forks off several processes, then killing only the main child pid might leave unwanted processes behind on exit. Not all children will notice when their parent or the compositor has quit. To fix this, put startup_cmd into its own session and process group, and kill the entire group on exit.
2024-06-14Make sure toplevel_from_wlr_surface is called with a valid surface pointerForrest Bushstone1-14/+12
2024-06-04Merge remote-tracking branch 'upstream/main' into wlroots-nextLeonardo Hernández Hernández1-65/+85
2024-06-04make sure clients share the same layer on floating layoutLeonardo Hernández Hernández1-1/+16
2024-06-02create a keyboard group for each virtual keyboardLeonardo Hernández Hernández1-62/+66
2024-06-02Allow negative coordinates in MonitorRulesA Frederick Christensen1-2/+2
Monitor/output position (-1, -1) remains as a single indicator value for autoconfigure layout. Additionally, one minor comment typo is corrected.
2024-05-30Replicate dwm behavior for sloppyfocusForrest Bushstone1-1/+1
2024-04-30add support for alpha-modifier-v1 (wlroots!4616)Leonardo Hernández Hernández1-0/+2
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4616
2024-04-21use wlr_renderer_get_texture_formats (wlroots!4644)Leonardo Hernández Hernández1-1/+1
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4644
2024-04-04put wlr_layer_shell top layer below fullscreenchoc1-1/+1
fixes wlr_layer_shell top clients showing over fullscreen clients