mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-13 09:32:47 +00:00
* gtkutil.c (xg_frame_resized): GTK_IS_MAPPED => gtk_widget_get_mapped, for Gtk 3.0
This commit is contained in:
parent
1c5f6018d5
commit
ce6e9d7fc6
@ -2,6 +2,7 @@
|
||||
|
||||
* gtkutil.c (xg_event_is_for_menubar): Also check that event window
|
||||
is related to the menu bar (Bug#6499).
|
||||
(xg_frame_resized): GTK_IS_MAPPED => gtk_widget_get_mapped, for Gtk 3.0
|
||||
|
||||
2010-07-16 Jan Djärv <jan.h.d@swipnet.se>
|
||||
|
||||
|
@ -2898,7 +2898,7 @@ xg_event_is_for_menubar (FRAME_PTR f, XEvent *event)
|
||||
for (iter = list ; iter; iter = g_list_next (iter))
|
||||
{
|
||||
GtkWidget *w = GTK_WIDGET (iter->data);
|
||||
if (GTK_WIDGET_MAPPED (w) && gtk_widget_intersect (w, &rec, NULL))
|
||||
if (gtk_widget_get_mapped (w) && gtk_widget_intersect (w, &rec, NULL))
|
||||
break;
|
||||
}
|
||||
g_list_free (list);
|
||||
|
Loading…
Reference in New Issue
Block a user