Re: Lots of _NET_WM_STATE_FULLSCREEN issues ...



 --- Havoc Pennington <hp redhat com> a écrit : > On
Thu, May 22, 2003 at 03:26:48PM -0400, Ben
> Jansens wrote: 
> > Have you found a way to get the VidMode changes?
> The API appears to provide
> > no mechanism for listening for these.
> 
> Yes, I just discovered this last week. I had to read
> X server source
> code to satisfy myself that at no point does it send
> an event when you
> change the vidmode. ;-) At least I couldn't find it.
> 
> We could enhance the extension to send events here
> (it's screwy even
> without involving the WM - e.g. I can confuse the
> heck out of apps
> that rely on the vidmode by playing with
> Ctrl+Alt+-/+)
> 
> Alternatively or in addition, we could specify a
> client message when
> an app updates the vidmode, or some hack like that.

What about if we decide to say something like:
when receiving a wm_state_fullscreen client message
the wm is responsible for:
If the vidmod extension is present:
 - get the current modline (XF86VidModeGetModeLine)
 - get viewport position (XF86VidModeGetViewPort)
"the application should feet the entire screen" means 
it should have the sizes of the current modline and be
place according to the viewport position.

Otherwise, the screen sizes and 0 0 will be used.

Thoughts ?

Regards,
Iban.

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



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