mirror of
https://github.com/hyprwm/Hypr.git
synced 2024-11-22 13:35:57 +01:00
fix again because the last fix didnt fully fix
This commit is contained in:
parent
d1f1643a8f
commit
6fbbcd2a1c
1 changed files with 2 additions and 0 deletions
|
@ -174,6 +174,8 @@ CWindow* Events::remapFloatingWindow(int windowID, int forcemonitor) {
|
||||||
|
|
||||||
window.setSize(window.getDefaultSize());
|
window.setSize(window.getDefaultSize());
|
||||||
window.setPosition(window.getDefaultPosition());
|
window.setPosition(window.getDefaultPosition());
|
||||||
|
window.setEffectiveSize(window.getDefaultSize());
|
||||||
|
window.setEffectivePosition(window.getDefaultPosition());
|
||||||
|
|
||||||
// Also sets the old one
|
// Also sets the old one
|
||||||
g_pWindowManager->calculateNewWindowParams(&window);
|
g_pWindowManager->calculateNewWindowParams(&window);
|
||||||
|
|
Loading…
Reference in a new issue