While here, add two patches from upstream:
"Don't setup event handler when RandR base event is not set"
"Properly call init_workspaces() when RandR is known but not present"
I've found that they are needed (the hard way) when tried to run i3
under Xnest.
with tweaks by me.
i3 is an improved dynamic, tiling window manager.
note: It is still young, so some debug options are still enable by
default, and it's a bit verbose.
ok ajacoutot@