summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrofafor <rofafor>2009-01-02 17:54:02 +0000
committerrofafor <rofafor>2009-01-02 17:54:02 +0000
commit90955861ff984d980c2c6ab48a1051a38a959c5a (patch)
tree78c49bb00de8891be34dffa895a6e7b43bafff0b
parentfcf2b20e76a5751a99e7d12553c1de0f6b4b3ac8 (diff)
downloadxineliboutput-90955861ff984d980c2c6ab48a1051a38a959c5a.tar.gz
xineliboutput-90955861ff984d980c2c6ab48a1051a38a959c5a.tar.bz2
Fixed HAVE_XINERAMA in update_xinerama_info.
-rw-r--r--xine_sxfe_frontend.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xine_sxfe_frontend.c b/xine_sxfe_frontend.c
index 4ce216b0..7937b013 100644
--- a/xine_sxfe_frontend.c
+++ b/xine_sxfe_frontend.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: xine_sxfe_frontend.c,v 1.103 2008-11-17 23:39:20 phintuka Exp $
+ * $Id: xine_sxfe_frontend.c,v 1.104 2009-01-02 17:54:02 rofafor Exp $
*
*/
@@ -439,10 +439,10 @@ static void set_cursor(Display *dpy, Window win, const int enable)
static void update_xinerama_info(sxfe_t *this)
{
+#ifdef HAVE_XINERAMA
int screen = this->xinerama_screen;
this->xinerama_x = this->xinerama_y = 0;
XLockDisplay(this->display);
-#ifdef HAVE_XINERAMA
if(screen >= -1 && XineramaIsActive(this->display)) {
XineramaScreenInfo *screens;
int num_screens;