menu bug solved?
- From: mmc maruska dyndns org (Michal Maruška)
- To: sawfish-list gnome org
- Subject: menu bug solved?
- Date: Sun, 06 Feb 2005 23:57:48 +0100
lisp/sawfish/wm/menus.jl
popup-menu function in the sawfish WM process, does this:
(ungrab-pointer)
(ungrab-keyboard)
(sync-server)
...
(format menu-process "(popup-menu %s %S %S)\n"
;; write out the menu spec in one chunk to
;; avoid large numbers of system calls :-[
(format nil "%S" (mapcar menu-preprocessor spec))
(x-server-timestamp) offset)
sync-server does: XFlush (dpy);
i think, that XFlush is not enough. XSync is needed, b/c X server could first
serve the requests of the sawfish-menu client, and deny it the grab.
ps:
what does (x-server-timestamp) do is a different issue....
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]