Hi,

[Note: I sent this mail 4 days ago to [EMAIL PROTECTED] The homepage
says that it would be forwared to this list by the request tracker.
However, nothing has happened so far (no reaction at all), so I send it
again, directly to this list. BTW: The homepage also says that there is
more info about the request tracker 'below'. There isn't.
(or I'm just blind :-)]

I've just noticed that ctwm gets stuck when moving a pinned menu so that
it overlaps another pinned menu. The loop in the MoveMenu()-function is
never left because there is sent a NoExpose event which is not
handled. I've fixed it by just handling it like an Expose event:

--- ctwm-3.7-beta2/menus.c      Tue May  3 16:42:13 2005
+++ ctwm-3.7-beta2-mh/menus.c   Thu May  5 13:45:31 2005
@@ -4682,6 +4682,7 @@
                newY = ActiveMenu->y;
                break;
            case Expose:
+           case NoExpose:
                 Event = ev;
                 DispatchEvent ();
                XMaskEvent (dpy, event_mask, &ev);

I'm not sure if this is the right thing to do, but it works fine for me.

Regards, Marcel

-- 
"Perfection is attained not when there is nothing more to add,
 but when there is nothing more to remove" -- Antoine de Saint-Exupery

Reply via email to