mirror of
https://github.com/hyprwm/Hyprland
synced 2026-04-03 06:00:35 +02:00
7 lines
No EOL
257 B
C++
7 lines
No EOL
257 B
C++
#include "Window.hpp"
|
|
#include "Compositor.hpp"
|
|
|
|
CWindow::~CWindow() {
|
|
if ((this->m_uSurface.xdg || this->m_uSurface.xwayland) && g_pCompositor->m_pLastFocus == g_pXWaylandManager->getWindowSurface(this))
|
|
g_pCompositor->m_pLastFocus = nullptr;
|
|
} |