/* The GPLv3 License (GPLv3) Copyright (c) 2022 Akos Horvath 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 3 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. You should have received a copy of the GNU General Public License along with this program. If not, see . */ #ifndef HANDLER_H #define HANDLER_H #include #include #include #include #include #include #include #include #include "wm.h" static int wm_xerror_handler(Wm *wm, Display *display, XErrorEvent *e); static int wm_other_wm_handler(Display *display, XErrorEvent *e); void wm_create_handler(Wm *wm, XCreateWindowEvent e); void wm_destroy_handler(Wm *wm, XDestroyWindowEvent e); void wm_reparent_handler(XReparentEvent e); void wm_keyrelease_handler(XKeyReleasedEvent e); void wm_keypress_handler(Wm *wm, XKeyPressedEvent e); void wm_maprequest_handler(Wm *wm, XMapRequestEvent e); void wm_motion_handler(Wm *wm, XMotionEvent e); void wm_configure_handler(Wm *wm, XConfigureRequestEvent e); #endif