forked from AuroraMiddleware/gtk
remove GDK_EXPOSURE_MASK for INPUT_ONLY window same same same same
Tue Jul 8 21:10:14 2003 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtkbutton.c (gtk_button_realize): remove GDK_EXPOSURE_MASK for INPUT_ONLY window * gtk/gtkmenuitem.c (gtk_menu_item_realize): same * gtk/gtknotebook.c (gtk_notebook_realize): same * gtk/gtkexpander.c (gtk_expander_realize): same * gtk/gtkrange.c (gtk_range_realize): same Fix #116303
This commit is contained in:
parent
7913e63f69
commit
81785924f9
11
ChangeLog
11
ChangeLog
@ -1,3 +1,14 @@
|
||||
Tue Jul 8 21:10:14 2003 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtkbutton.c (gtk_button_realize): remove GDK_EXPOSURE_MASK
|
||||
for INPUT_ONLY window
|
||||
* gtk/gtkmenuitem.c (gtk_menu_item_realize): same
|
||||
* gtk/gtknotebook.c (gtk_notebook_realize): same
|
||||
* gtk/gtkexpander.c (gtk_expander_realize): same
|
||||
* gtk/gtkrange.c (gtk_range_realize): same
|
||||
|
||||
Fix #116303
|
||||
|
||||
Tue Jul 8 19:57:14 2003 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtkstyle.c (gtk_default_draw_arrow): remove correction on x
|
||||
|
@ -1,3 +1,14 @@
|
||||
Tue Jul 8 21:10:14 2003 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtkbutton.c (gtk_button_realize): remove GDK_EXPOSURE_MASK
|
||||
for INPUT_ONLY window
|
||||
* gtk/gtkmenuitem.c (gtk_menu_item_realize): same
|
||||
* gtk/gtknotebook.c (gtk_notebook_realize): same
|
||||
* gtk/gtkexpander.c (gtk_expander_realize): same
|
||||
* gtk/gtkrange.c (gtk_range_realize): same
|
||||
|
||||
Fix #116303
|
||||
|
||||
Tue Jul 8 19:57:14 2003 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtkstyle.c (gtk_default_draw_arrow): remove correction on x
|
||||
|
@ -1,3 +1,14 @@
|
||||
Tue Jul 8 21:10:14 2003 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtkbutton.c (gtk_button_realize): remove GDK_EXPOSURE_MASK
|
||||
for INPUT_ONLY window
|
||||
* gtk/gtkmenuitem.c (gtk_menu_item_realize): same
|
||||
* gtk/gtknotebook.c (gtk_notebook_realize): same
|
||||
* gtk/gtkexpander.c (gtk_expander_realize): same
|
||||
* gtk/gtkrange.c (gtk_range_realize): same
|
||||
|
||||
Fix #116303
|
||||
|
||||
Tue Jul 8 19:57:14 2003 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtkstyle.c (gtk_default_draw_arrow): remove correction on x
|
||||
|
@ -1,3 +1,14 @@
|
||||
Tue Jul 8 21:10:14 2003 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtkbutton.c (gtk_button_realize): remove GDK_EXPOSURE_MASK
|
||||
for INPUT_ONLY window
|
||||
* gtk/gtkmenuitem.c (gtk_menu_item_realize): same
|
||||
* gtk/gtknotebook.c (gtk_notebook_realize): same
|
||||
* gtk/gtkexpander.c (gtk_expander_realize): same
|
||||
* gtk/gtkrange.c (gtk_range_realize): same
|
||||
|
||||
Fix #116303
|
||||
|
||||
Tue Jul 8 19:57:14 2003 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtkstyle.c (gtk_default_draw_arrow): remove correction on x
|
||||
|
@ -1,3 +1,14 @@
|
||||
Tue Jul 8 21:10:14 2003 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtkbutton.c (gtk_button_realize): remove GDK_EXPOSURE_MASK
|
||||
for INPUT_ONLY window
|
||||
* gtk/gtkmenuitem.c (gtk_menu_item_realize): same
|
||||
* gtk/gtknotebook.c (gtk_notebook_realize): same
|
||||
* gtk/gtkexpander.c (gtk_expander_realize): same
|
||||
* gtk/gtkrange.c (gtk_range_realize): same
|
||||
|
||||
Fix #116303
|
||||
|
||||
Tue Jul 8 19:57:14 2003 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtkstyle.c (gtk_default_draw_arrow): remove correction on x
|
||||
|
@ -630,8 +630,7 @@ gtk_button_realize (GtkWidget *widget)
|
||||
attributes.height = widget->allocation.height - border_width * 2;
|
||||
attributes.wclass = GDK_INPUT_ONLY;
|
||||
attributes.event_mask = gtk_widget_get_events (widget);
|
||||
attributes.event_mask |= (GDK_EXPOSURE_MASK |
|
||||
GDK_BUTTON_PRESS_MASK |
|
||||
attributes.event_mask |= (GDK_BUTTON_PRESS_MASK |
|
||||
GDK_BUTTON_RELEASE_MASK |
|
||||
GDK_ENTER_NOTIFY_MASK |
|
||||
GDK_LEAVE_NOTIFY_MASK);
|
||||
|
@ -358,7 +358,6 @@ gtk_expander_realize (GtkWidget *widget)
|
||||
attributes.height = widget->allocation.height - 2 * border_width;
|
||||
attributes.wclass = GDK_INPUT_ONLY;
|
||||
attributes.event_mask = gtk_widget_get_events (widget) |
|
||||
GDK_EXPOSURE_MASK |
|
||||
GDK_BUTTON_PRESS_MASK |
|
||||
GDK_BUTTON_RELEASE_MASK |
|
||||
GDK_ENTER_NOTIFY_MASK |
|
||||
|
@ -606,7 +606,6 @@ gtk_menu_item_realize (GtkWidget *widget)
|
||||
attributes.window_type = GDK_WINDOW_CHILD;
|
||||
attributes.wclass = GDK_INPUT_ONLY;
|
||||
attributes.event_mask = (gtk_widget_get_events (widget) |
|
||||
GDK_EXPOSURE_MASK |
|
||||
GDK_BUTTON_PRESS_MASK |
|
||||
GDK_BUTTON_RELEASE_MASK |
|
||||
GDK_ENTER_NOTIFY_MASK |
|
||||
|
@ -1116,7 +1116,7 @@ gtk_notebook_realize (GtkWidget *widget)
|
||||
attributes.height = event_window_pos.height;
|
||||
attributes.wclass = GDK_INPUT_ONLY;
|
||||
attributes.event_mask = gtk_widget_get_events (widget);
|
||||
attributes.event_mask |= (GDK_EXPOSURE_MASK | GDK_BUTTON_PRESS_MASK |
|
||||
attributes.event_mask |= (GDK_BUTTON_PRESS_MASK |
|
||||
GDK_BUTTON_RELEASE_MASK | GDK_KEY_PRESS_MASK);
|
||||
|
||||
attributes_mask = GDK_WA_X | GDK_WA_Y;
|
||||
|
@ -799,8 +799,7 @@ gtk_range_realize (GtkWidget *widget)
|
||||
attributes.height = widget->allocation.height;
|
||||
attributes.wclass = GDK_INPUT_ONLY;
|
||||
attributes.event_mask = gtk_widget_get_events (widget);
|
||||
attributes.event_mask |= (GDK_EXPOSURE_MASK |
|
||||
GDK_BUTTON_PRESS_MASK |
|
||||
attributes.event_mask |= (GDK_BUTTON_PRESS_MASK |
|
||||
GDK_BUTTON_RELEASE_MASK |
|
||||
GDK_ENTER_NOTIFY_MASK |
|
||||
GDK_LEAVE_NOTIFY_MASK |
|
||||
|
@ -680,12 +680,7 @@ gtk_toolbar_realize (GtkWidget *widget)
|
||||
attributes.width = widget->allocation.width - border_width * 2;
|
||||
attributes.height = widget->allocation.height - border_width * 2;
|
||||
attributes.event_mask = gtk_widget_get_events (widget);
|
||||
/* FIXME: does GDK_EXPOSURE_MASK make sense for an input-only window?
|
||||
* If it doesn't, then it should be removed here and in gtkbutton.c,
|
||||
* gtkmenuitem.c, and maybe other places
|
||||
*/
|
||||
attributes.event_mask |= (GDK_EXPOSURE_MASK |
|
||||
GDK_BUTTON_PRESS_MASK |
|
||||
attributes.event_mask |= (GDK_BUTTON_PRESS_MASK |
|
||||
GDK_BUTTON_RELEASE_MASK |
|
||||
GDK_ENTER_NOTIFY_MASK |
|
||||
GDK_LEAVE_NOTIFY_MASK);
|
||||
|
Loading…
Reference in New Issue
Block a user