Re: _net_wm_state_fullscreen



On Wed, Mar 19, 2003 at 09:35:06AM +0100, Lubos Lunak wrote:
> On Wednesday 19 of March 2003 00:43, Havoc Pennington wrote:
> > On Tue, Mar 18, 2003 at 11:57:46PM +0100, Iban wrote:
> > >   - 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.

Not sure we're talking about the same thing - I'm just saying if an
Xrandr resize occurs, the fullscreen windows should be snapped to the
new screen size.

I think you're saying that media players should not use Xrandr to
change the screen size, and I think I agree with that.

> > 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.

I haven't investigated yet, we just discussed it some earlier.  If
vidmode doesn't send events for this case, then it just sucks, and
should be fixed. ;-) However I got the impression it did from the
earlier conversation.

Havoc



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