[Vm-dev] Re: platforms/unix/vm-display-X11.c revision 3499 breaks use of fullscreen on Pi

Nicolai Hess nicolaihess at gmail.com
Fri Dec 18 18:44:08 UTC 2015


2015-12-17 10:16 GMT+01:00 Nicolai Hess <nicolaihess at gmail.com>:

>
>
> 2015-12-17 2:43 GMT+01:00 David T. Lewis <lewis at mail.msen.com>:
>
>>
>> On Wed, Dec 16, 2015 at 05:28:12PM -0800, tim Rowledge wrote:
>> >
>> >
>> > > On 16-12-2015, at 5:20 PM, David T. Lewis <lewis at mail.msen.com>
>> wrote:
>> > >
>> > > So what window manager is rasbian using?
>> >
>> > I believe it is called LXDE, which probably means little more you you
>> than it does me. More than anything it reads like the model badge on a
>> 70???s Japanese car.
>> >
>> > > Does it work properly when you
>> > > run the VM with -fullscreenDirect on the command line?
>> >
>> > It does. If we really need to I can add that flag to the startup script
>> > but I can???t help thinking there is a a better way out there somewhere.
>> >
>>
>> Well, according to the internet, which knows a lot more about this topic
>> than I ever will, LXDE is a "Lightweight X11 Desktop Environment". And the
>> buggy window manager from the <vendor name deleted> extremely popular
>> Linux distribution is a feature rich, modern, and all around annoying
>> improvement over simple implementations such as LXDE.
>>
>> So it actually makes perfect sense that LXDE might be a very simple window
>> manager that does not understand all the fancy bells and whistles that
>> have been added over the years, such as the _NET_WM_STATE_FULLSCREEN
>> window manager hint.
>>
>> I think that adding the -fullscreenDirect flag when running under LXDE
>> is probably the right thing to do.
>>
>> Dave
>>
>>
> I was pretty sure I tested this with an LXLE Distribution and this uses
> LXDE.
> I will check it again.
>

actually, lxde does supprt _NET_WM_STATE_FULLSCREEN
and changing
 XSendEvent(stDisplay, DefaultRootWindow(stDisplay), False,
SubstructureNotifyMask, &xev);
to
 XSendEvent(stDisplay, DefaultRootWindow(stDisplay), False,
SubstructureRedirectMask | SubstructureNotifyMask, &xev);

makes fullscreen switching working with LXDE (and twm!).





>
> nicolai
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20151218/e28213b6/attachment.htm


More information about the Vm-dev mailing list