I&#39;m hoping to start a discussing in the interests of incorporating MPX support into XMonad.<br><br>Xorg-server 1.7 has just incorporated MPX support. More details can be found at <a href="http://lwn.net/Articles/283957/">http://lwn.net/Articles/283957/</a><br>
<br>As a first, more than one window would have to be active at a time<br>To model keyboard focus in the case of multiple pointers:<br>Only the core pointer receives input<br>All pointers receive input<br>Toggle keyboard input between pointers<br>
Promote keyboard input to the core pointer<br><br>Which probably becomes more convoluted with multiple keyboards.<br><br>On #xmonad aavogt suggested:<br>16:27 &lt; aavogt&gt; perhaps a reasonable solution is to keep one stackset per keyboard/mouse pair<br>
16:28 &lt; aavogt&gt; ie. windowset :: XState -&gt; [StackSet a b c d e]<br>16:30 &lt; aavogt&gt; then most operations just need another fmap thrown in there<br>16:31 &lt; aavogt&gt; that will have strange consequences for when mice/keyboards focus the same window (how do we show <br>
                that for the border color?)<br>16:32 &lt; aavogt&gt; I guess an average or sum of colors could do:  red + blue -&gt; purple<br><br>There is already some documentation regarding MPX at <a href="http://wiki.x.org/wiki/Development/Documentation/MPX?highlight=%28mpx%29">http://wiki.x.org/wiki/Development/Documentation/MPX?highlight=%28mpx%29</a> (I have a feeling it might be out of date)<br>
It&#39;s probably not enough, so requests for more documentation might need to be formalized.<br><br>MPX can be tested by separating touchpads/trackpoints out of the core pointer (assuming xorg-server &gt;= 1.7). However MPX most likely shines with finger-touch devices.<br>