diff options
author | jsorg71 <jsorg71> | 2005-01-17 03:59:31 +0000 |
---|---|---|
committer | jsorg71 <jsorg71> | 2005-01-17 03:59:31 +0000 |
commit | 750f55b6effd969fef6c8caec1956240908da23f (patch) | |
tree | 8c9960b6983b76e7a247abdf3eece70a3b11fd1c /xrdp/xrdp_wm.c | |
parent | cf3e17cb73984b093ac8e3138a6e3d98171c5253 (diff) | |
download | xrdp-proprietary-750f55b6effd969fef6c8caec1956240908da23f.tar.gz xrdp-proprietary-750f55b6effd969fef6c8caec1956240908da23f.zip |
added lib header and makefile
Diffstat (limited to 'xrdp/xrdp_wm.c')
-rw-r--r-- | xrdp/xrdp_wm.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/xrdp/xrdp_wm.c b/xrdp/xrdp_wm.c index 23593b64..e776ef21 100644 --- a/xrdp/xrdp_wm.c +++ b/xrdp/xrdp_wm.c @@ -462,6 +462,7 @@ int xrdp_wm_send_cursor(struct xrdp_wm* self, int cache_idx, /*****************************************************************************/ int xrdp_wm_init(struct xrdp_wm* self) { +#ifndef XRDP_LIB /* if lib, dodn't create login screen */ char data[32 * (32 * 3)]; char mask[32 * (32 / 8)]; int x; @@ -529,9 +530,7 @@ int xrdp_wm_init(struct xrdp_wm* self) self->red = COLOR24(0xff, 0x00, 0x00); self->green = COLOR24(0x00, 0xff, 0x00); } - xrdp_login_wnd_create(self); - /* clear screen */ self->screen->bg_color = self->black; xrdp_bitmap_invalidate(self->screen, 0); @@ -542,7 +541,7 @@ int xrdp_wm_init(struct xrdp_wm* self) xrdp_wm_send_cursor(self, 1, data, mask, x, y); xrdp_wm_load_cursor(self, "cursor0.cur", data, mask, &x, &y); xrdp_wm_send_cursor(self, 0, data, mask, x, y); - +#endif return 0; } |