On Sat, 24 Sep 2011, Michael Stapelberg wrote:
Well, a few hints on how to implement this:
• Check out grabbing, see for example drag_pointer() in src/floating.c. You
will probably need to grab the pointer in order to always receive
PointerMotion events.
• You have to get a bit more familiar with the tree. checking the root window
size is not appropriate for finding out how big your screen(s) are. Just
recursively go to the parent until you find the appropriate containers (type
== CT_OUTPUT).
• Also, use con_focus() instead of pointer warping.