summaryrefslogtreecommitdiff
path: root/src/globals.c
diff options
context:
space:
mode:
authorEric A <eric225125@gmail.com>2010-04-12 10:37:03 -0700
committerShawn Betts <sabetts@Woaaahdudelike.local>2010-04-12 10:37:03 -0700
commitfdd42223cfc6751e4c632daef64189dbcfc2abe8 (patch)
tree61d0607f419c3d6aef1f4189fcd04724197eeffc /src/globals.c
parent526b74d89dfad6772d15004228ff617898918daf (diff)
downloadratpoison-fdd42223cfc6751e4c632daef64189dbcfc2abe8.zip
add a new_window_hook to the map_window function of manage.c.
Diffstat (limited to 'src/globals.c')
-rw-r--r--src/globals.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/globals.c b/src/globals.c
index 9ebc8e3..eb94db6 100644
--- a/src/globals.c
+++ b/src/globals.c
@@ -231,6 +231,7 @@ LIST_HEAD (rp_switch_screen_hook);
LIST_HEAD (rp_quit_hook);
LIST_HEAD (rp_restart_hook);
LIST_HEAD (rp_delete_window_hook);
+LIST_HEAD (rp_new_window_hook);
struct rp_hook_db_entry rp_hook_db[]=
{{"key", &rp_key_hook},
@@ -241,6 +242,7 @@ struct rp_hook_db_entry rp_hook_db[]=
{"deletewindow", &rp_delete_window_hook},
{"quit", &rp_quit_hook},
{"restart", &rp_restart_hook},
+ {"newwindow", &rp_new_window_hook},
{NULL, NULL}};
void