mirror of
https://github.com/hyprwm/Hyprland
synced 2025-01-10 00:29:49 +01:00
parent
15b25d5850
commit
200cccdd3b
1 changed files with 3 additions and 0 deletions
|
@ -651,6 +651,9 @@ void Events::listener_mapWindow(void* owner, void* data) {
|
||||||
|
|
||||||
if (g_pCompositor->vectorToWindowIdeal(g_pInputManager->getMouseCoordsInternal()) == g_pCompositor->m_pLastWindow)
|
if (g_pCompositor->vectorToWindowIdeal(g_pInputManager->getMouseCoordsInternal()) == g_pCompositor->m_pLastWindow)
|
||||||
g_pInputManager->simulateMouseMovement();
|
g_pInputManager->simulateMouseMovement();
|
||||||
|
|
||||||
|
// fix some xwayland apps that don't behave nicely
|
||||||
|
PWINDOW->m_vReportedSize = PWINDOW->m_vPendingReportedSize;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Events::listener_unmapWindow(void* owner, void* data) {
|
void Events::listener_unmapWindow(void* owner, void* data) {
|
||||||
|
|
Loading…
Reference in a new issue