[RFC] _NET_WORKAREA and Xinerama



Dear all,

Implementing both xinerama and wm-spec support for windowmaker, I found
that _NET_WORKAREA is almost impossible to implement since it assumes
the desktop is rectangular. Mine is not. Xinerama allows for 2 or more
screens of different sizes to be used, I for example run one at
2048x1536 and one at 1600x1200. _NET_WORKAREA is unable to communicate
this geometry.

I propose:

_NET_WORKAREA_XINERAMA
_NET_WORKAREA_XINERAMA, x, y, w, h CARDINAL [#desktops][#xineheads][4]/32

This propery SHOULD be set by the Window Manager if support for the XINERAMA
extension is provided. It is similar to _NET_WORKAREA, with the exception 
that a rectange is provided for each head.

To ensure backwards compatibility the Window Manager is allowed to provide 
both _NET_WORKAREA and _NET_WORKAREA_XINERAMA, if both are encountered 
applications SHOULD use the later.

-- 
Peter Zijlstra <a p zijlstra chello nl>




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