summaryrefslogtreecommitdiff
path: root/ldmicro/linuxUI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ldmicro/linuxUI.cpp')
-rw-r--r--ldmicro/linuxUI.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/ldmicro/linuxUI.cpp b/ldmicro/linuxUI.cpp
index b7fa4aa..2722101 100644
--- a/ldmicro/linuxUI.cpp
+++ b/ldmicro/linuxUI.cpp
@@ -1,8 +1,7 @@
#include "linuxUI/linuxUI.h"
-int main (int argc, char**argv)
+/// Wraper function for gtk_window_has_toplevel_focus
+BOOL isFocus(HWND window)
{
- int status = 0;
-
- return status;
+ return (BOOL) gtk_window_has_toplevel_focus(GTK_WINDOW(window));
} \ No newline at end of file