Skip to content
  • Luis Javier Merino's avatar
    Pass widget again to monitoring KNotifications · 28bfbf1a
    Luis Javier Merino authored and Kurt Hindenburg's avatar Kurt Hindenburg committed
    9f656939 introduced the possibility of showing a session in multiple
    views, something which is no longer supported.  In doing so, it started
    passing QApplication::activeWindow(), instead of TEWidget (nowadays
    TerminalDisplay) to KNotification.
    
    7592e894 split notifications for focused/unfocused terminals.
    Unfortunately, QApplication::activeWindow() returns nothing for unmapped
    windows, which results in issues when notifications are configured to
    mark the task bar entry or run a command with %w/%t substitutions (for
    window id and window title).
    
    BUG: 443117
    28bfbf1a