X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fevent.h;h=ea00732a8da4f94ae9c6a2b916b54b694dcfef6e;hb=c4e4760c41f10aae6af19a4363cb247c71edee4b;hp=b8f567a8d9c41978636d10cf2969db1957ba6029;hpb=78a8680cd7379cc0d75af810dabe62c7a6c4a8b2;p=chaz%2Fopenbox diff --git a/openbox/event.h b/openbox/event.h index b8f567a8..ea00732a 100644 --- a/openbox/event.h +++ b/openbox/event.h @@ -1,3 +1,21 @@ +/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*- + + event.h for the Openbox window manager + Copyright (c) 2003 Ben Jansens + + 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 of the License, 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. + + See the COPYING file for a copy of the GNU General Public License. +*/ + #ifndef __events_h #define __events_h @@ -7,22 +25,11 @@ extern Time event_lasttime; /*! The value of the mask for the NumLock modifier */ -extern unsigned int NumLockMask; +extern guint NumLockMask; /*! The value of the mask for the ScrollLock modifier */ -extern unsigned int ScrollLockMask; - -void event_startup(); -void event_shutdown(); - -typedef struct event_fd_handler { - int fd; - void *data; - void (*handler)(int fd, void *data); -} event_fd_handler; - -void event_add_fd_handler(event_fd_handler *handler); -void event_remove_fd(int n); +extern guint ScrollLockMask; -void event_loop(); +void event_startup(gboolean reconfig); +void event_shutdown(gboolean reconfig); #endif