1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-02-14 12:55:47 +01:00

GNOME mouseclickproxy thing fix

added WorkspaceNameDisplayPosition
balloon updates
bug fixes
This commit is contained in:
kojima
1999-04-25 21:43:50 +00:00
parent fe2e0156e0
commit d3609d3449
28 changed files with 3473 additions and 1573 deletions

View File

@@ -285,7 +285,7 @@ WMSetButtonImage(WMButton *bPtr, WMPixmap *image)
if (image) {
bPtr->dimage = WMCreatePixmapFromXPixmaps(WMWidgetScreen(bPtr),
image->pixmap, None,
image->pixmap, None,
image->width, image->height,
image->depth);
updateDisabledMask(bPtr);
@@ -554,7 +554,7 @@ paintButton(Button *bPtr)
gc = NULL;
caption = bPtr->caption;
if (bPtr->flags.enabled)
if (bPtr->flags.enabled || !bPtr->dimage)
image = bPtr->image;
else
image = bPtr->dimage;
@@ -575,13 +575,13 @@ paintButton(Button *bPtr)
if (bPtr->altImage)
image = bPtr->altImage;
}
if (bPtr->flags.statePush && bPtr->flags.bordered) {
relief = WRSunken;
offset = 1;
}
}
if (bPtr->flags.pushed) {
if (bPtr->flags.pushIn) {
relief = WRPushed;
@@ -589,7 +589,7 @@ paintButton(Button *bPtr)
}
if (bPtr->flags.pushLight)
gc = WMColorGC(scrPtr->white);
if (bPtr->flags.pushChange) {
if (bPtr->altCaption) {
caption = bPtr->altCaption;