give the grips cursors
This commit is contained in:
parent
bdc491ccfe
commit
fa05dc56ea
2 changed files with 7 additions and 0 deletions
|
@ -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)
|
||||
|
|
|
@ -51,6 +51,9 @@ OBFrame::OBFrame(OBClient *client, otk::Style *style)
|
|||
_grip_right.unmanaged();
|
||||
_plate.unmanaged();
|
||||
|
||||
_grip_left.setCursor(Openbox::instance->cursors().ll_angle);
|
||||
_grip_right.setCursor(Openbox::instance->cursors().lr_angle);
|
||||
|
||||
_plate.show();
|
||||
|
||||
_button_close.setText("X");
|
||||
|
|
Loading…
Reference in a new issue