From d8bdda582bc7f4d56f882fd3e43833880c3800da Mon Sep 17 00:00:00 2001 From: Jay Sorg Date: Thu, 22 Aug 2013 17:59:46 -0700 Subject: X11rdp: work on kill disconnect, drawinging fixes, off screen, don't remote till used twice --- xorg/X11R7.6/rdp/rdp.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'xorg/X11R7.6/rdp/rdp.h') diff --git a/xorg/X11R7.6/rdp/rdp.h b/xorg/X11R7.6/rdp/rdp.h index 8eae5b3e..c9afd285 100644 --- a/xorg/X11R7.6/rdp/rdp.h +++ b/xorg/X11R7.6/rdp/rdp.h @@ -256,6 +256,8 @@ struct rdp_draw_item union urdp_draw_item u; }; +#define XRDP_USE_COUNT_THRESHOLD 1 + struct _rdpPixmapRec { int status; @@ -264,6 +266,10 @@ struct _rdpPixmapRec int is_dirty; int is_scratch; int kind_width; + /* number of times used in a remote operation + if this gets above XRDP_USE_COUNT_THRESHOLD + then we force remote the pixmap */ + int use_count; struct rdp_draw_item* draw_item_head; struct rdp_draw_item* draw_item_tail; }; -- cgit v1.2.1