~ruther/dwl

swallow patch with x support

fixed to work after commit 985417b
8006e792 — Guido Cella 1 year, 2 months ago
allow toggling the layout before selecting a different one
5ae245be — Leonardo Hernández Hernández 1 year, 2 months ago
fix minimum size

continuation of 4043fc3093a73174cb63653ba9e742b4738f2ee5
089480e0 — A Frederick Christensen 1 year, 2 months ago
Update and correct patches/patches-wiki links

Signed-off-by: Leonardo Hernández Hernández <leohdz172@proton.me>
3c98c4c2 — Benjamin Chausse 1 year, 2 months ago
Fix link to patches website

Signed-off-by: Benjamin Chausse <benjamin@chausse.xyz>
298949bb — Guido Cella 1 year, 2 months ago
place child clients above fullscreen clients

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.
17c5cbbf — Guido Cella 1 year, 2 months ago
make XWayland clients inherit tags and monitors

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.
45e3694f — Guido Cella 1 year, 2 months ago
remove useless wlr_scene_node_reparent() calls

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.
5c936efc — Leonardo Hernández Hernández 1 year, 2 months ago
Revert "No need to call updatemons ourselves"

Fixes: https://codeberg.org/dwl/dwl/issues/577

This reverts commit 26d7c9689f6e7eb699f2a63c2093c2a27e411ea3.
9830a991 — A Frederick Christensen 1 year, 2 months ago
Correct specifier-data_type mismatches
863634a6 — Guido Cella 1 year, 2 months ago
configure xwayland surfaces without monitors

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.
ac6074f4 — Guido Cella 1 year, 2 months ago
implement the virtual pointer protocol

This is used by programs like warpd.
433385f7 — Leonardo Hernández Hernández 1 year, 2 months ago
do not arrange monitor if it's disabled (wlroots!4520)

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)
26d7c968 — Devin J. Pohly 1 year, 8 months ago
No need to call updatemons ourselves

The output manager in wlroots emits an output_layout.change event when
anything changes, so updatemons will be called anyway.

ΔSLOC: -1
6c8be38e — Leonardo Hernández Hernández 1 year, 2 months ago
drop unused variable
417e37f9 — Leonardo Hernández Hernández 1 year, 2 months ago
request description before logs
a1f3e25c — Leonardo Hernández Hernández 2 years ago
turn on -Wfloat-conversion
0151bd48 — Leonardo Hernández Hernández 2 years ago
turn on -Wsign-compare
337d6ba3 — A Frederick Christensen 1 year, 2 months ago
acknowledgements refactoring
ec557f25 — Leonardo Hernández Hernández 1 year, 2 months ago
clarify the code will be kept as small as possible
Next
Do not follow this link