remove temporary findwindow hack

This commit is contained in:
itsmattkc 2023-04-29 17:28:47 -07:00
parent a8db3c1ac4
commit 812ac70957

View file

@ -7,9 +7,6 @@
BOOL findExistingInstance(void) BOOL findExistingInstance(void)
{ {
// FIXME: temp
return 1;
HWND hWnd = FindWindowA(WNDCLASS_NAME, WINDOW_TITLE); HWND hWnd = FindWindowA(WNDCLASS_NAME, WINDOW_TITLE);
if (hWnd) { if (hWnd) {
if (SetForegroundWindow(hWnd)) { if (SetForegroundWindow(hWnd)) {