Leonardo Hernández Hernández
e6a0980cf9
print status to "${XDG_RUNTIME_DIR}/dwl-${WAYLAND_DISPLAY}"
2022-10-29 16:52:47 -05:00
egorguslyan
93ff8ec760
allow specify cursor theme and size
...
Co-authored-by: Leonardo Hernández Hernández <leohdz172@protonmail.com>
2022-10-29 16:52:47 -05:00
Leonardo Hernández Hernández
83dccced8e
hide behind monocle
2022-10-29 16:52:40 -05:00
Leonardo Hernández Hernández
94f0c85179
hide-behind-fullscreen
2022-10-29 16:51:34 -05:00
Leonardo Hernández Hernández
8ba581f2ae
allow gaps in monocle layout if requested
2022-10-29 16:51:34 -05:00
Bonicgamer
01df83eb65
Implement vanitygaps
2022-10-29 16:51:34 -05:00
Vladislav Nepogodin
58234d4e0b
Function to cycle through available layouts.
2022-10-29 16:51:34 -05:00
Leonardo Hernández Hernández
9433f353b3
increase RLIMIT_CORE (generate a coredump)
2022-10-29 16:51:33 -05:00
Leonardo Hernández Hernández
d05edf6760
apply autostart patch from dwm
...
https://dwm.suckless.org/patches/cool_autostart/
2022-10-29 16:51:33 -05:00
Leonardo Hernández Hernández
803d24c266
fix crash when running as nested compositor
2022-10-29 16:51:33 -05:00
Palanix
ddd4285a27
Updated patch now allowing setting x and y
2022-10-29 16:51:33 -05:00
Leonardo Hernández Hernández
5c4542c118
add option to enable numlock/capslock
2022-10-29 16:51:33 -05:00
Devin J. Pohly
ea0217a76b
add missing header
2022-10-29 16:51:33 -05:00
Devin J. Pohly
88eeb3023e
port dwm "push" patch to dwl
2022-10-29 16:51:33 -05:00
Leonardo Hernández Hernández
ad89bc19e5
don't draw borders if there is only one window
...
Co-authored-by: Andrey Proskurin <andreyproskurin@protonmail.com>
2022-10-29 16:51:32 -05:00
Guido Cella
24f702fbc1
Center floating windows
...
Credits to Benjamin Chausse for fixing this with multiple monitors.
2022-10-29 16:51:32 -05:00
Leonardo Hernández Hernández
a0a4d8266f
implement pointer constraints
...
mostly copied from sway implementation
Co-authored-by: A Frederick Christenesn <dwl@ivories.org>
Co-authored-by: pm4rcin <37148802+pm4rcin@users.noreply.github.com>
2022-10-29 16:51:32 -05:00
Leonardo Hernández Hernández
846ce52b92
fix crash in dirtomon() when selmon is disabled
2022-10-29 16:48:50 -05:00
Leonardo Hernández Hernández
a9e2ebaf41
closemon() now updates selmon if needed
2022-10-29 16:48:50 -05:00
Leonardo Hernández Hernández
9b5f0f0fc5
use just one loop in outputmgrapplyortest()
...
we do the magic in updatemons()
2022-10-29 16:48:50 -05:00
Leonardo Hernández Hernández
cb01ce9bcf
move focus and clients off disabled monitors
2022-10-29 16:48:50 -05:00
Leonardo Hernández Hernández
9588b46b5c
only raise the client's node in monocle()
...
Fixes: https://github.com/djpohly/dwl/issues/326
2022-10-29 16:47:17 -05:00
Leonardo Hernández Hernández
2f7834b130
sort util.c functions
2022-10-29 14:57:22 -05:00
Leonardo Hernández Hernández
f494891a9a
limit the line length to 79 in the readme
2022-10-29 14:47:24 -05:00
Leonardo Hernández Hernández
fd2c47cb70
mention the polkit dependency when using elogind or systemd-logind
...
Bug: https://github.com/djpohly/dwl/issues/138
2022-10-29 14:09:38 -05:00
Leonardo Hernández Hernández
e9826de295
Revert "stop trying resize clients during commitnotify()"
...
This reverts commit 2d9d758c8dec083178ff78b154da784b97260bd1.
wasn't meant to be pushed to main
2022-10-15 18:25:58 -05:00
Leonardo Hernández Hernández
110cde8f67
update comment about exclusive focus in focusclient()
2022-10-15 18:09:42 -05:00
Leonardo Hernández Hernández
2d9d758c8d
stop trying resize clients during commitnotify()
...
instead resize them in configurex11()
2022-10-15 18:00:55 -05:00
Leonardo Hernández Hernández
332ceb7136
allow unmanaged clients (like dzen or dmenu) to have keyboard focus
2022-10-15 18:00:24 -05:00
Leonardo Hernández Hernández
9e912cf790
delete the idle protocol xml file
2022-10-13 22:05:09 -05:00
Leonardo Hernández Hernández
4eabf6f7eb
disable and destroy monitor's layer surfaces when it's being destroyed
...
Fixes: https://github.com/djpohly/dwl/issues/314
2022-10-11 13:11:14 -05:00
Leonardo Hernández Hernández
765656902f
use /* */ for comments in applybounds()
2022-10-08 20:51:40 -05:00
Leonardo Hernández Hernández
1438dfc150
fix bad indentation in createpointer()
2022-10-08 20:51:05 -05:00
Leonardo Hernández Hernández
3902fba769
rename dragicondestroy() -> destroydragicon()
...
to match the rest of the code
2022-10-08 20:50:17 -05:00
Leonardo Hernández Hernández
7f3c9fa0ae
rename LyrNoFocus -> LyrDragIcon
2022-10-08 20:48:48 -05:00
Leonardo Hernández Hernández
952fde68a3
correctly handle cursor motion when button is held (for layer surfaces)
2022-10-08 13:02:43 -05:00
Dima Krasner
0d1ca4663c
allow moveresize() while the left mouse button is pressed
...
Fixes: https://github.com/djpohly/dwl/issues/319
2022-10-08 12:31:29 -05:00
Leonardo Hernández Hernández
f6820a6c29
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
2022-10-07 10:45:45 -05:00
Leonardo Hernández Hernández
87c4c1f629
convert some warnings to errors
2022-10-05 21:28:14 -05:00
Leonardo Hernández Hernández
8559141b30
avoid usage of goto
...
Based on this suggestion: bc72af6e24 (commitcomment-85592855)
2022-10-03 23:28:58 -05:00
Leonardo Hernández Hernández
b8bc54b65d
properly handle cursor motion when button is held
...
Based on: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3653
2022-10-01 23:10:54 -05:00
Leonardo Hernández Hernández
b5776e5180
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
2022-09-28 17:11:04 -05:00
Leonardo Hernández Hernández
c13d948ea9
destroy renderer and allocator in cleanup()
2022-09-28 14:15:25 -05:00
Leonardo Hernández Hernández
fc8b2a8335
fix bad condition
2022-09-26 20:31:36 -05:00
Leonardo Hernández Hernández
c00faae263
fix various segfaults when selmon is NULL
2022-09-26 19:07:45 -05:00
Leonardo Hernández Hernández
e46238b95e
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
2022-09-26 13:17:07 -05:00
Leonardo Hernández Hernández
2385d82612
remove unused variables
2022-09-20 23:40:35 -05:00
Leonardo Hernández Hernández
31106eff64
rework Makefile
...
- allow user to use a different pkg-config binary
- restore almost all (and add other ones) warning flags (-Werror is not set)
- $(XWAYLAND) is added to our CPPFLAGS
- remove useless comments
- don't generate idle-protocol.h (not used)
2022-09-20 23:34:48 -05:00
Leonardo Hernández Hernández
1fdc65ff93
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
2022-09-18 17:25:12 -05:00
Leonardo Hernández Hernández
fbaeb85363
now really fix clients not being focused after unmapping a layer surface
2022-09-18 17:23:07 -05:00