diff options
author | V3n3RiX <venerix@rogentos.ro> | 2015-07-26 20:03:02 +0100 |
---|---|---|
committer | V3n3RiX <venerix@rogentos.ro> | 2015-07-26 20:03:02 +0100 |
commit | cb8362f4350c5af93bcf183f44f2eaa1da2353da (patch) | |
tree | af6ea51c878726ec50fa87aedd2c9bdddcf3ca48 /lxde-base/lxdm/files/lxdm-0.4.1-fix-event-check-bug.patch | |
parent | cc8ebada17eb365c21625b4c64b04115c0580fde (diff) |
more cleanup
Diffstat (limited to 'lxde-base/lxdm/files/lxdm-0.4.1-fix-event-check-bug.patch')
-rw-r--r-- | lxde-base/lxdm/files/lxdm-0.4.1-fix-event-check-bug.patch | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/lxde-base/lxdm/files/lxdm-0.4.1-fix-event-check-bug.patch b/lxde-base/lxdm/files/lxdm-0.4.1-fix-event-check-bug.patch deleted file mode 100644 index f0ca23be..00000000 --- a/lxde-base/lxdm/files/lxdm-0.4.1-fix-event-check-bug.patch +++ /dev/null @@ -1,25 +0,0 @@ -From d4e41ecb36a1ea29482b75674d804bb0f05540b2 Mon Sep 17 00:00:00 2001 -From: dgod <dgod.osa@gmail.com> -Date: Sun, 25 Dec 2011 15:23:19 +0800 -Subject: [PATCH] fix event check bug caused cpu 100% - ---- - src/lxcom.c | 2 +- - 1 files changed, 1 insertions(+), 1 deletions(-) - -diff --git a/src/lxcom.c b/src/lxcom.c -index 02763eb..18ee12e 100644 ---- a/src/lxcom.c -+++ b/src/lxcom.c -@@ -89,7 +89,7 @@ static gboolean lxcom_prepare (GSource *source,gint *timeout) - - static gboolean lxcom_check(GSource *source) - { -- return TRUE; -+ return (((LXComSource*)source)->poll.revents&G_IO_IN)?TRUE:FALSE; - } - - static gboolean lxcom_dispatch (GSource *source,GSourceFunc callback,gpointer user_data) --- -1.7.4.1 - |