Skip to content

Commit 38ce963

Browse files
committed
gwl: Only set appGroup focus if app actually has focus
1 parent 4fd1131 commit 38ce963

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

files/usr/share/cinnamon/applets/[email protected]/appGroup.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@ var AppGroup = class AppGroup {
642642
const {appId, metaWindows, lastFocused} = this.groupState;
643643

644644
if (hasFocus === undefined) {
645-
hasFocus = this.workspaceState.lastFocusedApp === appId;
645+
hasFocus = this.workspaceState.lastFocusedApp === appId && getFocusState(lastFocused);
646646
}
647647

648648
// If any of the windows associated with our app have focus,

0 commit comments

Comments
 (0)