summaryrefslogtreecommitdiff
path: root/plugins/KeyboardNotify/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/KeyboardNotify/main.cpp')
-rw-r--r--plugins/KeyboardNotify/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/KeyboardNotify/main.cpp b/plugins/KeyboardNotify/main.cpp
index b1e61b278d..66ee22dcf9 100644
--- a/plugins/KeyboardNotify/main.cpp
+++ b/plugins/KeyboardNotify/main.cpp
@@ -417,7 +417,7 @@ BOOL isFullScreen()
while (hWnd = FindWindowEx(NULL, hWnd, NULL, NULL)) {
RECT WindowRect;
- if (!(GetWindowLong(hWnd, GWL_EXSTYLE) & WS_EX_TOPMOST))
+ if (!(GetWindowLongPtr(hWnd, GWL_EXSTYLE) & WS_EX_TOPMOST))
continue;
GetWindowRect(hWnd, &WindowRect);