diff --git a/src/tint.c b/src/tint.c index 6330ef0..23a0f8c 100644 --- a/src/tint.c +++ b/src/tint.c @@ -239,6 +239,9 @@ void init_X11_pre_config() // config file use '.' as decimal separator setlocale(LC_NUMERIC, "POSIX"); + /* Catch events */ + XSelectInput (server.dsp, server.root_win, PropertyChangeMask|StructureNotifyMask); + // get monitor and desktop config get_monitors(); get_desktops(); @@ -277,9 +280,6 @@ void init_X11_post_config() imlib_context_set_visual (server.visual); imlib_context_set_colormap (server.colormap); - /* Catch events */ - XSelectInput (server.dsp, server.root_win, PropertyChangeMask|StructureNotifyMask); - // load default icon gchar *path; const gchar * const *data_dirs;