mirror of https://github.com/xzeldon/htop.git
Merge branch 'cgzones-mouse'
This commit is contained in:
commit
40c9f89971
|
@ -61,8 +61,8 @@ static HandlerResult MainPanel_eventHandler(Panel* super, int ch) {
|
||||||
if (ch == KEY_RESIZE)
|
if (ch == KEY_RESIZE)
|
||||||
return IGNORED;
|
return IGNORED;
|
||||||
|
|
||||||
/* reset on every normal key */
|
/* reset on every normal key, except mouse events while mouse support is disabled */
|
||||||
if (ch != ERR)
|
if (ch != ERR && (ch != KEY_MOUSE || this->state->settings->enableMouse))
|
||||||
this->state->hideProcessSelection = false;
|
this->state->hideProcessSelection = false;
|
||||||
|
|
||||||
if (EVENT_IS_HEADER_CLICK(ch)) {
|
if (EVENT_IS_HEADER_CLICK(ch)) {
|
||||||
|
|
Loading…
Reference in New Issue