mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-05 06:25:59 +01:00
9 lines
No EOL
220 B
C++
9 lines
No EOL
220 B
C++
#include "Window.hpp"
|
|
#include "Compositor.hpp"
|
|
|
|
CWindow::~CWindow() {
|
|
if (g_pCompositor->isWindowActive(this)) {
|
|
g_pCompositor->m_pLastFocus = nullptr;
|
|
g_pCompositor->m_pLastWindow = nullptr;
|
|
}
|
|
} |