This is the mail archive of the
mailing list for the Cygwin project.
Re: Fullscreen application with Cygwin/X in multiwindow mode
- From: Jon Turney <jon dot turney at dronecode dot org dot uk>
- To: cygwin at cygwin dot com, David Chamberlain <dc46and2 at gmail dot com>
- Date: Thu, 1 Dec 2016 12:23:38 +0000
- Subject: Re: Fullscreen application with Cygwin/X in multiwindow mode
- Authentication-results: sourceware.org; auth=none
- References: <CAHvVhSvJVtmNXQLxKNvhWUxH6MzCeaq-ZchCR9hcHk54yRDx3w@mail.gmail.com> <email@example.com> <CAHvVhSsKLVVZZ7W6wES6btb9oad4ixxQqBAR6xXisLVtmsKgyQ@mail.gmail.com> <firstname.lastname@example.org>
On 29/11/2016 11:37, Andrey Repin wrote:
But ideally this would be fixed by adding support for
_NET_WM_STATE_FULLSCREEN to the WM.
Any idea how much effort would be required to implement the fullscreen
support? Any major hurdles to overcome? It may be something I could
work on in my spare time.
Patches are always welcome.
I think this should be pretty straightforward to add, although it might
be a bit tedious.
, should help you get started :)
Looking at this in a little more detail, I wasn't quite accurate in my
statement above: There is very limited support for this state, in that
windows which are created with it are probably shown correctly.
I think what's needed is extend the handling of _NET_WM_STATE messages
so it can handle a window being changed to _NET_WM_STATE_FULLSCREEN. (At
the moment _NET_WM_STATE is, only handled when it can be mapped down to
an equivalent WM_CHANGE_STATE message, see )
Depends, what you mean by "fullscreen". All too often people say "fullscreen"
when in fact they mean "borderless windowed".
The difference is crucial.
For the latter, you don't do anything short of setting some additional flags
on your window and size it to display resolution.
In this context, _NET_WM_STATE_FULLSCREEN means 'borderless maximized'
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple