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 3
3
"displayName" : " Gitpod" ,
4
4
"description" : " Gitpod Support" ,
5
5
"publisher" : " gitpod" ,
6
- "version" : " 0.0.168 " ,
6
+ "version" : " 0.0.169 " ,
7
7
"license" : " MIT" ,
8
8
"icon" : " resources/gitpod.png" ,
9
9
"repository" : {
Original file line number Diff line number Diff line change @@ -76,8 +76,10 @@ export class HeartbeatManager extends Disposable {
76
76
this . _register ( vscode . window . onDidCloseTerminal ( ( ) => this . updateLastActivity ( 'onDidCloseTerminal' ) ) ) ;
77
77
this . _register ( vscode . window . onDidChangeTerminalState ( ( ) => this . updateLastActivity ( 'onDidChangeTerminalState' ) ) ) ;
78
78
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
+ }
81
83
} ) ) ;
82
84
this . _register ( vscode . window . onDidChangeActiveColorTheme ( ( ) => this . updateLastActivity ( 'onDidChangeActiveColorTheme' ) ) ) ;
83
85
this . _register ( vscode . authentication . onDidChangeSessions ( ( ) => this . updateLastActivity ( 'onDidChangeSessions' ) ) ) ;
You can’t perform that action at this time.
0 commit comments