Commit 65ef21df authored by Michael Natterer's avatar Michael Natterer Committed by Michael Natterer

remove recently added gdk_flush() again, it's not needed after all.

2007-11-14  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkmenu.c (gtk_menu_popup): remove recently added
	gdk_flush() again, it's not needed after all.


svn path=/trunk/; revision=18991
parent b5f204ac
2007-11-14 Michael Natterer <mitch@imendio.com>
* gtk/gtkmenu.c (gtk_menu_popup): remove recently added
gdk_flush() again, it's not needed after all.
2007-11-14 Michael Natterer <mitch@imendio.com>
* tests/testbbox.c
......
......@@ -1449,13 +1449,6 @@ gtk_menu_popup (GtkMenu *menu,
*/
gtk_widget_show (menu->toplevel);
/* flush the X event queue for the popup to become realized and
* mapped, since grabbing requires a mapped window. (this only works
* for popups, regular windows need gtk_widget_show_now() to sync
* with window manager interaction).
*/
gdk_flush ();
if (xgrab_shell == widget)
popup_grab_on_window (widget->window, activate_time, grab_keyboard); /* Should always succeed */
gtk_grab_add (GTK_WIDGET (menu));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment