aboutsummaryrefslogtreecommitdiff
path: root/misc/xvnkb/patches/power-consumption.patch
diff options
context:
space:
mode:
Diffstat (limited to 'misc/xvnkb/patches/power-consumption.patch')
-rw-r--r--misc/xvnkb/patches/power-consumption.patch18
1 files changed, 0 insertions, 18 deletions
diff --git a/misc/xvnkb/patches/power-consumption.patch b/misc/xvnkb/patches/power-consumption.patch
deleted file mode 100644
index 99130bf71ff6..000000000000
--- a/misc/xvnkb/patches/power-consumption.patch
+++ /dev/null
@@ -1,18 +0,0 @@
---- main.c 2006/02/25 20:31:25 1.7
-+++ main.c 2009/06/27 11:10:55 1.8
-@@ -89,8 +89,14 @@
- /*----------------------------------------------------------------------------*/
- void VKMainProcess()
- {
-+ int xfd = ConnectionNumber(display);
-+
- while( !vk_done ) {
-- usleep(1000);
-+ struct timeval tv = {1, 0};
-+ fd_set rfds;
-+ FD_ZERO(&rfds);
-+ FD_SET(xfd, &rfds);
-+ select(xfd+1, &rfds, 0, 0, &tv);
-
- if( vk_timeout && vk_flash_on )
- VKHideFlash();