fix again because the last fix didnt fully fix

This commit is contained in:
vaxerski 2021-12-04 23:45:22 +01:00
parent d1f1643a8f
commit 6fbbcd2a1c

View file

@ -174,6 +174,8 @@ CWindow* Events::remapFloatingWindow(int windowID, int forcemonitor) {
window.setSize(window.getDefaultSize());
window.setPosition(window.getDefaultPosition());
window.setEffectiveSize(window.getDefaultSize());
window.setEffectivePosition(window.getDefaultPosition());
// Also sets the old one
g_pWindowManager->calculateNewWindowParams(&window);