summaryrefslogtreecommitdiff
path: root/src/screen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/screen.cpp')
-rw-r--r--src/screen.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/screen.cpp b/src/screen.cpp
index 2ab2b02..a0b284d 100644
--- a/src/screen.cpp
+++ b/src/screen.cpp
@@ -2036,9 +2036,9 @@ PrivateScreen::configure (XConfigureEvent *ce)
priv->attrib.height = ce->height;
}
- priv->reshape (ce->width, ce->height);
+ priv->reshape (ce->width, ce->height);
- priv->detectOutputDevices ();
+ priv->detectOutputDevices ();
}
void
@@ -4663,6 +4663,8 @@ PrivateScreen::PrivateScreen (CompScreen *screen) :
boost::bind (&PrivateScreen::handleStartupSequenceTimeout, this));
startupSequenceTimer.setTimes (1000, 1500);
+ memset (&history, 0, sizeof (Window) * ACTIVE_WINDOW_HISTORY_NUM);
+
optionSetCloseWindowKeyInitiate (CompScreen::closeWin);
optionSetCloseWindowButtonInitiate (CompScreen::closeWin);
optionSetRaiseWindowKeyInitiate (CompScreen::raiseWin);