mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-23 04:09:49 +01:00
xwaylandmgr: don't read xwayland surface from unmapped xwayland
This commit is contained in:
parent
b1c0f1cc01
commit
4bff762d97
1 changed files with 2 additions and 2 deletions
|
@ -100,7 +100,7 @@ void CHyprXWaylandManager::getGeometryForWindow(CWindow* pWindow, CBox* pbox) {
|
|||
std::string CHyprXWaylandManager::getTitle(CWindow* pWindow) {
|
||||
try {
|
||||
if (pWindow->m_bIsX11) {
|
||||
if (!pWindow->m_bIsMapped && pWindow->m_iX11Type != 1)
|
||||
if (!pWindow->m_bIsMapped)
|
||||
return "";
|
||||
|
||||
if (pWindow->m_uSurface.xwayland && pWindow->m_uSurface.xwayland->title) {
|
||||
|
@ -121,7 +121,7 @@ std::string CHyprXWaylandManager::getTitle(CWindow* pWindow) {
|
|||
std::string CHyprXWaylandManager::getAppIDClass(CWindow* pWindow) {
|
||||
try {
|
||||
if (pWindow->m_bIsX11) {
|
||||
if (!pWindow->m_bIsMapped && pWindow->m_iX11Type != 1)
|
||||
if (!pWindow->m_bIsMapped)
|
||||
return "";
|
||||
|
||||
if (pWindow->m_uSurface.xwayland && pWindow->m_uSurface.xwayland->_class) {
|
||||
|
|
Loading…
Reference in a new issue