diff options
author | Jon TURNEY <jon.turney@dronecode.org.uk> | 2013-07-03 00:13:12 +0100 |
---|---|---|
committer | Jon TURNEY <jon.turney@dronecode.org.uk> | 2013-07-06 11:30:44 +0100 |
commit | 84eea594b75805a25c58d27f415a18b0021cb871 (patch) | |
tree | d796cbdc2115f7c8c29596f10570346fa5173115 /src/main.c | |
parent | 4aae26152d38ea933442f3d103086644d81cc8e9 (diff) |
Implement XCWM_EVENT_WINDOW_STATE
Apply state when window is created
Show, iconify or hide it on XCWM_EVENT_WINDOW_STATE changes
Set state to iconified or deiconified when changed in Windows
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -104,6 +104,9 @@ eventHandler(const xcwm_event_t *event) winAdjustWindowsWindow(window); break; + case XCWM_EVENT_WINDOW_STATE: + UpdateState(window); + case XCWM_EVENT_CURSOR: /* Only the 'GUI thread' is allowed to SetCursor() |