1. 21 Dec, 2010 7 commits
  2. 02 Dec, 2010 1 commit
  3. 24 Nov, 2010 1 commit
  4. 18 Oct, 2010 1 commit
  5. 15 Oct, 2010 2 commits
  6. 26 Sep, 2010 5 commits
  7. 10 Aug, 2010 3 commits
  8. 10 Jul, 2010 1 commit
  9. 04 Apr, 2010 1 commit
  10. 16 Dec, 2009 1 commit
  11. 14 Oct, 2009 1 commit
  12. 24 Jan, 2009 1 commit
  13. 20 Jan, 2009 1 commit
    • Matthias Clasen's avatar
      Cache cursors to avoid libXcursor theme lookup overhead. · 1cba7387
      Matthias Clasen authored
              Patch by David Alan Gilbert.
      
              * gdk/gdkcursor.h: Add a GDK_BLANK_CURSOR cursor type.
      
              * gdk/x11/gdkcursor-x11.c: Cache font cursors and named cursors.
      
              * gdk/x11/gdkprivate-x11.h:
              * gdk/x11/gdkcdisplay-x11.c: Remove cached cursors when a
              display if finalized.
      
      
      svn path=/trunk/; revision=22145
      1cba7387
  14. 24 Jul, 2008 1 commit
    • Matthias Clasen's avatar
      Bug 544265 – GDK assumes XFIXES extension · 4c7d3510
      Matthias Clasen authored
      2008-07-23  Matthias Clasen  <mclasen@redhat.com>
      
              Bug 544265 – GDK assumes XFIXES extension
      
              * gdk/x11/gdkcursor-x11.c (_gdk_x11_cursor_update_theme):
              Only call XFixes functions if the server has the extension.
              Reported by Ian Turner.
      
      svn path=/trunk/; revision=20901
      4c7d3510
  15. 22 Jun, 2008 1 commit
    • Johan Dahlin's avatar
      Include "config.h" instead of <config.h> Command used: find -name · d97cdbdf
      Johan Dahlin authored
      2008-06-21  Johan Dahlin  <jdahlin@async.com.br>
      
          * *.[ch]: Include "config.h" instead of <config.h>
          Command used:
          find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g'
          Rubberstamped by Mitch and Tim
      
      
      svn path=/trunk/; revision=20669
      d97cdbdf
  16. 25 Jan, 2006 1 commit
    • Matthias Clasen's avatar
      Only set the cursor size if it is != 0. · 2ec7ee28
      Matthias Clasen authored
      2006-01-25  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/x11/gdkcursor-x11.c (gdk_x11_display_set_cursor_theme): Only
      	set the cursor size if it is != 0.
      
      	* gtk/gtksettings.c (gtk_settings_class_init): Change the default value
      	of gtk-cursor-theme-size to 0, meaning "use default".
      2ec7ee28
  17. 20 Jan, 2006 1 commit
    • Matthias Clasen's avatar
      Use an unused high bit in the XID to mark fonts in the global xid hash · 73153b42
      Matthias Clasen authored
      2006-01-19  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/x11/gdkprivate-x11.h (XID_FONT_BIT):
      	* gdk/x11/gdkfont-x11.c:
      	* gdk/x11/gdkxid.c: Use an unused high bit in the
      	XID to mark fonts in the global xid hash table.
      
      	* gdk/x11/gdkcursor-x11.c (update_cursor): Skip fonts
      	when iterating over the xid hash table, since calling
      	GDK_IS_WINDOW () on an GdkFont can cause a segfault.
      	(#327751, Ryan Lortie)
      73153b42
  18. 25 Aug, 2005 1 commit
    • Owen Taylor's avatar
      Handle theme == NULL. · 446ebe3a
      Owen Taylor authored
      2005-08-25  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/x11/gdkcursor-x11.c (gdk_x11_display_set_cursor_theme):
              Handle theme == NULL.
      446ebe3a
  19. 18 Jun, 2005 1 commit
  20. 17 Jun, 2005 2 commits
    • Matthias Clasen's avatar
      Improve some return_if_fail checks, and add the missing non-Xcursor · 3d6ed059
      Matthias Clasen authored
      2005-06-17  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/x11/gdkcursor-x11.c:
      	* gdk/gdkcursor.c: Improve some return_if_fail checks,
      	and add the missing non-Xcursor fallback for
      	_gdk_x11_cursor_update_theme(), noticed by Jeroen
      	Zwartepoorte.
      3d6ed059
    • Matthias Clasen's avatar
      Handle cursor theme changes for cached cursors which are not associated · beb73ece
      Matthias Clasen authored
      2005-06-17  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/x11/gdkprivate-x11.h:
      	* gdk/x11/gdkcursor-x11.c: Handle cursor theme changes
      	for cached cursors which are not associated with a window
      	at the time of the theme change, by storing a serial
      	number in each cursor, and updating the theme_serial
      	counter whenever the cursor theme changes.
      
      	* gdk/x11/gdkcursor-x11.c (_gdk_x11_cursor_update_theme):
      	Private function to update a cursor to the current
      	cursor theme if necessary.
      
      	* gdk/x11/gdkmain-x11.c (gdk_pointer_grab):
      	* gdk/x11/gdkwindow-x11.c (gdk_window_set_cursor): Call
      	_gdk_x11_cursor_update_theme() here.
      beb73ece
  21. 16 Jun, 2005 1 commit
    • Manish Singh's avatar
      remove unused variable. · be53636e
      Manish Singh authored
      Thu Jun 16 15:33:42 2005  Manish Singh  <yosh@gimp.org>
      
              * gdk/x11/gdkcursor-x11.c (update_cursor): remove unused variable.
      
              * gdk/x11/gdkwindow-x11.c (_gdk_x11_window_get_cursor): use
              g_return_val_if_fail.
      
              * gtk/gtkdnd.c (gtk_drag_get_cursor): initialize hot_x and hot_y
              for all cases.
      
              * gtk/gtkfilechooserdefault.c (button_new): gtk_button_set_image
              takes a GtkWidget, not a GtkImage.
      be53636e
  22. 15 Jun, 2005 2 commits
    • Matthias Clasen's avatar
      Get red and blue in place. · 19b9451c
      Matthias Clasen authored
      2005-06-15  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/x11/gdkcursor-x11.c (gdk_cursor_get_image): Get
      	red and blue in place.
      19b9451c
    • Matthias Clasen's avatar
      Keep a reference to the GdkCursor and add a private getter for it, so that · 3c96358f
      Matthias Clasen authored
      2005-06-15  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/x11/gdkwindow-x11.[hc]: Keep a reference to the
      	GdkCursor and add a private getter for it, so that we can
      	update the cursor when the cursor theme changes.
      
      	* gdk/gdk.symbols:
      	* gdk/x11/gdkx.h:
      	* gdk/x11/gdkcursor-x11.c (gdk_x11_display_set_cursor_theme):
      	New function to change the cursor theme.
      3c96358f
  23. 14 Jun, 2005 2 commits
  24. 16 Mar, 2005 1 commit
    • Matthias Clasen's avatar
      Make PLT-reduction work with gcc4, and don't include everything in · 2a2d769d
      Matthias Clasen authored
      2005-03-15  Matthias Clasen  <mclasen@redhat.com>
      
      	Make PLT-reduction work with gcc4, and don't include
      	everything in gdkalias.h:
      
      	* gdk/gdk.symbols: Group symbols by header and source file.
      	* gdk/makegdkalias.pl: Protect definitions by the same
      	preprocessor symbols used to guard the headers. Move
      	the alias declarations to a separate file which is
      	produced when calling makegdkalias.pl -def
      	* gdk/Makefile.am (gdkaliasdef.c): Add a rule to generate this
      	file.
      	* gdk/*.c, gdk/x11/*.c: Include gdkalias.h after the other
      	headers, include gdkaliasdef.c at the bottom.
      2a2d769d