Commit 1b7f37a8 authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mike Gabriel

nxagent: make nxagentShadowResize a Boolean

parent 3e093f9e
......@@ -3373,7 +3373,7 @@ int nxagentHandleConfigureNotify(XEvent* X)
(nxagentOption(Width) != X -> xconfigure.width ||
nxagentOption(Height) != X -> xconfigure.height))
{
nxagentShadowResize = 1;
nxagentShadowResize = True;
}
if (nxagentOption(Width) != X->xconfigure.width || nxagentOption(Height) != X->xconfigure.height)
......
......@@ -732,9 +732,9 @@ void nxagentShadowBlockHandler(void * data, struct timeval **timeout, void * mas
nxagentDispatchEvents(NULL);
}
if (nxagentShadowResize == 1)
if (nxagentShadowResize)
{
nxagentShadowResize = 0;
nxagentShadowResize = False;
nxagentShadowAdaptToRatio();
}
......
......@@ -176,7 +176,7 @@ void nxagentPrintAgentGeometry(char *hdrMessage, char *prefix);
* These variables are for shadowing feature.
*/
int nxagentShadowResize = 0;
Bool nxagentShadowResize = False;
WindowPtr nxagentShadowWindowPtr = NULL;
......
......@@ -67,7 +67,7 @@ extern RegionRec nxagentShadowUpdateRegion;
extern WindowPtr nxagentShadowWindowPtr;
extern int nxagentShadowResize;
extern Bool nxagentShadowResize;
extern short nxagentShadowUid;
......
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