Move setting enums to settings.h

Not sure why these were in dunst.h in the first place since they are
mostly used by the settings struct.
This commit is contained in:
Nikos Tsipinakis 2017-01-27 16:33:23 +02:00
parent 964688699e
commit 63bb4ad857
2 changed files with 5 additions and 5 deletions

View File

@ -19,11 +19,6 @@
#define ColFG 1 #define ColFG 1
#define ColBG 0 #define ColBG 0
enum alignment { left, center, right };
enum icon_position_t { icons_left, icons_right, icons_off };
enum separator_color { FOREGROUND, AUTO, FRAME, CUSTOM };
enum follow_mode { FOLLOW_NONE, FOLLOW_MOUSE, FOLLOW_KEYBOARD };
extern int verbosity; extern int verbosity;
extern GQueue *queue; extern GQueue *queue;
extern GQueue *displayed; extern GQueue *displayed;

View File

@ -2,6 +2,11 @@
#ifndef DUNST_SETTINGS_H #ifndef DUNST_SETTINGS_H
#define DUNST_SETTINGS_H #define DUNST_SETTINGS_H
enum alignment { left, center, right };
enum icon_position_t { icons_left, icons_right, icons_off };
enum separator_color { FOREGROUND, AUTO, FRAME, CUSTOM };
enum follow_mode { FOLLOW_NONE, FOLLOW_MOUSE, FOLLOW_KEYBOARD };
typedef struct _settings { typedef struct _settings {
bool print_notifications; bool print_notifications;
bool allow_markup; bool allow_markup;