projects
/
mikachu
/
openbox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Some versions of X, have the Shape extension, but apparently not "ShapeInput" (Fixes...
[mikachu/openbox.git]
/
openbox
/
event.c
diff --git
a/openbox/event.c
b/openbox/event.c
index
b0a53db
..
8a52402
100644
(file)
--- a/
openbox/event.c
+++ b/
openbox/event.c
@@
-1695,10
+1695,12
@@
static void event_handle_client(ObClient *client, XEvent *e)
client->shaped = ((XShapeEvent*)e)->shaped;
kind = ShapeBounding;
break;
+#ifdef ShapeInput
case ShapeInput:
client->shaped_input = ((XShapeEvent*)e)->shaped;
kind = ShapeInput;
break;
+#endif
default:
g_assert_not_reached();
}