mousereport: do not bubble events - sfeed_curses - sfeed curses UI (now part of… | |
git clone git://git.codemadness.org/sfeed_curses | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit e0bb2c9936288bb9cc1cb09c1b98bd6e3beb5729 | |
parent 774fbf2d627f98e1c00bf7c0080e9586bc8e6bd0 | |
Author: Hiltjo Posthuma <[email protected]> | |
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(-) | |
--- | |
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 */ | |
} | |
} | |