We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c50d51 commit eb748d9Copy full SHA for eb748d9
1 file changed
files/usr/share/cinnamon/applets/grouped-window-list@cinnamon.org/appGroup.js
@@ -975,7 +975,11 @@ var AppGroup = class AppGroup {
975
976
this.calcWindowNumber();
977
this.updateNotificationsBadge();
978
- this.onFocusChange();
+ const hasFocus = getFocusState(metaWindow);
979
+ if (hasFocus) {
980
+ this.workspaceState.set({lastFocusedApp: this.groupState.appId});
981
+ }
982
+ this.onFocusChange(hasFocus);
983
}
984
set({
985
metaWindows,
0 commit comments