diff options
author | Olivier Fourdan <fourdan@xfce.org> | 2017-05-01 22:15:49 +0200 |
---|---|---|
committer | Olivier Fourdan <fourdan@xfce.org> | 2017-05-15 09:09:30 +0200 |
commit | 589557792e38e545613d67628a65c2abcf24a193 (patch) | |
tree | 535d9895c620a86ed7135d9563e5301040575483 /configure.ac.in | |
parent | 012bdbfc826466d7ffae0c52387ae949aa17aabe (diff) | |
download | xfwm4-589557792e38e545613d67628a65c2abcf24a193.tar.gz |
Use ximerama indices for _NET_WM_FULLSCREEN_MONITORS
Bug: 9351
_NET_WM_FULLSCREEN_MONITORS uses Xinerama indices for multi-monitor
fullscreen, but xfwm4 uses gdk indices which may differ.
As a result, depending on the actual layout and which monitor is marked
as primary, a fullscreen window could be placed on the wrong outputs.
Fetch the Xinerama list and use the monitor size from there instead of
relying on gdk monitor indices for _NET_WM_FULLSCREEN_MONITORS
Diffstat (limited to 'configure.ac.in')
-rw-r--r-- | configure.ac.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac.in b/configure.ac.in index 73ac0cf65..d007a256c 100644 --- a/configure.ac.in +++ b/configure.ac.in @@ -96,6 +96,7 @@ XDT_CHECK_PACKAGE([LIBXFCONF], libxfconf-0, [xfconf_minimum_version]) XDT_CHECK_PACKAGE([LIBWNCK], [libwnck-1.0], [wnck_minimum_version]) XDT_CHECK_PACKAGE([DBUS], [dbus-1], [1.0.0]) XDT_CHECK_PACKAGE([DBUS_GLIB], [dbus-glib-1], [0.72]) +XDT_CHECK_PACKAGE([XINERAMA], [xinerama], [0]) AS_IF([test "x$USE_MAINTAINER_MODE" = "xyes"], [ |