| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
| :list-unsubscribe:list-subscribe:list-archive:list-post | |
| :list-help:sender:subject:to:references:from:message-id:date | |
| :mime-version:in-reply-to:content-type | |
| :content-transfer-encoding; q=dns; s=default; b=IeYLUh8v2CmfQ2X6 | |
| c1IC3I7IPwnBG3lNqvnEXNx0tylc6areDJuculTCvuFifteSHbt6BupAQ4DKSsFa | |
| dw8qFMueDldpvsq6ixu4SKCiwzoeHIOYJAv9Fw2fuzj28Oim2hxLqiXLBHgiKedA | |
| x9a/FUNgKHYx2Bciapk5mXWwZa8= | |
| DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
| :list-unsubscribe:list-subscribe:list-archive:list-post | |
| :list-help:sender:subject:to:references:from:message-id:date | |
| :mime-version:in-reply-to:content-type | |
| :content-transfer-encoding; s=default; bh=9vQLS6+SkNdzsuG1n1TZhu | |
| 8FHIQ=; b=vSC8t5SfoXa351XcWYHJmaIJnNVDVksCuArlozXboz4mfvS5wcVNjj | |
| 4aWFyjNGeC0O+ef/OUd7C5tPDwovPabVyadDJ5iwcDA2Uq2GDKGmsj2tD2OBC23l | |
| yVQBFlTO3oYc3IzyFa/3PuFZFJF1TbnHj9v+ZhAZqJvVwHeYPUatI= | |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Authentication-Results: | sourceware.org; auth=none |
| X-Virus-Found: | No |
| X-Spam-SWARE-Status: | No, score=-2.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 spammy=Hx-languages-length:1616, spare, overcome, Fullscreen |
| X-HELO: | out5-smtp.messagingengine.com |
| X-ME-Sender: | <xms:TRZAWGr_L-jUOrhZNBZNVrVsi5Ig-0YDNoFq5mXxULjScOX7wiVmsg> |
| Subject: | Re: Fullscreen application with Cygwin/X in multiwindow mode |
| To: | cygwin AT cygwin DOT com, David Chamberlain <dc46and2 AT gmail DOT com> |
| References: | <CAHvVhSvJVtmNXQLxKNvhWUxH6MzCeaq-ZchCR9hcHk54yRDx3w AT mail DOT gmail DOT com> <9494ede9-ec64-bb79-8f8f-9bfb37c12f3b AT dronecode DOT org DOT uk> <CAHvVhSsKLVVZZ7W6wES6btb9oad4ixxQqBAR6xXisLVtmsKgyQ AT mail DOT gmail DOT com> <1265548510 DOT 20161129143736 AT yandex DOT ru> |
| From: | Jon Turney <jon DOT turney AT dronecode DOT org DOT uk> |
| Message-ID: | <b133f87a-3c84-9085-03cd-926ae0dcb1f6@dronecode.org.uk> |
| Date: | Thu, 1 Dec 2016 12:23:38 +0000 |
| User-Agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.0 |
| MIME-Version: | 1.0 |
| In-Reply-To: | <1265548510.20161129143736@yandex.ru> |
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. [1],[2] 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 [3]) [1] https://x.cygwin.com/docs/cg/cygwin-x-cg.html [2] https://specifications.freedesktop.org/wm-spec/wm-spec-latest.html [3] https://cgit.freedesktop.org/~jturney/xserver/commit/?h=cygwin-release-1.19&id=55c2ca8cd9287850077102d4ba662cfd2c571ca9 > 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 FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |