[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #16440] GNUstep should support _NET_REQUEST_FRAME_EXTENTS and _NET_
From: |
Fred Kiefer |
Subject: |
[bug #16440] GNUstep should support _NET_REQUEST_FRAME_EXTENTS and _NET_FRAME_EXTENTS |
Date: |
Wed, 3 May 2006 22:29:54 +0000 |
User-agent: |
Mozilla/5.0 (compatible; Konqueror/3.4; Linux) KHTML/3.4.2 (like Gecko) |
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/