mirror of
https://github.com/hyprwm/Hypr.git
synced 2024-11-07 16:35:59 +01:00
fix removeWindowFromVectorSafe not removing nodes
This commit is contained in:
parent
e23ac83c49
commit
fa221d5f05
2 changed files with 3 additions and 3 deletions
|
@ -188,7 +188,7 @@ void CWindowManager::setupManager() {
|
|||
updateBarInfo();
|
||||
|
||||
// start its' update thread
|
||||
Events::setThread();
|
||||
//Events::setThread();
|
||||
|
||||
Debug::log(LOG, "Bar done.");
|
||||
|
||||
|
@ -408,7 +408,7 @@ void CWindowManager::addWindowToVectorSafe(CWindow window) {
|
|||
windows.push_back(window);
|
||||
}
|
||||
|
||||
void CWindowManager::removeWindowFromVectorSafe(xcb_drawable_t window) {
|
||||
void CWindowManager::removeWindowFromVectorSafe(int64_t window) {
|
||||
|
||||
if (!window)
|
||||
return;
|
||||
|
|
|
@ -42,7 +42,7 @@ public:
|
|||
|
||||
CWindow* getWindowFromDrawable(int64_t);
|
||||
void addWindowToVectorSafe(CWindow);
|
||||
void removeWindowFromVectorSafe(xcb_drawable_t);
|
||||
void removeWindowFromVectorSafe(int64_t);
|
||||
|
||||
void setupManager();
|
||||
bool handleEvent();
|
||||
|
|
Loading…
Reference in a new issue