Skip to content

Commit

Permalink
directvt#400 WIP: Don't rely on kb modifiers from mouse events
Browse files Browse the repository at this point in the history
  • Loading branch information
o-sdn-o committed Sep 15, 2023
1 parent 98b44f5 commit 5baa33c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/netxs/desktopio/system.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4180,7 +4180,6 @@ namespace netxs::os
break;
case MOUSE_EVENT:
{
os::nt::kbstate(kbmod, r.Event.MouseEvent.dwControlKeyState);
auto changed = 0;
check(changed, m.ctlstat, kbmod);
check(changed, m.buttons, r.Event.MouseEvent.dwButtonState & 0b00011111);
Expand Down

0 comments on commit 5baa33c

Please sign in to comment.