mirror of
https://github.com/mintycube/dmenu.git
synced 2024-10-22 14:05:48 +02:00
Alpha vs wmtype patch correction
This commit is contained in:
parent
e9cfb59a5d
commit
138f352052
6
dmenu.c
6
dmenu.c
@ -82,9 +82,9 @@ static int use_text_input = 0;
|
||||
#endif // PRINTINPUTTEXT_PATCH
|
||||
|
||||
static Atom clip, utf8;
|
||||
#if WMTYPE_PATCH || ALPHA_PATCH
|
||||
#if WMTYPE_PATCH
|
||||
static Atom type, dock;
|
||||
#endif // WMTYPE_PATCH | ALPHA_PATCH
|
||||
#endif // WMTYPE_PATCH
|
||||
static Display *dpy;
|
||||
static Window root, parentwin, win;
|
||||
static XIC xic;
|
||||
@ -954,7 +954,7 @@ setup(void)
|
||||
|
||||
clip = XInternAtom(dpy, "CLIPBOARD", False);
|
||||
utf8 = XInternAtom(dpy, "UTF8_STRING", False);
|
||||
#if WMTYPE_PATCH || ALPHA_PATCH
|
||||
#if WMTYPE_PATCH
|
||||
type = XInternAtom(dpy, "_NET_WM_WINDOW_TYPE", False);
|
||||
dock = XInternAtom(dpy, "_NET_WM_WINDOW_TYPE_DOCK", False);
|
||||
#endif // WMTYPE_PATCH
|
||||
|
Loading…
Reference in New Issue
Block a user