Browse Source

General: Export variable that tells if desktop is in foreground

pull/1197/head
Valentin Radu 4 years ago
parent
commit
ece5c941b5
  1. 6
      ExplorerPatcher/dllmain.c

6
ExplorerPatcher/dllmain.c

@ -187,7 +187,7 @@ DWORD S_Icon_Dark_TaskView = 0;
void* P_Icon_Dark_Widgets = NULL; void* P_Icon_Dark_Widgets = NULL;
DWORD S_Icon_Dark_Widgets = 0; DWORD S_Icon_Dark_Widgets = 0;
BOOL g_bIsDesktopRaised = FALSE;
#include "utility.h" #include "utility.h"
#include "resource.h" #include "resource.h"
@ -2416,6 +2416,10 @@ INT64 Shell_TrayWndSubclassProc(
DestroyMenu(hMenu); DestroyMenu(hMenu);
} }
} }
else if (uMsg == 1368)
{
g_bIsDesktopRaised = (lParam & 1) == 0;
}
return DefSubclassProc(hWnd, uMsg, wParam, lParam); return DefSubclassProc(hWnd, uMsg, wParam, lParam);
} }
#endif #endif

Loading…
Cancel
Save