~ruther/dwl

ref: 863634a61cd953ea82d5fd1e4fa4d04e8b48a23f dwl/dwl.c -rw-r--r-- 93.7 KiB
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, 3 months ago
drop unused variable
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
check if monitor is null before setting gamma

fixes segfault on monitor disconnect when using wlsunset
25e34e4d — Ben Jargowsky 1 year, 3 months ago
Destroy fullscreen node after moving clients off mon
f3c4f723 — Leonardo Hernández Hernández 1 year, 3 months ago
fix posible NULL-dereference in wl_surface.commit handler
6cbf8e9b — Leonardo Hernández Hernández 1 year, 3 months ago
unset DISPLAY before setting up xwayland
d1301538 — Leonardo Hernández Hernández 1 year, 3 months ago
only execute the first keybinding
e277d84c — Leonardo Hernández Hernández 1 year, 3 months ago
more style fixes

missed from the previous iteration
1f0afcfc — Leonardo Hernández Hernández 1 year, 3 months ago
create a wlr_keyboard_group for virtual keyboards

Fixes: https://codeberg.org/dwl/dwl/issues/554
23fd3124 — Leonardo Hernández Hernández 1 year, 4 months ago
fix typo

Fixes: 7afdc191fe4e9b3d16604b7f0c96f9741247e2d2
Thanks to: David Donahue <david.donahue2996@gmail.com>
e39d9314 — Leonardo Hernández Hernández 1 year, 4 months ago
tie xdg_toplevel_decorations to Client

a xdg_toplevel can only have one xdg_toplevel_decoration so there is no need to
have a new struct for decorations
396840cd — Leonardo Hernández Hernández 1 year, 4 months ago
Revert "nuke CSDs, hopefully for good!"

The compositor must respond to the client requesting a change to the decoration
mode, it does not matter if the compositor chooses a different mode.

This reverts commit 9071ce6c848ce214939fb84f85ae77de86de88d7.
a71b3684 — Leonardo Hernández Hernández 1 year, 4 months ago
Revert "remove typedef `Decoration`"

This reverts commit d1ff1e6f75d9c53c953957b5c0a64e0bcb40008b.
7afdc191 — Leonardo Hernández Hernández 1 year, 4 months ago
style fixes
023efce6 — David Donahue 1 year, 4 months ago
use wlr_keyboard_group to manage all keyboards
Next
Do not follow this link