foreign-toplevel: bypass no activate focus checks
ref #5939 those are used by focus switchers so they should bypass stuff like focus_on_activate = false
This commit is contained in:
parent
57a12476de
commit
5e7925eaeb
3 changed files with 6 additions and 7 deletions
|
|
@ -17,10 +17,9 @@ CForeignToplevelHandleWlr::CForeignToplevelHandleWlr(SP<CZwlrForeignToplevelHand
|
|||
if (!PWINDOW)
|
||||
return;
|
||||
|
||||
if (PWINDOW->m_eSuppressedEvents & SUPPRESS_ACTIVATE)
|
||||
return;
|
||||
|
||||
PWINDOW->activate();
|
||||
// these requests bypass the config'd stuff cuz it's usually like
|
||||
// window switchers and shit
|
||||
PWINDOW->activate(true);
|
||||
});
|
||||
|
||||
resource->setSetFullscreen([this](CZwlrForeignToplevelHandleV1* p, wl_resource* output) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue