Kludge to better position xfce4 notification popups (if you want to run those at...
[notion/jeffpc.git] / ioncore / netwm.h
blob68b6f8b426d5db4d3be8747980bc89f95a9068f9
1 /*
2 * ion/ioncore/netwm.h
4 * Copyright (c) Tuomo Valkonen 1999-2009.
6 * See the included file LICENSE for details.
7 */
9 #ifndef ION_IONCORE_NETWM_H
10 #define ION_IONCORE_NETWM_H
12 #include "common.h"
13 #include "rootwin.h"
14 #include "screen.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 bool netwm_check_initial_fullscreen(WClientWin *cwin);
24 extern void netwm_update_state(WClientWin *cwin);
25 extern void netwm_update_allowed_actions(WClientWin *cwin);
26 extern void netwm_delete_state(WClientWin *cwin);
27 extern void netwm_set_active(WRegion *reg);
28 extern char **netwm_get_name(WClientWin *cwin);
30 extern void netwm_handle_client_message(const XClientMessageEvent *ev);
31 extern bool netwm_handle_property(WClientWin *cwin, const XPropertyEvent *ev);
33 extern void netwm_check_manage_user_time(WClientWin *cwin, WManageParams *param);
35 extern void ioncore_screens_updated(WRootWin *rw);
37 #endif /* ION_IONCORE_NETWM_H */