summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorJon TURNEY <jon.turney@dronecode.org.uk>2013-07-03 00:13:12 +0100
committerJon TURNEY <jon.turney@dronecode.org.uk>2013-07-06 11:30:44 +0100
commit84eea594b75805a25c58d27f415a18b0021cb871 (patch)
treed796cbdc2115f7c8c29596f10570346fa5173115 /src/main.c
parent4aae26152d38ea933442f3d103086644d81cc8e9 (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.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 131ffaa..8527f51 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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()