Browse Source

Fix bug preventing switching from Z_top to Z_normal on Windows
(Reported by Epihaius)

rdb 10 years ago
parent
commit
368390536b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/windisplay/winGraphicsWindow.cxx

+ 1 - 1
panda/src/windisplay/winGraphicsWindow.cxx

@@ -1272,7 +1272,7 @@ adjust_z_order(WindowProperties::ZOrder last_z_order,
         // have focus now, don't move it to the top; it will get moved
         // the next time we get focus.
         ) {
-      order = HWND_TOP;
+      order = HWND_NOTOPMOST;
       do_change = true;
     }
     break;