replace IsIconic with custom function
This commit is contained in:
parent
5c23d2d8a5
commit
66e86aa37c
7 changed files with 17 additions and 8 deletions
|
@ -11,6 +11,13 @@
|
|||
#include "config.h"
|
||||
|
||||
|
||||
BOOL util_is_minimized(HWND hwnd)
|
||||
{
|
||||
RECT rc = { 0 };
|
||||
|
||||
return IsIconic(hwnd) || (real_GetClientRect(hwnd, &rc) && (rc.right - rc.left == 0 || rc.bottom - rc.top == 0));
|
||||
}
|
||||
|
||||
BOOL util_is_avx_supported()
|
||||
{
|
||||
const DWORD XMM_STATE_BIT = 1 << 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue