File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 33 "displayName" : " Gitpod" ,
44 "description" : " Gitpod Support" ,
55 "publisher" : " gitpod" ,
6- "version" : " 0.0.168 " ,
6+ "version" : " 0.0.169 " ,
77 "license" : " MIT" ,
88 "icon" : " resources/gitpod.png" ,
99 "repository" : {
Original file line number Diff line number Diff line change @@ -76,8 +76,10 @@ export class HeartbeatManager extends Disposable {
7676 this . _register ( vscode . window . onDidCloseTerminal ( ( ) => this . updateLastActivity ( 'onDidCloseTerminal' ) ) ) ;
7777 this . _register ( vscode . window . onDidChangeTerminalState ( ( ) => this . updateLastActivity ( 'onDidChangeTerminalState' ) ) ) ;
7878 this . _register ( vscode . window . onDidChangeWindowState ( ( e ) => {
79- this . focused = e . focused ;
80- this . updateLastActivity ( 'onDidChangeWindowState' ) ;
79+ if ( e . focused !== this . focused ) {
80+ this . focused = e . focused ;
81+ this . updateLastActivity ( 'onDidChangeWindowState' ) ;
82+ }
8183 } ) ) ;
8284 this . _register ( vscode . window . onDidChangeActiveColorTheme ( ( ) => this . updateLastActivity ( 'onDidChangeActiveColorTheme' ) ) ) ;
8385 this . _register ( vscode . authentication . onDidChangeSessions ( ( ) => this . updateLastActivity ( 'onDidChangeSessions' ) ) ) ;
You can’t perform that action at this time.
0 commit comments