diff options
author | Jim Grandy <jgrandy@authentic8.com> | 2013-07-03 10:45:46 -0700 |
---|---|---|
committer | Jim Grandy <jgrandy@authentic8.com> | 2013-08-22 12:49:41 -0700 |
commit | 1ae9a7f2b685a8c2bf052e7c1724811346189fb9 (patch) | |
tree | 6bc1e24c8b2b196206d8ddd46db00514dde7cb85 /xrdp/xrdp_types.h | |
parent | a32669f3ef8752d952c9d31f55a667581ae93007 (diff) | |
download | xrdp-proprietary-1ae9a7f2b685a8c2bf052e7c1724811346189fb9.tar.gz xrdp-proprietary-1ae9a7f2b685a8c2bf052e7c1724811346189fb9.zip |
Hand-apply patches (drawing configuration) from Authentic8 branch: 34b92df f994298 38e2def
Diffstat (limited to 'xrdp/xrdp_types.h')
-rw-r--r-- | xrdp/xrdp_types.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/xrdp/xrdp_types.h b/xrdp/xrdp_types.h index e7bb7baf..7dfd8ef3 100644 --- a/xrdp/xrdp_types.h +++ b/xrdp/xrdp_types.h @@ -22,6 +22,7 @@ #define LOG_WINDOW_CHAR_PER_LINE 60 #include "xrdp_rail.h" +#include "xrdp_constants.h" #define MAX_NR_CHANNELS 16 #define MAX_CHANNEL_NAME 16 @@ -185,6 +186,9 @@ struct xrdp_brush_item char pattern[8]; }; +/* moved to xrdp_constants.h +#define XRDP_BITMAP_CACHE_ENTRIES 2048 */ + /* differnce caches */ struct xrdp_cache { @@ -195,7 +199,7 @@ struct xrdp_cache struct xrdp_palette_item palette_items[6]; /* bitmap */ int bitmap_stamp; - struct xrdp_bitmap_item bitmap_items[3][2000]; + struct xrdp_bitmap_item bitmap_items[3][XRDP_BITMAP_CACHE_ENTRIES]; int use_bitmap_comp; int cache1_entries; int cache1_size; |