4 * Copyright (c) Tuomo Valkonen 1999-2007.
6 * Ion is free software; you can redistribute it and/or modify it under
7 * the terms of the GNU Lesser General Public License as published by
8 * the Free Software Foundation; either version 2.1 of the License, or
9 * (at your option) any later version.
12 #ifndef ION_IONCORE_NETWM_H
13 #define ION_IONCORE_NETWM_H
19 #define _NET_WM_STATE_REMOVE 0 /* remove/unset property */
20 #define _NET_WM_STATE_ADD 1 /* add/set property */
21 #define _NET_WM_STATE_TOGGLE 2 /* toggle property */
23 extern void netwm_init();
24 extern void netwm_init_rootwin(WRootWin *rw);
26 extern WScreen *netwm_check_initial_fullscreen(WClientWin *cwin);
27 extern void netwm_update_state(WClientWin *cwin);
28 extern void netwm_delete_state(WClientWin *cwin);
29 extern void netwm_set_active(WRegion *reg);
30 extern char **netwm_get_name(WClientWin *cwin);
32 extern void netwm_handle_client_message(const XClientMessageEvent *ev);
33 extern bool netwm_handle_property(WClientWin *cwin, const XPropertyEvent *ev);
35 #endif /* ION_IONCORE_NETWM_H */