Re: struts, workareas and xinerama
- From: Bradley T Hughes <bhughes trolltech com>
- To: wm-spec-list gnome org
- Subject: Re: struts, workareas and xinerama
- Date: Wed, 13 Jun 2007 07:08:36 +0200
On Wednesday 13 June 2007 01:53:17 Dana Jansens wrote:
> My proposal is to add another level of array to the _NET_WORKAREA hint.
>
> _NET_WORKAREA, x, y, width, height CARDINAL[][][4]/32
>
> So that it is an array of desktops, with x,y,width,height, which can
> appear any number of times. I'm not sure what's a good way of wording
> that.
>
> So, for the example with 2 similar desktops, it could be:
> [0, 0, 7, 5, 0, 0, 7, 5, 7, 2, 4, 4, 7, 2, 4, 4]
>
> Meaning first desktop-first monitor is 0, 0, 7x5
> second desktop-first monitor is 0, 0, 7x5
> first desktop-second monitor is 7, 2, 4x4
> second desktop-second monitor is 7, 2, 4x4
>
> This has the property of being backwards compatible with previous
> versions of the specification. An application can read only the first
> n (number of desktops) dimensions and ignore the remainder, and it
> will not end up putting icons in nowhereland.
Sounds like a good idea to me, you've got my vote :)
--
Bradley T. Hughes - bhughes at trolltech.com
Trolltech ASA - Sandakervn. 116, P.O. Box 4332 Nydalen, 0402 Oslo, Norway
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]