[fusion-commits] Plug-in for Metacity-like workarounds.: Changes to 'master' (da540cc46edc08f04a039fd539451b4dbfcaf8a9)

griswold at server.beryl-project.org griswold at server.beryl-project.org
Wed Aug 15 23:54:52 CEST 2007


New commits:
commit da540cc46edc08f04a039fd539451b4dbfcaf8a9
Author: Roland Baer <roland at Vista.(none)>
Date:   Wed Aug 15 14:54:08 2007 -0700

    Added return value check on findWindowAtDisplay().


 workarounds.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)


Modified: fusion/plugins/workarounds/workarounds.c
===================================================================
--- fusion/plugins/workarounds/workarounds.c
+++ fusion/plugins/workarounds/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);
+	    }
         }
     }
 }


More information about the commits mailing list