diff options
Diffstat (limited to 'src/fe-common/core/windows.c')
-rw-r--r-- | src/fe-common/core/windows.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fe-common/core/windows.c b/src/fe-common/core/windows.c index da6de6aa..28494225 100644 --- a/src/fe-common/core/windows.c +++ b/src/fe-common/core/windows.c @@ -231,6 +231,10 @@ WINDOW_REC *window_find_closest(void *server, const char *name, int level) window = window_find_level(server, level); if (window != NULL) return window; + /* match by level - ignore server */ + window = window_find_level(NULL, level); + if (window != NULL) return window; + /* fallback to active */ return active_win; } |