KWin supports disabling global shortcuts while a specific window is active through window rules. This blocks global shortcuts but does not block the modifier-only-shortcuts as the new test case shows. CCBUG: 370146