fix shape support
This commit is contained in:
parent
07e619ebbb
commit
f5a1f592a4
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue