summaryrefslogtreecommitdiffstats
path: root/libxrdp/libxrdp.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 /libxrdp/libxrdp.c
parentda658dc1b4147c3d928ed2e13bef26280d64cd03 (diff)
downloadxrdp-proprietary-cc3754a2bdd6801179751d45f1df3b5816e189fc.tar.gz
xrdp-proprietary-cc3754a2bdd6801179751d45f1df3b5816e189fc.zip
xorg: work on offscreen bitmaps
Diffstat (limited to 'libxrdp/libxrdp.c')
-rw-r--r--libxrdp/libxrdp.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/libxrdp/libxrdp.c b/libxrdp/libxrdp.c
index 05e67eb7..9e206c2c 100644
--- a/libxrdp/libxrdp.c
+++ b/libxrdp/libxrdp.c
@@ -754,3 +754,20 @@ libxrdp_orders_send_brush(struct xrdp_session* session,
width, height, bpp, type, size, data,
cache_id);
}
+
+/*****************************************************************************/
+int EXPORT_CC
+libxrdp_orders_send_create_os_surface(struct xrdp_session* session, int id,
+ int width, int height)
+{
+ return xrdp_orders_send_create_os_surface
+ ((struct xrdp_orders*)(session->orders), id, width, height);
+}
+
+/*****************************************************************************/
+int EXPORT_CC
+libxrdp_orders_send_switch_os_surface(struct xrdp_session* session, int id)
+{
+ return xrdp_orders_send_switch_os_surface
+ ((struct xrdp_orders*)(session->orders), id);
+}