Re: _NET_FRAME_EXTENTS and window borders



On Mittwoch, 26. August 2015 20:17:07 CEST, Uli Schlachter wrote:
  https://github.com/awesomeWM/awesome/issues/425
...
For a concrete example, let's assume a client window of size WxH. The WM
reparents this window into a window of the same size and sets the border width of the frame window to 10. Should _NET_FRAME_EXTENTS be set to "0,0,0,0" or to
"10,10,10,10"?

"10,10,10,10"
The property exists so the client can pre-know (before even being reparented) the margins the WM will add (to 
restore a former position/geometry) - it obviously doesn't matter whether those margins are an offset in the 
reparented window tree or the deco windows border.


Also, does it make sense to clarify this in the spec
Looks (surprisingly) not ambigious to me, but one may add a non-complete list of things (stating that it's 
incomplete, for otherwise somebody may not add extents from double reparenting or count things twice etcetc.)


Cheers,
Thomas


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]