From cbd13dd95f41d623f8b2f62ba1392336c9669d9a Mon Sep 17 00:00:00 2001 From: "Carlos R. Mafra" Date: Sun, 13 Sep 2009 16:05:55 +0200 Subject: [PATCH] Ansify function declaration --- src/window.c | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/window.c b/src/window.c index cb9b81ba..c23394f5 100644 --- a/src/window.c +++ b/src/window.c @@ -2134,10 +2134,14 @@ void wWindowSynthConfigureNotify(WWindow * wwin) /* *---------------------------------------------------------------------- - * wWindowConfigure-- - * Configures the frame, decorations and client window to the - * specified geometry. The geometry is not checked for validity, - * wWindowConstrainSize() must be used for that. + * wWindowConfigure() + * + * req_x, req_y: new requested positions for the frame + * req_width, req_height: new requested sizes for the client + * + * Configures the frame, decorations and client window to the specified + * geometry, whose validity is not checked -- wWindowConstrainSize() + * must be used for that. * The size parameters are for the client window, but the position is * for the frame. * The client window receives a ConfigureNotify event, according @@ -2151,10 +2155,7 @@ void wWindowSynthConfigureNotify(WWindow * wwin) * a ConfigureNotify event. *---------------------------------------------------------------------- */ -void wWindowConfigure(wwin, req_x, req_y, req_width, req_height) -WWindow *wwin; -int req_x, req_y; /* new position of the frame */ -int req_width, req_height; /* new size of the client */ +void wWindowConfigure(WWindow *wwin, int req_x, int req_y, int req_width, int req_height) { int synth_notify = False; int resize;