summaryrefslogtreecommitdiff
path: root/src/screen.cpp
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2009-03-16 08:43:37 +0100
committerDanny Baumann <dannybaumann@web.de>2009-03-16 08:43:37 +0100
commitd8971221a3d271d18879d625aaaf89cc0df9eb63 (patch)
tree2511e4b3373a3609ed964afcc28dfb65c8305bec /src/screen.cpp
parentd869d03c93b57b8cf880fc3fc1d5857357786e8b (diff)
downloadunity-window-decorator-d8971221a3d271d18879d625aaaf89cc0df9eb63.tar.gz
unity-window-decorator-d8971221a3d271d18879d625aaaf89cc0df9eb63.tar.bz2
Expose setDesktop function.
Diffstat (limited to 'src/screen.cpp')
-rw-r--r--src/screen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screen.cpp b/src/screen.cpp
index 57baaf2..f3b158b 100644
--- a/src/screen.cpp
+++ b/src/screen.cpp
@@ -3628,7 +3628,7 @@ PrivateScreen::setNumberOfDesktops (unsigned int nDesktop)
continue;
if (w->desktop () >= nDesktop)
- w->priv->setDesktop (nDesktop - 1);
+ w->setDesktop (nDesktop - 1);
}
priv->nDesktop = nDesktop;