Only in ratdev/src: config.h Only in ratdev/src: config.h.in Only in ratdev/src: .deps diff -crB ratorig/src/events.c ratdev/src/events.c *** ratorig/src/events.c 2010-03-13 21:43:43.000000000 -0500 --- ratdev/src/events.c 2010-03-16 00:35:34.000000000 -0400 *************** *** 103,108 **** --- 103,109 ---- win = add_to_window_list (s, e->window); update_window_information (win); } + } static void *************** *** 204,209 **** --- 206,214 ---- } break; } + + // window map requested so run our new window hook + hook_run (&rp_new_window_hook); } static void diff -crB ratorig/src/globals.c ratdev/src/globals.c *** ratorig/src/globals.c 2010-03-13 21:43:43.000000000 -0500 --- ratdev/src/globals.c 2010-03-13 21:46:29.000000000 -0500 *************** *** 231,236 **** --- 231,237 ---- 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,246 **** --- 242,248 ---- {"deletewindow", &rp_delete_window_hook}, {"quit", &rp_quit_hook}, {"restart", &rp_restart_hook}, + {"createwin", &rp_new_window_hook}, {NULL, NULL}}; void diff -crB ratorig/src/globals.h ratdev/src/globals.h *** ratorig/src/globals.h 2010-03-13 21:43:43.000000000 -0500 --- ratdev/src/globals.h 2010-03-13 21:46:42.000000000 -0500 *************** *** 181,186 **** --- 181,187 ---- extern struct list_head rp_delete_window_hook; extern struct list_head rp_quit_hook; extern struct list_head rp_restart_hook; + extern struct list_head rp_new_window_hook; extern struct rp_hook_db_entry rp_hook_db[]; Only in ratdev/src: Makefile Only in ratdev/src: Makefile.in Only in ratdev/src: stamp-h1 diff -crB ratorig/src/window.c ratdev/src/window.c *** ratorig/src/window.c 2010-03-13 21:43:43.000000000 -0500 --- ratdev/src/window.c 2010-03-16 00:17:15.000000000 -0400 *************** *** 1,4 **** ! /* functions for handling the window list * Copyright (C) 2000, 2001, 2002, 2003, 2004 Shawn Betts * * This file is part of ratpoison. --- 1,4 ---- ! /* FUnctions for handling the window list * Copyright (C) 2000, 2001, 2002, 2003, 2004 Shawn Betts * * This file is part of ratpoison.