Hand-apply patch (rail: send ShowState when window order changes) from Authentic8: c36a2d7

This commit is contained in:
Jim Grandy 2013-07-06 08:52:25 -07:00
parent 3cb0bc7ae8
commit 81d206ba68

View File

@ -1333,6 +1333,18 @@ rail_configure_request_window(XConfigureRequestEvent* config)
window_id = config->window;
mask = config->value_mask;
LOG(10, ("chansrv::rail_configure_request_window: mask %d", mask));
if (mask & CWStackMode)
{
LOG(10, ("chansrv::rail_configure_request_window: CWStackMode "
"detail 0x%8.8x above 0x%8.8x", config->detail, config->above));
if (config->detail == Above)
{
LOG(10, ("chansrv::rail_configure_request_window: bring to front "
"window_id 0x%8.8x", window_id));
/* 0x05 - Show the window in its current size and position. */
rail_show_window(window_id, 5);
}
}
rwd = rail_get_window_data(window_id);
if (rwd == 0)
{