Update popup.c
This commit is contained in:
parent
b334b82db8
commit
7c1501271c
5
popup.c
5
popup.c
|
@ -186,6 +186,11 @@ int main()
|
||||||
XftDraw *draw = XftDrawCreate(dpy, window, visual, colormap);
|
XftDraw *draw = XftDrawCreate(dpy, window, visual, colormap);
|
||||||
XftColorAllocName(dpy, visual, colormap, font_color, &color);
|
XftColorAllocName(dpy, visual, colormap, font_color, &color);
|
||||||
|
|
||||||
|
|
||||||
|
XClassHint classhint = { "popup", "Popup" };
|
||||||
|
XSetClassHint(dpy, window, &classhint);
|
||||||
|
|
||||||
|
|
||||||
XSelectInput(dpy, window, ExposureMask | ButtonPress);
|
XSelectInput(dpy, window, ExposureMask | ButtonPress);
|
||||||
XMapWindow(dpy, window);
|
XMapWindow(dpy, window);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue