1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-26 04:17:33 +00:00

clarify what the preprocessor define does here

This commit is contained in:
Phil Sutter 2009-05-31 18:40:07 +02:00
parent f3fd389ea0
commit 8407d6b3c9

View File

@ -496,13 +496,12 @@ void init_window(int own_window, int w, int h, int set_trans, int back_colour,
} */
#endif
XSelectInput(display, window.window, ExposureMask
#ifdef OWN_WINDOW
XSelectInput(display, window.window, ExposureMask |
(own_window ? (StructureNotifyMask | PropertyChangeMask |
ButtonPressMask | ButtonReleaseMask) : 0));
#else
XSelectInput(display, window.window, ExposureMask);
| (own_window ? (StructureNotifyMask | PropertyChangeMask |
ButtonPressMask | ButtonReleaseMask) : 0)
#endif
);
}
static Window find_subwindow(Window win, int w, int h)