mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 18:14:25 +03:00
(mouse_get_local): initialize local.modifiers.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
2f69f5b929
commit
76d61edc1e
@ -359,6 +359,7 @@ mouse_get_local (const Gpm_Event * global, const Widget * w)
|
||||
Gpm_Event local;
|
||||
|
||||
local.buttons = global->buttons;
|
||||
local.modifiers = 0;
|
||||
local.x = global->x - w->x;
|
||||
local.y = global->y - w->y;
|
||||
local.type = global->type;
|
||||
|
Loading…
Reference in New Issue
Block a user