Logout no-go with CLICK_TO_TYPE
Brought to you by:
spitzak
Don't know if anybody else is having this problem, but
when I defined CLICK_TO_TYPE to 1 in config.h, the
result is that I don't have the "sloppy" focus anymore,
but I also can't logout (the "do you wanna logout"
dialog hangs when you tell it yes or no).
Dist: Mandrake 8.0 (out of the box)
Login: kdm
Logged In: YES
user_id=492707
I found a fix to this. It's a 1-line change in Frame.C. I
don't know if this is the "correct" fix from a design
perspective (I really don't know fltk or X or the flwm code
that well), but it seems to work just fine. I have sent it
to to project lead and perhaps he can included it in a
future release if it is the right thing.
----- begin patch
--- Frame.C.orig Thu Mar 21 11:08:56 2002
+++ Frame.C Thu Mar 21 11:09:13 2002
@@ -277,7 +277,8 @@
sendConfigureNotify(); // many apps expect this even if
window size unchanged
#if CLICK_RAISES || CLICK_TO_TYPE
- XGrabButton(fl_display, AnyButton, AnyModifier, window,
False,
+ if (!dont_set_event_mask)
+ XGrabButton(fl_display, AnyButton, AnyModifier, window,
False,
ButtonPressMask, GrabModeSync, GrabModeAsync,
None, None);
#endif
---------- end of patch
Logged In: YES
user_id=1967298
Originator: NO
I notice the patch included in previous follow-up is in the 1.02 code, so I guess it must have been the correct fix. This bug could be closed, I would think.
(I'm working on a few bugs myself right now, so I'm reviewing the open ones before submitting or working on any.)