From 5b65df750323ce0d213495cc0eb254bd4da80229 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 24 Feb 2019 20:42:00 +0100 Subject: tdm: Do not run tdekbdledsync on remote displays. This relates to bug 1834. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit c80e5d45b719cf0a769410ecd90fb0156394d322) --- tdm/kfrontend/kgapp.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tdm/kfrontend') diff --git a/tdm/kfrontend/kgapp.cpp b/tdm/kfrontend/kgapp.cpp index ffa2bff7c..b1495c8af 100644 --- a/tdm/kfrontend/kgapp.cpp +++ b/tdm/kfrontend/kgapp.cpp @@ -247,7 +247,8 @@ kg_main( const char *argv0 ) delete tsak; } - if (trinity_desktop_synchronize_keyboard_lights) { + if (trinity_desktop_synchronize_keyboard_lights && + TQString(getenv("DISPLAY")).startsWith(":")) { kbdl = new TDEProcess; *kbdl << TQCString( argv0, strrchr( argv0, '/' ) - argv0 + 2 ) + "tdekbdledsync"; kbdl->start(); -- cgit v1.2.1