ON_ALL_SEAMLESS_WINDOWS: Return immediately if no seamless windows.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1196 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
parent
9fb01276f2
commit
b8d22567ac
1
xwin.c
1
xwin.c
@ -177,6 +177,7 @@ PixelColour;
|
|||||||
do { \
|
do { \
|
||||||
seamless_window *sw; \
|
seamless_window *sw; \
|
||||||
XRectangle rect; \
|
XRectangle rect; \
|
||||||
|
if (!g_seamless_windows) break; \
|
||||||
for (sw = g_seamless_windows; sw; sw = sw->next) { \
|
for (sw = g_seamless_windows; sw; sw = sw->next) { \
|
||||||
rect.x = g_clip_rectangle.x - sw->xoffset; \
|
rect.x = g_clip_rectangle.x - sw->xoffset; \
|
||||||
rect.y = g_clip_rectangle.y - sw->yoffset; \
|
rect.y = g_clip_rectangle.y - sw->yoffset; \
|
||||||
|
Loading…
Reference in New Issue
Block a user