gdk/quartz: add some additional GDK_NOTE debugging
This commit is contained in:
@@ -612,6 +612,8 @@
|
||||
private = GDK_WINDOW_OBJECT (gdk_window);
|
||||
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)
|
||||
impl->needs_display_region = gdk_region_rectangle (&r);
|
||||
else
|
||||
@@ -648,6 +650,8 @@
|
||||
private = GDK_WINDOW_OBJECT (gdk_window);
|
||||
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)
|
||||
impl->needs_display_region = gdk_region_rectangle (&r);
|
||||
else
|
||||
@@ -766,6 +770,8 @@
|
||||
GdkWindowImplQuartz *impl;
|
||||
GdkRectangle r;
|
||||
|
||||
GDK_NOTE (EVENTS, g_print ("reshape\n"));
|
||||
|
||||
[super reshape];
|
||||
|
||||
NSRect bounds = [self bounds];
|
||||
|
||||
Reference in New Issue
Block a user