Re: [PATCH weston] Ignore the OSC code for desktop notifications

2016-11-21 Thread Daniel Stone
Hi Dima,

On 4 November 2016 at 06:46, Dima Ryazanov  wrote:
> 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.

I have no clue about terminal escape codes, but equally no clue how
this would not be the right thing to do. Thanks!

To ssh://git.freedesktop.org/git/wayland/weston
   08f09e2..c3b6372  upstream -> master

Cheers,
Daniel
___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel


[PATCH weston] Ignore the OSC code for desktop notifications

2016-11-04 Thread Dima Ryazanov
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 
---
 clients/terminal.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/clients/terminal.c b/clients/terminal.c
index 6257cb7..64768eb 100644
--- a/clients/terminal.c
+++ b/clients/terminal.c
@@ -1297,6 +1297,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);
-- 
2.9.3

___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel