fixed bugs of resized widgets

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

No files matched your search

+12 -1
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)
}