http://bugs.winehq.org/show_bug.cgi?id=1798
------- Additional Comments From bero@arklinux.org 2007-05-05 17:51 ------- The later check for a fullscreen window fails because rect.right == screen_width, but rect.left == -1 and rect.bottom == screen_height, but rect.top == -1.
Maybe the check should be
if ((rect.right - rect.left) >= screen_width && (rect.bottom - rect.top) >= screen_height)
instead of
if ((rect.right - rect.left) == screen_width && (rect.bottom - rect.top) == screen_height)
?
When "fixed" like this, keyboard focus etc. are ok, but the window decorations are drawn (incorrectly, the app should be fullscreen without any frames) and kicker (KDE panel) is shown on top of the app.
The variant using "32" in the Windoze code works correctly.