~ruther/dwl

ref: 569f55401693c9d2850f056f20ca2bd5bd5977fd dwl/dwl.c -rw-r--r-- 84.8 KiB
f6820a6c — Leonardo Hernández Hernández 3 years ago
fix drag and drop not working

this fixes another issue where the cursor doesn't change when selecting text
but there is still an issue about not changing border color of clients during
dnd operations

Bug: https://github.com/djpohly/dwl/issues/318
8559141b — Leonardo Hernández Hernández 3 years ago
avoid usage of goto

Based on this suggestion: bc72af6e2430cfb8db2f5fa1b9800c86f445b6d6#commitcomment-85592855">https://github.com/guyuming76/dwl/commit/bc72af6e2430cfb8db2f5fa1b9800c86f445b6d6#commitcomment-85592855
b8bc54b6 — Leonardo Hernández Hernández 3 years ago
properly handle cursor motion when button is held

Based on: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3653
b5776e51 — Leonardo Hernández Hernández 3 years ago
avoid setting duplicate cursor image

Reference: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3436
Based on: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3595
c13d948e — Leonardo Hernández Hernández 3 years ago
destroy renderer and allocator in cleanup()
fc8b2a83 — Leonardo Hernández Hernández 3 years ago
fix bad condition
c00faae2 — Leonardo Hernández Hernández 3 years ago
fix various segfaults when selmon is NULL
e46238b9 — Leonardo Hernández Hernández 3 years ago
change cursor surface in internal calls of motionnotify()

and call motionnotify() after unmapping a client
and when focusing a client

Fixes: https://github.com/djpohly/dwl/issues/308
2385d826 — Leonardo Hernández Hernández 3 years ago
remove unused variables
1fdc65ff — Leonardo Hernández Hernández 3 years ago
make more permissive exclusive focus

now you can call focusstack() while a layer surface is focused and when it gets
unmapped the newly focused clients will be actually focused
fbaeb853 — Leonardo Hernández Hernández 3 years ago
now really fix clients not being focused after unmapping a layer surface
570e6e2c — Leonardo Hernández Hernández 3 years ago
fix clients not being focused after destroy a layer surface
a1b33826 — Leonardo Hernández Hernández 3 years ago
Revert "remove useless check of `m` in arrangelayers()"

This partially reverts commit d14ee99661e420c8e3d8fcc6791429a0e08bd915.

Checking if the output is enabled is necessary to avoid a segfault later
d14ee996 — Leonardo Hernández Hernández 3 years ago
remove useless check of `m` in arrangelayers()

it is supossed to avoid a crash when we pass m=NULL as argument
however it would crash anyway and also because we should not pass m=NULL
cd96f889 — Leonardo Hernández Hernández 3 years ago
fix use of loop initial declaration

forbidden by the suckless style
bc72af6e — Leonardo Hernández Hernández 3 years ago
fix unmanaged clients not being unlinked from the commit listener
bcc8ce7a — Leonardo Hernández Hernández 3 years ago
fix segfault when unlocking swaylock on two monitor setup

wlr_*_surface_from_wlr_surface() can return NULL if the surface
is being destroyed

Fixes: https://github.com/djpohly/dwl/issues/305
ba7dcb2d — Leonardo Hernández Hernández 3 years ago
don't try to move outputs when its x,y hasn't change

when using wlr_output_layout_move() wlroots internally
change the state of the output to manually configured and
when updating the layout these outputs aren't ignored by
wlroots, leaving us at our own
c8a9f634 — Leonardo Hernández Hernández 3 years ago
prior run the startup command start the backend

this allow use clients like wlr-randr in the startup command
fd67087a — Leonardo Hernández Hernández 3 years ago
make sure the parent is mapped prior set monitor and tags
Next