From freedesktop-compiz Mon May 26 09:33:17 2008 From: Dennis Kasprzyk Date: Mon, 26 May 2008 09:33:17 +0000 To: freedesktop-compiz Subject: Re: [compiz] Message-Id: <200805261133.17480.onestone () opencompositing ! org> X-MARC-Message: https://marc.info/?l=freedesktop-compiz&m=121179620520241 Am Montag 26 Mai 2008 10:56:29 schrieb Karl H. Beckers: > Hi all, > > I'm trying to do some window positioning for a GTK window. I compute > positions based on current window sizes and that works well under > metacity using gdk_window_get_frame_extents. > > Under compiz positioning is all off, because that function yields > different results with windows decorations being the same (gnome window > decorator etc.). > > With mc I get a height of 67, with compiz of 43 which very much sounds > like the height without decorations. > > Is there a good reason for this to be like that? Should GDK be smarter, > or should GDK have to bother? Does compiz break a contract here? > > TIA, > > Karl. > This is a bug in GDK and the fixes are waiting for a review in their bugzilla. Dennis _______________________________________________ compiz mailing list compiz@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/compiz