diff options
author | vaxerski <[email protected]> | 2022-07-08 11:24:07 +0200 |
---|---|---|
committer | vaxerski <[email protected]> | 2022-07-08 11:24:07 +0200 |
commit | 491b99c61ea19f2e9048f215eace07e126af890b (patch) | |
tree | 0cc2c563ec08f4c19045177b1e647a0cbb8ef70d /src/events/Popups.cpp | |
parent | 75a580fedab7f12934d6c2885b48efb3fb00f3f1 (diff) | |
download | Hyprland-491b99c61ea19f2e9048f215eace07e126af890b.tar.gz Hyprland-491b99c61ea19f2e9048f215eace07e126af890b.zip |
handle unmanaged X11 setGeometry
Diffstat (limited to 'src/events/Popups.cpp')
-rw-r--r-- | src/events/Popups.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/events/Popups.cpp b/src/events/Popups.cpp index cfb92f9b..04064696 100644 --- a/src/events/Popups.cpp +++ b/src/events/Popups.cpp @@ -92,6 +92,9 @@ void Events::listener_newPopupXDG(void* owner, void* data) { ASSERT(PWINDOW); + if (!PWINDOW->m_bIsMapped) + return; + Debug::log(LOG, "New layer popup created from XDG window %x -> %s", PWINDOW, PWINDOW->m_szTitle.c_str()); const auto WLRPOPUP = (wlr_xdg_popup*)data; |