Permalink
Browse files

Fixed focus issue with newly created window (only focus "interesting …

…windows")
  • Loading branch information...
1 parent e582f61 commit 47e94b5490bc4e32580ba17adcab06921b6cf09b @clefebvre clefebvre committed Feb 13, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 js/ui/windowAttentionHandler.js
@@ -28,7 +28,9 @@ WindowAttentionHandler.prototype = {
if (!window || window.has_focus() || window.is_skip_taskbar())
return;
- window.activate(global.get_current_time());
+ if (this._tracker.is_window_interesting(window)) {
+ window.activate(global.get_current_time());
+ }
}
};

0 comments on commit 47e94b5

Please sign in to comment.