1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-02-11 19:25:49 +01:00

fixed bugs of resized widgets

This commit is contained in:
kojima
2000-11-11 18:08:10 +00:00
parent 4d41658e1a
commit 52308a0abc
8 changed files with 116 additions and 17 deletions

View File

@@ -561,6 +561,18 @@ W_SetViewBackgroundColor(W_View *view, WMColor *color)
}
void
W_SetViewCursor(W_View *view, Cursor cursor)
{
view->cursor = cursor;
if (W_VIEW_REALIZED(view)) {
XDefineCursor(W_VIEW_DISPLAY(view), W_VIEW_DRAWABLE(view), cursor);
} else {
view->attribFlags |= CWCursor;
view->attribs.cursor = cursor;
}
}
W_View*
W_FocusedViewOfToplevel(W_View *view)
@@ -714,4 +726,3 @@ WMGetViewScreenPosition(WMView *view)
}