summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorsabetts <sabetts>2004-04-04 06:27:14 +0000
committersabetts <sabetts>2004-04-04 06:27:14 +0000
commit2b7f041cc97a585dab19e37ba18c3d1a923c20c5 (patch)
treec935cda7e714f13fc4f25a2c5d3a015532d1a26a /src/main.c
parent54df55b2f7822f9e79d131fe158e43e286b720ec (diff)
downloadratpoison-2b7f041cc97a585dab19e37ba18c3d1a923c20c5.zip
* src/main.c (init_defaults): init frame_selectors.
* src/data.h (struct rp_defaults): new field, frame_selectors. * src/actions.h (cmd_defframesels): new prototype * src/actions.c (user_commands): new command defframesels (frame_selector): new function (frame_selector_match): likewise (cmd_defframesels): likewise (cmd_fselect): use default.frame_selectors to select a frame.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index aace543..26a1309 100644
--- a/src/main.c
+++ b/src/main.c
@@ -494,6 +494,7 @@ init_defaults ()
defaults.window_list_style = STYLE_ROW;
defaults.history_size = 20;
+ defaults.frame_selectors = xstrdup ("");
}
int