]> Dogcows Code - chaz/openbox/commitdiff
fix shape support
authorDana Jansens <danakj@orodu.net>
Tue, 27 Aug 2002 08:18:04 +0000 (08:18 +0000)
committerDana Jansens <danakj@orodu.net>
Tue, 27 Aug 2002 08:18:04 +0000 (08:18 +0000)
src/blackbox.cc

index e8b8dcaaf5210b4985acda63be926f2d3075a5b9..ecf69651665c488ea929eedbc1d4d3211798edb3 100644 (file)
@@ -947,7 +947,7 @@ void Blackbox::process_event(XEvent *e) {
       XShapeEvent *shape_event = (XShapeEvent *) e;
       BlackboxWindow *win = searchWindow(e->xany.window);
 
-      if (win)
+      if (win && shape_event->kind == ShapeBounding)
         win->shapeEvent(shape_event);
     }
 #endif // SHAPE
This page took 0.022657 seconds and 4 git commands to generate.