diff options
Diffstat (limited to 'plugingui/globalcontext.cc')
-rw-r--r-- | plugingui/globalcontext.cc | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/plugingui/globalcontext.cc b/plugingui/globalcontext.cc index ce97959..0edcb74 100644 --- a/plugingui/globalcontext.cc +++ b/plugingui/globalcontext.cc @@ -26,16 +26,18 @@ */ #include "globalcontext.h" -GlobalContext::GlobalContext() +GUI::GlobalContext::GlobalContext() { - keyboardFocus = NULL; - #ifdef X11 display = XOpenDisplay(NULL); #endif/*X11*/ + +#ifdef WIN32 + eventhandler = NULL; +#endif/*WIN32*/ } -GlobalContext::~GlobalContext() +GUI::GlobalContext::~GlobalContext() { #ifdef X11 XCloseDisplay(display); |