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.
update README.md
- A maximum SLOC can't be reasonably determined before implementing the
missing protocols, so not any time soon
- dwl definitely isn't a simple as dwm since it must implement lots of
Wayland protocols and not just manage windows. The status bar
integration, layer shell popups, damage tracking and IME are gonna
require hundreds more lines each.
- "Buffering of input when spawning a client so you don't have to wait
for the window (use `wl_client_get_credentials` to get the PID) - would
this require passing through something like dmenu? Extension protocol?"
This sounds exoteric, if anything this should be patch.
- Can dwl really be started from within an X session? When I do it from
dwm it crashes.
- A window's texture is scaled for its "home" monitor only (noticeable
when window sits across a monitor boundary)
Gonna open a ticket for this rather than keep it in the README.
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.
add install target to Makefile and corresponding prefix variable to config.mk
tweak trackpad variables
Add static const and move them below in order to group the keyboard
options.
Added support for natural scrolling
Added basic tap-to-click for touchpad users