X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=wm.h;h=024faa771f8bd17b5df0598fcd093c001db98a7d;hb=5c5c67d14ad1789cbcd090f04cddd37aab39d979;hp=4b1d834a36907fed08c08dd0aaacc5219a71af8a;hpb=c00388973ecb2af94cc7b74ef762f0b8d10741e6;p=wmpus diff --git a/wm.h b/wm.h index 4b1d834..024faa7 100644 --- a/wm.h +++ b/wm.h @@ -1,5 +1,9 @@ void wm_init(win_t *root); -void wm_handle_key(win_t *win, Key_t key, mod_t mod, ptr_t ptr); +int wm_handle_key(win_t *win, Key_t key, mod_t mod, ptr_t ptr); -void wm_handle_ptr(win_t *win, ptr_t ptr); +int wm_handle_ptr(win_t *win, ptr_t ptr); + +void wm_insert(win_t *win); + +void wm_remove(win_t *win);