commit - c9a3bfaa39dc4b1124d72146b051f226cceb44f0
commit + 7ef37ee0e788ed5532eb59ac3b08b9d1a7dea5b0
blob - 87291ebf019e5939fe074eb39ee72e0eee65fbad
blob + 2f32f904b039999a88cc1c679e9fa8377e95f539
--- mymenu.c
+++ mymenu.c
fprintf(stderr, "Could not allocate memory for class hint\n");
exit(EX_UNAVAILABLE);
}
- class_hint->res_name = "mymenu";
- class_hint->res_class = "mymenu";
+ class_hint->res_name = resname;
+ class_hint->res_class = resclass;
XSetClassHint(d, w, class_hint);
XFree(class_hint);
fprintf(stderr, "Could not allocate memory for size hint\n");
exit(EX_UNAVAILABLE);
}
+ size_hint->flags = PMinSize | PBaseSize;
size_hint->min_width = width;
size_hint->base_width = width;
size_hint->min_height = height;