xpra icon
Bug tracker and wiki

Changes between Version 13 and Version 14 of FakeXinerama


Ignore:
Timestamp:
04/10/14 12:10:32 (6 years ago)
Author:
Antoine Martin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FakeXinerama

    v13 v14  
    1414== Fake? ==
    1515
    16 Fake xinerama allows us to tell X11 client applications running on the xpra server that the display is in fact made of multiple screens whose geometry can be made to match that of the client exactly, despite the fact that the virtual display that we start (usually [/wiki/Xdummy Xdummy]) only has one virtual screen defined.
     16Fake xinerama allows us to tell X11 client applications running on the xpra server that the display is in fact made of multiple screens whose geometry can be made to match that of the client exactly, despite the fact that the virtual display that we start (usually [/wiki/Xdummy Xdummy]) only has one virtual screen defined. See also [/wiki/FakeXscreenmm].
    1717
    1818It is shared library that we preload into each child application that we start, so that it will use our fake version instead of the standard Xinerama library supplied with the system.
     
    2222== Source Code ==
    2323
    24 Since the upstream version no longer seems to exist, we carry the source code here: [/browser/xpra/trunk/src/fakexinerama src/fakexinerama].
     24Since the upstream version no longer seems to exist, we carry the source code here [/browser/xpra/trunk/src/fakexinerama src/fakexinerama], and the released versions are here: [http://xpra.org/src/]
    2525
    2626In order to support multiple virtual screens under the same user, the original code was modified to lookup its configuration file as {{{.$DISPLAY-fakexinerama}}} instead of just {{{.fakexinerama}}}, though it will use the latter as fallback.
     
    5858The {{{LD_PRELOAD}}} trick only tells the application how to query for Xinerama screen information, it does not and cannot tell the application when it should refresh this data. Unfortunately, this means that many applications will only query this data once and cache the results.
    5959
    60 Xpra solves this by always re-setting the display dimensions using [http://en.wikipedia.org/wiki/RandR RandR], which is usually enough to make the application re-query Xinerama.
     60Xpra solves this by always re-setting the display dimensions using [http://en.wikipedia.org/wiki/RandR RandR], which is usually enough to make the application re-query Xinerama, but not always.
    6161
    6262If you have [http://selinuxproject.org/page/Main_Page SELinux] enabled, you may need to relabel the library after installation (but packaged versions ought to have taken care of that for you already):