core/popupwindow: add grabFocus
Allows standard wayland focus grabs on non hyprland compositors.
This commit is contained in:
parent
de1bfe028d
commit
dca652366a
3 changed files with 16 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ void ProxyPopupWindow::completeWindow() {
|
|||
}
|
||||
|
||||
this->window->setTransientParent(bw);
|
||||
this->window->setFlag(Qt::ToolTip);
|
||||
this->window->setFlag(this->bWantsGrab ? Qt::Popup : Qt::ToolTip);
|
||||
|
||||
this->mAnchor.markDirty();
|
||||
PopupPositioner::instance()->reposition(&this->mAnchor, this->window);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue