Raimund Steger
2011-08-27 21:05:24 UTC
Hi,
I've noticed that starting with 2.6.2, FvwmButtons closes my iiim-panel
(input method status window on Solaris 10) when FVWM restarts.
This is the line that I use to swallow the window:
*FvwmButtonsIiimPanel: (Swallow (UseOld, NoClose, SwallowNew) \
"iiim-panel" nop)
The session log shows error messages like:
(iiim-panel:7224): Gdk-WARNING **: GdkWindow 0x440001b unexpectedly
destroyed
Now if I restore _only_ the _XSync_ call (not the XGrabServer) in
FvwmButtons.c, it works again.
Which means, the problem seems to disappear if I apply the following:
---8<------------
diff -ru fvwm-2.6.2/modules/FvwmButtons/FvwmButtons.c
fvwm-2.6.2-rs0/modules/FvwmButtons/FvwmButtons.c
--- fvwm-2.6.2/modules/FvwmButtons/FvwmButtons.c Mon Jun 6 22:41:54 2011
+++ fvwm-2.6.2-rs0/modules/FvwmButtons/FvwmButtons.c Sat Aug 27 21:34:00
2011
@@ -346,6 +346,7 @@
#endif
}
}
+ XSync(Dpy, 0);
fsm_close();
/* Hey, we have to free the pictures too! */
---8<------------
However, I realize that this might also be a problem with my
configuration or maybe a bug in iiim-panel.
Any suggestions?
-Raimund
I've noticed that starting with 2.6.2, FvwmButtons closes my iiim-panel
(input method status window on Solaris 10) when FVWM restarts.
This is the line that I use to swallow the window:
*FvwmButtonsIiimPanel: (Swallow (UseOld, NoClose, SwallowNew) \
"iiim-panel" nop)
The session log shows error messages like:
(iiim-panel:7224): Gdk-WARNING **: GdkWindow 0x440001b unexpectedly
destroyed
Now if I restore _only_ the _XSync_ call (not the XGrabServer) in
FvwmButtons.c, it works again.
Which means, the problem seems to disappear if I apply the following:
---8<------------
diff -ru fvwm-2.6.2/modules/FvwmButtons/FvwmButtons.c
fvwm-2.6.2-rs0/modules/FvwmButtons/FvwmButtons.c
--- fvwm-2.6.2/modules/FvwmButtons/FvwmButtons.c Mon Jun 6 22:41:54 2011
+++ fvwm-2.6.2-rs0/modules/FvwmButtons/FvwmButtons.c Sat Aug 27 21:34:00
2011
@@ -346,6 +346,7 @@
#endif
}
}
+ XSync(Dpy, 0);
fsm_close();
/* Hey, we have to free the pictures too! */
---8<------------
However, I realize that this might also be a problem with my
configuration or maybe a bug in iiim-panel.
Any suggestions?
-Raimund
--
Worringer St 31, Duesseldorf 40211 Germany, +49-179-2981632, icq 16845346
Worringer St 31, Duesseldorf 40211 Germany, +49-179-2981632, icq 16845346