Re: implementation for gdk_window_get_geometry() in gdk-quartz.

Taybin Rutkin skrev:
This is an implementation I came up with for gdk_window_get_geometry() in gdkwindow-quartz.c:

Hi, and thanks :)

This looks like a good start. I wonder if we perhaps should try to mimic the X11 backend more closely and get the geometry from the NSWindow instead of using get_position/get_size that use the latest cached value? I think that you also need to check for a destroyed window (and perhaps special-case the root window).

You could create a bug in bugzilla and attach the patch there, it's easier to track it that way.


Imendio AB,

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]