summaryrefslogtreecommitdiff
path: root/src/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/window.c b/src/window.c
index a6ec7777..31f1ce73 100644
--- a/src/window.c
+++ b/src/window.c
@@ -1942,6 +1942,8 @@ meta_window_show (MetaWindow *window)
if (needs_stacking_adjustment)
{
+ gboolean overlap;
+
/* needs_stacking_adjustment is only set under certain
* circumstances currently; if those circumstances change, this
* code may need re-thinking too
@@ -1958,7 +1960,6 @@ meta_window_show (MetaWindow *window)
* - the demands attention setting of the window
*/
- gboolean overlap;
overlap = windows_overlap (window, focus_window);
/* We want alt tab to go to the denied-focus window */