gdk/quartz: add some additional GDK_NOTE debugging
This commit is contained in:
parent
bd4d6b4cba
commit
7324070628
@ -612,6 +612,8 @@
|
|||||||
private = GDK_WINDOW_OBJECT (gdk_window);
|
private = GDK_WINDOW_OBJECT (gdk_window);
|
||||||
impl = GDK_WINDOW_IMPL_QUARTZ (private->impl);
|
impl = GDK_WINDOW_IMPL_QUARTZ (private->impl);
|
||||||
|
|
||||||
|
GDK_NOTE (EVENTS, g_print ("setNeedsDisplay, current NDR %p\n", impl->needs_display_region));
|
||||||
|
|
||||||
if (!impl->needs_display_region)
|
if (!impl->needs_display_region)
|
||||||
impl->needs_display_region = gdk_region_rectangle (&r);
|
impl->needs_display_region = gdk_region_rectangle (&r);
|
||||||
else
|
else
|
||||||
@ -648,6 +650,8 @@
|
|||||||
private = GDK_WINDOW_OBJECT (gdk_window);
|
private = GDK_WINDOW_OBJECT (gdk_window);
|
||||||
impl = GDK_WINDOW_IMPL_QUARTZ (private->impl);
|
impl = GDK_WINDOW_IMPL_QUARTZ (private->impl);
|
||||||
|
|
||||||
|
GDK_NOTE (EVENTS, g_print ("setNeedsDisplayInRect, current NDR %p\n", impl->needs_display_region));
|
||||||
|
|
||||||
if (!impl->needs_display_region)
|
if (!impl->needs_display_region)
|
||||||
impl->needs_display_region = gdk_region_rectangle (&r);
|
impl->needs_display_region = gdk_region_rectangle (&r);
|
||||||
else
|
else
|
||||||
@ -766,6 +770,8 @@
|
|||||||
GdkWindowImplQuartz *impl;
|
GdkWindowImplQuartz *impl;
|
||||||
GdkRectangle r;
|
GdkRectangle r;
|
||||||
|
|
||||||
|
GDK_NOTE (EVENTS, g_print ("reshape\n"));
|
||||||
|
|
||||||
[super reshape];
|
[super reshape];
|
||||||
|
|
||||||
NSRect bounds = [self bounds];
|
NSRect bounds = [self bounds];
|
||||||
|
Loading…
Reference in New Issue
Block a user