--- libgimpwidgets/gimppickbutton-quartz.c.orig	2018-03-26 14:43:59.000000000 -0700
+++ libgimpwidgets/gimppickbutton-quartz.c	2018-05-13 10:08:24.000000000 -0700
@@ -39,6 +39,10 @@
 {
   GimpPickButton *button;
   NSMutableArray *windows;
+#ifndef __LP64__
+  BOOL firstBecameKey;
+  NSCursor *cursor;
+#endif
 }
 
 @property (nonatomic, assign) BOOL firstBecameKey;
@@ -53,6 +57,9 @@
 {
   GimpPickButton *button;
   GimpPickWindowController *controller;
+#ifndef __LP64__
+  NSTrackingArea *area;
+#endif
 }
 
 @property (readonly,assign) NSTrackingArea *area;
@@ -177,7 +184,7 @@
   rect = [self.window convertRectToScreen:rect];
   rect.origin.y = [[[NSScreen screens] objectAtIndex:0] frame].size.height - rect.origin.y;
 
-  root_image_ref = CGWindowListCreateImage (rect,
+  root_image_ref = CGWindowListCreateImage (NSRectToCGRect(rect),
                                             kCGWindowListOptionOnScreenOnly,
                                             kCGNullWindowID,
                                             kCGWindowImageDefault);