<[EMAIL PROTECTED]> writes:
> /* Popup window and grab pointer */
> gdk_window_show(window->window);
> gdk_window_raise(window->window);
> if (gdk_pointer_grab (window->window,
> FALSE, GDK_POINTER_MOTION_MASK,
> window->window, NULL, GDK_CURRENT_TIME)==0)
> printf("grab succeeded\n");
> else
This is a race condition. The window manager gets a request to
deiconify, and then will map your window. However, the window is
probably still unmapped when you do the grab. Remember that X is
asynchronous. If gdk_pointer_grab() is returning GrabNotViewable then
this is almost certainly the problem.
Havoc
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list