summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErkin Bahceci <erkinbah@gmail.com>2009-09-21 07:30:24 -0500
committerErkin Bahceci <erkinbah@gmail.com>2009-09-21 07:30:24 -0500
commit2097105fdf35ef7cbb40ce8e0c00e7d08f89c080 (patch)
tree1fc4ab95ce04302130f1255c27cb13c3f5173861
parentc7b509e77d0dd35062a843fa2628c0a304100351 (diff)
downloadstaticswitcher-2097105fdf35ef7cbb40ce8e0c00e7d08f89c080.tar.gz
staticswitcher-2097105fdf35ef7cbb40ce8e0c00e7d08f89c080.tar.bz2
Fix crash on terminate (LP: #430518).
-rw-r--r--staticswitcher.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/staticswitcher.c b/staticswitcher.c
index 4611a15..083f8f5 100644
--- a/staticswitcher.c
+++ b/staticswitcher.c
@@ -756,7 +756,7 @@ switchTerminate (CompDisplay *d,
ss->selectedWindow = NULL;
if (state && ss->selectedWindow && !ss->selectedWindow->destroyed)
- sendWindowActivationRequest (w->screen, ss->selectedWindow->id);
+ sendWindowActivationRequest (s, ss->selectedWindow->id);
removeScreenGrab (s, ss->grabIndex, 0);
ss->grabIndex = 0;