mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-23 07:53:49 -07:00
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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user