Re: _net_wm_state_fullscreen
- From: Lubos Lunak <l lunak suse cz>
- To: wm-spec-list gnome org
- Subject: Re: _net_wm_state_fullscreen
- Date: Wed, 19 Mar 2003 09:35:06 +0100
On Wednesday 19 of March 2003 00:43, Havoc Pennington wrote:
> On Tue, Mar 18, 2003 at 11:57:46PM +0100, Iban wrote:
[snip]
> > - Gerd Knorr already ask for this one, and the answer seems obscure to
> > me: when an application wants to change the screen resolution we have two
> > solutions (as far as I understood the thread): VidMode and Xrandr. But it
> > does not tell me what I have to do ? (except that if everyone use Xrandr
> > I should do the expected work, because the sizes of the root window has
> > changed)
>
> For Xrandr you should clearly resize all fullscreen windows to
> the new root window size.
IMHO using Xrandr for screen resizing isn't a very good way of doing it.
Video players sometimes resize to quite small video sizes, and since other
apps react on root window size changes too, which could lead to such
unpleasant effects like desktop icons stacked in the upper left corner.
> For VidMode, it probably makes sense to make
> them track the monitor viewport.
Has some WM actually already some support for this? Given that '/* The
XF86VIDMODE_EVENTS code is far from complete */' (xc/programs/Xserver/Xext),
I don't see any way how the WM could detect vidmode changes - is there any?
There's nothing about it in the docs.
> For Xinerama, you should fullscreen
> to only one Xinerama head.
>
> i.e. the short answer is "do your very best to make the window exactly
> match the size of the monitor"
--
Lubos Lunak
KDE developer
---------------------------------------------------------------------
SuSE CR, s.r.o. e-mail: l lunak suse cz , l lunak kde org
Drahobejlova 27 tel: +420 2 9654 2373
190 00 Praha 9 fax: +420 2 9654 2374
Czech Republic http://www.suse.cz/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]