4 * Copyright (c) Tuomo Valkonen 1999-2008.
6 * See the included file LICENSE for details.
9 #ifndef ION_IONCORE_NETWM_H
10 #define ION_IONCORE_NETWM_H
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 */
20 extern void netwm_init();
21 extern void netwm_init_rootwin(WRootWin *rw);
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);
29 extern void netwm_handle_client_message(const XClientMessageEvent *ev);
30 extern bool netwm_handle_property(WClientWin *cwin, const XPropertyEvent *ev);
32 #endif /* ION_IONCORE_NETWM_H */