Commit 88365474 authored by Ulrich Sibiller's avatar Ulrich Sibiller

Composite.c: scope improvement

parent dbe3cc1f
...@@ -115,8 +115,6 @@ void nxagentCompositeExtensionInit(void) ...@@ -115,8 +115,6 @@ void nxagentCompositeExtensionInit(void)
void nxagentRedirectDefaultWindows(void) void nxagentRedirectDefaultWindows(void)
{ {
int i;
if (nxagentOption(Rootless) == 1 || if (nxagentOption(Rootless) == 1 ||
nxagentCompositeEnable == 0) nxagentCompositeEnable == 0)
{ {
...@@ -129,7 +127,7 @@ void nxagentRedirectDefaultWindows(void) ...@@ -129,7 +127,7 @@ void nxagentRedirectDefaultWindows(void)
return; return;
} }
for (i = 0; i < screenInfo.numScreens; i++) for (int i = 0; i < screenInfo.numScreens; i++)
{ {
WindowPtr pWin = screenInfo.screens[i]->root; WindowPtr pWin = screenInfo.screens[i]->root;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment