aboutsummaryrefslogtreecommitdiff
path: root/dwl.c (unfollow)
Commit message (Collapse)Author
2024-08-27introduce client_set_scale()Leonardo Hernández Hernández
2024-08-27remove 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.
2024-08-27update comment about first fields of Client and LayerSurface orderLeonardo Hernández Hernández
2024-08-27fix style in configurex11()Leonardo Hernández Hernández
2024-08-26fix crash when a client is created while all outputs are disabledLeonardo Hernández Hernández
2024-08-14use wlr_scene_set_gamma_control_manager_v1() (wlroots!4192)Leonardo Hernández Hernández
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4192
2024-08-14guarantee client_get_{title,appid} never return NULLLeonardo Hernández Hernández
ΔSLOC: -6
2024-08-10fix potential crash in configurex11()Leonardo Hernández Hernández
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ández
Fixes: 13925eb1da8af2c1d23ee9d01efd03c3626081b2
2024-08-08actually move unmanaged clients in configurex11()Leonardo Hernández Hernández
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ández
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ández
2024-08-07do not restack xwayland surfaces (wlroots!4756)Leonardo Hernández Hernández
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ández
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ández
Fixes: https://codeberg.org/dwl/dwl/issues/680
2024-07-27fix maximize callback not getting deregisterdSivecano
2024-07-27fix crash when re-mapping a clientLeonardo Hernández Hernández
Fixes: ab5c554d096ebca8446b7b1354c49be014b8b747
2024-07-24send scale on initial commit to layer surfacesLeonardo Hernández Hernández
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 Cella
[sevz: commit message is mine]
2024-07-14Reapply "place child clients above fullscreen clients"Leonardo Hernández Hernández
This reverts commit 043ab3ac1335d7a1cd84fe0f9cea8056977211a4.
2024-07-13bump to linux-dmabuf version 5Leonardo Hernández Hernández
2024-07-12Revert "place child clients above fullscreen clients"Leonardo Hernández Hernández
This does not work as intended. Lets revert it temporarily and add it back after the release. This reverts commit 298949bbc4eae8cedb9cdd11cfc9ebd139ac5d5f.
2024-07-03Fix applyboundsRutherther
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 clickedRutherther
2024-07-03use round(3) and ceilf(3) from the math libraryLeonardo Hernández Hernández
ΔSLOC: -1
2024-07-03set preferred scale after the first commit (XDGshell)Leonardo Hernández Hernández
2024-07-03drop useless maplayersurfacenotify()Leonardo Hernández Hernández
2024-07-01set O_NONBLOCK flag to stdoutLeonardo Hernández Hernández
2024-06-25add bugref about why we call updatemons in outputmgrapplyortestLeonardo Hernández Hernández
2024-06-25set preferred scale on creation (LayerShell)Leonardo Hernández Hernández
2024-06-24correctly report position to xwayland clientsLeonardo Hernández Hernández
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-20Reapply gamma LUT when re-enabling an output using wlr-output-power-managementLeonardo Hernández Hernández
2024-06-20Updated power management handling to address issues raised in the PRthanatos
2024-06-20Prevent updatemons() from removing monitors that have been put to sleep from ↵David Donahue
the layout
2024-06-20Implement support for output power managementEmil Miler
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 functionRutherther
2024-06-20Add output to layout after enabled state is committedRutherther
2024-06-20fix: make sure selmon doesn't get set to disabled monRutherther
2024-06-20handle gpu resetsLeonardo Hernández Hernández
Fixes: https://codeberg.org/dwl/dwl/issues/601
2024-06-20Run startup_cmd in new session and kill the entire groupPeter Hofmann
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 Bushstone
2024-06-04make sure clients share the same layer on floating layoutLeonardo Hernández Hernández
2024-06-02create a keyboard group for each virtual keyboardLeonardo Hernández Hernández
2024-06-02Allow negative coordinates in MonitorRulesA Frederick Christensen
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 Bushstone
2024-04-30add support for alpha-modifier-v1 (wlroots!4616)Leonardo Hernández Hernández
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4616
2024-04-21use wlr_renderer_get_texture_formats (wlroots!4644)Leonardo Hernández Hernández
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4644
2024-04-04put wlr_layer_shell top layer below fullscreenchoc
fixes wlr_layer_shell top clients showing over fullscreen clients
2024-03-31properly resize on configurex11korei999
2024-03-11fix virtual pointersGuido Cella
When motionabsolute() is called from warpd, event->time_msec is 0, so motionnotify() doesn't call wlr_cursor_move(). Fix this by explicitly warping the cursor in this case, like it was done before implementing pointer constraints. I don't know if this is a bug in warpd or time_msec is always 0 with virtual pointers, since the only other software that uses the virtual pointer protocol I know of is wl-kbptr, and I can't get that to work with dwl at all.