From 29e62220cb68514d690d516f030da6c4f4aaec28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Sun, 5 Oct 2014 18:04:47 +0200 Subject: RPM Packaging: cleanup tdebase --- ...-replicate_led_status_on_virtual_keyboard.patch | 95 ---------------------- 1 file changed, 95 deletions(-) delete mode 100644 redhat/tdebase/kdebase-3.5.13-replicate_led_status_on_virtual_keyboard.patch (limited to 'redhat/tdebase/kdebase-3.5.13-replicate_led_status_on_virtual_keyboard.patch') diff --git a/redhat/tdebase/kdebase-3.5.13-replicate_led_status_on_virtual_keyboard.patch b/redhat/tdebase/kdebase-3.5.13-replicate_led_status_on_virtual_keyboard.patch deleted file mode 100644 index 1d3f73ceb..000000000 --- a/redhat/tdebase/kdebase-3.5.13-replicate_led_status_on_virtual_keyboard.patch +++ /dev/null @@ -1,95 +0,0 @@ -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