mousereport: do not bubble events - sfeed_curses - sfeed curses UI (now part of sfeed, development is in sfeed)
HTML git clone git://git.codemadness.org/sfeed_curses
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit e0bb2c9936288bb9cc1cb09c1b98bd6e3beb5729
DIR parent 774fbf2d627f98e1c00bf7c0080e9586bc8e6bd0
HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Mon, 1 Feb 2021 14:49:07 +0100
mousereport: do not bubble events
No intended behaviour change. Windows are currently not overlapping, but make
the logic more hackable for custom window layouts.
Diffstat:
M sfeed_curses.c | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
DIR diff --git a/sfeed_curses.c b/sfeed_curses.c
@@ -1557,6 +1557,7 @@ mousereport(int button, int release, int x, int y)
pane_scrollpage(p, button == 3 ? -1 : +1);
break;
}
+ return; /* do not bubble events */
}
}