On Wed, 15 May 2013 at 13:07:56 +0200, Rodolfo García Peñas (kix) wrote: > --- /dev/null > +++ b/src/switchmenu.h > @@ -0,0 +1,29 @@ > +/* > + * Window Maker window manager > + * > + * Copyright (c) 1997-2003 Alfredo K. Kojima > + * Copyright (c) 2013 Window Maker Team > + * > + * This program is free software; you can redistribute it and/or modify > + * it under the terms of the GNU General Public License as published by > + * the Free Software Foundation; either version 2 of the License, or > + * (at your option) any later version. > + * > + * This program is distributed in the hope that it will be useful, > + * but WITHOUT ANY WARRANTY; without even the implied warranty of > + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > + * GNU General Public License for more details. > + * > + * You should have received a copy of the GNU General Public License along > + * with this program; if not, write to the Free Software Foundation, Inc., > + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. > + */ > + > +#ifndef WMSWITCHMENU_H > +#define WMSWITCHMENU_H > + > +void UpdateSwitchMenu(WScreen *scr, WWindow *wwin, int action); > +void OpenSwitchMenu(WScreen *scr, int x, int y, int keyboard); > +void InitializeSwitchMenu(void); > + > +#endif /* WMSWITCHMENU_H */ > diff --git a/src/winspector.c b/src/winspector.c > index 41d3afb..59b56f2 100644 > --- a/src/winspector.c > +++ b/src/winspector.c > @@ -47,6 +47,7 @@ > #include "client.h" > #include "wmspec.h" > #include "misc.h" > +#include "switchmenu.h" > > #include <WINGs/WUtil.h>
Shouldn't switchmenu.h include at least the definition of WScreen? -- To unsubscribe, send mail to [email protected].
