mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-06 15:11:57 -07:00
xwayland: avoid sending value of real size to xwayland
This commit is contained in:
@@ -55,7 +55,7 @@ void CHyprXWaylandManager::activateWindow(PHLWINDOW pWindow, bool activate) {
|
|||||||
if (pWindow->m_bIsX11) {
|
if (pWindow->m_bIsX11) {
|
||||||
|
|
||||||
if (activate) {
|
if (activate) {
|
||||||
setWindowSize(pWindow, pWindow->m_vRealSize->value()); // update xwayland output pos
|
setWindowSize(pWindow, pWindow->m_vRealSize->goal()); // update xwayland output pos
|
||||||
pWindow->m_pXWaylandSurface->setMinimized(false);
|
pWindow->m_pXWaylandSurface->setMinimized(false);
|
||||||
|
|
||||||
if (!pWindow->isX11OverrideRedirect())
|
if (!pWindow->isX11OverrideRedirect())
|
||||||
|
Reference in New Issue
Block a user