diff options
author | Jay Sorg <jay.sorg@gmail.com> | 2013-08-22 17:59:46 -0700 |
---|---|---|
committer | Jay Sorg <jay.sorg@gmail.com> | 2013-08-22 17:59:46 -0700 |
commit | d8bdda582bc7f4d56f882fd3e43833880c3800da (patch) | |
tree | 2dec69c250a77850f4d6e75c5a7b413eb790b9ad /xorg/X11R7.6/rdp/rdp.h | |
parent | 4a66be133f4e2dad7246baeb020f64dda4ce2d8c (diff) | |
download | xrdp-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.h | 6 |
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; }; |