xwayland: avoid sending value of real size to xwayland
This commit is contained in:
parent
d075d1cab9
commit
5d8261aee2
1 changed files with 1 additions and 1 deletions
|
|
@ -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())
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue