From d8b01e4c390a0ec3cd71b696cee4c7dbe629cbb8 Mon Sep 17 00:00:00 2001 From: george82 Date: Mon, 5 Jun 2006 14:32:23 +0000 Subject: [PATCH] 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 --- win/vncviewer/DesktopWindow.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5