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