summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorJon TURNEY <jon.turney@dronecode.org.uk>2012-11-04 23:05:18 +0000
committerJon TURNEY <jon.turney@dronecode.org.uk>2012-11-30 14:26:46 +0000
commit0a8cc98a445f38b5bf9da95d833b035249618eb2 (patch)
treeb8edf3aecece002222291bc69782142ba6a71fc9 /src/main.c
parent0b955a04d1a639c1971cba4dba06ea47d6a36e38 (diff)
Use new XCWM_EVENT_WINDOW_APPEARANCE event to update window appearance
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 2cfe8f3..b3a1245 100644
--- a/src/main.c
+++ b/src/main.c
@@ -70,6 +70,10 @@ eventHandler(const xcwm_event_t *event)
case XCWM_EVENT_WINDOW_EXPOSE: // I don't think this event could ever be needed and is a mistake
break;
+
+ case XCWM_EVENT_WINDOW_APPEARANCE:
+ UpdateStyle(window);
+ break;
}
free((void *)event);