Notification popups, and tooltips for that matter, shouldn't be taking
focus away from apps the user is actually interacting with.
---
src/wmspec.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/wmspec.c b/src/wmspec.c
index 779a9ef..46351f2 100644
--- a/src/wmspec.c
+++ b/src/wmspec.c
@@ -1204,6 +1204,7 @@ static Bool handleWindowType(WWindow *wwin, Atom type,
int *layer)
wwin->client_flags.skip_switchpanel = 1;
wwin->client_flags.dont_move_off = 1;
wwin->client_flags.no_appicon = 1;
+ wwin->client_flags.no_focusable = 1;
wwin->flags.net_skip_pager = 1;
} else if (wwin->type == net_wm_window_type_notification) {
wwin->client_flags.no_titlebar = 1;
@@ -1219,6 +1220,7 @@ static Bool handleWindowType(WWindow *wwin, Atom type,
int *layer)
wwin->client_flags.dont_move_off = 1;
wwin->client_flags.no_hide_others= 1;
wwin->client_flags.no_appicon = 1;
+ wwin->client_flags.no_focusable = 1;
wwin->flags.net_skip_pager = 1;
} else if (wwin->type == net_wm_window_type_dnd) {
wwin->client_flags.no_titlebar = 1;
--
1.9.0.rc3
--
To unsubscribe, send mail to [email protected].