mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-30 02:05:58 +01:00
fix shadows on silent rule
This commit is contained in:
parent
b16a57ceeb
commit
f7c741317f
1 changed files with 3 additions and 2 deletions
|
@ -338,9 +338,10 @@ void Events::listener_mapWindow(void* owner, void* data) {
|
||||||
PWINDOW->updateToplevel();
|
PWINDOW->updateToplevel();
|
||||||
|
|
||||||
if (!shouldFocus) {
|
if (!shouldFocus) {
|
||||||
if (g_pCompositor->windowValidMapped(PFOCUSEDWINDOWPREV))
|
if (g_pCompositor->windowValidMapped(PFOCUSEDWINDOWPREV)) {
|
||||||
g_pCompositor->focusWindow(PFOCUSEDWINDOWPREV);
|
g_pCompositor->focusWindow(PFOCUSEDWINDOWPREV);
|
||||||
else if (!PFOCUSEDWINDOWPREV)
|
PFOCUSEDWINDOWPREV->updateWindowDecos(); // need to for some reason i cba to find out why
|
||||||
|
} else if (!PFOCUSEDWINDOWPREV)
|
||||||
g_pCompositor->focusWindow(nullptr);
|
g_pCompositor->focusWindow(nullptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue