use <xcb/xcb.h> instead of <X11/Xlib.h>
add [-d] flag to enable debug logging
simplify setting the border color of clients
make the borders red borders for urgent clients
iirc this is the same behavior of dwm
call setfloating in setmon
since in the previous commit we may not applying floating in clients
this is to make sure we do
tagcount should have been a #define
return nothing in xytonode()
we do not use the node
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
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
don't resize clients on commit
It creates an infinite commit-resize loop when scale != 1
Remove now-unneeded call to motionnotify
This appears to have been here for the side effect of updating the drag
icon's position.
Remove unused icon variable