summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Moreau <oreaus@gmail.com>2010-07-01 20:45:53 -0600
committerScott Moreau <oreaus@gmail.com>2010-07-01 20:45:53 -0600
commitedfdfcb556a68626851b210055ac6047c6f9527f (patch)
tree3e3ca98a710bf6ae96246ea67c7e5bbf97daf08a
parentb3a0aa3e4a36e141e134b38e276e48a1df3e9fab (diff)
downloadshowmouse-edfdfcb556a68626851b210055ac6047c6f9527f.tar.gz
showmouse-edfdfcb556a68626851b210055ac6047c6f9527f.tar.bz2
Enable glPaintOutput so the effect is rendered.
-rw-r--r--src/showmouse.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/showmouse.cpp b/src/showmouse.cpp
index 486004f..4138425 100644
--- a/src/showmouse.cpp
+++ b/src/showmouse.cpp
@@ -604,8 +604,11 @@ ShowmouseScreen::terminate (CompAction *action,
CompOption::Vector options)
{
active = false;
+
damageRegion ();
+ gScreen->glPaintOutputSetEnabled (gScreen, false);
+
return true;
}
@@ -621,6 +624,8 @@ ShowmouseScreen::initiate (CompAction *action,
toggleFunctions (true);
+ gScreen->glPaintOutputSetEnabled (gScreen, true);
+
return true;
}