Commit b81b9094 authored by Richard Hult's avatar Richard Hult Committed by Richard Hult

Bug 550942 – [patch] Rework of gdkeventloop-quartz.c

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
parent 2c3590b4
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.
2008-11-12 Richard Hult <richard@imendio.com> 2008-11-12 Richard Hult <richard@imendio.com>
Bug 558586 – handling of keyboard under darwin (quartz) Bug 558586 – handling of keyboard under darwin (quartz)
......
...@@ -80,7 +80,8 @@ static const GDebugKey gdk_debug_keys[] = { ...@@ -80,7 +80,8 @@ static const GDebugKey gdk_debug_keys[] = {
{"cursor", GDK_DEBUG_CURSOR}, {"cursor", GDK_DEBUG_CURSOR},
{"multihead", GDK_DEBUG_MULTIHEAD}, {"multihead", GDK_DEBUG_MULTIHEAD},
{"xinerama", GDK_DEBUG_XINERAMA}, {"xinerama", GDK_DEBUG_XINERAMA},
{"draw", GDK_DEBUG_DRAW} {"draw", GDK_DEBUG_DRAW},
{"eventloop", GDK_DEBUG_EVENTLOOP}
}; };
static const int gdk_ndebug_keys = G_N_ELEMENTS (gdk_debug_keys); static const int gdk_ndebug_keys = G_N_ELEMENTS (gdk_debug_keys);
......
...@@ -85,7 +85,8 @@ typedef enum { ...@@ -85,7 +85,8 @@ typedef enum {
GDK_DEBUG_CURSOR = 1 <<11, GDK_DEBUG_CURSOR = 1 <<11,
GDK_DEBUG_MULTIHEAD = 1 <<12, GDK_DEBUG_MULTIHEAD = 1 <<12,
GDK_DEBUG_XINERAMA = 1 <<13, GDK_DEBUG_XINERAMA = 1 <<13,
GDK_DEBUG_DRAW = 1 <<14 GDK_DEBUG_DRAW = 1 <<14,
GDK_DEBUG_EVENTLOOP = 1 <<15
} GdkDebugFlag; } GdkDebugFlag;
#ifndef GDK_DISABLE_DEPRECATED #ifndef GDK_DISABLE_DEPRECATED
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment