From 9c356d370ab3e5a6b28e38ce8289d80bf35c8828 Mon Sep 17 00:00:00 2001 From: Philip Brown Date: Sat, 16 Oct 2010 16:13:36 -0400 Subject: Some versions of X, have the Shape extension, but apparently not "ShapeInput" (Fixes bug #4662) the sawfish window manager has ifdefs for this sort of situation. I followed suit, and #ifdef'd it, and it now works for me. patch attached. Slight changes to the patch from danakj@orodu.net for readability --- openbox/event.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'openbox/event.c') diff --git a/openbox/event.c b/openbox/event.c index b0a53dba..8a52402e 100644 --- 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(); } -- cgit v1.2.3