1. 26 Jan, 2009 1 commit
    • Richard Hult's avatar
      Bug 566628 – gdk_display_close always asserts on win32 and quartz · 14f26357
      Richard Hult authored
      2009-01-26  Richard Hult  <richard@imendio.com>
      
      	Bug 566628 – gdk_display_close always asserts on win32 and quartz
      
      	* gdk/quartz/gdkdisplay-quartz.c
      	(_gdk_windowing_set_default_display): Copy fix for bug #566628
      	from the win32 backend: Allow also a NULL parameter in the
      	g_assert().
      
      svn path=/trunk/; revision=22223
      14f26357
  2. 24 Jan, 2009 1 commit
  3. 23 Jan, 2009 2 commits
  4. 21 Jan, 2009 1 commit
  5. 20 Jan, 2009 2 commits
  6. 12 Jan, 2009 1 commit
    • Tor Lillqvist's avatar
      A GOptionArgFunc should return gboolean and take also a GError pointer · 550d4d18
      Tor Lillqvist authored
      2009-01-12  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/gdk.c (gdk_arg_debug_cb) (gdk_arg_no_debug_cb): A
      	GOptionArgFunc should return gboolean and take also a GError
      	pointer parameter, so make these two functions do that. Return
      	FALSE (and set the GError) if the parsing of the debug string
      	failed completely. Note that g_parse_debug_string() doesn't really
      	have any way to return parsing status, and accepts partially
      	incorrect strings, though.
      
      
      svn path=/trunk/; revision=22095
      550d4d18
  7. 11 Jan, 2009 1 commit
    • Tor Lillqvist's avatar
      Bug 523554 - Copy from GIMP to Word broken · bb56a0a1
      Tor Lillqvist authored
      2009-01-11  Tor Lillqvist  <tml@iki.fi>
      
      	Bug 523554 - Copy from GIMP to Word broken
      
      	* gdk/win32/gdkselection-win32.c
      	(_gdk_win32_selection_convert_to_dib): The DIB stored in the
      	Windows Clipboard was for some unknown reason truncated by one
      	byte. Don't do that.
      
      
      svn path=/trunk/; revision=22086
      bb56a0a1
  8. 09 Jan, 2009 1 commit
    • Christian Dywan's avatar
      Fail in gdk_window_new if _gdk_window_new failed · 27d8d8ea
      Christian Dywan authored
      2009-01-09  Christian Dywan  <christian@imendio.com>
      
      	Fail in gdk_window_new if _gdk_window_new failed
      
      	* gdk/gdkwindow.c (gdk_window_new): Add g_return_val_if_fail
              in case _gdk_window_new is NULL. Approved by Tim Janik
      
      svn path=/trunk/; revision=22082
      27d8d8ea
  9. 05 Jan, 2009 1 commit
    • Tor Lillqvist's avatar
      Bug 566628 - gdk_display_close always asserts on win32 · 7ddb9557
      Tor Lillqvist authored
      2009-01-05  Tor Lillqvist  <tml@novell.com>
      
      	Bug 566628 - gdk_display_close always asserts on win32
      
      	* gdk/win32/gdkdisplay-win32.c
      	(_gdk_windowing_set_default_display): Allow also a NULL parameter
      	in the g_assert(). Still don't actually do anything in this
      	function, though.
      
      
      svn path=/trunk/; revision=22068
      7ddb9557
  10. 04 Jan, 2009 1 commit
    • Matthias Clasen's avatar
      Recheck _NET_SUPPORTING_WM_CHECK every now and then to avoid getting stuck · daf29bff
      Matthias Clasen authored
      2009-01-03  Matthias Clasen  <mclasen@redhat.com>
      
              * gdk/x11/gdkscreen-x11.h:
              * gdk/x11/gdkevents-x11.c (fetch_net_wm_check_window): Recheck
              _NET_SUPPORTING_WM_CHECK every now and then to avoid getting
              stuck on the id of a former wmcheck window that got reused by
              another client (see RH bug 471927)
      
      
      svn path=/trunk/; revision=22058
      daf29bff
  11. 26 Dec, 2008 1 commit
  12. 13 Dec, 2008 3 commits
  13. 09 Dec, 2008 1 commit
  14. 08 Dec, 2008 2 commits
  15. 30 Nov, 2008 3 commits
    • Christian Dywan's avatar
      Bug 559622 – GdkDevice test segfaults · d494aa72
      Christian Dywan authored
      2008-11-30  Christian Dywan  <christian@imendio.com>
      
      	Bug 559622 – GdkDevice test segfaults
      
      	* gdk/x11/gdkdisplay-x11.c (gdk_display_x11_dispose):
      	* gdk/x11/gdkinput.c (gdk_device_class_init), (gdk_device_dispose):
      	Free and reset device in dispose. Patch by Michael Natterer and myself.
      
      svn path=/trunk/; revision=21834
      d494aa72
    • Christian Dywan's avatar
      Bug 554076 – eventually release g_new-ed supported_atoms · e0ce0916
      Christian Dywan authored
      2008-11-30  Christian Dywan  <christian@imendio.com>
      
      	Bug 554076 – eventually release g_new-ed supported_atoms
      
      	* gdk/x11/gdkevents-x11.c (cleanup_atoms),
      	(gdk_x11_screen_supports_net_wm_hint): Set cleanup callback.
              Patch by Caolan McNamara.
      
      svn path=/trunk/; revision=21833
      e0ce0916
    • Christian Dywan's avatar
      Bug 539263 – Deprecate gdk_window_get_toplevels · c8392add
      Christian Dywan authored
      2008-11-30  Christian Dywan  <christian@imendio.com>
      
      	Bug 539263 – Deprecate gdk_window_get_toplevels
      
      	* gdk/gdkwindow.c:
      	* gdk/gdkwindow.h: Deprecate gdk_window_get_toplevels
      
      svn path=/trunk/; revision=21831
      c8392add
  16. 12 Nov, 2008 2 commits
    • Richard Hult's avatar
      Bug 550942 – [patch] Rework of gdkeventloop-quartz.c · b81b9094
      Richard Hult authored
      2008-11-12  Richard Hult  <richard@imendio.com>
      
      	Bug 550942 – [patch] Rework of gdkeventloop-quartz.c
      
      	* gdk/gdk.c:
      	* gdk/gdkinternals.h: Add eventloop debug facility.
      	* gdk/quartz/gdkeventloop-quartz.c: Big rework of the quartz
      	mainloop integration, patch from Owen Taylor. See bug #550942 for
      	the details.
      
      svn path=/trunk/; revision=21783
      b81b9094
    • Richard Hult's avatar
      Bug 558586 – handling of keyboard under darwin (quartz) · 2c3590b4
      Richard Hult authored
      2008-11-12  Richard Hult  <richard@imendio.com>
      
      	Bug 558586 – handling of keyboard under darwin (quartz)
      
      	* gdk/quartz/gdkkeys-quartz.c: Follow up on this bug, only use the
      	new API when building on 64-bit, since there are still old non-xml
      	layouts used out there we don't want to break them. (For 64-bit
      	those layouts doesn't work so we don't have a choice there.)
      
      svn path=/trunk/; revision=21782
      2c3590b4
  17. 06 Nov, 2008 1 commit
    • Richard Hult's avatar
      Bug 558586 – handling of keyboard under darwin (quartz) · a4088461
      Richard Hult authored
      2008-11-06  Richard Hult  <richard@imendio.com>
      
      	Bug 558586 – handling of keyboard under darwin (quartz)
      
      	* gdk/quartz/gdkkeys-quartz.c: (maybe_update_keymap): Patch from
      	Arnaud Charlet to replace use of deprecated keyboard layout API
      	with the new TIS API available in 10.5. The old code is still used
      	when building for 10.4.
      
      svn path=/trunk/; revision=21763
      a4088461
  18. 05 Nov, 2008 2 commits
    • Richard Hult's avatar
      Revert (at least for now) the alt/cmd switching since it breaks the · 31357d3c
      Richard Hult authored
      2008-11-05  Richard Hult  <richard@imendio.com>
      
      	* gdk/quartz/gdkevents-quartz.c:
      	(get_keyboard_modifiers_from_ns_event), (create_key_event): Revert
      	(at least for now) the alt/cmd switching since it breaks the
      	"alt-gr" functionality of alt which makes it impossible to input
      	lots of characters.
      
      svn path=/trunk/; revision=21761
      31357d3c
    • Richard Hult's avatar
      Set the fill color outside the loop. · a641e8fb
      Richard Hult authored
      2008-11-05  Richard Hult  <richard@imendio.com>
      
      	* gdk/quartz/gdkwindow-quartz.c:
      	(gdk_window_impl_quartz_begin_paint_region): Set the fill color
      	outside the loop.
      
      svn path=/trunk/; revision=21759
      a641e8fb
  19. 03 Nov, 2008 1 commit
    • Tor Lillqvist's avatar
      Bug 557212 - Problem with which window gains focus and is visible · 74aeac9e
      Tor Lillqvist authored
      2008-11-04  Tor Lillqvist  <tml@novell.com>
      
      	Bug 557212 - Problem with which window gains focus and is visible
      
      	* gdk/win32/gdkevents-win32.c (ensure_stacking_on_activate_app):
      	Only do the restacking for the active window of the
      	application. Seems to fix the problem.
      
      	(gdk_event_translate): Only call ensure_stacking_on_activate_app()
      	when the application is being activated, not deactivated.
      
      
      svn path=/trunk/; revision=21756
      74aeac9e
  20. 01 Nov, 2008 1 commit
    • Tor Lillqvist's avatar
      Bug 558278 - Crash when calling a callback set by · c2129d07
      Tor Lillqvist authored
      2008-11-01  Tor Lillqvist  <tml@novell.com>
      
      	Bug 558278 - Crash when calling a callback set by
      	gdk_add_client_message_filter()
      
      	* gdk/win32/gdkevents-win32.c (apply_event_filters): Rename from
      	apply_filters() so that it is clear that this function is for
      	GdkEventFilters only.
      
      	(print_event): Print more information for GDK_CLIENT_EVENT events.
      
      	(gdk_event_translate): When handling client filters, don't use
      	apply_event_filters(). Use similar code as in the X11 backend,
      	although not exactly, as the parameter list and return value
      	semantics of gdk_event_translate() is different.
      
      
      svn path=/trunk/; revision=21748
      c2129d07
  21. 29 Oct, 2008 1 commit
  22. 28 Oct, 2008 1 commit
    • Michael Natterer's avatar
      fix small typo. · 1e28e51c
      Michael Natterer authored
      2008-10-28  Michael Natterer  <mitch@imendio.com>
      
      	* gdk/keyname-table.h: fix small typo.
      
      
      svn path=/trunk/; revision=21724
      1e28e51c
  23. 27 Oct, 2008 2 commits
  24. 22 Oct, 2008 1 commit
  25. 21 Oct, 2008 3 commits
    • Michael Natterer's avatar
      gdk/gdkdraw.c gdk/gdkimage.c gdk/gdkscreen.c replace assertions for obj != · 6df89b0a
      Michael Natterer authored
      2008-10-21  Michael Natterer  <mitch@imendio.com>
      
      	* gdk/gdkdraw.c
      	* gdk/gdkimage.c
      	* gdk/gdkscreen.c
      	* gdk/gdkwindow.c: replace assertions for obj != NULL by
      	GDK_IS_OBJ(), remove redundant != NULL checks when there is
      	already a type check, add some g_return_if_fail() that were
      	missing entirely, fix some broken indentation and spacing.
      
      
      svn path=/trunk/; revision=21695
      6df89b0a
    • Tor Lillqvist's avatar
      Bug 557266 - Window Management Problem · c103cbec
      Tor Lillqvist authored
      2008-10-21  Tor Lillqvist  <tml@novell.com>
      
      	Bug 557266 - Window Management Problem
      
      	Also reported in mail to gtk-list, and of course it has been well
      	known in general that window state management is messy and buggy
      	in various ways in gdk/win32.
      
      	* gdk/win32/gdkwindow-win32.c (show_window_internal): Correct
      	handling of GDK_WINDOW_STATE_ABOVE windows. It doesn't work to set
      	the WS_EX_TOPMOST extended style bit using SetWindowLong(). We
      	must call SetWindowPos() on the window using HWND_TOPMOST
      	instead. The description for WS_EX_TOPMOST in the documentation
      	for CreateWindowEx() even implies that if you read it carefully.
      
      
      svn path=/trunk/; revision=21694
      c103cbec
    • Michael Natterer's avatar
      reorder functions to be in standard order, add prototypes and namespace to · def00e88
      Michael Natterer authored
      2008-10-21  Michael Natterer  <mitch@imendio.com>
      
      	* gdk/gdkapplaunchcontext.c: reorder functions to be in standard
      	order, add prototypes and namespace to static functions, add
      	g_return_if_fail()s which were missing all over the place.
      
      
      svn path=/trunk/; revision=21692
      def00e88
  26. 17 Oct, 2008 1 commit
    • Tor Lillqvist's avatar
      On WM_WINDOWPOSCHANGING, don't dereference windowpos in the debugging · a7dd7474
      Tor Lillqvist authored
      2008-10-18  Tor Lillqvist  <tml@novell.com>
      
      	* gdk/win32/gdkevents-win32.c (gdk_event_translate): On
      	WM_WINDOWPOSCHANGING, don't dereference windowpos in the debugging
      	output without setting it first.
      
      2008-10-18  Tor Lillqvist  <tml@novell.com>
      
      	Bug 556578 - GIMP windows stay on top of other windows
      
      	* gdk/win32/gdkevents-win32.c (ensure_stacking_on_unminimize)
      	(ensure_stacking_on_window_pos_changing)
      	(ensure_stacking_on_activate_app): Ignore unmapped windows in the
      	loops where we look for the lowest "transient-type" window.
      
      	(gdk_event_translate): Don't call
      	ensure_stacking_on_window_pos_changing() or
      	ensure_stacking_on_activate_app() for unmapped windows.
      
      
      svn path=/trunk/; revision=21676
      a7dd7474
  27. 15 Oct, 2008 1 commit
  28. 10 Oct, 2008 1 commit
    • Richard Hult's avatar
      Add empty stub to fix linking. · 4dbea21c
      Richard Hult authored
      2008-10-10  Richard Hult  <richard@imendio.com>
      
      	* gdk/quartz/gdkkeys-quartz.c: (gdk_keymap_get_caps_lock_state)
      	Add empty stub to fix linking.
      
      svn path=/trunk/; revision=21629
      4dbea21c