1
From 26e17cd0bd0ff0035fb098ff5c5333a95e641b0f Mon Sep 17 00:00:00 2001
2
From: Sam Spilsbury <sam.spilsbury@canonical.com>
3
Date: Tue, 25 Jan 2011 16:04:54 +0000
4
Subject: Set the vp size before initializing windows
7
diff --git a/src/screen.cpp b/src/screen.cpp
8
index 63e0c96..2c25c07 100644
11
@@ -4597,6 +4597,9 @@ CompScreen::init (const char *name)
15
+ priv->vpSize.setWidth (priv->optionGetHsize ());
16
+ priv->vpSize.setHeight (priv->optionGetVsize ());
18
/* enforce restack on all windows */
19
for (CompWindowList::reverse_iterator rit = priv->windows.rbegin ();
20
rit != priv->windows.rend (); rit++)
21
@@ -4612,9 +4615,6 @@ CompScreen::init (const char *name)
22
w->priv->activeNum = priv->activeNum++;
25
- priv->vpSize.setWidth (priv->optionGetHsize ());
26
- priv->vpSize.setHeight (priv->optionGetVsize ());
28
XGetInputFocus (dpy, &focus, &revertTo);
30
/* move input focus to root window so that we get a FocusIn event when
32
cgit v0.8.3.1-30-gff3a