diff options
author | Dima Ryazanov <dima@gmail.com> | 2016-11-03 23:46:02 -0700 |
---|---|---|
committer | Daniel Stone <daniels@collabora.com> | 2016-11-21 09:54:51 +0000 |
commit | c3b63728b42f303825d0cdf34431d0fcd5d53720 (patch) | |
tree | 90f089d7a1ea01e516a1ca56c28f8a1faef35663 /clients | |
parent | 08f09e20126d469f0401ade91c833dcdaf22f418 (diff) |
Ignore the OSC code for desktop notifications
In Fedora, bash is configured to display a desktop notification when a command
finishes (and the terminal is not focused). weston-terminal complains about it;
let's silence it.
Signed-off-by: Dima Ryazanov <dima@gmail.com>
Acked-by: Daniel Stone <daniels@collabora.com>
Diffstat (limited to 'clients')
-rw-r--r-- | clients/terminal.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clients/terminal.c b/clients/terminal.c index c8ea239f..5c25fa8d 100644 --- a/clients/terminal.c +++ b/clients/terminal.c @@ -1298,6 +1298,8 @@ handle_osc(struct terminal *terminal) break; case 7: /* shell cwd as uri */ break; + case 777: /* Desktop notifications */ + break; default: fprintf(stderr, "Unknown OSC escape code %d, text %s\n", code, p); |