summaryrefslogtreecommitdiffstats
path: root/xrdp/xrdp_types.h
diff options
context:
space:
mode:
Diffstat (limited to 'xrdp/xrdp_types.h')
-rw-r--r--xrdp/xrdp_types.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/xrdp/xrdp_types.h b/xrdp/xrdp_types.h
index 3c5decf6..73bb066c 100644
--- a/xrdp/xrdp_types.h
+++ b/xrdp/xrdp_types.h
@@ -80,7 +80,15 @@ struct xrdp_mod
char* data, int data_len,
int total_data_len, int flags);
int (*server_bell_trigger)(struct xrdp_mod* v);
- long server_dumby[100 - 25]; /* align, 100 minus the number of server
+ int (*server_create_os_surface)(struct xrdp_mod* v, int id,
+ int width, int height);
+ int (*server_switch_os_surface)(struct xrdp_mod* v, int id);
+ int (*server_delete_os_surface)(struct xrdp_mod* v, int id);
+ int (*server_paint_rect_os)(struct xrdp_mod* mod, int x, int y,
+ int cx, int cy,
+ int id, int srcx, int srcy);
+ int (*server_set_hints)(struct xrdp_mod* mod, int hints, int mask);
+ long server_dumby[100 - 30]; /* align, 100 minus the number of server
functions above */
/* common */
long handle; /* pointer to self as int */
@@ -274,6 +282,9 @@ struct xrdp_wm
struct xrdp_font* default_font;
struct xrdp_keymap keymap;
int hide_log_window;
+ struct xrdp_bitmap* target_surface; /* either screen or os surface */
+ int current_surface_index;
+ int hints;
};
/* rdp process */