[PATCH 00/12] Multihead screen crossing fixes

Peter Hutterer peter.hutterer at who-t.net
Mon Oct 3 22:23:56 PDT 2011


This is another attempt at the screen crossing fixes that I sent out last
month. The basic goal was to make switching between ScreenRecs work for
absolute devices. Which turned out tricky and the best solution I came up
with was to unify multiscreen pointer behaviour between RandR and Xinerama -
an absolute device is now mapped to the total area across all screens.

Patches 01-06 are general cleanup and documentation fixes, the fun starts at
07. For the true connoisseur of insanity I recommend 12/12, the comment
before fill_pointer_events is worth reading. I'm sure you'll be laughing
until bedtime at the necessity of juggling 5 different coordinate systems
between devices, pointer placement and protocol events.  
(That's the simplest solution I could come up with, everything else I tried
I ran into a wall.)

Cheers,
  Peter

This code came at a cost of three kittens and one moose.


More information about the xorg-devel mailing list