| 21 |
|
#include "color.h" |
| 22 |
|
#include "driver.h" |
| 23 |
|
#include "x11twind.h" |
| 24 |
+ |
#include "x11icon.h" |
| 25 |
|
|
| 26 |
|
#define GAMMA 2.2 /* exponent for color correction */ |
| 27 |
|
|
| 130 |
|
/* create a cursor */ |
| 131 |
|
pickcursor = XCreateFontCursor(ourdisplay, XC_diamond_cross); |
| 132 |
|
ourgc = XCreateGC(ourdisplay, gwind, 0, NULL); |
| 133 |
< |
ourxwmhints.flags = InputHint; |
| 133 |
> |
ourxwmhints.flags = InputHint|IconPixmapHint; |
| 134 |
|
ourxwmhints.input = True; |
| 135 |
+ |
ourxwmhints.icon_pixmap = XCreateBitmapFromData(ourdisplay, |
| 136 |
+ |
gwind, x11icon_bits, x11icon_width, x11icon_height); |
| 137 |
|
XSetWMHints(ourdisplay, gwind, &ourxwmhints); |
| 138 |
|
oursizhints.min_width = MINWIDTH; |
| 139 |
|
oursizhints.min_height = MINHEIGHT+COMHEIGHT; |