summaryrefslogtreecommitdiffstats
path: root/xorg/X11R7.6/rdp/rdp.h
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2013-08-22 17:59:46 -0700
committerJay Sorg <jay.sorg@gmail.com>2013-08-22 17:59:46 -0700
commitd8bdda582bc7f4d56f882fd3e43833880c3800da (patch)
tree2dec69c250a77850f4d6e75c5a7b413eb790b9ad /xorg/X11R7.6/rdp/rdp.h
parent4a66be133f4e2dad7246baeb020f64dda4ce2d8c (diff)
downloadxrdp-proprietary-d8bdda582bc7f4d56f882fd3e43833880c3800da.tar.gz
xrdp-proprietary-d8bdda582bc7f4d56f882fd3e43833880c3800da.zip
X11rdp: work on kill disconnect, drawinging fixes, off screen, don't remote till used twice
Diffstat (limited to 'xorg/X11R7.6/rdp/rdp.h')
-rw-r--r--xorg/X11R7.6/rdp/rdp.h6
1 files changed, 6 insertions, 0 deletions
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;
};