]> git.tdb.fi Git - libs/gui.git/blobdiff - source/gbase/window.h
Various fixes to Window resizing and fullscreen handling on X11
[libs/gui.git] / source / gbase / window.h
index 9dc84e4e623cd45bbf90dc08f348b7139da85c11..38ffb6d5aee967ad81121f8bde8a1abc34b971b6 100644 (file)
@@ -43,12 +43,17 @@ public:
 protected:
        Display &display;
        WindowOptions options;
+       bool visible;
        bool kbd_autorepeat;
+       bool resizing;
        Private *priv;
 
 public:
        Window(Display &, unsigned w, unsigned h, bool fs=false);
        Window(Display &, const WindowOptions &);
+private:
+       void init();
+public:
        ~Window();
 
        void set_title(const std::string &);
@@ -68,8 +73,6 @@ public:
        void hide();
 
        bool event(const Event &evnt);
-protected:
-       void init();
 };
 
 } // namespace Graphics