summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Spilsbury <sam.spilsbury@canonical.com>2010-12-07 19:08:49 +0800
committerSam Spilsbury <sam.spilsbury@canonical.com>2010-12-07 19:08:49 +0800
commit78916532848388ccfd44ce4a7d01fb91eecfd40e (patch)
treeadce41470c8b29886deb12786761c0f92a634b66
parent0692b82f83fd0c8fb0191c77c2b9bb5a5ed90068 (diff)
downloadcompiz-with-glib-mainloop-78916532848388ccfd44ce4a7d01fb91eecfd40e.tar.gz
compiz-with-glib-mainloop-78916532848388ccfd44ce4a7d01fb91eecfd40e.tar.bz2
Fix typo
Forward port 466184685e570b6736adce7800253815d72e1c02 to master
-rw-r--r--src/window.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/window.cpp b/src/window.cpp
index d8bfb30..ea53c5f 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -3152,10 +3152,10 @@ CompWindow::lower ()
the click-to-focus option is on */
if ((screen->getOption ("click_to_focus")->value ().b ()))
{
- Window aboveId = next ? next->id () : None;
+ Window aboveWindowId = prev ? prev->id () : None;
screen->unhookWindow (this);
CompWindow *focusedWindow = screen->priv->focusTopMostWindow ();
- screen->insertWindow (this , aboveId);
+ screen->insertWindow (this , aboveWindowId);
/* if the newly focused window is a desktop window,
give the focus back to w */