The cursor was set using gdk_window_set_cursor() even in gdk_window_new(). So instead of having yet another flag, just make the users of that flag call gdk_window_set_cursor() directly after the window was created.