mirror of
https://github.com/hyprwm/Hyprland
synced 2025-01-25 14:29:49 +01:00
foreign-toplevel: update active on null window focus (#8860)
* update ForeignTopLevel on null window focus * fix * clang
This commit is contained in:
parent
85632e7c33
commit
775111b603
1 changed files with 1 additions and 1 deletions
|
@ -347,7 +347,7 @@ CForeignToplevelWlrProtocol::CForeignToplevelWlrProtocol(const wl_interface* ifa
|
|||
static auto P3 = g_pHookSystem->hookDynamic("activeWindow", [this](void* self, SCallbackInfo& info, std::any data) {
|
||||
const auto PWINDOW = std::any_cast<PHLWINDOW>(data);
|
||||
|
||||
if (!windowValidForForeign(PWINDOW))
|
||||
if (PWINDOW && !windowValidForForeign(PWINDOW))
|
||||
return;
|
||||
|
||||
for (auto const& m : m_vManagers) {
|
||||
|
|
Loading…
Reference in a new issue