[Bug 38009] New: winex11.drv does not set NET_WM_STATE_FULLSCREEN if the display mode was changed
https://bugs.winehq.org/show_bug.cgi?id=38009 Bug ID: 38009 Summary: winex11.drv does not set NET_WM_STATE_FULLSCREEN if the display mode was changed Product: Wine Version: 1.7.35 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: winex11.drv Assignee: wine-bugs(a)winehq.org Reporter: stefan(a)codeweavers.com Distribution: --- Winex11.drv only sets NET_WM_STATE_FULLSCREEN on a fullscreen game window if the game uses the monitor resolution that was set when winex11.drv was loaded. The cause of this is that is_window_rect_fullscreen compares the window rectangle against the monitor size reported by Xinerama when winex11.drv was loaded. This appears to trigger bugs inside Metacity clones and Compiz when creating a window at a lower resolution. It also breaks the fix that was proposed by a Marco developer to fix the bug that currently prevents fullscreen windows from being iconified. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38009 Ken Thomases <ken(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ken(a)codeweavers.com --- Comment #1 from Ken Thomases <ken(a)codeweavers.com> ---
... when the display mode was changed
Changed by whom? By Wine or externally? I'm pretty sure that when Wine changes the display mode, it changes the recorded size of the primary monitor. xrandr*_set_current_mode() -> X11DRV_resize_desktop() -> xinerama_init() -> query_screens() -> sets rcMonitor, which is what is_window_rect_fullscreen() compares against. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38009 --- Comment #2 from Stefan Dösinger <stefan(a)codeweavers.com> --- By Wine, called by the application I didn't spot that codepath, I came to the conclusion that xinerama_init was only called on driver load. I'll have a look. This problem happens on the Nvidia driver (with the Xrandr 1.1 fallback) and open source drivers (with newer xrandr) fwiw. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38009 --- Comment #3 from Stefan Dösinger <stefan(a)codeweavers.com> --- It seems that the Xinerama info is updated, but only in the process that changes the display settings. I'll have to do more testing and see if the problem is specific to Warcraft 3, which happened to be my test application. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38009 Stefan Dösinger <stefandoesinger(a)gmx.at> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |stefandoesinger(a)gmx.at -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38009 joaopa <jeremielapuree(a)yahoo.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree(a)yahoo.fr --- Comment #4 from joaopa <jeremielapuree(a)yahoo.fr> --- Still a bug in current wine? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38009 zzzzzyzz(a)hacari.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zzzzzyzz(a)hacari.org -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org