summaryrefslogtreecommitdiff
path: root/gdk
Commit message (Collapse)AuthorAgeFilesLines
* Merge from trunk:Cody Russell2007-06-101-6/+0
| | | | | | | | | | | | | 2007-06-10 Cody Russell <bratsche@gnome.org> Merge from trunk: * gdk/win32/gdkevents-win32.c (gdk_pointer_grab): Don't revert the mouse cursor to the built-in one when the user holds the mouse button down. (#445284, Tor Lillqvist) svn path=/branches/gtk-2-10/; revision=18094
* Subtract the multi-monitor offset from x and y before setting up theTor Lillqvist2007-05-301-0/+3
| | | | | | | | | | | 2007-05-30 Tor Lillqvist <tml@novell.com> * gdk/win32/gdkevents-win32.c (gdk_pointer_grab): Subtract the multi-monitor offset from x and y before setting up the rectangle for ClipCursor(). Fixes #442326. svn path=/branches/gtk-2-10/; revision=17987
* Fix initialization of last cursorCody Russell2007-05-291-1/+1
| | | | svn path=/branches/gtk-2-10/; revision=17972
* Merged from trunk (r17879) fix for #437379Attilio Fiandrotti2007-05-202-2/+2
| | | | svn path=/branches/gtk-2-10/; revision=17880
* Fix context iterations for handle_configure_event()Cody Russell2007-05-131-2/+1
| | | | svn path=/branches/gtk-2-10/; revision=17835
* Fix wrong cairo path generation. (#437879, Eddie C. Dost)Behdad Esfahbod2007-05-121-1/+1
| | | | | | | | | | 2007-05-12 Behdad Esfahbod <behdad@gnome.org> * gdk/gdkdraw.c (gdk_draw_trapezoids): Fix wrong cairo path generation. (#437879, Eddie C. Dost) svn path=/branches/gtk-2-10/; revision=17832
* Don't call into the backend if the region is empty. (#437081, SvenMatthias Clasen2007-05-101-1/+5
| | | | | | | | | | | 2007-05-10 Matthias Clasen <mclasen@redhat.com> * gdk/gdkdraw.c (gdk_draw_pixbuf): Don't call into the backend if the region is empty. (#437081, Sven Neumann) svn path=/branches/gtk-2-10/; revision=17814
* Backport misc directfb fixes from trunk; thanks Attilio Fiandrotti for theLoïc Minier2007-05-098-26/+51
| | | | | | | | | | | | | | | | | | | | 2007-05-09 Loïc Minier <lool@dooz.org> * gdk/directfb/Makefile.am: * gdk/directfb/gdkcolor-directfb.c: * gdk/directfb/gdkevents-directfb.c: (dfb_events_io_func), (gdk_event_translate): * gdk/directfb/gdkkeys-directfb.c: (gdk_keymap_translate_keyboard_state): * gdk/directfb/gdkpixmap-directfb.c: (gdk_pixmap_new): * gdk/directfb/gdkproperty-directfb.c: (gdk_atom_name): * gdk/directfb/gdkscreen-directfb.c: (gdk_screen_is_composited): * gdk/directfb/gdkwindow-directfb.c: (_gdk_windowing_window_destroy), (_gdk_directfb_move_resize_child): Backport misc directfb fixes from trunk; thanks Attilio Fiandrotti for the patch. svn path=/branches/gtk-2-10/; revision=17803
* Merge from trunk:Dan Winship2007-05-021-2/+6
| | | | | | | * gdk/x11/gdkwindow-x11.c (setup_toplevel_window): Make sure the leader_window's WM_CLIENT_LEADER points to itself. #435028 svn path=/branches/gtk-2-10/; revision=17763
* Clear correct areaCody Russell2007-04-301-4/+147
| | | | svn path=/branches/gtk-2-10/; revision=17738
* Plug memory leaks caused by wrong use of g_slist_remove_link(). (#405515,Matthias Clasen2007-04-281-1/+1
| | | | | | | | | | | | | | 2007-04-28 Matthias Clasen <mclasen@redhat.com> * gdk/win32/bdfcursor.c (compose_cursors_from_fonts): * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_reorder): * gtk/gtkfilesystemmodel.c (got_root_folder_cb): (get_children_folder_cb): Plug memory leaks caused by wrong use of g_slist_remove_link(). (#405515, Nicolas Peninguy) svn path=/branches/gtk-2-10/; revision=17672
* Use native Win32 cursors where it makes senseCody Russell2007-04-262-78/+84
| | | | svn path=/branches/gtk-2-10/; revision=17646
* Win32 drop shadow goodnessCody Russell2007-04-256-20/+59
| | | | svn path=/branches/gtk-2-10/; revision=17644
* Fix a borderline case with regionsMatthias Clasen2007-04-181-8/+14
| | | | svn path=/branches/gtk-2-10/; revision=17609
* Change the XSettingsWatchFunc to return a Bool to indicate success. UpdateMatthias Clasen2007-04-103-11/+44
| | | | | | | | | | | | | | | 2007-04-10 Matthias Clasen <mclasen@redhat.com> * gdk/x11/xsettings-client.[hc]: Change the XSettingsWatchFunc to return a Bool to indicate success. Update callers and implementors. Based on a patch by Owen Taylor. * gdk/x11/gdkevents-x11.c (gdk_xsettings_watch_cb): Don't leak a reference to gdkwin. svn path=/branches/gtk-2-10/; revision=17593
* Merge r17579 from trunk:Loïc Minier2007-04-031-5/+9
| | | | | | | | | | 2007-04-03 Loïc Minier <lool@dooz.org> * gdk/x11/gdkscreen-x11.c: (check_xfree_xinerama): Revert to non-xinerama mode when XineramaQueryScreens returns NULL; patch from Simon McVittie; #425786. svn path=/branches/gtk-2-10/; revision=17580
* Initialise nxvisuals to 0 in order to handle XGetVisualInfo() failuresChris Wilson2007-03-171-0/+1
| | | | | | | | | | | 2007-03-17 Chris Wilson <chris@chris-wilson.co.uk> * gdk/x11/gdkvisual-x11.c (_gdk_visual_init): Initialise nxvisuals to 0 in order to handle XGetVisualInfo() failures gracefully. (#419171) svn path=/branches/gtk-2-10/; revision=17537
* Fix the buildMatthias Clasen2007-03-091-3/+7
| | | | svn path=/branches/gtk-2-10/; revision=17445
* Defer the callbacks to an idle to avoid deadlock with xcb-ified libX11.Matthias Clasen2007-03-091-3/+13
| | | | | | | | | | | | 2007-03-08 Matthias Clasen <mclasen@redhat.com> * gdk/x11/gdkasync.c (send_event_handler): Defer the callbacks to an idle to avoid deadlock with xcb-ified libX11. (#413032, Sebastian Dröge) svn path=/branches/gtk-2-10/; revision=17437
* gdk/Makefile.am gdk-pixbuf/Makefile.am Further fixes for building on Win32Tor Lillqvist2007-03-061-3/+3
| | | | | | | | | | | | 2007-03-06 Tor Lillqvist <tml@novell.com> * gdk/Makefile.am * gdk-pixbuf/Makefile.am * gtk/Makefile.am: Further fixes for building on Win32 outside srcdir. (#413492, Mathias Hasselmann) svn path=/branches/gtk-2-10/; revision=17396
* Be more careful when checking for ButtonRelease events that end implicitMatthias Clasen2007-02-161-1/+7
| | | | | | | | | | | | 2007-02-15 Matthias Clasen <mclasen@redhat.com> * gdk/x11/gdmain-x11.c (_gdk_xgrab_check_button_event): Be more careful when checking for ButtonRelease events that end implicit grabs. (#386618, Christof Krüger) svn path=/branches/gtk-2-10/; revision=17305
* Fix Win32 window resizing/repainting and widget flickering, backport from trunkCody Russell2007-02-151-133/+1
| | | | svn path=/branches/gtk-2-10/; revision=17300
* Nitpick, define BITMAPV5HEADER also for w32api < 3.x. Not that I knowTor Lillqvist2007-02-041-1/+1
| | | | | | | if gdk/win32 will compile with such an old beast. svn path=/branches/gtk-2-10/; revision=17257
* Don't define BITMAPV5HEADER on mingw with w32api >= 3.8, which has it inTor Lillqvist2007-02-041-1/+5
| | | | | | | | | | 2007-02-04 Tor Lillqvist <tml@novell.com> * gdk/win32/gdkcursor-win32.c: Don't define BITMAPV5HEADER on mingw with w32api >= 3.8, which has it in wingdi.h. (#403896) svn path=/branches/gtk-2-10/; revision=17255
* New debugging function. (_gdk_input_wintab_init_check): Call it whenTor Lillqvist2007-01-301-0/+148
| | | | | | | | | | | | | | | | | 2007-01-31 Tor Lillqvist <tml@novell.com> * gdk/win32/gdkinput-win32.c (print_cursor): New debugging function. (_gdk_input_wintab_init_check): Call it when debugging output is requested. (_gdk_input_wintab_init_check): Skip duplicated cursors for Wacom tablets. The Wacom driver reports duplicated cursors with physid==0. Fix verified by Robert *gren. (Sorry, should be U+00D6 there, but svn won't let me use UTF-8 in the commit log.) svn path=/branches/gtk-2-10/; revision=17240
* Be more careful about toplevel possibly being NULL. (#402453, SebastianMatthias Clasen2007-01-301-1/+7
| | | | | | | | | | | | 2007-01-30 Matthias Clasen <mclasen@redhat.com> * gdk/x11/gdkwindow-x11.c (gdk_x11_window_move_to_current_desktop): (gdk_x11_window_set_user_time): Be more careful about toplevel possibly being NULL. (#402453, Sebastian Bacher) svn path=/branches/gtk-2-10/; revision=17237
* Reduce locking overhead by not repeatedly getting the paintable iface.Matthias Clasen2007-01-251-13/+23
| | | | | | | | | | | 2007-01-25 Matthias Clasen <mclasen@redhat.com> * gdk/gdkwindow.c: Reduce locking overhead by not repeatedly getting the paintable iface. 2 svn path=/branches/gtk-2-10/; revision=17214
* Fix for bug #143460 - missed tablet clicks on WindowsRobert Oegren2007-01-191-45/+33
| | | | | | | | | | | | | | | | | | | | 2007-01-19 Robert Oegren <gtk@roboros.com> Fix for bug #143460 - missed tablet clicks on Windows * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Request absolute reporting of tablet button state, and cut down the packet queue size a bit. (_gdk_input_other_event): Change button state handling accordingly. Also drop the no longer necessary code that detects missed clicks/releases for button 1. The switch to absolute button state should prevent missed events for all buttons. Additionally, swap button 2 and 3. (_gdk_input_grab_pointer): Don't reset button_state, that will only cause a new press event as soon as the next tablet packet arrives. svn path=/branches/gtk-2-10/; revision=17189
* gdk-pixbuf/Makefile.am gdk/Makefile.am gdk/win32/Makefile.am Fixes forTor Lillqvist2007-01-182-12/+10
| | | | | | | | | | | | | | | | 2007-01-18 Tor Lillqvist <tml@novell.com> * gdk-pixbuf/Makefile.am * gdk/Makefile.am * gdk/win32/Makefile.am * gtk/Makefile.am: Fixes for building outside srcdir on Win32. (#336819, #340113) Drop distributing the handmade .la libtool wrappers for the wntab32x and ie55uid libraries. It's too much trouble making them work when building outside srcdir. Just link to these libraries direcly using -Wl,libfoo.a. svn path=/branches/gtk-2-10/; revision=17184
* New file. Downloaded from freedesktop.org's webcvs. Slighly edited cursorsTor Lillqvist2007-01-063-36/+3341
| | | | | | | | | | | | | | | | | 2007-01-06 Tor Lillqvist <tml@novell.com> * gdk/win32/cursor.bdf: New file. Downloaded from freedesktop.org's webcvs. Slighly edited cursors "crosshair", "diamond_cross", "draft_large", "gobbler" and "target" to fix #392504. It is possible that the same end result could have been achieved by tweaking bdfcursor.c instead. * gdk/win32/bdfcursor.c: Add optional debugging output. * gdk/win32/xcursors.h: Regenerated. svn path=/branches/gtk-2-10/; revision=17094
* 2.10.7GTK_2_10_7Matthias Clasen2007-01-051-0/+1
| | | | svn path=/branches/gtk-2-10/; revision=17086
* Avoid overflow when converting coordinates to Pango units. (#332266, JodyBehdad Esfahbod2007-01-053-2/+45
| | | | | | | | | | | | | | 2007-01-05 Behdad Esfahbod <behdad@gnome.org> * gdk/gdkprivate.h: * gdk/gdkpango.c (gdk_draw_layout_line_with_colors), (gdk_draw_layout_with_colors): * gdk/gdkwindow.c (gdk_window_draw_glyphs_transformed): Avoid overflow when converting coordinates to Pango units. (#332266, Jody Goldberg) svn path=/branches/gtk-2-10/; revision=17076
* Cross-compilation fixes. (#392646, Yevgen Muntyan)Matthias Clasen2007-01-041-1/+1
| | | | | | | | | | | | | | 2007-01-04 Matthias Clasen <mclasen@redhat.com> * gtk/Makefile.am: * gdk-pixbuf/Makefile.am: * configure.in: * gdk/win32/rc/gdk.rc.in: Cross-compilation fixes. (#392646, Yevgen Muntyan) svn path=/branches/gtk-2-10/; revision=17068
* Apply a patch by Chris Wilson to avoid spurious valgrind warnings fromMatthias Clasen2007-01-044-92/+94
| | | | | | | | | | | | | 2007-01-03 Matthias Clasen <mclasen@redhat.com> * gtk/*.c: * gdk/x11/*.c: Apply a patch by Chris Wilson to avoid spurious valgrind warnings from XSendEvent() calls. (#392532) svn path=/branches/gtk-2-10/; revision=17045
* Try to fix #315732, reported by Luke Hutchinson:Matthias Clasen2007-01-023-20/+37
| | | | | | | | | | | | | | | | | 2007-01-02 Matthias Clasen <mclasen@redhat.com> Try to fix #315732, reported by Luke Hutchinson: * gdk/x11/xsettings-client.[hc]: * gdk/x11/gdkdevents-x11.c: Don't assume that ref'ing a GdkWindow will guarantee that it can be looked up in the xid hash later. Also, use the nesting server grab function during the xsettings client initialization. Finally, make xsettings client not eat DestroyNotifys so that GDK can do its regular cleanup. svn path=/branches/gtk-2-10/; revision=17023
* Generate double-click events. (#380421, Tommi Komulainen)Matthias Clasen2006-12-211-0/+4
| | | | | * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event): Generate double-click events. (#380421, Tommi Komulainen)
* Correct return_if_fail checks. (#379803, Tommi Komulainen)Matthias Clasen2006-12-211-3/+3
| | | | | | * gdk/x1/gdkinput-xfree.c (_gdk_input_configure_event): (_gdk_input_enter_event): Correct return_if_fail checks. (#379803, Tommi Komulainen)
* Improve docs. (#353438, Mariano Suárez-Alvarez)Matthias Clasen2006-12-211-1/+1
| | | | | * gdk/gdkdisplay.c (gdk_display_beep): Improve docs. (#353438, Mariano Suárez-Alvarez)
* Check for crt_extern.h and _NSGetEnviron. Fix compilation on Darwin whereMatthias Clasen2006-12-101-0/+12
| | | | | | | | 2006-12-10 Matthias Clasen <mclasen@redhat.com> * configure.in: Check for crt_extern.h and _NSGetEnviron. * gdk/x11/gdkspawn-x11.c: Fix compilation on Darwin where environ is not available. (#384168, Min Sik Kim)
* Improve handling of the small icon of the window class. (#152620, KazukiTor Lillqvist2006-10-291-13/+25
| | | | | | | 2006-10-29 Tor Lillqvist <tml@novell.com> * gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Improve handling of the small icon of the window class. (#152620, Kazuki Iwamoto)
* Implement for B&W cursors, for instance the built-in GDK ones.Tor Lillqvist2006-10-291-33/+112
| | | | | | | | 2006-10-29 Tor Lillqvist <tml@novell.com> * gdk/win32/gdkcursor-win32.c (gdk_win32_icon_to_pixbuf_libgtk_only): Implement for B&W cursors, for instance the built-in GDK ones.
* reduce relocationsMatthias Clasen2006-10-031-1/+1
|
* free display->input_windows with g_free(), not g_object_unref() (#357566,Michael Natterer2006-09-251-1/+1
| | | | | | | | 2006-09-25 Michael Natterer <mitch@imendio.com> * gdk/x11/gdkdisplay-x11.c (gdk_display_x11_finalize): free display->input_windows with g_free(), not g_object_unref() (#357566, Tommi Komulainen).
* 2.10.4GTK_2_10_4Matthias Clasen2006-09-231-1/+2
|
* just check the first shift-level of keyboard layout for RTL and LTRBehnam Esfahbod2006-09-201-18/+14
| | | | | | | | | 2006-09-20 Behnam Esfahbod <behnam@zwnj.org> * gdk/x11/gdkkeys-x11.c: (get_direction): just check the first shift-level of keyboard layout for RTL and LTR keysyms() (compliment to #116626) Apply the missing patch of the previous commit.
* add new filesMatthias Clasen2006-09-101-0/+17
|
* Commit a patch by Behdad to fix typos, omissions and other errors in theMatthias Clasen2006-09-107-14/+13
| | | | | | | | 2006-09-10 Matthias Clasen <mclasen@redhat.com> * Commit a patch by Behdad to fix typos, omissions and other errors in the symbol aliasing, and add checks for local PLT entries. (#354687, Behdad Esfahbod)
* Fix small theoretical memory leaks. (#353916, Chris Wilson)Matthias Clasen2006-09-091-2/+5
| | | | | | | 2006-09-09 Matthias Clasen <mclasen@redhat.com> * gdk/x11/gdkfonts-x11.c: Fix small theoretical memory leaks. (#353916, Chris Wilson)
* handle displayname being NULL in some error pathsMatthias Clasen2006-09-031-1/+2
|
* Add Win32 detail to doc comments.Tor Lillqvist2006-08-231-0/+10
| | | | | | | | | | 2006-08-23 Tor Lillqvist <tml@novell.com> * gdk/x11/gdkwindow-x11.c (gdk_window_shape_combine_mask) (gdk_window_input_shape_combine_mask) gdk_window_shape_combine_region) (gdk_window_input_shape_combine_region): Add Win32 detail to doc comments.