diff options
author | Eberhard Beilharz <eb1@sil.org> | 2014-05-16 18:21:51 +0400 |
---|---|---|
committer | Eberhard Beilharz <eb1@sil.org> | 2014-05-16 18:21:51 +0400 |
commit | e1b7ecdb7b9d58b3aac97e739cd30d561ffa2ff1 (patch) | |
tree | 8558fa2c4e832cd12e1169e904e5a7972128f48f /data | |
parent | 3d23503a90595160703ed3593dac763000b18745 (diff) |
[MWF] Implement multi-display support on Linux (Fixes #325669)
The number of displays and sizes can be retrieved with the help of
libXinerama. The implementation was done in a way that is backwards
compatible, so on non-Linux systems or when libXinerama is not
available the behavior will be the same as before.
Also fixed the implementation of FormStartPosition.CenterScreen to
bring up the form centered on the current display (with the current
display being either the screen the top left corner of the owner
form is on, or if there is no owner the screen that has the mouse
pointer). This fixes Novell bug #325669 on Linux
(https://bugzilla.novell.com/show_bug.cgi?id=325669).
Diffstat (limited to 'data')
-rw-r--r-- | data/config.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/data/config.in b/data/config.in index cf457fc207b..44fefc08027 100644 --- a/data/config.in +++ b/data/config.in @@ -16,6 +16,7 @@ <dllmap dll="sqlite" target="@SQLITE@" os="!windows"/> <dllmap dll="sqlite3" target="@SQLITE3@" os="!windows"/> <dllmap dll="libX11" target="@X11@" os="!windows" /> + <dllmap dll="libXinerama" target="@XINERAMA@" os="!windows" /> <dllmap dll="libcairo-2.dll" target="libcairo.so.2" os="!windows"/> <dllmap dll="libcairo-2.dll" target="libcairo.2.dylib" os="osx"/> <dllmap dll="libcups" target="libcups.so.2" os="!windows"/> |