summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Grandy <jgrandy@authentic8.com>2013-07-06 08:52:25 -0700
committerJim Grandy <jgrandy@authentic8.com>2013-08-22 12:52:32 -0700
commit81d206ba6822a0d3a00cd0f976a4c6a26fcb79e0 (patch)
treeb57127b71d887e75f65d5bbab207dc357e78b2ad
parent3cb0bc7ae8a638c22316135ca0ddbaeace2275de (diff)
downloadxrdp-proprietary-81d206ba6822a0d3a00cd0f976a4c6a26fcb79e0.tar.gz
xrdp-proprietary-81d206ba6822a0d3a00cd0f976a4c6a26fcb79e0.zip
Hand-apply patch (rail: send ShowState when window order changes) from Authentic8: c36a2d7
-rw-r--r--sesman/chansrv/rail.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/sesman/chansrv/rail.c b/sesman/chansrv/rail.c
index 59b19411..a22336e2 100644
--- a/sesman/chansrv/rail.c
+++ b/sesman/chansrv/rail.c
@@ -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)
{