fix 100% CPU usage under some circumstances
bump PORTREVISION Submitted by: Zhihao Yuan <lichray@gmail.com>
This commit is contained in:
parent
1c33a5b7c0
commit
11deacaee6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=270513
1 changed files with 12 additions and 0 deletions
12
x11-wm/xfce4-desktop/files/patch-src::xfce-desktop-menu.c
Normal file
12
x11-wm/xfce4-desktop/files/patch-src::xfce-desktop-menu.c
Normal file
|
@ -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);
|
||||
}
|
||||
|
||||
/*
|
Loading…
Reference in a new issue