mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 20:38:08 +01:00
Ansify function declaration
This commit is contained in:
17
src/window.c
17
src/window.c
@@ -2134,10 +2134,14 @@ void wWindowSynthConfigureNotify(WWindow * wwin)
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
*----------------------------------------------------------------------
|
*----------------------------------------------------------------------
|
||||||
* wWindowConfigure--
|
* wWindowConfigure()
|
||||||
* Configures the frame, decorations and client window to the
|
*
|
||||||
* specified geometry. The geometry is not checked for validity,
|
* req_x, req_y: new requested positions for the frame
|
||||||
* wWindowConstrainSize() must be used for that.
|
* 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
|
* The size parameters are for the client window, but the position is
|
||||||
* for the frame.
|
* for the frame.
|
||||||
* The client window receives a ConfigureNotify event, according
|
* The client window receives a ConfigureNotify event, according
|
||||||
@@ -2151,10 +2155,7 @@ void wWindowSynthConfigureNotify(WWindow * wwin)
|
|||||||
* a ConfigureNotify event.
|
* a ConfigureNotify event.
|
||||||
*----------------------------------------------------------------------
|
*----------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
void wWindowConfigure(wwin, req_x, req_y, req_width, req_height)
|
void wWindowConfigure(WWindow *wwin, int req_x, int req_y, int req_width, int req_height)
|
||||||
WWindow *wwin;
|
|
||||||
int req_x, req_y; /* new position of the frame */
|
|
||||||
int req_width, req_height; /* new size of the client */
|
|
||||||
{
|
{
|
||||||
int synth_notify = False;
|
int synth_notify = False;
|
||||||
int resize;
|
int resize;
|
||||||
|
|||||||
Reference in New Issue
Block a user