diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_win32.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Fl_win32.cxx b/src/Fl_win32.cxx index cad32aa1c..728e25557 100644 --- a/src/Fl_win32.cxx +++ b/src/Fl_win32.cxx @@ -1466,7 +1466,9 @@ static LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lPar if ((GetAsyncKeyState(VK_LWIN) | GetAsyncKeyState(VK_RWIN)) & ~1) state |= FL_META; Fl::e_state = state; - return 0; + Fl::handle(FL_APP_ACTIVATE, nullptr); + } else { + Fl::handle(FL_APP_DEACTIVATE, nullptr); } break; |
