]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/systemkeyboardinput.h
Rework how widget ownership works in Container
[libs/gltk.git] / source / systemkeyboardinput.h
index 1b37e543cbe7917199491bf5c5f49da4ef1d52a5..9e4b3625701f824a19285c945fc0b7463389d99f 100644 (file)
@@ -3,15 +3,16 @@
 
 #include <msp/input/keyboard.h>
 #include "inputmethod.h"
+#include "mspgltk_api.h"
 
 namespace Msp {
 namespace GLtk {
 
-class SystemKeyboardInput: public InputMethod, public sigc::trackable
+class MSPGLTK_API SystemKeyboardInput: public InputMethod, public sigc::trackable
 {
 private:
        Input::Keyboard &keyboard;
-       unsigned modifier_state;
+       unsigned modifier_state = 0;
 
 public:
        SystemKeyboardInput(Root &, Input::Keyboard &);