Alexander Malmberg wrote:
<snip>

I tried this patch and found that the windows of GNUstep apps appear slightly higher
than before. I have little time to track it down now, so I don't know the reason
exactly.


Skimming the patch, I feel it should use XQeuryTree() and XGetGeometry() before

+                 int root_x, root_y;
+                 Window root_child;
+                 XTranslateCoordinates(dpy, xEvent.xconfigure.window,
+                                       RootWindow(dpy, cWin->screen),
+                                       0, 0,
+                                       &root_x, &root_y,
+                                       &root_child);
+                 x.origin.x = root_x;
+                 x.origin.y = root_y;

to get the window of the parent and its coordinates, and pass them to
XTranslateCoordinates() if it does need them, not the ones of the root
window.

- Kazunobu Kuriyama



_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to