From: george82 Date: Mon, 5 Jun 2006 14:32:23 +0000 (+0000) Subject: Fixed the bug with overlapping the vncviwer window by X-Git-Tag: v0.0.90~384^2~249 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d8b01e4c390a0ec3cd71b696cee4c7dbe629cbb8;p=tigervnc.git Fixed the bug with overlapping the vncviwer window by the windows taskbar when the vncvewer is in full screen mode. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@634 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- diff --git a/win/vncviewer/DesktopWindow.cxx b/win/vncviewer/DesktopWindow.cxx index 55000252..fcf829f9 100644 --- a/win/vncviewer/DesktopWindow.cxx +++ b/win/vncviewer/DesktopWindow.cxx @@ -270,7 +270,7 @@ void DesktopWindow::setFullscreen(bool fs) { vlog.debug("flags=%x", flags); SetWindowLong(handle, GWL_STYLE, flags); - SetWindowPos(handle, HWND_TOP, mi.rcMonitor.left, mi.rcMonitor.top, + SetWindowPos(handle, HWND_TOPMOST, mi.rcMonitor.left, mi.rcMonitor.top, mi.rcMonitor.right-mi.rcMonitor.left, mi.rcMonitor.bottom-mi.rcMonitor.top, SWP_FRAMECHANGED);