1. 08 Nov, 2005 2 commits
  2. 26 Sep, 2005 1 commit
    • Matthias Clasen's avatar
      Fix #316871, reported by Dan Winship: · 44012804
      Matthias Clasen authored
      2005-09-26  Matthias Clasen  <mclasen@redhat.com>
      
      	Fix #316871, reported by Dan Winship:
      
      	* gdk/gdkwindow.h (struct _GdkWindowObject): Add a shaped flag.
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_shape_combine_mask)
      	(gdk_window_shape_combine_region): Set it here.
      
      	* gdk/gdkwindow.c (gdk_window_invalidate_maybe_recurse): Don't
      	remove the child area for shaped windows.
      44012804
  3. 13 Sep, 2005 1 commit
  4. 11 Sep, 2005 1 commit
  5. 31 Aug, 2005 1 commit
    • Matthias Clasen's avatar
      Intern type names before registering the type to avoid unnecessary copies. · 476e138d
      Matthias Clasen authored
      2005-08-31  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_impl_x11_get_type):
      	* gdk/x11/gdkscreen-x11.c (_gdk_screen_x11_get_type):
      	* gdk/x11/gdkpixmap-x11.c (gdk_pixmap_impl_x11_get_type):
      	* gdk/x11/gdkkeys-x11.c (gdk_keymap_x11_get_type):
      	* gdk/x11/gdkinput.c (gdk_device_get_type):
      	* gdk/x11/gdkimage-x11.c (gdk_image_get_type):
      	* gdk/x11/gdkgc-x11.c (_gdk_gc_x11_get_type):
      	* gdk/x11/gdkdrawable-x11.c (_gdk_drawable_impl_x11_get_type):
      	* gdk/x11/gdkdnd-x11.c (gdk_drag_context_get_type):
      	* gdk/x11/gdkdisplay-x11.c (_gdk_display_x11_get_type):
      	* gdk/x11/gdkcolor-x11.c (gdk_colormap_get_type):
      	* gdk/gdkwindow.c (gdk_window_object_get_type):
      	* gdk/gdkscreen.c (gdk_screen_get_type):
      	* gdk/gdkrectangle.c (gdk_rectangle_get_type):
      	* gdk/gdkpixmap.c (gdk_pixmap_get_type):
      	* gdk/gdkkeys.c (gdk_keymap_get_type):
      	* gdk/gdkfont.c (gdk_font_get_type):
      	* gdk/gdkevents.c (gdk_event_get_type):
      	* gdk/gdkdraw.c (gdk_drawable_get_type):
      	* gdk/gdkdisplaymanager.c (gdk_display_manager_get_type):
      	* gdk/gdkdisplay.c (gdk_display_get_type):
      	* gdk/gdkcursor.c (gdk_cursor_get_type):
      	* gdk/gdkcolor.c (gdk_color_get_type): Intern type names before
      	registering the type to avoid unnecessary copies.
      476e138d
  6. 15 Aug, 2005 1 commit
    • Owen Taylor's avatar
      Handle pixmap == NULL when checking for a colormap. (Allin Cottrell). · 42dc0241
      Owen Taylor authored
      2005-08-15  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/linux-fb/gdkwindow-fb.c (gdk_window_set_back_pixmap):
              * gdk/win32/gdkwindow-win32.c (gdk_window_set_back_pixmap):
              * gdk/x11/gdkwindow-x11.c (gdk_window_set_back_pixmap):
              Handle pixmap == NULL when checking for a colormap.
              (Allin Cottrell).
      42dc0241
  7. 12 Aug, 2005 1 commit
    • Owen Taylor's avatar
      gdk/linux-fb/gdkwindow-fb.c (gdk_window_set_back_pixmap) · c24e5e28
      Owen Taylor authored
      2005-08-12  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/linux-fb/gdkwindow-fb.c (gdk_window_set_back_pixmap)
              * gdk/win32/gdkwindow-win32.c (gdk_window_set_back_pixmap)
              * gdk/x11/gdkwindow-x11.c (gdk_window_set_back_pixmap): Warn if
              gdk_drawable_get_colormap (pixmap) is NULL and return.
      c24e5e28
  8. 01 Aug, 2005 1 commit
    • Matthias Clasen's avatar
      Make tracking the on_all_desktops state work better. · 5d7b721b
      Matthias Clasen authored
      2005-08-01  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/x11/gdkevents-x11.c (gdk_check_wm_desktop_changed): Make
      	tracking the on_all_desktops state work better.
      
      	* gdk/x11/gdkwindow-x11.c (gdk_x11_window_move_to_current_desktop):
      	Don't do anything if the window is on all desktops.  (#311803,
      	Elijah Newren)
      5d7b721b
  9. 11 Jul, 2005 1 commit
    • Matthias Clasen's avatar
      Make gdk_window_present() move the window to the current desktop, instead · e5f444e9
      Matthias Clasen authored
      2005-07-11  Matthias Clasen  <mclasen@redhat.com>
      
      	Make gdk_window_present() move the window to the current
      	desktop, instead of letting the WM change the current
      	desktop to where the window is.  (#166379, Elijah Newren)
      
      	* gdk/gdk.symbols:
      	* gdk/x11/gdkx.h:
      	* gdk/x11/gdkwindow-x11.c (gdk_x11_window_move_to_current_desktop):
      	New function to move a window to the current desktop.
      
      	* gtk/gtkwindow.c (gtk_window_present_with_time): Move the
      	window to the current desktop before giving it focus.
      e5f444e9
  10. 17 Jun, 2005 2 commits
    • Matthias Clasen's avatar
      Support the ICCCM urgency hint. (#61858, Havoc Pennington) · 23fabedc
      Matthias Clasen authored
      2005-06-17  Matthias Clasen  <mclasen@redhat.com>
      
      	Support the ICCCM urgency hint.  (#61858, Havoc Pennington)
      
      	* gtk/gtk.symbols:
      	* gtk/gtkwindow.[hc]: Add a GtkWindow::urgency-hint property
      	with getter and setter.
      
      	* gdk/gdk.symbols:
      	* gdk/gdkwindow.h:
      	* gdk/x11/gdkwindow-x11.c (gdk_window_set_urgency_hint):
      	Add a setter for the urgency hint.
      
      	* gdk/x11/gdkwindow-x11.h (struct _GdkToplevelX11): Store
      	urgency hint here.
      
      	* gdk/x11/gdkwindow-x11.c (update_wm_hints): Set the urgency
      	hint in the WM_HINTS property when appropriate.
      23fabedc
    • 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
  11. 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
  12. 15 Jun, 2005 2 commits
  13. 10 Jun, 2005 1 commit
  14. 09 Jun, 2005 1 commit
    • Matthias Clasen's avatar
      Small markup fixes. · 92690fa3
      Matthias Clasen authored
      2005-06-09  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/x11/gdkwindow-x11.c: Small markup fixes.
      92690fa3
  15. 17 May, 2005 1 commit
    • Owen Taylor's avatar
      Update to changed cairo interface. · df1cc884
      Owen Taylor authored
      2005-05-17  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/x11/gdkdrawable-x11.c (gdk_x11_ref_cairo_surface):
              Update to changed cairo interface.
      
              * gdk/x11/gdkdrawable-x11.[ch]:
              Add _gdk_x11_drawable_update_size()
      
              * gdk/x11/gdkwindow-x11.c (gdk_window_resize)
              (gdk_window_move_resize)
              * gdk/x11/gdkevents-x11.c (gdk_event_translate):
              Call _gdk_x11_drawable_update_size().
      df1cc884
  16. 17 Mar, 2005 1 commit
    • Owen Taylor's avatar
      Switch set_cairo_target() virtual function to ref_cairo_surface() · 09d7eafb
      Owen Taylor authored
      2005-03-15  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdkdrawable.h gdk/gdkdraw.c gdk/gdkpixmap.c gdk/gdkwindow.c
      	gdk/x11/gdkdrawable-x11.c gdk/x11/gdkpixmap-x11.c gdk/x11/gdkwindow-x11.c
      	gdk/gdkinternals.h: Switch set_cairo_target() virtual function to
      	ref_cairo_surface()
      
      	* gdk/gdkdrawable.h gdk/gdkdraw.h: Switch set_cairo_target() virtual
      	function to create_cairo_context()
      
      	* gdk/gdkwindow.c: Clear double buffer pixmaps with Cairo.
      
      	* gdk/x11/gdkwindow-x11.c: Keep all components in GdkWindowObject.bg_color,
      	not just the pixel.
      
      	* tests/testcairo.c: Update for create_cairo_context()
      
      	* gdk/gdkdraw.c (gdk_draw_trapezoids, gdk_draw_glyphs[_transformed]):
      	Reimplement in terms of Cairo, bypass the vtable entries.
      
      	* gdk/x11/gdkdrawable-x11.[ch] gdk/x11/gdkdisplay-x11.[ch]
      	gdk/x11/gdkgc-x11.c gdk/x11/gdkpango-x11.c
      	gdk/x11/gdkprivate-x11.h gdk/x11/Makefile.am: Remove
      	implementation of draw_trapezoids / draw_glyphs[_transformed].
      
      	* gdk/gdkpango.c: Switch GdkPangoRenderer to use Cairo
      
      	* gdk/gdkpango.c gdk/x11/gdkpango-x11.c: Move
      	gdk_pango_context_get_for_screen() into the backend independent code.
      
      	* gdk/x11/gdkdrawable-x11.[ch]: Remove Xft use, use RENDER directly
      	for drawing images.
      
      	* gdk/gdkdrawable.h gdk/x11/gdkdrawable-x11.c: Remove
      	gdk_draw_rectangle_alpha_libgtk_only.
      
      	* gdk/gdkpixbuf.h gdk/gdkpixbuf-render.c: Add
      	gdk_pixbuf_set_as_cairo_source()
      
      	* gdk/gdk.symbols: Update
      
      	* gtk/gtkcolorsel.c gtk/gtkhsv.c gtk/gtkiconview.c gtk/gtkruler.[ch]
      	gtk/gtk[hv]ruler.c: Convert to Cairo rendering.
      
      	* gtk/gtkstyle.c (gtk_default_draw_check, gtk_default_draw_focus,
      	gtk_default_draw_option): Switch to Cairo. Simplify the checkbutton,
      	radio button style for now to get something more scalable.
      
      	*  gtk/gtksettings.c: #if 0 out the code to use PangoXft for hinting/
      	antialiasing/dpi settings.
      09d7eafb
  17. 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
  18. 03 Feb, 2005 1 commit
    • Owen Taylor's avatar
      Add gdk_drawable_set_cairo_target(). · 93344f6d
      Owen Taylor authored
      2005-02-03  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkdrawable.[ch] gdkpixmap.c gdkwindow.c: Add
              gdk_drawable_set_cairo_target().
      
              * tests/testtreeflow.c (enum): Use grand not rand as a variable
              name because one of the cairo headers is pulling in stdlib.h.
      
              * tests/testcairo.c tests/Makefile.am: Add a simple cairo based
              example.
      
              * configure.in: Bump release to 2.7.0, gtk_binary_version to 2.7.0.
      
              * Require libpangocairo for all backends.
      93344f6d
  19. 25 Jan, 2005 1 commit
  20. 20 Jan, 2005 2 commits
  21. 19 Jan, 2005 1 commit
    • Matthias Clasen's avatar
      Precache the _NET_VIRTUAL_ROOTS atom. · fbe8255d
      Matthias Clasen authored
      2005-01-19  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/x11/gdkdisplay-x11.c: Precache the _NET_VIRTUAL_ROOTS
      	atom.
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents):
      	Support _NET_VIRTUAL_ROOTS.  (#163910, Carsten Haitzler)
      fbe8255d
  22. 18 Jan, 2005 1 commit
    • Matthias Clasen's avatar
      Add pointer warping to GDK. (#160437) · 3f8461b7
      Matthias Clasen authored
      2005-01-18  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/gdkdisplay.h:
      	* gdk/x11/gdkwindow-x11.c (gdk_display_warp_pointer):
      	* gdk/win32/gdkwindow-win32.c (gdk_display_warp_pointer): Add
      	pointer warping to GDK.  (#160437)
      
      	* gtk/gtkcolorsel.c (key_press): Use gdk_display_warp_pointer.
      3f8461b7
  23. 22 Dec, 2004 1 commit
    • Søren Sandmann's avatar
      Add sensitivity-changing timeout. Written by Christian Persch. · 63f2fd96
      Søren Sandmann authored
      Wed Dec 22 14:22:19 2004  Søren Sandmann  <sandmann@redhat.com>
      
      	* tests/testtoolbar.c (timeout_cb): Add sensitivity-changing
      	timeout. Written by Christian Persch.
      
      Wed Dec 22 14:14:02 2004  Søren Sandmann  <sandmann@redhat.com>
      
      	Bug #161561
      
      	* gdk/x11/gdkwindow-x11.c (tmp_{re,un}set_bg): Only set/reset the
      	background for windows that get expose events.
      
      	* gdk/gdkwindow.c (gdk_window_process_updates_internal): Remove
      	hack to repaint !expose windows.
      63f2fd96
  24. 17 Nov, 2004 1 commit
    • Owen Taylor's avatar
      Squash strict aliasing warnings. · f266788e
      Owen Taylor authored
      Tue Nov 16 19:26:30 2004  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/x11/gdkdnd-x11.c (_gdk_drag_get_protocol_for_display):
              Squash strict aliasing warnings.
      f266788e
  25. 09 Nov, 2004 1 commit
  26. 28 Oct, 2004 1 commit
  27. 18 Oct, 2004 1 commit
    • Matthias Clasen's avatar
      Fix #155658, Sebastian Bacher: · 1a8e3a70
      Matthias Clasen authored
      2004-10-18  Matthias Clasen  <mclasen@redhat.com>
      
      	Fix #155658, Sebastian Bacher:
      
      	* gdk/x11/gdkwindow-x11.h (struct _GdkToplevelX11): Add a new
      	is_leader flag.
      
      	* gdk/x11/gdkwindow-x11.c (update_wm_hints): Set wm hints on
      	leader windows even if they are withdrawn.
      	(gdk_window_set_group): Mark the new leader window as such. We
      	never remove the flag again, but that should a) be vanishingly
      	rare and b) not a problem, since the flag just turns off an
      	optimization.
      
      	* gdk/x11/gdkdisplay-x11.c (gdk_display_open): Mark the default
      	leader window as such.
      1a8e3a70
  28. 05 Oct, 2004 1 commit
  29. 23 Aug, 2004 3 commits
    • Matthias Clasen's avatar
      Make it compile. · 2d2d3e4b
      Matthias Clasen authored
      2d2d3e4b
    • Matthias Clasen's avatar
      Add a user_time field. · a9585748
      Matthias Clasen authored
      2004-08-23  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/x11/gdkwindow-x11.h (struct _GdkToplevelX11): Add a
      	user_time field.
      
      	* gdk/x11/gdkwindow-x11.c (gdk_x11_window_set_user_time): Update
      	toplevel->user_time.
      	(show_window_internal): Update the user time when re-mapping a
      	toplevel window.  (#150502, Elijah Newren)
      a9585748
    • Matthias Clasen's avatar
      Support the latest EWMH additions to the _NET_ACTIVE_WINDOW client message · 31b68194
      Matthias Clasen authored
      2004-08-23  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_focus): Support the latest
      	EWMH additions to the _NET_ACTIVE_WINDOW client message
      	format.  (#150668, Elijah Newren)
      31b68194
  30. 09 Aug, 2004 1 commit
    • Matthias Clasen's avatar
      Add hidden aliases for exported symbols which are used internally in order · 0742ff3a
      Matthias Clasen authored
      Mon Aug  9 15:41:17 2004  Matthias Clasen  <maclas@gmx.de>
      
      	Add hidden aliases for exported symbols which are
      	used internally in order to get rid of many PLT
      	entries.  (#145519, Arjan van de Ven)
      
      	* gdk/Makefile.am: Add rules to generate gdk.def and
      	gdkalias.h from gdk.symbols, and make make check check
      	the abi with abicheck.sh.
      
      	* gdk/gdk.symbols: New file. Definition of the GDK ABI.
      	The file can be processed by cpp to filter out certain
      	subsets of symbols.
      
      	* gdk/abicheck.sh: New file. Script to check the actually
      	symbols exported from libgdk-x11.2.0.so against the symbols
      	found in gdk.symbols.
      
      	* gdk/makegdkalias.pl: New file. Perl script to generate the
      	header containing the alias definitions for internally used
      	exported symbols from a list of symbols.
      
      	* gdk/*.c, gdk/x11/*.c: Include gdkalias.h
      0742ff3a
  31. 05 Aug, 2004 1 commit
    • Soeren Sandmann's avatar
      Call gdk_window_enable_synchronized_configure() · ed44e79c
      Soeren Sandmann authored
      Thu Aug  5 19:58:08 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtkplug.c (gtk_plug_realize): Call
      	gdk_window_enable_synchronized_configure()
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_configure_finished): Make
      	noop if gdk_window_enable_synchronized_configure() has not been
      	called.
      ed44e79c
  32. 02 Aug, 2004 1 commit
  33. 31 Jul, 2004 1 commit
  34. 12 Jul, 2004 1 commit
    • Soeren Sandmann's avatar
      Do an empty begin_paint_region()/end_paint() for windows without · dddab53b
      Soeren Sandmann authored
      Tue Jul 13 00:40:29 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gdk/gdkwindow.c (gdk_window_process_updates_internal): Do an
      	empty begin_paint_region()/end_paint() for windows without
      	EXPOSURE_MASK.
      
      	* gdk/x11/gdkwindow-x11.c (_gdk_x11_window_tmp_unset_bg,
      	_gdk_x11_window_tmp_reset_bg): Remove checks for EXPOSURE_MASK.
      dddab53b