split up wm.c into multiple files
This commit is contained in:
25
handler.h
Normal file
25
handler.h
Normal file
@ -0,0 +1,25 @@
|
||||
#ifndef HANDLER_H
|
||||
#define HANDLER_H
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <stdbool.h>
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/Xutil.h>
|
||||
#include <X11/Xresource.h>
|
||||
#include <X11/Xproto.h>
|
||||
#include <X11/Xatom.h>
|
||||
#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
|
Reference in New Issue
Block a user