Hello community, here is the log from the commit of package lxdm for openSUSE:12.2 checked in at 2012-07-30 09:22:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:12.2/lxdm (Old) and /work/SRC/openSUSE:12.2/.lxdm.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lxdm", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:12.2/lxdm/lxdm.changes 2012-06-25 15:45:51.000000000 +0200 +++ /work/SRC/openSUSE:12.2/.lxdm.new/lxdm.changes 2012-07-30 09:22:20.000000000 +0200 @@ -1,0 +2,5 @@ +Wed Jul 18 20:11:35 UTC 2012 - bwiedem...@suse.com + +- do not busy-poll forever (bnc#741454) + +------------------------------------------------------------------- New: ---- lxdm-bnc-741454-d4e41ec.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lxdm.spec ++++++ --- /var/tmp/diff_new_pack.HLPWc1/_old 2012-07-30 09:22:20.000000000 +0200 +++ /var/tmp/diff_new_pack.HLPWc1/_new 2012-07-30 09:22:20.000000000 +0200 @@ -43,6 +43,7 @@ # Patch needed to use current new default wallpaper location # bnc#732671 Patch6: %{name}-0.4.1-background-12.1.patch +Patch7: %{name}-bnc-741454-d4e41ec.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: ConsoleKit-devel BuildRequires: autoconf @@ -82,6 +83,7 @@ %patch5 -p1 %if 0%{?suse_version} >= 1210 %patch6 -p1 +%patch7 -p1 %endif %__cp %{SOURCE1} . ++++++ lxdm-bnc-741454-d4e41ec.patch ++++++ >From d4e41ecb36a1ea29482b75674d804bb0f05540b2 Mon Sep 17 00:00:00 2001 From: dgod <dgod....@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 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org