X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fkeyboard.h;h=6ea1881d87731de6e7cd32c28dbf2336f69bd74e;hb=0aa7f70d91245d4a523c625d978063675ffc3ac7;hp=ec51fade448051b160469f548a96e93b3737463f;hpb=806a8c411f10c7a2292bfac15d77c8609f56ee71;p=chaz%2Fopenbox diff --git a/openbox/keyboard.h b/openbox/keyboard.h index ec51fade..6ea1881d 100644 --- a/openbox/keyboard.h +++ b/openbox/keyboard.h @@ -1,3 +1,21 @@ +/* -*- indent-tabs-mode: nil; tab-width: 4; c-basic-offset: 4; -*- + + keyboard.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 ob__keybaord_h #define ob__keybaord_h @@ -16,16 +34,16 @@ void keyboard_startup(gboolean reconfig); void keyboard_shutdown(gboolean reconfig); gboolean keyboard_bind(GList *keylist, ObAction *action); +void keyboard_unbind_all(); void keyboard_event(struct _ObClient *client, const XEvent *e); void keyboard_reset_chains(); void keyboard_interactive_grab(guint state, struct _ObClient *client, - ObFrameContext context, struct _ObAction *action); gboolean keyboard_process_interactive_grab(const XEvent *e, - struct _ObClient **client, - ObFrameContext *context); + struct _ObClient **client); +gboolean keyboard_interactive_grab_in_progress(); void keyboard_grab_for_client(struct _ObClient *c, gboolean grab);