Roman Kennke wrote:
Hi,
This patch changes the GTK peers, so that they can be compiled and used
on systems without X, for example on GTK for embedded or Windows
systems. [...]
- The code for fetching the frame extents now uses the (new?) GDK
function gdk_window_get_frame_extents() rather than pulling the frame
extents using the extended window property _NET_FRAME_EXTENTS.
This will result in the wrong insets being calculated upon window realization,
since gdk_window_get_frame_extents relies on the window being mapped. For now
you can ifdef this code based on the presence or absence of X. Ideally though,
_NET_FRAME_EXTENTS support would be added to the X11 implementation of
gdk_window_get_frame_extents.
Tom