]> Dogcows Code - chaz/openbox/blobdiff - otk/widget.hh
better double click processing
[chaz/openbox] / otk / widget.hh
index 2e58cc9928459726876bb984822dd56ccbabd117..57973e9b35594b553908e0d534630f9326545608 100644 (file)
@@ -88,6 +88,10 @@ public:
   void setStretchableVert(bool s_vert = true)  { _stretchable_vert = s_vert; }
 
   inline Cursor getCursor(void) const { return _cursor; }
+  void setCursor(Cursor cursor) {
+    _cursor = cursor;
+    XDefineCursor(OBDisplay::display, _window, _cursor);
+  }
 
   inline int getBevelWidth(void) const { return _bevel_width; }
   void setBevelWidth(int bevel_width)
This page took 0.023879 seconds and 4 git commands to generate.