Forráskód Böngészése

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

rdb 10 éve
szülő
commit
368390536b
1 módosított fájl, 1 hozzáadás és 1 törlés
  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
         // have focus now, don't move it to the top; it will get moved
         // the next time we get focus.
         // the next time we get focus.
         ) {
         ) {
-      order = HWND_TOP;
+      order = HWND_NOTOPMOST;
       do_change = true;
       do_change = true;
     }
     }
     break;
     break;