4 * Copyright (c) Tuomo Valkonen 1999-2006.
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
18 #define _NET_WM_STATE_REMOVE 0 /* remove/unset property */
19 #define _NET_WM_STATE_ADD 1 /* add/set property */
20 #define _NET_WM_STATE_TOGGLE 2 /* toggle property */
22 extern void netwm_init();
23 extern void netwm_init_rootwin(WRootWin *rw);
25 extern int netwm_check_initial_fullscreen(WClientWin *cwin, bool switchto);
26 extern void netwm_update_state(WClientWin *cwin);
27 extern void netwm_delete_state(WClientWin *cwin);
28 extern void netwm_set_active(WRegion *reg);
29 extern char **netwm_get_name(WClientWin *cwin);
31 extern void netwm_handle_client_message(const XClientMessageEvent *ev);
32 extern bool netwm_handle_property(WClientWin *cwin, const XPropertyEvent *ev);
34 #endif /* ION_IONCORE_NETWM_H */