diff options
author | Oliver Lehmann <oliver@FreeBSD.org> | 2011-03-08 12:07:01 +0000 |
---|---|---|
committer | Oliver Lehmann <oliver@FreeBSD.org> | 2011-03-08 12:07:01 +0000 |
commit | 11deacaee649855f6369258cbb06054ca39c95b4 (patch) | |
tree | 125a8c94ca0869689ca2b6775ed7bb92905e7610 /x11-wm/xfce4-desktop | |
parent | 1c33a5b7c041ee103842bf31a3bc710950251bf8 (diff) | |
download | ports-11deacaee649855f6369258cbb06054ca39c95b4.tar.gz ports-11deacaee649855f6369258cbb06054ca39c95b4.zip |
fix 100% CPU usage under some circumstances
bump PORTREVISION
Submitted by: Zhihao Yuan <lichray@gmail.com>
Notes
Notes:
svn path=/head/; revision=270513
Diffstat (limited to 'x11-wm/xfce4-desktop')
-rw-r--r-- | x11-wm/xfce4-desktop/files/patch-src::xfce-desktop-menu.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/x11-wm/xfce4-desktop/files/patch-src::xfce-desktop-menu.c b/x11-wm/xfce4-desktop/files/patch-src::xfce-desktop-menu.c new file mode 100644 index 000000000000..7de09a7a8674 --- /dev/null +++ b/x11-wm/xfce4-desktop/files/patch-src::xfce-desktop-menu.c @@ -0,0 +1,12 @@ +--- src/xfce-desktop-menu.c.orig 2010-12-04 06:20:14.000000000 -0600 ++++ src/xfce-desktop-menu.c 2011-03-05 19:58:16.416523605 -0600 +@@ -99,7 +99,8 @@ xfce_desktop_menu_reload(XfceDesktopMenu + * recursively. same deal for _something_changed(). */ + DBG("Schedule menu reload"); + if(!desktop_menu->idle_id) +- desktop_menu->idle_id = g_idle_add(_generate_menu_idled, desktop_menu); ++ /* just regen when idle. */ ++ _generate_menu(desktop_menu); + } + + /* |