mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-03 23:05:46 +01:00
repaint label after color change
This commit is contained in:
@@ -167,6 +167,10 @@ WMSetLabelTextColor(WMLabel *lPtr, WMColor *color)
|
||||
if (lPtr->textColor)
|
||||
WMReleaseColor(lPtr->textColor);
|
||||
lPtr->textColor = WMRetainColor(color);
|
||||
|
||||
if (lPtr->view->flags.realized) {
|
||||
paintLabel(lPtr);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user