forked from AuroraMiddleware/gtk
e71bcc8487
Wed Nov 12 21:40:10 2003 Matthias Clasen <maclas@gmx.de> Changes to improve menu positioning on Xinerama (#108328): * gtk/gtkmenu.c (struct _GtkMenuPrivate): Add a menu_num field to store the monitor on which the menu is to be positioned. * gtk/gtkmenu.[hc] (gtk_menu_position): Store the monitor number in the GtkMenuPrivate struct and fetch the monitor geometry after calling the position_func, in case it has been changed. * gtk/gtkmenu.c (gtk_menu_set_monitor): New function to be used in GtkMenuPositionFunc implementations for setting the monitor_num field in GtkMenuPrivate. * gtk/gtkmenuitem.c (gtk_menu_item_position_menu): Call gtk_menu_set_monitor. |
||
---|---|---|
.. | ||
tmpl | ||
.cvsignore | ||
building.sgml | ||
changes-1.2.sgml | ||
changes-2.0.sgml | ||
compiling.sgml | ||
framebuffer.sgml | ||
gtk-docs.sgml | ||
gtk-overrides.txt | ||
gtk-query-immodules-2.0.1 | ||
gtk-query-immodules-2.0.xml | ||
gtk-sections.txt | ||
gtk.types | ||
Makefile.am | ||
objects_grouped.sgml | ||
other_software.sgml | ||
question_index.sgml | ||
resources.sgml | ||
running.sgml | ||
text_widget.sgml | ||
tree_widget.sgml | ||
version.xml.in | ||
windows.sgml | ||
x11.sgml |