From f7cd6805a47e9cc04febf73f977c9d9ff2bceefb Mon Sep 17 00:00:00 2001 From: fluxgen Date: Wed, 6 Feb 2002 17:12:39 +0000 Subject: added eventhandling functions --- src/fluxbox.hh | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/src/fluxbox.hh b/src/fluxbox.hh index 7cbf237..7f9f4e4 100644 --- a/src/fluxbox.hh +++ b/src/fluxbox.hh @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: fluxbox.hh,v 1.8 2002/01/20 02:18:18 fluxgen Exp $ +// $Id: fluxbox.hh,v 1.9 2002/02/06 17:12:39 fluxgen Exp $ #ifndef _FLUXBOX_HH_ #define _FLUXBOX_HH_ @@ -205,6 +205,16 @@ public: typedef std::vector TitlebarList; private: + void handleButtonEvent(XButtonEvent &be); + void handleClientMessage(XClientMessageEvent &ce); + void handleKeyEvent(XKeyEvent &ke); + void doWindowAction(Keys::KeyAction action); + #ifdef GNOME + bool checkGnomeAtoms(XClientMessageEvent &ce); + #endif + #ifdef NEWWMSPEC + bool checkNETWMAtoms(XClientMessageEvent &ce); + #endif typedef struct MenuTimestamp { char *filename; time_t timestamp; @@ -258,14 +268,14 @@ private: Atom fluxbox_pid; #endif // HAVE_GETPID - Bool no_focus, reconfigure_wait, reread_menu_wait; + bool no_focus, reconfigure_wait, reread_menu_wait; Time last_time; Window masked; char *rc_file, **argv; int argc; Keys *key; - void doWindowAction(Keys::KeyAction action); + protected: Fluxbox(int, char **, char * = 0, char * = 0); char *getRcFilename(); -- cgit v0.11.2