diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2008-05-07 23:02:23 +0000 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2008-05-07 23:02:23 +0000 |
commit | ce3114079c9927de110497bb79d54aecff944d70 (patch) | |
tree | 8ff7dc7620a26a4186ec9de43bf55eaeba48c61b | |
parent | 15ab0ad706465775ab7b7780862cb5096379967d (diff) |
Fix mouseclick handling in top bar
-rw-r--r-- | htop.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -459,7 +459,7 @@ int main(int argc, char** argv) { int ok = getmouse(&mevent); if (ok == OK) { if (mevent.y == panel->y) { - int x = panel->scrollH + mevent.x; + int x = panel->scrollH + mevent.x + 1; ProcessField field = ProcessList_keyAt(pl, x); if (field == pl->sortKey) { ProcessList_invertSortOrder(pl); |