1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-02-11 03:05:52 +01:00

added quick&dirty game

This commit is contained in:
kojima
2000-04-09 21:46:54 +00:00
parent 27e161cea4
commit 779cdb0dd4
4 changed files with 204 additions and 7 deletions

View File

@@ -897,10 +897,12 @@ makeDraggableLabel(WMWidget *w, char *file, int x, int y)
ButtonPressMask|ButtonReleaseMask|ButtonMotionMask,
iconMouseStuff, label);
WMSetLabelImagePosition(label, WIPImageOnly);
WMSetLabelImage(label, image);
WMReleasePixmap(image);
if (image != NULL) {
WMSetLabelImagePosition(label, WIPImageOnly);
WMSetLabelImage(label, image);
WMReleasePixmap(image);
} else puts(file);
return label;
}