Re: Proposing _NET_WM_STATE_FULLSCREEN_EXCLUSIVE



On Fri, 26 Oct 2012 10:12:32 -0700 Bryce Harrington <bryce canonical com> said:

> On Tue, Oct 23, 2012 at 04:26:20PM -0400, Ryan C. Gordon wrote:
> > _NET_WM_STATE_FULLSCREEN_EXCLUSIVE indicates that the Window Manager
> > MUST change the resolution of the window's screen to one that most
> > closely matches the window's current dimensions. If no available
> > resolution matches exactly, the Window Manager MUST select the
> > closest available resolution larger than the window. The Window
> > Manager MUST center the window within the new resolution, remove any
> > window decorations, retain its original geometry, and grant that
> > window input focus. If the chosen resolution does not match the
> > window geometry, the Window Manager MUST obscure the rest of the
> > screen so that the window is the only thing visible. If there is no
> > resolution that can completely contain the window's undecorated
> > geometry, the Window Manager MUST refuse to allow this hint.
> 
> Should the window manager also constrain the pointer to the area inside
> the window, or is that the client window's responsibility?

no.... because it's not actually possible to confine the mouse without also
grabbing all mouse input for yourself (ie the wm not the app. app will get no
more mouse events until wm give up the grab).

> Regarding centering, in the case of a multiple monitor layout, say two
> 1920x1200 monitors providing 3840 x 1200 total screen size, if a game
> can run at 1920x1200 (but nothing larger), then shouldn't it occupy
> either the left or right monitor rather than be centered half on each?

ummm... i thnk you mis-interpreted it. it's clearly meaning its centered IN the
given screen (etiher left or right as the wm sees fit in your example).

> (Presumably it should be whichever screen the game was launched from?)
> Should this case be handled by turning off unneeded displays to reduce
> the desktop to 1920x1200, or by leaving the displays on but obscuring
> them?
> 
> Thanks,
> Bryce
> _______________________________________________
> wm-spec-list mailing list
> wm-spec-list gnome org
> https://mail.gnome.org/mailman/listinfo/wm-spec-list
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    raster rasterman com



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