sawfish-1.3.1 and ShapeInput
- From: Michal Jaegermann <michal harddata com>
- To: sawfish-list gnome org
- Subject: sawfish-1.3.1 and ShapeInput
- Date: Sat, 28 Jul 2007 23:14:14 -0600
I tried to rebuild 1.3.1 on "CentOS release 4.5" installation
and run into a minor problem that although a code in src/frames.c
checks if 'ShapeInput' is available this is not the case in
src/events.c. The following patch solves the issue:
--- sawfish-1.3.1/src/events.c.shape 2007-07-28 18:59:32.000000000 -0600
+++ sawfish-1.3.1/src/events.c 2007-07-28 19:03:58.000000000 -0600
@@ -1158,7 +1158,11 @@ shape_notify (XEvent *ev)
XShapeEvent *sev = (XShapeEvent *)ev;
Lisp_Window *w = find_window_by_id (sev->window);
if (w != 0 && sev->window == w->id
- && (sev->kind == ShapeBounding || sev->kind == ShapeInput))
+ && (sev->kind == ShapeBounding
+#ifdef ShapeInput
+ || sev->kind == ShapeInput
+#endif
+ ))
{
if (sev->kind == ShapeBounding)
w->shaped = sev->shaped ? 1 : 0;
BTW - in my source I also carry some patches which were posted
on this list by other people. Here are correspoding descriptions
from my spec file for four of these:
# Avoid saving poperties for the desktop window
# Don't grab focus on KDE menus
# make window to draw properly with transparent pieces
# some mice have tons of buttons
Those still apply and at least do not seem to do any harm. :-)
Michal
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]