summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Young <rcxdude@gmail.com>2008-05-04 18:06:52 +0100
committerDouglas Young <rcxdude@gmail.com>2008-05-04 18:06:52 +0100
commite8af1f58814124797a6540b400191890fa60c9e2 (patch)
tree09ec1cdba3606c1d83119c051d989c69bcc060b6
parentc17bd4f68a1de33de52782d5cb8aed6bc86b2a2e (diff)
downloaddodge-e8af1f58814124797a6540b400191890fa60c9e2.tar.gz
dodge-e8af1f58814124797a6540b400191890fa60c9e2.tar.bz2
WRAP/UNWRAP statechangenotify properly
-rw-r--r--dodge.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/dodge.c b/dodge.c
index 6e6f828..7cfb315 100644
--- a/dodge.c
+++ b/dodge.c
@@ -487,6 +487,10 @@ dodgeStateChange (CompWindow *w,
DODGE_SCREEN (w->screen);
if(ds->active)
dodgeUpdateDodgeWindow (w);
+ UNWRAP (ds, w->screen, windowStateChangeNotify);
+ (*w->screen->windowStateChangeNotify) (w,last);
+ WRAP (ds, w->screen, windowStateChangeNotify, dodgeStateChange);
+
}
static void
@@ -640,6 +644,7 @@ dodgeFiniScreen (CompPlugin *p,
DODGE_DISPLAY (s->display);
UNWRAP (ds, s, preparePaintScreen);
UNWRAP (ds, s, paintOutput);
+ UNWRAP (ds, s, windowStateChangeNotify);
(*dd->mpFunc->removePositionPolling) (s, ds->pollHandle);
free (ds);
}