/*
 * src/input.h - working set management
 *
 * Copyright (C) 1999, 2000 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
 *
 * This 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 software 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 package; see the file COPYING.  If not, write to
 * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 * Boston, MA 02111-1307, USA.  
 */

#ifndef __INPUT_H__
#define __INPUT_H__

#if HAVE_CONFIG_H
# include <config.h>
#endif 

#include <X11/Xlib.h>

/*
 * The window for displaying the working set name after a switch.
 */
extern Window input_window;

/*
 * Draw the contents of the woking set indicator window.
 */ 
void draw_input_window (void);

/*
 * Gets called every 10th of a second.  Delete the working set
 * indicator as soon as it times out.
 */
void input_tick (void);

result_t input_create (void);

void input_handle_key (XKeyEvent * event);

#endif /* not __INPUT_H__ */

