From 292f4c8f9dd645563b79a44ee966245152f1b23a Mon Sep 17 00:00:00 2001 From: sabetts Date: Sat, 10 Feb 2001 22:56:13 +0000 Subject: * communications.c (send_restart, send_kill): Added * ratpoison.h: includes communications.h * main.c (send_restart, send_kill): Moved to communications.c * list.c (get_mouse_root_position): Added (add_to_window_list): Initialize new rp_window fields (save_mouse_position): Added (set_active_window): Added code to save and restore the position of the mouse * events.c (property_notify): Added code to listen for a WM_TRANSIENT_FOR property change. * data.h (struct rp_window): Added transient, transient_for, mouse_x, mouse_y. * actions.c (maximize_transient): Added (maximize): Added code to handle transient windows differently * Makefile.am (ratpoison_SOURCES): Added communications.h and communications.c --- src/actions.h | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) (limited to 'src/actions.h') diff --git a/src/actions.h b/src/actions.h index b9fc2a1..ad30c2f 100644 --- a/src/actions.h +++ b/src/actions.h @@ -1,5 +1,22 @@ -/* actions.h -- prototypes of all actions that can be performed with - keystrokes */ +/* + * Copyright (C) 2000 Shawn Betts + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this software; see the file COPYING. If not, write to + * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307 USA */ + +/* Prototypes of all actions that can be performed with keystrokes. */ void switch_to(void *which); void bye(void *dummy); -- cgit v1.2.3