Summary: | NEWT/X11 Fullscreen: _NET_WM_STATE_FULLSCREEN may result in ConfigureNotify event w/ virtual screen size, instead of monitor-mode size (NV + Fglrx) | ||
---|---|---|---|
Product: | [JogAmp] Newt | Reporter: | Sven Gothel <sgothel> |
Component: | x11 | Assignee: | Sven Gothel <sgothel> |
Status: | RESOLVED FIXED | ||
Severity: | major | ||
Priority: | --- | ||
Version: | 1 | ||
Hardware: | All | ||
OS: | linux | ||
Type: | --- | SCM Refs: |
205a17de1abec614d3d06386f873170fc1691e86
fa6e868a72b8fb3de8c96afbd71ab4d3ad33f6b6
|
Workaround: | --- | ||
Bug Depends on: | |||
Bug Blocks: | 771 | ||
Attachments: | attach |
Description
Sven Gothel
2013-06-30 17:14:09 CEST
Further more .. to deal w/ an occupying task bar etc, i.e. to be above other WM elements, we would need to utilize _NET_WM_STATE_FLAG_ABOVE since _NET_WM_STATE_FULLSCREEN is gone. Since _NET_WM_STATE_FLAG_ABOVE would not allow to utilize TAB-Switch to another application, we shall only enable it temporarely during fullscreen if not already requested by the NEWT window! Note: The TAB-Switch will revoke the focus of our windows, only to be returned if selected again. Hence we need to break this temporary state if the window loses the focus or ends fullscreen mode. We may renable it while still in fullscreen mode and regaining the focus. (In reply to comment #1) > Further more .. to deal w/ an occupying task bar etc, i.e. to be above > other WM elements, > we would need to utilize _NET_WM_STATE_FLAG_ABOVE since > _NET_WM_STATE_FULLSCREEN > is gone. > Temporary claim of _NET_WM_STATE_FLAG_ABOVE will allow us to claim _NET_WM_BYPASS_COMPOSITOR as well ..! fixed .. following description and comments, see commit 205a17de1abec614d3d06386f873170fc1691e86. Only use FLAG_IS_FULLSCREEN_SPAN if required; At MonitoMode change, reset fullscreen if FLAG_IS_FULLSCREEN_SPAN is supported. - Bug 770: Only use FLAG_IS_FULLSCREEN_SPAN if required - If X11 WindowDriver _and_ virtual-screen-size > fullscreenViewport, - else we still use _NET_WM_STATE_FULLSCREEN on X11! - Bug 771: At MonitoMode change, reset fullscreen if FLAG_IS_FULLSCREEN_SPAN is supported - Since we may still use _NET_WM_STATE_FULLSCREEN on X11: - Pause fullscreen at monitorModeChangeNotify(..) - Resume fullscreen at monitorModeChanged(..) Created attachment 697 [details]
attach
|