Guest User

Untitled

a guest
Nov 20th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. // sudo vim /usr/share/cinnamon/js/ui/windowAttentionHandler.js
  2.  
  3.  
  4. _onWindowDemandsAttention : function(display, window) {
  5. // We don't want to show the notification when the window is already focused,
  6. // because this is rather pointless.
  7. // Some apps (like GIMP) do things like setting the urgency hint on the
  8. // toolbar windows which would result into a notification even though GIMP itself is
  9. // focused.
  10. // We are just ignoring the hint on skip_taskbar windows for now.
  11. // (Which is the same behaviour as with metacity + panel)
  12.  
  13. // if (!window || window.has_focus() || window.is_skip_taskbar() || window.is_skype_window())
  14. // return;
  15.  
  16. //if (this._tracker.is_window_interesting(window)) {
  17. //window.activate(global.get_current_time());
  18. //}
  19. }
Add Comment
Please, Sign In to add comment