summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorgeorge82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519>2006-06-05 14:32:23 +0000
committergeorge82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519>2006-06-05 14:32:23 +0000
commitd8b01e4c390a0ec3cd71b696cee4c7dbe629cbb8 (patch)
tree225331043b6836105a64d02da20d7f9eefcc9dd3 /win
parent18076a9c82ea3beec9a06a87f84b49c060eafb15 (diff)
downloadtigervnc-d8b01e4c390a0ec3cd71b696cee4c7dbe629cbb8.tar.gz
tigervnc-d8b01e4c390a0ec3cd71b696cee4c7dbe629cbb8.zip
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
Diffstat (limited to 'win')
-rw-r--r--win/vncviewer/DesktopWindow.cxx2
1 files changed, 1 insertions, 1 deletions
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);