Commit 2d99cdd1 authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mike Gabriel

Events.c: More cosmetics

parent 4c6940cd
...@@ -3402,9 +3402,9 @@ int nxagentHandleConfigureNotify(XEvent* X) ...@@ -3402,9 +3402,9 @@ int nxagentHandleConfigureNotify(XEvent* X)
/* FIXME: Comment makes no sense */ /* FIXME: Comment makes no sense */
if (nxagentOption(Shadow) == 1 || if (nxagentOption(Shadow) == 1 ||
(nxagentOption(Width) == nxagentOption(RootWidth) && (nxagentOption(Width) == nxagentOption(RootWidth) &&
nxagentOption(Height) == nxagentOption(RootHeight) && nxagentOption(Height) == nxagentOption(RootHeight) &&
nxagentOption(X) == nxagentOption(RootX) && nxagentOption(X) == nxagentOption(RootX) &&
nxagentOption(Y) == nxagentOption(RootY))) nxagentOption(Y) == nxagentOption(RootY)))
{ {
doRandR = False; doRandR = False;
} }
...@@ -4382,11 +4382,13 @@ int nxagentHandleRRScreenChangeNotify(XEvent *X) ...@@ -4382,11 +4382,13 @@ int nxagentHandleRRScreenChangeNotify(XEvent *X)
fprintf(stderr, "%s: Called.\n", __func__); fprintf(stderr, "%s: Called.\n", __func__);
#endif #endif
nxagentResizeScreen(screenInfo.screens[DefaultScreen(nxagentDisplay)], Xr -> width, Xr -> height, nxagentResizeScreen(screenInfo.screens[DefaultScreen(nxagentDisplay)],
Xr -> mwidth, Xr -> mheight, True); Xr -> width, Xr -> height,
Xr -> mwidth, Xr -> mheight, True);
nxagentShadowCreateMainWindow(screenInfo.screens[DefaultScreen(nxagentDisplay)], screenInfo.screens[0]->root, nxagentShadowCreateMainWindow(screenInfo.screens[DefaultScreen(nxagentDisplay)],
Xr -> width, Xr -> height); screenInfo.screens[0]->root,
Xr -> width, Xr -> height);
nxagentShadowSetWindowsSize(); nxagentShadowSetWindowsSize();
......
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