summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-06-25Merge remote-tracking branch 'upstream/main' into wlroots-nextLeonardo 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-22add bugref for negative x,y monitor position and xwaylandLeonardo Hernández Hernández
2024-06-20Merge remote-tracking branch 'upstream/main' into wlroots-nextLeonardo Hernández Hernández
2024-06-20Reapply gamma LUT when re-enabling an output using wlr-output-power-managementLeonardo Hernández Hernández
2024-06-20try to limit (79 characters) the line lenght in the MakefileLeonardo Hernández Hernández
2024-06-20Merge remote-tracking branch 'upstream/main' into wlroots-nextLeonardo 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-20default CC to gccLeonardo Hernández Hernández
posix c99 does not accept `-pedantic` Fixes: https://codeberg.org/dwl/dwl/issues/584
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-13minor adjustments in MakefileLeonardo Hernández Hernández
2024-06-12use tabs in client.hGuido Cella
Fixes 298949bbc4eae8cedb9cdd11cfc9ebd139ac5d5f.
2024-06-08use enum headers when possibleLeonardo Hernández Hernández
2024-06-04Merge remote-tracking branch 'upstream/main' into wlroots-nextLeonardo Hernández Hernández
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-05-27wlroots now allows parallel installsLeonardo Hernández Hernández
2024-05-10dwl-patches overhaul - doc changesfauxmight
2024-05-05Update wmenu-run nameA Frederick Christensen
2024-05-05switch to wmenusewn
bemenu is very bloated, turning itself into a library, which makes it 7489 SLOC. wmenu on the other hand, looks suckless by default, and is only 2000 SLOC, which i also find alot nicer to use, since bemenu does nothing to replicate the original dmenu feel.
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-04-04Merge remote-tracking branch 'upstream/main' into wlroots-nextLeonardo Hernández Hernández
2024-03-31do not set withdrawn state for xwayland clientsLeonardo Hernández Hernández
Closes: https://codeberg.org/dwl/dwl/issues/573
2024-03-31properly resize on configurex11korei999
2024-03-26Fix rule examples; minimize newbie surprisesA Frederick Christensen
Make example rules be actual EXAMPLES. Now newcomers should not have to ask, "When I start firefox, nothing happens. What is going on?" Also clarified a minor typo and a consistency in spacing.
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.
2024-03-11Support pointer constraints and relative pointer protocolsForrest Bushstone
Fixes: https://codeberg.org/dwl/dwl/issues/489 FIxes: https://codeberg.org/dwl/dwl/issues/317
2024-02-29use enums from the wayland protocol (wlroots!4575)Leonardo Hernández Hernández
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4575
2024-02-06misc fixes to xdg-toplevel-decorationLeonardo Hernández Hernández
2024-02-06send initial configure to xdg-toplevels (wlroots!4396)Leonardo Hernández Hernández
We still need to fix xdg-popups References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4396
2024-02-07Merge remote-tracking branch 'upstream/main' into wlroots-nextLeonardo Hernández Hernández
2024-02-07allow toggling the layout before selecting a different oneGuido Cella
2024-02-07fix minimum sizeLeonardo Hernández Hernández
continuation of 4043fc3093a73174cb63653ba9e742b4738f2ee5
2024-02-06Update and correct patches/patches-wiki linksA Frederick Christensen
Signed-off-by: Leonardo Hernández Hernández <leohdz172@proton.me>
2024-02-06Fix link to patches websiteBenjamin Chausse
Signed-off-by: Benjamin Chausse <benjamin@chausse.xyz>
2024-02-05place child clients above fullscreen clientsGuido Cella
When a child window of a fullscreen client is mapped, the fullscreen is disabled, and if the previously fullscreen client is floating the child window is rendered below it and cannot be seen, causing confusion, though it is still focused and interactable. Fix this by putting children of fullscreen clients in LyrFS instead of LyrFloat, and by returning before the unset_fullscreen code is called when they are mapped. focusstack() now lets you switch focus from a fullscreen client to its child windows, otherwise if you switch focus from the child window to the fullscreen client you could not focus the child window again and the fullscreen client would stay unresponsive. Child clients are not reparented to LyrFloat after leaving fullscreen, so you could spawn a child window, focus back the fullscreen client, unfullscreen it, and the child window would still be drawn above other floating clients. Avoid dealing with this edge case to keep the line count low. These cases can be tested by pressing Ctrl+o in applications with an open file dialog.
2024-02-05make XWayland clients inherit tags and monitorsGuido Cella
Revert 3213088 because the linked bug can no longer be reproduced with wlroots 0.17, and update client_get_parent() so it doesn't segfault with XWayland surfaces. This also allows reusing the p variable in the next commit.
2024-02-05remove useless wlr_scene_node_reparent() callsGuido Cella
These don't do anything because wlr_scene_node_reparent() is immediately called again by setfloating() through setmon(). They are also a source of confusion because if you change the wlr_scene_node_reparent() call in applyrules() it takes a while to understand why it doesn't work.