From 3f79f1ff54b6ba7b22488aac45bf410fdb54390c Mon Sep 17 00:00:00 2001 From: Duncan Ferguson Date: Mon, 9 Nov 2015 23:08:51 +0000 Subject: [PATCH] Workaround for KDE glitch Passing the epoch time as part of generating an event in KDE appears to cause windows to become unmoveable. Not sending the epoch time fixes this and does not appear to have any side effects --- Changes | 1 + lib/App/ClusterSSH.pm | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Changes b/Changes index 90dfb0e..76f3c5a 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,7 @@ 4.04_01 0000-00-00 Duncan Ferguson - Ensure documentation is generated using same perl as the build (Github issue #45) - New config file settings to allow terminals to run from different directories (Github issue #42) +- Workaround for glitch in KDE where windows can become unmoveable (Github issue #46) (thanks to Brandon Perkins) 4.04 2015-11-03 Duncan Ferguson - Include bash completion script in distribution (Github issue #29) diff --git a/lib/App/ClusterSSH.pm b/lib/App/ClusterSSH.pm index b619099..be66d10 100644 --- a/lib/App/ClusterSSH.pm +++ b/lib/App/ClusterSSH.pm @@ -584,7 +584,6 @@ sub send_text($@) { 'name' => $event, 'detail' => $code, 'state' => $state, - 'time' => time(), 'event' => $servers{$svr}{wid}, 'root' => $xdisplay->root(), 'same_screen' => 1, @@ -1754,7 +1753,6 @@ sub key_event { 'name' => $event, 'detail' => $keycode, 'state' => $state, - 'time' => time(), 'event' => $servers{$_}{wid}, 'root' => $xdisplay->root(), 'same_screen' => 1,