From 8b6ff2ea1a85d445140d2263c670d7a36ea997d6 Mon Sep 17 00:00:00 2001 From: chrys87 Date: Tue, 23 Aug 2016 10:26:13 +0200 Subject: [PATCH] Create 85000-screen_chnage_reset_clipboard_marks --- .../85000-screen_chnage_reset_clipboard_marks | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/fenrir-package/commands/onScreenChanged/85000-screen_chnage_reset_clipboard_marks diff --git a/src/fenrir-package/commands/onScreenChanged/85000-screen_chnage_reset_clipboard_marks b/src/fenrir-package/commands/onScreenChanged/85000-screen_chnage_reset_clipboard_marks new file mode 100644 index 00000000..90005343 --- /dev/null +++ b/src/fenrir-package/commands/onScreenChanged/85000-screen_chnage_reset_clipboard_marks @@ -0,0 +1,16 @@ +#!/bin/python + +class command(): + def __init__(self): + pass + def run(self, environment): + + if environment['screenData']['newTTY'] == environment['screenData']['oldTTY']: + return environment + environment['screenData']['newTTY'] = None + environment['screenData']['newTTY'] = None + return environment + def setCallback(self, callback): + pass + def shutdown(self): + pass