Follow-up Comment #5, bug #16440 (project gnustep): You are correct that GNUstep uses this method for both cases, when the window is already mapped and when it isn't. In the later case your code wont help anything, in the former it would improve the estimated result for the frame. In that case the parent_offset could also be set to something usable already, but this value may be wrong. (We should keep that values on a per window base, not just once)
The handling of _NET_REQUEST_FRAME_EXTENTS will be the only way to have the unmapped case treated correctly. That's why I asked for that. In the meantime your patch is surely an improvment. Perhaps we could get the code in the window decorationview classed to hand on the window ID as well, when asking for the offset. At least in the cases, where the window already exists. I also noted that the method to convert o xhints in the backend is rather strange. Here we always convert an xframe to an OS frame and then the later to X hints. Why not convert the xframe to x hints directly. I will apply your patch for now and hope for follow ups. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=16440> _______________________________________________ Nachricht geschickt von/durch Savannah http://savannah.gnu.org/ _______________________________________________ Bug-gnustep mailing list Bug-gnustep@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnustep