Update popup.c

This commit is contained in:
Konstantin 2023-06-02 11:16:48 -04:00 committed by GitHub
parent b334b82db8
commit 7c1501271c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -186,6 +186,11 @@ int main()
XftDraw *draw = XftDrawCreate(dpy, window, visual, colormap);
XftColorAllocName(dpy, visual, colormap, font_color, &color);
XClassHint classhint = { "popup", "Popup" };
XSetClassHint(dpy, window, &classhint);
XSelectInput(dpy, window, ExposureMask | ButtonPress);
XMapWindow(dpy, window);