finally fixed XWayland popups

This commit is contained in:
vaxerski
2022-03-22 21:28:57 +01:00
parent e6a848adc0
commit 2bc29f32ec
7 changed files with 33 additions and 6 deletions

View File

@@ -24,6 +24,9 @@ void Events::listener_mapWindow(wl_listener* listener, void* data) {
PWINDOW->m_iWorkspaceID = PMONITOR->activeWorkspace;
PWINDOW->m_bIsMapped = true;
// checks if the window wants borders and sets the appriopriate flag
g_pXWaylandManager->checkBorders(PWINDOW);
const auto PWINDOWSURFACE = g_pXWaylandManager->getWindowSurface(PWINDOW);
if (!PWINDOWSURFACE) {