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

-----Original Message-----
>From: Richard Hult <richard imendio com>
>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).

Well, according to the docs in the x11 behavior isn't desireable.  I changed our code (ardour) to use Drawable::get_size() as suggested, so this issue is kinda moot for me now.

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


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