mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-21 04:32:05 +00:00
Add debug output for scroll events
This commit is contained in:
parent
fba629f385
commit
3a9c6088b2
1 changed files with 2 additions and 1 deletions
|
|
@ -816,7 +816,8 @@ mouse_event(const int button, int modifiers, int action) {
|
|||
}
|
||||
|
||||
void
|
||||
scroll_event(double UNUSED xoffset, double yoffset, int flags, int modifiers) {
|
||||
scroll_event(double xoffset, double yoffset, int flags, int modifiers) {
|
||||
debug("\x1b[36mScroll\x1b[m xoffset: %f yoffset: %f flags: %x modifiers: %s\n", xoffset, yoffset, flags, format_mods(modifiers));
|
||||
bool in_tab_bar;
|
||||
static id_type window_for_momentum_scroll = 0;
|
||||
static bool main_screen_for_momentum_scroll = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue