From e52e723d608adb3227f17cc07ca39e0a84002f89 Mon Sep 17 00:00:00 2001 From: Francois Andriot Date: Sun, 12 Feb 2012 18:04:26 +0100 Subject: [RHEL/Fedora] some fixes to kdelibs, kdebase, kdemultimedia --- ...-replicate_led_status_on_virtual_keyboard.patch | 95 ++++++++++++++++++++++ 1 file changed, 95 insertions(+) create mode 100644 redhat/kdebase/kdebase-3.5.13-replicate_led_status_on_virtual_keyboard.patch (limited to 'redhat/kdebase/kdebase-3.5.13-replicate_led_status_on_virtual_keyboard.patch') diff --git a/redhat/kdebase/kdebase-3.5.13-replicate_led_status_on_virtual_keyboard.patch b/redhat/kdebase/kdebase-3.5.13-replicate_led_status_on_virtual_keyboard.patch new file mode 100644 index 000000000..1d3f73ceb --- /dev/null +++ b/redhat/kdebase/kdebase-3.5.13-replicate_led_status_on_virtual_keyboard.patch @@ -0,0 +1,95 @@ +commit 8468d9bd5c66fe402acbc06f728b12ea996848de +Author: Timothy Pearson +Date: 1327049889 -0600 + + Replicate LED status from virtual keyboards to physical keyboards + Fix keyboard attribute cloning + This commit closes Bug 561 + +diff --git a/tsak/main.cpp b/tsak/main.cpp +index df485a0..26aad00 100644 +--- a/tsak/main.cpp ++++ b/tsak/main.cpp +@@ -126,22 +126,23 @@ static void copy_features(int devin, int devout) + for(i=0;i= 0) { ++ for(code=0;code= size) { ++ if (revev.type == EV_LED) { ++ write(keyboard_fds[current_keyboard], &revev, sizeof(revev)); ++ } ++ } + + value = ev[0].value; + +@@ -506,7 +516,7 @@ int main (int argc, char *argv[]) + } + } + +- if (hide_event == false) { ++ if ((hide_event == false) && (ev[0].type != EV_LED) && (ev[1].type != EV_LED)) { + // Pass the event on... + event = ev[0]; + write(devout[current_keyboard], &event, sizeof event); -- cgit v1.2.1