top: avoid %cpu distortions when toggling task/thread modes
This commit addresses a long standing buglet (debian #441166) which surfaces when the display mode is switched between task and threads. An extra procps refresh is now forced upon such a transition which parallels the approach used at startup for the exact same reason. Reference: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=441166
This commit is contained in:
@ -127,6 +127,10 @@
|
||||
#define kbd_INS '\x8a'
|
||||
#define kbd_DEL '\x8b'
|
||||
|
||||
/* Special value in Pseudo_row to force an additional procs refresh
|
||||
-- used at startup and for task/thread mode transitions */
|
||||
#define PROC_XTRA -1
|
||||
|
||||
|
||||
/* ##### Enum's and Typedef's ############################################ */
|
||||
|
||||
|
Reference in New Issue
Block a user