[Gambas-user] Test Screen.Available values

Mayost Sharon sharon at 455.co.il
Wed May 17 10:34:19 CEST 2023


Hello

For me it's the pig
so:
_NET_WORKAREA(CARDINAL) = 0, 32, 1920, 1048, 0, 32, 1920, 1048, 0, 32, 1920, 1048, 0, 32, 1920, 1048

Is it because I have 3 desktops?

---------- Original Message -----------
From: Bruce Steers <bsteers4 at gmail.com>
To: Gambas Mailing List <user at lists.gambas-basic.org>
Sent: Wed, 17 May 2023 08:24:31 +0100
Subject: Re: [Gambas-user] Test Screen.Available values

> On Tue, 16 May 2023 at 19:16, Benoit Minisini <
> benoit.minisini at gambas-basic.org> wrote:
> 
> > Le 16/05/2023 à 19:57, Bruce Steers a écrit :
> > >
> > >
> > > Thank you Bruce, Benoit, Mayost
> > > So i guess with all that the best way to add / use a feature like this
> > > would be to just add a disclaimer that it may or may not work depending
> > > on the system.
> > >
> > > Respects
> > > BruceS
> > >
> >
> > As explained in the Qt comment, you can use the 'xprop' command-line
> > tool to read the X11 properties of the root window and look if there is
> > a '_NET_WORKAREA' property and show us what it contains.
> >
> > --
> > Benoît Minisini.
> >
> mine is this...
> 
> $ xprop -root _NET_WORKAREA
> _NET_WORKAREA(CARDINAL) = 0, 25, 2646, 999
> 
> And that's annoying as that is the entire screen (both monitors) but
> there's only panels on one :-\
> 
> Respects
> BruceS
------- End of Original Message -------



More information about the User mailing list