summary refs log tree commit diff stats
path: root/src/common
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2013-04-13 23:03:54 -0400
committerTingPing <tingping@tingping.se>2013-04-13 23:03:54 -0400
commite67371d269eab88bb684a7c5d5e37190cdf805dd (patch)
tree2d6bdb0f31a8d74a5d6bbeebfb1d2009a4aaec6f /src/common
parenta99654957759e39c3272c1b4fa7c0deb5d85c4e6 (diff)
Add option for omitting alerts while focused
Diffstat (limited to 'src/common')
-rw-r--r--src/common/cfgfiles.c1
-rw-r--r--src/common/hexchat.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/common/cfgfiles.c b/src/common/cfgfiles.c
index ac9120e1..d3c2046d 100644
--- a/src/common/cfgfiles.c
+++ b/src/common/cfgfiles.c
@@ -426,6 +426,7 @@ const struct prefs vars[] =
 	{"gui_dialog_left", P_OFFINT (hex_gui_dialog_left), TYPE_INT},
 	{"gui_dialog_top", P_OFFINT (hex_gui_dialog_top), TYPE_INT},
 	{"gui_dialog_width", P_OFFINT (hex_gui_dialog_width), TYPE_INT},
+	{"gui_focus_omitalerts", P_OFFINT (hex_gui_focus_omitalerts), TYPE_BOOL},
 	{"gui_hide_menu", P_OFFINT (hex_gui_hide_menu), TYPE_BOOL},
 	{"gui_input_icon", P_OFFINT (hex_gui_input_icon), TYPE_BOOL},
 	{"gui_input_nick", P_OFFINT (hex_gui_input_nick), TYPE_BOOL},
diff --git a/src/common/hexchat.h b/src/common/hexchat.h
index 06bd3d4d..3291d93a 100644
--- a/src/common/hexchat.h
+++ b/src/common/hexchat.h
@@ -150,6 +150,7 @@ struct hexchatprefs
 	unsigned int hex_gui_autoopen_recv;
 	unsigned int hex_gui_autoopen_send;
 	unsigned int hex_gui_compact;
+	unsigned int hex_gui_focus_omitalerts;
 	unsigned int hex_gui_hide_menu;
 	unsigned int hex_gui_input_icon;
 	unsigned int hex_gui_input_nick;