summaryrefslogtreecommitdiff
path: root/mcwm.c
diff options
context:
space:
mode:
Diffstat (limited to 'mcwm.c')
-rw-r--r--mcwm.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/mcwm.c b/mcwm.c
index e290b1c..e2e94a7 100644
--- a/mcwm.c
+++ b/mcwm.c
@@ -1345,7 +1345,25 @@ void events(void)
}
}
break;
+
+ case XCB_CIRCULATE_REQUEST:
+ {
+ xcb_circulate_request_event_t *e
+ = (xcb_circulate_request_event_t *)ev;
+
+ /*
+ * Subwindow e->window to parent e->event is about to be
+ * restacked.
+ *
+ * Just do what was requested, e->place is either
+ * XCB_PLACE_ON_TOP or _ON_BOTTOM. We don't care.
+ */
+
+ xcb_circulate_window(conn, e->window, e->place);
+ }
+ break;
+
} /* switch */
free(ev);