summaryrefslogtreecommitdiffstats
path: root/xrdp/xrdp_wm.c
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2012-05-17 18:48:28 -0700
committerJay Sorg <jay.sorg@gmail.com>2012-05-17 18:48:28 -0700
commitcc3754a2bdd6801179751d45f1df3b5816e189fc (patch)
tree21403a46563d5d5ea12e099e708c59213510718e /xrdp/xrdp_wm.c
parentda658dc1b4147c3d928ed2e13bef26280d64cd03 (diff)
downloadxrdp-proprietary-cc3754a2bdd6801179751d45f1df3b5816e189fc.tar.gz
xrdp-proprietary-cc3754a2bdd6801179751d45f1df3b5816e189fc.zip
xorg: work on offscreen bitmaps
Diffstat (limited to 'xrdp/xrdp_wm.c')
-rw-r--r--xrdp/xrdp_wm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xrdp/xrdp_wm.c b/xrdp/xrdp_wm.c
index 7d15c3d0..3f9d3c6e 100644
--- a/xrdp/xrdp_wm.c
+++ b/xrdp/xrdp_wm.c
@@ -56,6 +56,8 @@ xrdp_wm_create(struct xrdp_process* owner,
/* this will use built in keymap or load from file */
get_keymaps(self->session->client_info->keylayout, &(self->keymap));
xrdp_wm_set_login_mode(self, 0);
+ self->target_surface = self->screen;
+ self->current_surface_index = 0xffff; /* screen */
return self;
}