]> Dogcows Code - chaz/openbox/blobdiff - otk/widget.hh
keyboard bindings are functional
[chaz/openbox] / otk / widget.hh
index 93121c85bd2497de94711e64e3fdd5d7edd837f4..07b6c0845ba1d38039bfa6acab9d6641eb6e0466 100644 (file)
@@ -52,7 +52,7 @@ public:
   inline bool visible() const { return _visible; }
 
   virtual void update();
-  virtual void refresh() { _dirty = true; render(); }
+  virtual void refresh() { if (_visible) { _dirty = true; render(); } }
   
   virtual void setBevel(int b);
   inline int bevel() const { return _bevel; }
This page took 0.023578 seconds and 4 git commands to generate.