hyprland/focus_grab: prevent grab object leak on activate
This commit is contained in:
parent
baa9e5e074
commit
48a56381a6
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ void HyprlandFocusGrab::onProxyConnected() {
|
|||
}
|
||||
|
||||
void HyprlandFocusGrab::tryActivate() {
|
||||
if (!this->targetActive || this->isActive()) return;
|
||||
if (!this->targetActive || this->grab) return;
|
||||
|
||||
auto* manager = FocusGrabManager::instance();
|
||||
if (!manager->isActive()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue