diff options
author | jsorg71 <jsorg71> | 2005-01-17 04:37:49 +0000 |
---|---|---|
committer | jsorg71 <jsorg71> | 2005-01-17 04:37:49 +0000 |
commit | 5a149e01ae5005b54b0e7cbbf735ebf0350f2c42 (patch) | |
tree | 4460b7e9314272c6c9c0004e11bc633b9e2f2e18 /xrdp/xrdp_bitmap.c | |
parent | 750f55b6effd969fef6c8caec1956240908da23f (diff) | |
download | xrdp-proprietary-5a149e01ae5005b54b0e7cbbf735ebf0350f2c42.tar.gz xrdp-proprietary-5a149e01ae5005b54b0e7cbbf735ebf0350f2c42.zip |
don't load font unless needed
Diffstat (limited to 'xrdp/xrdp_bitmap.c')
-rw-r--r-- | xrdp/xrdp_bitmap.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xrdp/xrdp_bitmap.c b/xrdp/xrdp_bitmap.c index d157700d..3554f9a0 100644 --- a/xrdp/xrdp_bitmap.c +++ b/xrdp/xrdp_bitmap.c @@ -233,6 +233,7 @@ int xrdp_bitmap_set_focus(struct xrdp_bitmap* self, int focused) return 0; } painter = xrdp_painter_create(self->wm); + xrdp_painter_font_needed(painter); xrdp_painter_begin_update(painter); if (focused) { @@ -827,6 +828,7 @@ int xrdp_bitmap_invalidate(struct xrdp_bitmap* self, struct xrdp_rect* rect) if (self->type == WND_TYPE_BITMAP) /* if 0, bitmap, leave */ return 0; painter = xrdp_painter_create(self->wm); + xrdp_painter_font_needed(painter); painter->rop = 0xcc; /* copy */ if (rect == 0) painter->use_clip = 0; |