~ruther/dwl

ref: 1333f8cc6ecbe8b1d4d73c4e3453997d0e5d84f1 dwl/dwl.c -rw-r--r-- 90.3 KiB
1333f8cc — Leonardo Hernández Hernández 1 year, 6 months ago
Merge remote-tracking branch 'upstream/main' into wlroots-next
960c32a7 — Leonardo Hernández Hernández 1 year, 7 months ago
call setfloating in setmon

since in the previous commit we may not applying floating in clients
this is to make sure we do
aea8dd6a — Leonardo Hernández Hernández 1 year, 7 months ago
return early if the client doesn't have monitor in setfloating

there is still a bug, but for now this prevents a segfault

Bug: https://github.com/djpohly/dwl/issues/472
e5367753 — Ben Collerson 1 year, 7 months ago
just add define
9be85c11 — Ben Collerson 1 year, 9 months ago
tagcount should have been a #define
4b8c1bf3 — Leonardo Hernández Hernández 1 year, 7 months ago
return nothing in xytonode()

we do not use the node
d7569870 — Devin J. Pohly 1 year, 9 months ago
Style: use early-return to clarify code

Use an early return to avoid indenting the main logic instead of
wrapping the tail of a function in an if statement.

No functional change, except for a handful of places where printstatus()
was being called spuriously (tag, toggletag, toggleview).

ΔSLOC: 0
4eb54b55 — Devin J. Pohly 1 year, 9 months ago
No need to send surface.leave/enter events

The scene graph implementation sends these for us, and it does so more
accurately than our overly-simplified approach.  Layer shell surfaces
don't appear to receive these events at all, according to my
WAYLAND_DEBUG experiments with bemenu and dtao.

ΔSLOC: -4
4567979b — Leonardo Hernández Hernández 1 year, 8 months ago
don't resize clients on commit

It creates an infinite commit-resize loop when scale != 1
78cf8867 — Leonardo Hernández Hernández 1 year, 8 months ago
add support for xdg-shell v6
ce997c4a — Leonardo Hernández Hernández 1 year, 8 months ago
update to xdg-shell v5
0e540561 — Leonardo Hernández Hernández 1 year, 9 months ago
add support for cursor-shape-v1

References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4106
0bb1a1cc — Leonardo Hernández Hernández 1 year, 9 months ago
increase wl_compositor version

Now scene will handle sending the preferred buffer scale

References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4269
aecff8cb — Leonardo Hernández Hernández 1 year, 9 months ago
Merge branch 'main' into wlroots-next
ca4a97b9 — Leonardo Hernández Hernández 1 year, 9 months ago
do not use wl_event_loop for signal handling

ΔSLOC: -4

Fixes: https://github.com/djpohly/dwl/issues/456
Fixes: https://github.com/djpohly/dwl/issues/459
76ba2cda — Devin J. Pohly 1 year, 9 months ago
Remove now-unneeded call to motionnotify

This appears to have been here for the side effect of updating the drag
icon's position.
4b15bbeb — Devin J. Pohly 1 year, 9 months ago
Remove unused icon variable
831fc36b — Devin J. Pohly 1 year, 9 months ago
Make drag_icon a persistent scene node

If there is no current drag icon, this node will be empty, but we now
have `drag_icon != NULL` as an invariant.  This allows us to eliminate a
conditional, since there's no harm in moving an empty node's coordinates
around with the pointer.

ΔSLOC: -1
18415278 — Devin J. Pohly 1 year, 9 months ago
properly destroy scene

ΔSLOC: +1
ff7c0e95 — Leonardo Hernández Hernández 1 year, 9 months ago
chase wlroots!4220

References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4220
Next
Do not follow this link