diff options
author | Olivier Fourdan <fourdan@xfce.org> | 2010-12-15 14:56:00 +0100 |
---|---|---|
committer | Olivier Fourdan <fourdan@xfce.org> | 2010-12-15 14:57:19 +0100 |
commit | b71a3b996e4bffeb14eec2799f7214c00af26583 (patch) | |
tree | 7eaaab516e29b8fc06c15472ca1c185c46663dbd /src/placement.c | |
parent | 9f01853ab8406f2ee8e4261094da556c800ea999 (diff) | |
download | xfwm4-b71a3b996e4bffeb14eec2799f7214c00af26583.tar.gz |
Fix bug #6902
Implements clone monitor detection and other general xrandr
improvements.
Diffstat (limited to 'src/placement.c')
-rw-r--r-- | src/placement.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/placement.c b/src/placement.c index f66f1775e..0a76c1212 100644 --- a/src/placement.c +++ b/src/placement.c @@ -664,7 +664,7 @@ clientInitPosition (Client * c) msy = 0; position = (c->size->flags & (PPosition | USPosition)); - n_monitors = gdk_screen_get_n_monitors (c->screen_info->gscr); + n_monitors = myScreenGetNumMonitors (c->screen_info); if ((n_monitors > 1) || (screen_info->params->placement_mode == PLACE_MOUSE)) { getMouseXY (screen_info, screen_info->xroot, &msx, &msy); |