mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-27 21:19:18 +00:00
Avoid giving F10 and Alt keys to the system on Win32/Skia port
This commit is contained in:
parent
189ee56c4c
commit
a90a70bd1e
@ -339,9 +339,10 @@ namespace she {
|
||||
queueEvent(ev);
|
||||
}
|
||||
}
|
||||
break;
|
||||
return 0;
|
||||
}
|
||||
|
||||
case WM_SYSKEYUP:
|
||||
case WM_KEYUP: {
|
||||
Event ev;
|
||||
ev.setType(Event::KeyUp);
|
||||
@ -349,7 +350,10 @@ namespace she {
|
||||
ev.setUnicodeChar(0);
|
||||
ev.setRepeat(lparam & 15);
|
||||
queueEvent(ev);
|
||||
break;
|
||||
|
||||
// TODO If we use native menus, this message should be given
|
||||
// to the DefWindowProc() in some cases (e.g. F10 or Alt keys)
|
||||
return 0;
|
||||
}
|
||||
|
||||
case WM_DROPFILES: {
|
||||
|
Loading…
Reference in New Issue
Block a user