diff --git a/mbiff/mail.c b/mbiff/mail.c index 7479bd5..ff9192f 100644 --- a/mbiff/mail.c +++ b/mbiff/mail.c @@ -28,6 +28,9 @@ void check_mail(void){ MwVaApply(image, MwNpixmap, full, NULL); + MwVaApply(window, + MwNiconPixmap, full, + NULL); } last = s.st_mtime; diff --git a/mbiff/main.c b/mbiff/main.c index 6fa06bc..db4f6ef 100644 --- a/mbiff/main.c +++ b/mbiff/main.c @@ -41,6 +41,9 @@ static void mouseUp(MwWidget handle, void* user, void* client){ (void)user; (void)client; + MwVaApply(window, + MwNiconPixmap, empty, + NULL); MwVaApply(image, MwNpixmap, empty, NULL); @@ -60,6 +63,8 @@ int main() { if(empty == NULL) empty = MwLoadXPM(window, mailempty); if(full == NULL) full = MwLoadXPM(window, mailfull); + MwVaApply(window, MwNiconPixmap, empty, NULL); + image = MwVaCreateWidget(MwImageClass, "image", window, 0, 0, 128, 128, MwNpixmap, empty, NULL);