]> Dogcows Code - chaz/openbox/blobdiff - util/epist/window.hh
added the lex source file
[chaz/openbox] / util / epist / window.hh
index df925ad69081d238e3157e41f454a1314f2c70b8..65ceda7bebf2302ff5c9c9b80c6110229ac46d03 100644 (file)
@@ -57,7 +57,10 @@ private:
   std::string _app_name;
   std::string _app_class;
   Rect _rect;
+  int _inc_x, _inc_y; // resize increments
+  int _base_x, _base_y; // base size
   int _gravity;
+  bool _can_focus;
 
   // states
   bool _shaded;
@@ -68,24 +71,25 @@ private:
   bool _unmapped;
 
   void updateDimentions();
-  void updateGravity();
+  void updateNormalHints();
+  void updateWMHints();
   void updateState();
   void updateDesktop();
   void updateTitle();
   void updateClass();
 
-  void findFramePosition(int &x, int &y) const;
-
 public:
   XWindow(epist *epist, screen *screen, Window window);
   virtual ~XWindow();
 
+  inline screen *getScreen() const { return _screen; }
   inline Window window() const { return _window; }
   
   inline unsigned int desktop() const { return _desktop; }
   inline const std::string &title() const { return _title; }
   inline const std::string &appName() const { return _app_name; }
   inline const std::string &appClass() const { return _app_class; }
+  inline bool canFocus() const { return _can_focus; }
   
   inline bool shaded() const { return _shaded; }
   inline bool iconic() const { return _iconic; }
This page took 0.025107 seconds and 4 git commands to generate.