diff --git a/src/Makefile.am b/src/Makefile.am index 1f019ce9..2415080b 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -24,6 +24,7 @@ wmaker_SOURCES = \ colormap.c \ colormap.h \ cycling.c \ + cycling.h \ def_pixmaps.h \ defaults.c \ defaults.h \ diff --git a/src/cycling.c b/src/cycling.c index 44c4d1ea..bae12be7 100644 --- a/src/cycling.c +++ b/src/cycling.c @@ -34,7 +34,7 @@ #include "keybind.h" #include "actions.h" #include "stacking.h" -#include "funcs.h" +#include "cycling.h" #include "xinerama.h" #include "switchpanel.h" diff --git a/src/cycling.h b/src/cycling.h new file mode 100644 index 00000000..eb8212b5 --- /dev/null +++ b/src/cycling.h @@ -0,0 +1,27 @@ +/* + * 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 WMCYCLING_H +#define WMCYCLING_H + +void StartWindozeCycle(WWindow *wwin, XEvent *event, Bool next, Bool class_only); + +#endif /* WMCYCLING_H */ diff --git a/src/event.c b/src/event.c index 76649263..2d6c6f7f 100644 --- a/src/event.c +++ b/src/event.c @@ -55,7 +55,7 @@ #include "actions.h" #include "client.h" #include "main.h" -#include "funcs.h" +#include "cycling.h" #include "keybind.h" #include "application.h" #include "stacking.h" diff --git a/src/funcs.h b/src/funcs.h index 2879c984..21c37aa1 100644 --- a/src/funcs.h +++ b/src/funcs.h @@ -32,11 +32,6 @@ typedef void (WCallBack)(void *cdata); typedef void (WDeathHandler)(pid_t pid, unsigned int status, void *cdata); -/* ---[ cycling.c ]------------------------------------------------------- */ - -void StartWindozeCycle(WWindow *wwin, XEvent *event, Bool next, Bool class_only); - - /* ---[ event.c ]--------------------------------------------------------- */ void EventLoop(void);