update comments and remove debugging printf
Define monitor order with monrules[]
The order in which monitors are defined in monrules[] actually matters.
Monotors that aren't configured in monrules[], it will always be the
leftmost.
don't reset the cursor image
...in internal calls to restore pointer focus. Necessary for the
unclutter patch, and there's no harm in avoiding this call even in
mainline; might prevents issues in same edge cases.
say TODO
just wtf is XXX supposed to be? It sounds like a pornographic thing.
rename drw
It's impossible to understand that this stands from drawable if you're
not familiar with dwm's code.
don't notify of activity
...or update selmon when we just want to restore pointer focus.
deactivate the focused client on overlay focus
replace shouldfocusclients with checking old
And don't activate clients while an overlay is focused.
fix keyboard focus with overlays
Don't let internal calls to motionnotify(0) meant to update the pointer
focus from maplayersurfacenotify and destroylayersurfacenotify also
shift the keyboard focus to the surface under the cursor with
sloppyfocus.
enable adaptive sync
The comment in this function's declaration says the backend is free to
ignore this setting, so maybe there's no need to make it configurable?
use bool
Because it's 2020. Passing integers to wlroots variables and functions
with bool in their signature is silly.
remove -Werror=declaration-after-statement
wtf is the point of this crap? It makes the code harder to follow,
increases the line count and made me fail compilation a million times.
We shouldn't blindy follow everything about suckless's style.
remove goto when the border is 0
Rendering 0-dimension rectangles no longer crashes wlroots.
remove useless assignment
calloc already initializes ints to 0.
s/maprequest/mapnotify
This should be consistent with other function names instead of keeping
the X name.
Added support for natural scrolling
Added basic tap-to-click for touchpad users
Made scalebox the way sway does it
Scaling a wlr_box without rounding can sometimes make the borders not
connected and nice. I noticed this when setting scale in monrules to 1.2
So I've went and copied what Sway did in desktop/output.c but without
having a second function and now using a random rounding macro I found
on the internet so as to not use round from math.h.
s/prev/old
Be consistent with the rest of the code and dwm