summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-05-27wlroots now allows parallel installsLeonardo Hernández Hernández
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-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.
2024-01-30Revert "No need to call updatemons ourselves"Leonardo Hernández Hernández
Fixes: https://codeberg.org/dwl/dwl/issues/577 This reverts commit 26d7c9689f6e7eb699f2a63c2093c2a27e411ea3.
2024-01-26Correct specifier-data_type mismatchesA Frederick Christensen
2024-01-25configure xwayland surfaces without monitorsGuido Cella
For wine clients often configurex11() is called before mapnotify() and therefore c->mon is NULL. configurex11 just returns early in that case, letting these clients stay in the wrong size. For example only the top left part of winecfg and wine uninstaller is drawn, or confirmation dialogs like when closing wine notepad are too big. Fix this by configuring their surfaces like before 88d386b.
2024-01-25pass wl_event_loop to wlr_backend_autocreate (wlroots!4443)Leonardo Hernández Hernández
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4443
2024-01-25implement the virtual pointer protocolGuido Cella
This is used by programs like warpd.
2024-01-24do not arrange monitor if it's disabled (wlroots!4520)Leonardo Hernández Hernández
This causes us to send negative values to xdg-configures (e.g a bug in our end) References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4520 (cherry picked from commit 4043fc3093a73174cb63653ba9e742b4738f2ee5)
2024-01-24do not arrange monitor if it's disabled (wlroots!4520)Leonardo Hernández Hernández
This causes us to send negative values to xdg-configures (e.g a bug in our end) References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4520
2024-01-24add support for axis_relative_direction event (wlroots!4003)Leonardo Hernández Hernández
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4003
2024-01-24Revert "drop wl_drm (wlroots!4397)"Leonardo Hernández Hernández
There still a lot software that uses this protocol This reverts commit facbe57fcbe74d27809eefdfe6aaac5150fbb954.
2024-01-24Merge remote-tracking branch 'upstream/main' into wlroots-nextLeonardo Hernández Hernández
2024-01-20No need to call updatemons ourselvesDevin J. Pohly
The output manager in wlroots emits an output_layout.change event when anything changes, so updatemons will be called anyway. ΔSLOC: -1
2024-01-15drop unused variableLeonardo Hernández Hernández
2024-01-15request description before logsLeonardo Hernández Hernández
2024-01-15turn on -Wfloat-conversionLeonardo Hernández Hernández
2024-01-15turn on -Wsign-compareLeonardo Hernández Hernández
2024-01-14acknowledgements refactoringA Frederick Christensen
2024-01-12clarify the code will be kept as small as possibleLeonardo Hernández Hernández
2024-01-11check if monitor is null before setting gammachoc
fixes segfault on monitor disconnect when using wlsunset
2024-01-10drop SLOC limitLeonardo Hernández Hernández
2024-01-10drop wl_drm (wlroots!4397)Leonardo Hernández Hernández
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4397
2024-01-10prefer functionality over philosophyLeonardo Hernández Hernández
2024-01-10add acknowledgment to djpohlyLeonardo Hernández Hernández
2024-01-06Destroy fullscreen node after moving clients off monBen Jargowsky
2024-01-05don't send configure events to uninitialized xdg-toplevelsLeonardo Hernández Hernández
2024-01-05don't send configure events to uninitialized xdg-popupsLeonardo Hernández Hernández
2024-01-01fix posible NULL-dereference in wl_surface.commit handlerLeonardo Hernández Hernández
2023-12-27only create wlr_presentation (wlroots!4482)Leonardo Hernández Hernández
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4482
2023-12-27Merge remote-tracking branch 'upstream/main' into wlroots-nextLeonardo Hernández Hernández
2023-12-27unset DISPLAY before setting up xwaylandLeonardo Hernández Hernández
2023-12-27only execute the first keybindingLeonardo Hernández Hernández