diff options
author | MC <mc@hack.org> | 2010-06-21 21:58:20 +0200 |
---|---|---|
committer | MC <mc@hack.org> | 2010-06-21 21:58:20 +0200 |
commit | 5e6a30df976d028a8bbd313c457bc98d937ce499 (patch) | |
tree | f8225add32125f0f34963b5fe939ede106848ff5 /mcwm.c | |
parent | 8568c8791fd34b618ee9b3f68d580af560e357cb (diff) | |
download | mcwm-5e6a30df976d028a8bbd313c457bc98d937ce499.zip |
Add handling of Circulate Request of subwindows. Now xpdf search
works! \o/
Diffstat (limited to 'mcwm.c')
-rw-r--r-- | mcwm.c | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -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); |