Skip to content

Commit 7308c94

Browse files
authored
Merge pull request #16 from vanowm/patch-3
Check if window minimized
2 parents 34b536a + 1c20efe commit 7308c94

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/modules/ctypes/winnt/user32.jsm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ function user32_defines(lib) {
120120
lib.lazy_bind("DestroyWindow", win32.BOOL, win32.HWND);
121121
lib.lazy_bind("ShowWindow", win32.BOOL, win32.HWND, ctypes.int);
122122
lib.lazy_bind("IsWindowVisible", win32.BOOL, win32.HWND);
123+
lib.lazy_bind("IsIconic", win32.BOOL, win32.HWND);
123124

124125
this.SW_HIDE = 0;
125126
this.SW_SHOWNORMAL = 1;

0 commit comments

Comments
 (0)