Skip to content

Commit

Permalink
Merge pull request #77 from gymadarasz/bugfix/destroy_highlight_win
Browse files Browse the repository at this point in the history
Fix for screen highlight window minimized intead close
  • Loading branch information
s1hofmann authored Aug 11, 2021
2 parents 2312c1c + f74224e commit 8575edb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/win32/highlightwindow.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ LRESULT CALLBACK WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
switch(wParam) {
case ID_CLOSE_TIMER:
KillTimer(hwnd, ID_CLOSE_TIMER);
CloseWindow(hwnd);
DestroyWindow(hwnd);
PostQuitMessage(0);
return 0;
}
Expand Down

0 comments on commit 8575edb

Please sign in to comment.