]> git.decadent.org.uk Git - ion3.git/blob - ioncore/netwm.h
Update cfg_kludge_flash for Flash 10
[ion3.git] / ioncore / netwm.h
1 /*
2  * ion/ioncore/netwm.h
3  *
4  * Copyright (c) Tuomo Valkonen 1999-2009. 
5  *
6  * See the included file LICENSE for details.
7  */
8
9 #ifndef ION_IONCORE_NETWM_H
10 #define ION_IONCORE_NETWM_H
11
12 #include "common.h"
13 #include "rootwin.h"
14 #include "screen.h"
15
16 #define _NET_WM_STATE_REMOVE        0    /* remove/unset property */
17 #define _NET_WM_STATE_ADD           1    /* add/set property */
18 #define _NET_WM_STATE_TOGGLE        2    /* toggle property  */
19
20 extern void netwm_init();
21 extern void netwm_init_rootwin(WRootWin *rw);
22
23 extern WScreen *netwm_check_initial_fullscreen(WClientWin *cwin);
24 extern void netwm_update_state(WClientWin *cwin);
25 extern void netwm_delete_state(WClientWin *cwin);
26 extern void netwm_set_active(WRegion *reg);
27 extern char **netwm_get_name(WClientWin *cwin);
28
29 extern void netwm_handle_client_message(const XClientMessageEvent *ev);
30 extern bool netwm_handle_property(WClientWin *cwin, const XPropertyEvent *ev);
31
32 #endif /* ION_IONCORE_NETWM_H */