Skip to content

Commit 89c46b0

Browse files
committed
gwl: Only set appGroup focus if app actually has focus
1 parent 78984a1 commit 89c46b0

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
@@ -641,7 +641,7 @@ class AppGroup {
641641
const {appId, metaWindows, lastFocused} = this.groupState;
642642

643643
if (hasFocus === undefined) {
644-
hasFocus = this.workspaceState.lastFocusedApp === appId;
644+
hasFocus = this.workspaceState.lastFocusedApp === appId && getFocusState(lastFocused);
645645
}
646646

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

0 commit comments

Comments
 (0)