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:
Peter Åstrand 2006-03-27 07:45:34 +00:00
parent 9fb01276f2
commit b8d22567ac

1
xwin.c
View File

@ -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; \