]> source.dussan.org Git - tigervnc.git/commitdiff
Fixed the bug with overlapping the vncviwer window by
authorgeorge82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519>
Mon, 5 Jun 2006 14:32:23 +0000 (14:32 +0000)
committergeorge82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519>
Mon, 5 Jun 2006 14:32:23 +0000 (14:32 +0000)
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

index 55000252c307e2c4eef7c21ead34bdf0ec2593b9..fcf829f9b8119f7aa2e34dd22f7cdee80b1f9943 100644 (file)
@@ -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);