323603519faa816b99fa686030621f6d91a3de73
2001-02-25 Tor Lillqvist <tml@iki.fi> * gdk/win32/gdkevents-win32.c (gdk_pointer_grab): Set grabbing cursor here. When mouse is captured, no WM_SETCURSOR messages are sent. Copy the cursor before setting. (print_event): Print out more details of crossing and focus change events. (synthesize_enter_or_leave_event, etc): Also pass the GdkCrossingMode. Set focus field correctly. (synthesize_leave_app_events): New function, to generate the GDK_NOTIFY_NONLINEAR and GDK_NOTIFY_NONLINEAR_VIRTUAL leave events when the pointer has moved to another app. (gdk_event_translate): Use it for WM_NCMOUSEMOVE. Handle WM_CAPTURECHANGED messages, for which we now generate GDK_CROSSING_UNGRAB leave notifications, and destroy the grabbing cursor. At first I thought of handling WM_ACTIVATE messages about deactivated windows to generate (normal) leave notifications, but that is wrong (ifdeffed out). Keep track of focus window. * gdk/win32/gdkdrawable-win32.c (gdk_win32_draw_drawable): Correct function name in GDK_NOTE call. * gtk/gtkmenushell.c (gtk_menu_shell_leave_notify): If we think we have the pointer grabbed, but get a GDK_CROSSING_UNGRAB leave notification, deactivate. This happens on Windows when switching apps. This now fixes menus being left active when switching apps. By jpe@archaeopteryx.com: * gtk/makefile.msc: Get gmodule library from right place. * gtk/gtktable.c (gtk_table_attach): Backported fix from gtk+ 1.2.something.
General Information =================== This is GTK+ version 1.2.7. GTK+, which stands for the Gimp ToolKit, is a library for creating graphical user interfaces for the X Window System. It is designed to be small, efficient, and flexible. GTK+ is written in C with a very object-oriented approach. The official ftp site is: ftp://ftp.gtk.org/pub/gtk The official web site is: http://www.gtk.org/ A mailing list is located at: gtk-list@redhat.com To subscribe: mail -s subscribe gtk-list-request@redhat.com < /dev/null (Send mail to gtk-list-request@redhat.com with the subject "subscribe") Installation ============ See the file 'INSTALL' How to report bugs ================== Bugs should be reported to the GNOME bug tracking system. (http://bugs.gnome.org). To report a problem about GTK+, send mail to submit@bugs.gnome.org. The subject of the mail should describe your problem. In the body of the mail, you should first include a "pseudo-header" that gives the package and version number. This should be separated by a blank line from the actual headers. Package: gtk+ Version: 1.2.7 [ Please substitute 1.2.7 with the version of GTK+ that you have installed ] Then describe the bug. Include: * Information about your system. For instance: - What operating system and version - What version of X - For Linux, what version of the C library And anything else you think is relevant. * How to reproduce the bug. If you can reproduce it with the testgtk program that is built in the gtk/ subdirectory, that will be most convenient. Otherwise, please include a short test program that exhibits the behavior. As a last resort, you can also provide a pointer to a larger piece of software that can be downloaded. (Bugs that can be reproduced within the GIMP are almost as good as bugs that can be reproduced in testgtk. If you are reporting a bug found with the GIMP, please include the version number of the GIMP you are using) * If the bug was a crash, the exact text that was printed out when the crash occured. * Further information such as stack traces may be useful, but is not necessary. If you do send a stack trace, and the error is an X error, it will be more useful if the stacktrace is produced running the test program with the --sync command line option. An example of a bug report: ==== To: submit@bugs.gnome.org From: yourname@your.address.org Subject: handlebox test in testgtk is misnamed. Package: gtk+ Version: 1.2.7 When I run gtk/testgtk, the button "handle box" is misnamed. There are multiple handle boxes in the demo, so it should be "handle boxes", to be like "buttons" or "check buttons". === Patches ======= Patches can be uploaded to the incoming/ directory on ftp.gtk.org. Please follow the instructions there, and include your name and email address in the README file. If the patch fixes a bug, it is usually a good idea to include all the information described in "How to Report Bugs".
Description
Languages
C
90.8%
CSS
7.3%
Meson
0.5%
SCSS
0.4%
GLSL
0.3%
Other
0.5%