ui: Correctly make window "float" on to the foreground on windows when activating it
This commit is contained in:
parent
5759f163e3
commit
69def38152
@ -30,6 +30,7 @@
|
||||
|
||||
static LRESULT windowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) {
|
||||
switch (uMsg) {
|
||||
case WM_NCACTIVATE:
|
||||
case WM_NCPAINT:
|
||||
return DefWindowProcW(hwnd, uMsg, wParam, lParam);
|
||||
case WM_NCCALCSIZE: {
|
||||
|
Loading…
Reference in New Issue
Block a user