summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2007-04-13 03:56:30 +0000
committerjsorg71 <jsorg71>2007-04-13 03:56:30 +0000
commit43a80af11cb9d8dc3a9822008f4865d246f9d12b (patch)
tree67d422ecfdccc6e94b122864ae0e085e24873e89
parentac4f12bfbda68de875e96260546192fcfd798bc5 (diff)
downloadxrdp-proprietary-43a80af11cb9d8dc3a9822008f4865d246f9d12b.tar.gz
xrdp-proprietary-43a80af11cb9d8dc3a9822008f4865d246f9d12b.zip
moved module work to its own struct
-rw-r--r--xrdp/xrdp_bitmap.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/xrdp/xrdp_bitmap.c b/xrdp/xrdp_bitmap.c
index 6f3f94d5..d2557c81 100644
--- a/xrdp/xrdp_bitmap.c
+++ b/xrdp/xrdp_bitmap.c
@@ -962,9 +962,9 @@ xrdp_bitmap_invalidate(struct xrdp_bitmap* self, struct xrdp_rect* rect)
}
else if (self->type == WND_TYPE_SCREEN) /* 2 */
{
- if (self->wm->mod != 0)
+ if (self->wm->mm->mod != 0)
{
- if (self->wm->mod->mod_event != 0)
+ if (self->wm->mm->mod->mod_event != 0)
{
if (rect != 0)
{
@@ -974,8 +974,9 @@ xrdp_bitmap_invalidate(struct xrdp_bitmap* self, struct xrdp_rect* rect)
h = rect->bottom - rect->top;
if (check_bounds(self->wm->screen, &x, &y, &w, &h))
{
- self->wm->mod->mod_event(self->wm->mod, WM_INVALIDATE,
- MAKELONG(y, x), MAKELONG(h, w), 0, 0);
+ self->wm->mm->mod->mod_event(self->wm->mm->mod, WM_INVALIDATE,
+ MAKELONG(y, x), MAKELONG(h, w),
+ 0, 0);
}
}
}