summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--workarounds.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/workarounds.c b/workarounds.c
index f5094ff..be4fd8e 100644
--- a/workarounds.c
+++ b/workarounds.c
@@ -259,7 +259,9 @@ workaroundsHandleEvent (CompDisplay *d,
if (event->xclient.message_type == d->winDesktopAtom)
{
w = findWindowAtDisplay (d, event->xclient.window);
- workaroundsUpdateSticky (w);
+ if (w) {
+ workaroundsUpdateSticky (w);
+ }
}
}
}