diff options
author | Jay Sorg <jay.sorg@gmail.com> | 2014-01-28 10:41:32 -0800 |
---|---|---|
committer | Jay Sorg <jay.sorg@gmail.com> | 2014-01-28 10:41:32 -0800 |
commit | 6beb2364f38f5e53b0acb744ffc8225c9c13e492 (patch) | |
tree | f3686148be0a7a912c039a57e1e284c6250e43d3 /xorg/server/module/rdpClientCon.c | |
parent | 022c1e31f9f9cee15d7264fb0f520c1a795b73ef (diff) | |
download | xrdp-proprietary-6beb2364f38f5e53b0acb744ffc8225c9c13e492.tar.gz xrdp-proprietary-6beb2364f38f5e53b0acb744ffc8225c9c13e492.zip |
xorg: work on xorg driver
Diffstat (limited to 'xorg/server/module/rdpClientCon.c')
-rw-r--r-- | xorg/server/module/rdpClientCon.c | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/xorg/server/module/rdpClientCon.c b/xorg/server/module/rdpClientCon.c index 922e1e8e..c02e9f1e 100644 --- a/xorg/server/module/rdpClientCon.c +++ b/xorg/server/module/rdpClientCon.c @@ -2076,3 +2076,45 @@ rdpClientConSendArea(rdpPtr dev, rdpClientCon *clientCon, } } } + +/******************************************************************************/ +int +rdpClientConAddAllReg(rdpPtr dev, RegionPtr reg, DrawablePtr pDrawable) +{ + rdpClientCon *clientCon; + Bool drw_is_vis; + + drw_is_vis = XRDP_DRAWABLE_IS_VISIBLE(dev, pDrawable); + if (!drw_is_vis) + { + return 0; + } + clientCon = dev->clientConHead; + while (clientCon != NULL) + { + rdpClientConAddDirtyScreenReg(dev, clientCon, reg); + clientCon = clientCon->next; + } + return 0; +} + +/******************************************************************************/ +int +rdpClientConAddAllBox(rdpPtr dev, BoxPtr box, DrawablePtr pDrawable) +{ + rdpClientCon *clientCon; + Bool drw_is_vis; + + drw_is_vis = XRDP_DRAWABLE_IS_VISIBLE(dev, pDrawable); + if (!drw_is_vis) + { + return 0; + } + clientCon = dev->clientConHead; + while (clientCon != NULL) + { + rdpClientConAddDirtyScreenBox(dev, clientCon, box); + clientCon = clientCon->next; + } + return 0; +} |