summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Spilsbury <SmSpillaz@gmail.com>2010-05-25 00:18:59 +0800
committerSam Spilsbury <SmSpillaz@gmail.com>2010-05-25 00:18:59 +0800
commitb4d29c2b7bba3d1b691f3fc494af8f0052c49e70 (patch)
tree24b14b02af83de84c76c2bff29ddc47459a06e69
parentde953b13c8e5b4fd0fcf2f9fe4357721bc56d0b0 (diff)
downloadshowmouse-b4d29c2b7bba3d1b691f3fc494af8f0052c49e70.tar.gz
showmouse-b4d29c2b7bba3d1b691f3fc494af8f0052c49e70.tar.bz2
Load after decor plugin to prevent windows moving after plugin load
-rw-r--r--showmouse.xml.in1
-rw-r--r--src/showmouse.cpp4
2 files changed, 3 insertions, 2 deletions
diff --git a/showmouse.xml.in b/showmouse.xml.in
index dd5b470..01948a7 100644
--- a/showmouse.xml.in
+++ b/showmouse.xml.in
@@ -9,6 +9,7 @@
<plugin>opengl</plugin>
<plugin>mousepoll</plugin>
<plugin>cube</plugin>
+ <plugin>decor</plugin>
</relation>
<requirement>
<plugin>opengl</plugin>
diff --git a/src/showmouse.cpp b/src/showmouse.cpp
index 9760705..268f396 100644
--- a/src/showmouse.cpp
+++ b/src/showmouse.cpp
@@ -626,8 +626,8 @@ ShowmouseScreen::ShowmouseScreen (CompScreen *screen) :
ps (new ParticleSystem ()),
rot (0.0f)
{
- CompositeScreenInterface::setHandler (cScreen);
- GLScreenInterface::setHandler (gScreen);
+ CompositeScreenInterface::setHandler (cScreen, false);
+ GLScreenInterface::setHandler (gScreen, false);
pollHandle.setCallback (boost::bind (&ShowmouseScreen::positionUpdate, this,
_1));