wmgeneral: Add proper copyright headers; fix changelog formatting.
This commit is contained in:
parent
afd3d56aea
commit
cd30d4127d
|
@ -1,19 +1,33 @@
|
||||||
/*
|
/*
|
||||||
Best viewed with vim5, using ts=4
|
|
||||||
|
|
||||||
wmgeneral was taken from wmppp.
|
wmgeneral was taken from wmppp.
|
||||||
|
|
||||||
It has a lot of routines which most of the wm* programs use.
|
It has a lot of routines which most of the wm* programs use.
|
||||||
|
|
||||||
------------------------------------------------------------
|
------------------------------------------------------------
|
||||||
|
|
||||||
Author: Martijn Pieterse (pieterse@xs4all.nl)
|
Copyright (C) 1998 Martijn Pieterse (pieterse@xs4all.nl)
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
---
|
---
|
||||||
CHANGES:
|
CHANGES:
|
||||||
---
|
---
|
||||||
10/10/2003 (Simon Law, sfllaw@debian.org)
|
10/10/2003 (Simon Law, sfllaw@debian.org)
|
||||||
* changed the parse_rcfile function to use getline instead of fgets.
|
* changed the parse_rcfile function to use getline instead of
|
||||||
|
fgets.
|
||||||
14/09/1998 (Dave Clark, clarkd@skyia.com)
|
14/09/1998 (Dave Clark, clarkd@skyia.com)
|
||||||
* Updated createXBMfromXPM routine
|
* Updated createXBMfromXPM routine
|
||||||
* Now supports >256 colors
|
* Now supports >256 colors
|
||||||
|
@ -32,7 +46,8 @@
|
||||||
* Added createXBMfromXPM routine
|
* Added createXBMfromXPM routine
|
||||||
* Saves a lot of work with changing xpm's.
|
* Saves a lot of work with changing xpm's.
|
||||||
02/05/1998 (Martijn Pieterse, pieterse@xs4all.nl)
|
02/05/1998 (Martijn Pieterse, pieterse@xs4all.nl)
|
||||||
* changed the read_rc_file to parse_rcfile, as suggested by Marcelo E. Magallon
|
* changed the read_rc_file to parse_rcfile, as suggested by
|
||||||
|
Marcelo E. Magallon
|
||||||
* debugged the parse_rc file.
|
* debugged the parse_rc file.
|
||||||
30/04/1998 (Martijn Pieterse, pieterse@xs4all.nl)
|
30/04/1998 (Martijn Pieterse, pieterse@xs4all.nl)
|
||||||
* Ripped similar code from all the wm* programs,
|
* Ripped similar code from all the wm* programs,
|
||||||
|
|
|
@ -1,3 +1,29 @@
|
||||||
|
/*
|
||||||
|
wmgeneral was taken from wmppp.
|
||||||
|
|
||||||
|
It has a lot of routines which most of the wm* programs use.
|
||||||
|
|
||||||
|
------------------------------------------------------------
|
||||||
|
|
||||||
|
Copyright (C) 1998 Martijn Pieterse (pieterse@xs4all.nl)
|
||||||
|
|
||||||
|
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 WMGENERAL_H_INCLUDED
|
#ifndef WMGENERAL_H_INCLUDED
|
||||||
#define WMGENERAL_H_INCLUDED
|
#define WMGENERAL_H_INCLUDED
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* dock.c- built-in Dock module for WindowMaker
|
/* wmgeneral miscellaneous functions
|
||||||
*
|
*
|
||||||
* WindowMaker window manager
|
* from dock.c - built-in Dock module for WindowMaker window manager
|
||||||
*
|
*
|
||||||
* Copyright (c) 1997 Alfredo K. Kojima
|
* Copyright (c) 1997 Alfredo K. Kojima
|
||||||
*
|
*
|
||||||
|
@ -16,7 +16,8 @@
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
|
||||||
|
* USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
|
@ -1,3 +1,25 @@
|
||||||
|
/* wmgeneral miscellaneous functions
|
||||||
|
*
|
||||||
|
* from dock.c - built-in Dock module for WindowMaker window manager
|
||||||
|
*
|
||||||
|
* Copyright (c) 1997 Alfredo K. Kojima
|
||||||
|
*
|
||||||
|
* 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 __MISC_H
|
#ifndef __MISC_H
|
||||||
#define __MISC_H
|
#define __MISC_H
|
||||||
|
|
||||||
|
|
|
@ -1,19 +1,33 @@
|
||||||
/*
|
/*
|
||||||
Best viewed with vim5, using ts=4
|
|
||||||
|
|
||||||
wmgeneral was taken from wmppp.
|
wmgeneral was taken from wmppp.
|
||||||
|
|
||||||
It has a lot of routines which most of the wm* programs use.
|
It has a lot of routines which most of the wm* programs use.
|
||||||
|
|
||||||
------------------------------------------------------------
|
------------------------------------------------------------
|
||||||
|
|
||||||
Author: Martijn Pieterse (pieterse@xs4all.nl)
|
Copyright (C) 1998 Martijn Pieterse (pieterse@xs4all.nl)
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
---
|
---
|
||||||
CHANGES:
|
CHANGES:
|
||||||
---
|
---
|
||||||
10/10/2003 (Simon Law, sfllaw@debian.org)
|
10/10/2003 (Simon Law, sfllaw@debian.org)
|
||||||
* changed the parse_rcfile function to use getline instead of fgets.
|
* changed the parse_rcfile function to use getline instead of
|
||||||
|
fgets.
|
||||||
14/09/1998 (Dave Clark, clarkd@skyia.com)
|
14/09/1998 (Dave Clark, clarkd@skyia.com)
|
||||||
* Updated createXBMfromXPM routine
|
* Updated createXBMfromXPM routine
|
||||||
* Now supports >256 colors
|
* Now supports >256 colors
|
||||||
|
@ -32,7 +46,8 @@
|
||||||
* Added createXBMfromXPM routine
|
* Added createXBMfromXPM routine
|
||||||
* Saves a lot of work with changing xpm's.
|
* Saves a lot of work with changing xpm's.
|
||||||
02/05/1998 (Martijn Pieterse, pieterse@xs4all.nl)
|
02/05/1998 (Martijn Pieterse, pieterse@xs4all.nl)
|
||||||
* changed the read_rc_file to parse_rcfile, as suggested by Marcelo E. Magallon
|
* changed the read_rc_file to parse_rcfile, as suggested by
|
||||||
|
Marcelo E. Magallon
|
||||||
* debugged the parse_rc file.
|
* debugged the parse_rc file.
|
||||||
30/04/1998 (Martijn Pieterse, pieterse@xs4all.nl)
|
30/04/1998 (Martijn Pieterse, pieterse@xs4all.nl)
|
||||||
* Ripped similar code from all the wm* programs,
|
* Ripped similar code from all the wm* programs,
|
||||||
|
|
|
@ -1,3 +1,29 @@
|
||||||
|
/*
|
||||||
|
wmgeneral was taken from wmppp.
|
||||||
|
|
||||||
|
It has a lot of routines which most of the wm* programs use.
|
||||||
|
|
||||||
|
------------------------------------------------------------
|
||||||
|
|
||||||
|
Copyright (C) 1998 Martijn Pieterse (pieterse@xs4all.nl)
|
||||||
|
|
||||||
|
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 WMGENERAL_H_INCLUDED
|
#ifndef WMGENERAL_H_INCLUDED
|
||||||
#define WMGENERAL_H_INCLUDED
|
#define WMGENERAL_H_INCLUDED
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* dock.c- built-in Dock module for WindowMaker
|
/* wmgeneral miscellaneous functions
|
||||||
*
|
*
|
||||||
* WindowMaker window manager
|
* from dock.c - built-in Dock module for WindowMaker window manager
|
||||||
*
|
*
|
||||||
* Copyright (c) 1997 Alfredo K. Kojima
|
* Copyright (c) 1997 Alfredo K. Kojima
|
||||||
*
|
*
|
||||||
|
@ -16,7 +16,8 @@
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
|
||||||
|
* USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
|
@ -1,3 +1,25 @@
|
||||||
|
/* wmgeneral miscellaneous functions
|
||||||
|
*
|
||||||
|
* from dock.c - built-in Dock module for WindowMaker window manager
|
||||||
|
*
|
||||||
|
* Copyright (c) 1997 Alfredo K. Kojima
|
||||||
|
*
|
||||||
|
* 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 __MISC_H
|
#ifndef __MISC_H
|
||||||
#define __MISC_H
|
#define __MISC_H
|
||||||
|
|
||||||
|
|
|
@ -1,19 +1,33 @@
|
||||||
/*
|
/*
|
||||||
Best viewed with vim5, using ts=4
|
|
||||||
|
|
||||||
wmgeneral was taken from wmppp.
|
wmgeneral was taken from wmppp.
|
||||||
|
|
||||||
It has a lot of routines which most of the wm* programs use.
|
It has a lot of routines which most of the wm* programs use.
|
||||||
|
|
||||||
------------------------------------------------------------
|
------------------------------------------------------------
|
||||||
|
|
||||||
Author: Martijn Pieterse (pieterse@xs4all.nl)
|
Copyright (C) 1998 Martijn Pieterse (pieterse@xs4all.nl)
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
---
|
---
|
||||||
CHANGES:
|
CHANGES:
|
||||||
---
|
---
|
||||||
10/10/2003 (Simon Law, sfllaw@debian.org)
|
10/10/2003 (Simon Law, sfllaw@debian.org)
|
||||||
* changed the parse_rcfile function to use getline instead of fgets.
|
* changed the parse_rcfile function to use getline instead of
|
||||||
|
fgets.
|
||||||
14/09/1998 (Dave Clark, clarkd@skyia.com)
|
14/09/1998 (Dave Clark, clarkd@skyia.com)
|
||||||
* Updated createXBMfromXPM routine
|
* Updated createXBMfromXPM routine
|
||||||
* Now supports >256 colors
|
* Now supports >256 colors
|
||||||
|
@ -32,7 +46,8 @@
|
||||||
* Added createXBMfromXPM routine
|
* Added createXBMfromXPM routine
|
||||||
* Saves a lot of work with changing xpm's.
|
* Saves a lot of work with changing xpm's.
|
||||||
02/05/1998 (Martijn Pieterse, pieterse@xs4all.nl)
|
02/05/1998 (Martijn Pieterse, pieterse@xs4all.nl)
|
||||||
* changed the read_rc_file to parse_rcfile, as suggested by Marcelo E. Magallon
|
* changed the read_rc_file to parse_rcfile, as suggested by
|
||||||
|
Marcelo E. Magallon
|
||||||
* debugged the parse_rc file.
|
* debugged the parse_rc file.
|
||||||
30/04/1998 (Martijn Pieterse, pieterse@xs4all.nl)
|
30/04/1998 (Martijn Pieterse, pieterse@xs4all.nl)
|
||||||
* Ripped similar code from all the wm* programs,
|
* Ripped similar code from all the wm* programs,
|
||||||
|
|
|
@ -1,3 +1,29 @@
|
||||||
|
/*
|
||||||
|
wmgeneral was taken from wmppp.
|
||||||
|
|
||||||
|
It has a lot of routines which most of the wm* programs use.
|
||||||
|
|
||||||
|
------------------------------------------------------------
|
||||||
|
|
||||||
|
Copyright (C) 1998 Martijn Pieterse (pieterse@xs4all.nl)
|
||||||
|
|
||||||
|
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 WMGENERAL_H_INCLUDED
|
#ifndef WMGENERAL_H_INCLUDED
|
||||||
#define WMGENERAL_H_INCLUDED
|
#define WMGENERAL_H_INCLUDED
|
||||||
|
|
||||||
|
|
|
@ -1,19 +1,33 @@
|
||||||
/*
|
/*
|
||||||
Best viewed with vim5, using ts=4
|
|
||||||
|
|
||||||
wmgeneral was taken from wmppp.
|
wmgeneral was taken from wmppp.
|
||||||
|
|
||||||
It has a lot of routines which most of the wm* programs use.
|
It has a lot of routines which most of the wm* programs use.
|
||||||
|
|
||||||
------------------------------------------------------------
|
------------------------------------------------------------
|
||||||
|
|
||||||
Author: Martijn Pieterse (pieterse@xs4all.nl)
|
Copyright (C) 1998 Martijn Pieterse (pieterse@xs4all.nl)
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
---
|
---
|
||||||
CHANGES:
|
CHANGES:
|
||||||
---
|
---
|
||||||
10/10/2003 (Simon Law, sfllaw@debian.org)
|
10/10/2003 (Simon Law, sfllaw@debian.org)
|
||||||
* changed the parse_rcfile function to use getline instead of fgets.
|
* changed the parse_rcfile function to use getline instead of
|
||||||
|
fgets.
|
||||||
14/09/1998 (Dave Clark, clarkd@skyia.com)
|
14/09/1998 (Dave Clark, clarkd@skyia.com)
|
||||||
* Updated createXBMfromXPM routine
|
* Updated createXBMfromXPM routine
|
||||||
* Now supports >256 colors
|
* Now supports >256 colors
|
||||||
|
@ -32,7 +46,8 @@
|
||||||
* Added createXBMfromXPM routine
|
* Added createXBMfromXPM routine
|
||||||
* Saves a lot of work with changing xpm's.
|
* Saves a lot of work with changing xpm's.
|
||||||
02/05/1998 (Martijn Pieterse, pieterse@xs4all.nl)
|
02/05/1998 (Martijn Pieterse, pieterse@xs4all.nl)
|
||||||
* changed the read_rc_file to parse_rcfile, as suggested by Marcelo E. Magallon
|
* changed the read_rc_file to parse_rcfile, as suggested by
|
||||||
|
Marcelo E. Magallon
|
||||||
* debugged the parse_rc file.
|
* debugged the parse_rc file.
|
||||||
30/04/1998 (Martijn Pieterse, pieterse@xs4all.nl)
|
30/04/1998 (Martijn Pieterse, pieterse@xs4all.nl)
|
||||||
* Ripped similar code from all the wm* programs,
|
* Ripped similar code from all the wm* programs,
|
||||||
|
|
|
@ -1,3 +1,29 @@
|
||||||
|
/*
|
||||||
|
wmgeneral was taken from wmppp.
|
||||||
|
|
||||||
|
It has a lot of routines which most of the wm* programs use.
|
||||||
|
|
||||||
|
------------------------------------------------------------
|
||||||
|
|
||||||
|
Copyright (C) 1998 Martijn Pieterse (pieterse@xs4all.nl)
|
||||||
|
|
||||||
|
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 WMGENERAL_H_INCLUDED
|
#ifndef WMGENERAL_H_INCLUDED
|
||||||
#define WMGENERAL_H_INCLUDED
|
#define WMGENERAL_H_INCLUDED
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* dock.c- built-in Dock module for WindowMaker
|
/* wmgeneral miscellaneous functions
|
||||||
*
|
*
|
||||||
* WindowMaker window manager
|
* from dock.c - built-in Dock module for WindowMaker window manager
|
||||||
*
|
*
|
||||||
* Copyright (c) 1997 Alfredo K. Kojima
|
* Copyright (c) 1997 Alfredo K. Kojima
|
||||||
*
|
*
|
||||||
|
@ -16,7 +16,8 @@
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
|
||||||
|
* USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
|
@ -1,3 +1,25 @@
|
||||||
|
/* wmgeneral miscellaneous functions
|
||||||
|
*
|
||||||
|
* from dock.c - built-in Dock module for WindowMaker window manager
|
||||||
|
*
|
||||||
|
* Copyright (c) 1997 Alfredo K. Kojima
|
||||||
|
*
|
||||||
|
* 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 __MISC_H
|
#ifndef __MISC_H
|
||||||
#define __MISC_H
|
#define __MISC_H
|
||||||
|
|
||||||
|
|
|
@ -1,19 +1,33 @@
|
||||||
/*
|
/*
|
||||||
Best viewed with vim5, using ts=4
|
|
||||||
|
|
||||||
wmgeneral was taken from wmppp.
|
wmgeneral was taken from wmppp.
|
||||||
|
|
||||||
It has a lot of routines which most of the wm* programs use.
|
It has a lot of routines which most of the wm* programs use.
|
||||||
|
|
||||||
------------------------------------------------------------
|
------------------------------------------------------------
|
||||||
|
|
||||||
Author: Martijn Pieterse (pieterse@xs4all.nl)
|
Copyright (C) 1998 Martijn Pieterse (pieterse@xs4all.nl)
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
---
|
---
|
||||||
CHANGES:
|
CHANGES:
|
||||||
---
|
---
|
||||||
10/10/2003 (Simon Law, sfllaw@debian.org)
|
10/10/2003 (Simon Law, sfllaw@debian.org)
|
||||||
* changed the parse_rcfile function to use getline instead of fgets.
|
* changed the parse_rcfile function to use getline instead of
|
||||||
|
fgets.
|
||||||
14/09/1998 (Dave Clark, clarkd@skyia.com)
|
14/09/1998 (Dave Clark, clarkd@skyia.com)
|
||||||
* Updated createXBMfromXPM routine
|
* Updated createXBMfromXPM routine
|
||||||
* Now supports >256 colors
|
* Now supports >256 colors
|
||||||
|
@ -32,7 +46,8 @@
|
||||||
* Added createXBMfromXPM routine
|
* Added createXBMfromXPM routine
|
||||||
* Saves a lot of work with changing xpm's.
|
* Saves a lot of work with changing xpm's.
|
||||||
02/05/1998 (Martijn Pieterse, pieterse@xs4all.nl)
|
02/05/1998 (Martijn Pieterse, pieterse@xs4all.nl)
|
||||||
* changed the read_rc_file to parse_rcfile, as suggested by Marcelo E. Magallon
|
* changed the read_rc_file to parse_rcfile, as suggested by
|
||||||
|
Marcelo E. Magallon
|
||||||
* debugged the parse_rc file.
|
* debugged the parse_rc file.
|
||||||
30/04/1998 (Martijn Pieterse, pieterse@xs4all.nl)
|
30/04/1998 (Martijn Pieterse, pieterse@xs4all.nl)
|
||||||
* Ripped similar code from all the wm* programs,
|
* Ripped similar code from all the wm* programs,
|
||||||
|
|
|
@ -1,3 +1,29 @@
|
||||||
|
/*
|
||||||
|
wmgeneral was taken from wmppp.
|
||||||
|
|
||||||
|
It has a lot of routines which most of the wm* programs use.
|
||||||
|
|
||||||
|
------------------------------------------------------------
|
||||||
|
|
||||||
|
Copyright (C) 1998 Martijn Pieterse (pieterse@xs4all.nl)
|
||||||
|
|
||||||
|
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 WMGENERAL_H_INCLUDED
|
#ifndef WMGENERAL_H_INCLUDED
|
||||||
#define WMGENERAL_H_INCLUDED
|
#define WMGENERAL_H_INCLUDED
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* dock.c- built-in Dock module for WindowMaker
|
/* wmgeneral miscellaneous functions
|
||||||
*
|
*
|
||||||
* WindowMaker window manager
|
* from dock.c - built-in Dock module for WindowMaker window manager
|
||||||
*
|
*
|
||||||
* Copyright (c) 1997 Alfredo K. Kojima
|
* Copyright (c) 1997 Alfredo K. Kojima
|
||||||
*
|
*
|
||||||
|
@ -16,7 +16,8 @@
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
|
||||||
|
* USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
|
@ -1,3 +1,25 @@
|
||||||
|
/* wmgeneral miscellaneous functions
|
||||||
|
*
|
||||||
|
* from dock.c - built-in Dock module for WindowMaker window manager
|
||||||
|
*
|
||||||
|
* Copyright (c) 1997 Alfredo K. Kojima
|
||||||
|
*
|
||||||
|
* 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 __MISC_H
|
#ifndef __MISC_H
|
||||||
#define __MISC_H
|
#define __MISC_H
|
||||||
|
|
||||||
|
|
|
@ -1,19 +1,33 @@
|
||||||
/*
|
/*
|
||||||
Best viewed with vim5, using ts=4
|
|
||||||
|
|
||||||
wmgeneral was taken from wmppp.
|
wmgeneral was taken from wmppp.
|
||||||
|
|
||||||
It has a lot of routines which most of the wm* programs use.
|
It has a lot of routines which most of the wm* programs use.
|
||||||
|
|
||||||
------------------------------------------------------------
|
------------------------------------------------------------
|
||||||
|
|
||||||
Author: Martijn Pieterse (pieterse@xs4all.nl)
|
Copyright (C) 1998 Martijn Pieterse (pieterse@xs4all.nl)
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
---
|
---
|
||||||
CHANGES:
|
CHANGES:
|
||||||
---
|
---
|
||||||
10/10/2003 (Simon Law, sfllaw@debian.org)
|
10/10/2003 (Simon Law, sfllaw@debian.org)
|
||||||
* changed the parse_rcfile function to use getline instead of fgets.
|
* changed the parse_rcfile function to use getline instead of
|
||||||
|
fgets.
|
||||||
14/09/1998 (Dave Clark, clarkd@skyia.com)
|
14/09/1998 (Dave Clark, clarkd@skyia.com)
|
||||||
* Updated createXBMfromXPM routine
|
* Updated createXBMfromXPM routine
|
||||||
* Now supports >256 colors
|
* Now supports >256 colors
|
||||||
|
@ -32,7 +46,8 @@
|
||||||
* Added createXBMfromXPM routine
|
* Added createXBMfromXPM routine
|
||||||
* Saves a lot of work with changing xpm's.
|
* Saves a lot of work with changing xpm's.
|
||||||
02/05/1998 (Martijn Pieterse, pieterse@xs4all.nl)
|
02/05/1998 (Martijn Pieterse, pieterse@xs4all.nl)
|
||||||
* changed the read_rc_file to parse_rcfile, as suggested by Marcelo E. Magallon
|
* changed the read_rc_file to parse_rcfile, as suggested by
|
||||||
|
Marcelo E. Magallon
|
||||||
* debugged the parse_rc file.
|
* debugged the parse_rc file.
|
||||||
30/04/1998 (Martijn Pieterse, pieterse@xs4all.nl)
|
30/04/1998 (Martijn Pieterse, pieterse@xs4all.nl)
|
||||||
* Ripped similar code from all the wm* programs,
|
* Ripped similar code from all the wm* programs,
|
||||||
|
|
|
@ -1,3 +1,29 @@
|
||||||
|
/*
|
||||||
|
wmgeneral was taken from wmppp.
|
||||||
|
|
||||||
|
It has a lot of routines which most of the wm* programs use.
|
||||||
|
|
||||||
|
------------------------------------------------------------
|
||||||
|
|
||||||
|
Copyright (C) 1998 Martijn Pieterse (pieterse@xs4all.nl)
|
||||||
|
|
||||||
|
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 WMGENERAL_H_INCLUDED
|
#ifndef WMGENERAL_H_INCLUDED
|
||||||
#define WMGENERAL_H_INCLUDED
|
#define WMGENERAL_H_INCLUDED
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* dock.c- built-in Dock module for WindowMaker
|
/* wmgeneral miscellaneous functions
|
||||||
*
|
*
|
||||||
* WindowMaker window manager
|
* from dock.c - built-in Dock module for WindowMaker window manager
|
||||||
*
|
*
|
||||||
* Copyright (c) 1997 Alfredo K. Kojima
|
* Copyright (c) 1997 Alfredo K. Kojima
|
||||||
*
|
*
|
||||||
|
@ -16,7 +16,8 @@
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
|
||||||
|
* USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
|
@ -1,3 +1,25 @@
|
||||||
|
/* wmgeneral miscellaneous functions
|
||||||
|
*
|
||||||
|
* from dock.c - built-in Dock module for WindowMaker window manager
|
||||||
|
*
|
||||||
|
* Copyright (c) 1997 Alfredo K. Kojima
|
||||||
|
*
|
||||||
|
* 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 __MISC_H
|
#ifndef __MISC_H
|
||||||
#define __MISC_H
|
#define __MISC_H
|
||||||
|
|
||||||
|
|
|
@ -1,19 +1,33 @@
|
||||||
/*
|
/*
|
||||||
Best viewed with vim5, using ts=4
|
|
||||||
|
|
||||||
wmgeneral was taken from wmppp.
|
wmgeneral was taken from wmppp.
|
||||||
|
|
||||||
It has a lot of routines which most of the wm* programs use.
|
It has a lot of routines which most of the wm* programs use.
|
||||||
|
|
||||||
------------------------------------------------------------
|
------------------------------------------------------------
|
||||||
|
|
||||||
Author: Martijn Pieterse (pieterse@xs4all.nl)
|
Copyright (C) 1998 Martijn Pieterse (pieterse@xs4all.nl)
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
---
|
---
|
||||||
CHANGES:
|
CHANGES:
|
||||||
---
|
---
|
||||||
10/10/2003 (Simon Law, sfllaw@debian.org)
|
10/10/2003 (Simon Law, sfllaw@debian.org)
|
||||||
* changed the parse_rcfile function to use getline instead of fgets.
|
* changed the parse_rcfile function to use getline instead of
|
||||||
|
fgets.
|
||||||
14/09/1998 (Dave Clark, clarkd@skyia.com)
|
14/09/1998 (Dave Clark, clarkd@skyia.com)
|
||||||
* Updated createXBMfromXPM routine
|
* Updated createXBMfromXPM routine
|
||||||
* Now supports >256 colors
|
* Now supports >256 colors
|
||||||
|
@ -32,7 +46,8 @@
|
||||||
* Added createXBMfromXPM routine
|
* Added createXBMfromXPM routine
|
||||||
* Saves a lot of work with changing xpm's.
|
* Saves a lot of work with changing xpm's.
|
||||||
02/05/1998 (Martijn Pieterse, pieterse@xs4all.nl)
|
02/05/1998 (Martijn Pieterse, pieterse@xs4all.nl)
|
||||||
* changed the read_rc_file to parse_rcfile, as suggested by Marcelo E. Magallon
|
* changed the read_rc_file to parse_rcfile, as suggested by
|
||||||
|
Marcelo E. Magallon
|
||||||
* debugged the parse_rc file.
|
* debugged the parse_rc file.
|
||||||
30/04/1998 (Martijn Pieterse, pieterse@xs4all.nl)
|
30/04/1998 (Martijn Pieterse, pieterse@xs4all.nl)
|
||||||
* Ripped similar code from all the wm* programs,
|
* Ripped similar code from all the wm* programs,
|
||||||
|
|
|
@ -1,3 +1,29 @@
|
||||||
|
/*
|
||||||
|
wmgeneral was taken from wmppp.
|
||||||
|
|
||||||
|
It has a lot of routines which most of the wm* programs use.
|
||||||
|
|
||||||
|
------------------------------------------------------------
|
||||||
|
|
||||||
|
Copyright (C) 1998 Martijn Pieterse (pieterse@xs4all.nl)
|
||||||
|
|
||||||
|
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 WMGENERAL_H_INCLUDED
|
#ifndef WMGENERAL_H_INCLUDED
|
||||||
#define WMGENERAL_H_INCLUDED
|
#define WMGENERAL_H_INCLUDED
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* dock.c- built-in Dock module for WindowMaker
|
/* wmgeneral miscellaneous functions
|
||||||
*
|
*
|
||||||
* WindowMaker window manager
|
* from dock.c - built-in Dock module for WindowMaker window manager
|
||||||
*
|
*
|
||||||
* Copyright (c) 1997 Alfredo K. Kojima
|
* Copyright (c) 1997 Alfredo K. Kojima
|
||||||
*
|
*
|
||||||
|
@ -16,7 +16,8 @@
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
|
||||||
|
* USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
|
@ -1,3 +1,25 @@
|
||||||
|
/* wmgeneral miscellaneous functions
|
||||||
|
*
|
||||||
|
* from dock.c - built-in Dock module for WindowMaker window manager
|
||||||
|
*
|
||||||
|
* Copyright (c) 1997 Alfredo K. Kojima
|
||||||
|
*
|
||||||
|
* 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 __MISC_H
|
#ifndef __MISC_H
|
||||||
#define __MISC_H
|
#define __MISC_H
|
||||||
|
|
||||||
|
|
|
@ -1,19 +1,33 @@
|
||||||
/*
|
/*
|
||||||
Best viewed with vim5, using ts=4
|
|
||||||
|
|
||||||
wmgeneral was taken from wmppp.
|
wmgeneral was taken from wmppp.
|
||||||
|
|
||||||
It has a lot of routines which most of the wm* programs use.
|
It has a lot of routines which most of the wm* programs use.
|
||||||
|
|
||||||
------------------------------------------------------------
|
------------------------------------------------------------
|
||||||
|
|
||||||
Author: Martijn Pieterse (pieterse@xs4all.nl)
|
Copyright (C) 1998 Martijn Pieterse (pieterse@xs4all.nl)
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
---
|
---
|
||||||
CHANGES:
|
CHANGES:
|
||||||
---
|
---
|
||||||
10/10/2003 (Simon Law, sfllaw@debian.org)
|
10/10/2003 (Simon Law, sfllaw@debian.org)
|
||||||
* changed the parse_rcfile function to use getline instead of fgets.
|
* changed the parse_rcfile function to use getline instead of
|
||||||
|
fgets.
|
||||||
14/09/1998 (Dave Clark, clarkd@skyia.com)
|
14/09/1998 (Dave Clark, clarkd@skyia.com)
|
||||||
* Updated createXBMfromXPM routine
|
* Updated createXBMfromXPM routine
|
||||||
* Now supports >256 colors
|
* Now supports >256 colors
|
||||||
|
@ -32,7 +46,8 @@
|
||||||
* Added createXBMfromXPM routine
|
* Added createXBMfromXPM routine
|
||||||
* Saves a lot of work with changing xpm's.
|
* Saves a lot of work with changing xpm's.
|
||||||
02/05/1998 (Martijn Pieterse, pieterse@xs4all.nl)
|
02/05/1998 (Martijn Pieterse, pieterse@xs4all.nl)
|
||||||
* changed the read_rc_file to parse_rcfile, as suggested by Marcelo E. Magallon
|
* changed the read_rc_file to parse_rcfile, as suggested by
|
||||||
|
Marcelo E. Magallon
|
||||||
* debugged the parse_rc file.
|
* debugged the parse_rc file.
|
||||||
30/04/1998 (Martijn Pieterse, pieterse@xs4all.nl)
|
30/04/1998 (Martijn Pieterse, pieterse@xs4all.nl)
|
||||||
* Ripped similar code from all the wm* programs,
|
* Ripped similar code from all the wm* programs,
|
||||||
|
|
|
@ -1,3 +1,29 @@
|
||||||
|
/*
|
||||||
|
wmgeneral was taken from wmppp.
|
||||||
|
|
||||||
|
It has a lot of routines which most of the wm* programs use.
|
||||||
|
|
||||||
|
------------------------------------------------------------
|
||||||
|
|
||||||
|
Copyright (C) 1998 Martijn Pieterse (pieterse@xs4all.nl)
|
||||||
|
|
||||||
|
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 WMGENERAL_H_INCLUDED
|
#ifndef WMGENERAL_H_INCLUDED
|
||||||
#define WMGENERAL_H_INCLUDED
|
#define WMGENERAL_H_INCLUDED
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* dock.c- built-in Dock module for WindowMaker
|
/* wmgeneral miscellaneous functions
|
||||||
*
|
*
|
||||||
* WindowMaker window manager
|
* from dock.c - built-in Dock module for WindowMaker window manager
|
||||||
*
|
*
|
||||||
* Copyright (c) 1997 Alfredo K. Kojima
|
* Copyright (c) 1997 Alfredo K. Kojima
|
||||||
*
|
*
|
||||||
|
@ -16,7 +16,8 @@
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
|
||||||
|
* USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
|
@ -1,3 +1,25 @@
|
||||||
|
/* wmgeneral miscellaneous functions
|
||||||
|
*
|
||||||
|
* from dock.c - built-in Dock module for WindowMaker window manager
|
||||||
|
*
|
||||||
|
* Copyright (c) 1997 Alfredo K. Kojima
|
||||||
|
*
|
||||||
|
* 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 __MISC_H
|
#ifndef __MISC_H
|
||||||
#define __MISC_H
|
#define __MISC_H
|
||||||
|
|
||||||
|
|
|
@ -1,19 +1,33 @@
|
||||||
/*
|
/*
|
||||||
Best viewed with vim5, using ts=4
|
|
||||||
|
|
||||||
wmgeneral was taken from wmppp.
|
wmgeneral was taken from wmppp.
|
||||||
|
|
||||||
It has a lot of routines which most of the wm* programs use.
|
It has a lot of routines which most of the wm* programs use.
|
||||||
|
|
||||||
------------------------------------------------------------
|
------------------------------------------------------------
|
||||||
|
|
||||||
Author: Martijn Pieterse (pieterse@xs4all.nl)
|
Copyright (C) 1998 Martijn Pieterse (pieterse@xs4all.nl)
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
---
|
---
|
||||||
CHANGES:
|
CHANGES:
|
||||||
---
|
---
|
||||||
10/10/2003 (Simon Law, sfllaw@debian.org)
|
10/10/2003 (Simon Law, sfllaw@debian.org)
|
||||||
* changed the parse_rcfile function to use getline instead of fgets.
|
* changed the parse_rcfile function to use getline instead of
|
||||||
|
fgets.
|
||||||
14/09/1998 (Dave Clark, clarkd@skyia.com)
|
14/09/1998 (Dave Clark, clarkd@skyia.com)
|
||||||
* Updated createXBMfromXPM routine
|
* Updated createXBMfromXPM routine
|
||||||
* Now supports >256 colors
|
* Now supports >256 colors
|
||||||
|
@ -32,7 +46,8 @@
|
||||||
* Added createXBMfromXPM routine
|
* Added createXBMfromXPM routine
|
||||||
* Saves a lot of work with changing xpm's.
|
* Saves a lot of work with changing xpm's.
|
||||||
02/05/1998 (Martijn Pieterse, pieterse@xs4all.nl)
|
02/05/1998 (Martijn Pieterse, pieterse@xs4all.nl)
|
||||||
* changed the read_rc_file to parse_rcfile, as suggested by Marcelo E. Magallon
|
* changed the read_rc_file to parse_rcfile, as suggested by
|
||||||
|
Marcelo E. Magallon
|
||||||
* debugged the parse_rc file.
|
* debugged the parse_rc file.
|
||||||
30/04/1998 (Martijn Pieterse, pieterse@xs4all.nl)
|
30/04/1998 (Martijn Pieterse, pieterse@xs4all.nl)
|
||||||
* Ripped similar code from all the wm* programs,
|
* Ripped similar code from all the wm* programs,
|
||||||
|
|
|
@ -1,3 +1,29 @@
|
||||||
|
/*
|
||||||
|
wmgeneral was taken from wmppp.
|
||||||
|
|
||||||
|
It has a lot of routines which most of the wm* programs use.
|
||||||
|
|
||||||
|
------------------------------------------------------------
|
||||||
|
|
||||||
|
Copyright (C) 1998 Martijn Pieterse (pieterse@xs4all.nl)
|
||||||
|
|
||||||
|
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 WMGENERAL_H_INCLUDED
|
#ifndef WMGENERAL_H_INCLUDED
|
||||||
#define WMGENERAL_H_INCLUDED
|
#define WMGENERAL_H_INCLUDED
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* dock.c- built-in Dock module for WindowMaker
|
/* wmgeneral miscellaneous functions
|
||||||
*
|
*
|
||||||
* WindowMaker window manager
|
* from dock.c - built-in Dock module for WindowMaker window manager
|
||||||
*
|
*
|
||||||
* Copyright (c) 1997 Alfredo K. Kojima
|
* Copyright (c) 1997 Alfredo K. Kojima
|
||||||
*
|
*
|
||||||
|
@ -16,7 +16,8 @@
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
|
||||||
|
* USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
|
@ -1,3 +1,25 @@
|
||||||
|
/* wmgeneral miscellaneous functions
|
||||||
|
*
|
||||||
|
* from dock.c - built-in Dock module for WindowMaker window manager
|
||||||
|
*
|
||||||
|
* Copyright (c) 1997 Alfredo K. Kojima
|
||||||
|
*
|
||||||
|
* 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 __MISC_H
|
#ifndef __MISC_H
|
||||||
#define __MISC_H
|
#define __MISC_H
|
||||||
|
|
||||||
|
|
|
@ -1,19 +1,33 @@
|
||||||
/*
|
/*
|
||||||
Best viewed with vim5, using ts=4
|
|
||||||
|
|
||||||
wmgeneral was taken from wmppp.
|
wmgeneral was taken from wmppp.
|
||||||
|
|
||||||
It has a lot of routines which most of the wm* programs use.
|
It has a lot of routines which most of the wm* programs use.
|
||||||
|
|
||||||
------------------------------------------------------------
|
------------------------------------------------------------
|
||||||
|
|
||||||
Author: Martijn Pieterse (pieterse@xs4all.nl)
|
Copyright (C) 1998 Martijn Pieterse (pieterse@xs4all.nl)
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
---
|
---
|
||||||
CHANGES:
|
CHANGES:
|
||||||
---
|
---
|
||||||
10/10/2003 (Simon Law, sfllaw@debian.org)
|
10/10/2003 (Simon Law, sfllaw@debian.org)
|
||||||
* changed the parse_rcfile function to use getline instead of fgets.
|
* changed the parse_rcfile function to use getline instead of
|
||||||
|
fgets.
|
||||||
14/09/1998 (Dave Clark, clarkd@skyia.com)
|
14/09/1998 (Dave Clark, clarkd@skyia.com)
|
||||||
* Updated createXBMfromXPM routine
|
* Updated createXBMfromXPM routine
|
||||||
* Now supports >256 colors
|
* Now supports >256 colors
|
||||||
|
@ -32,7 +46,8 @@
|
||||||
* Added createXBMfromXPM routine
|
* Added createXBMfromXPM routine
|
||||||
* Saves a lot of work with changing xpm's.
|
* Saves a lot of work with changing xpm's.
|
||||||
02/05/1998 (Martijn Pieterse, pieterse@xs4all.nl)
|
02/05/1998 (Martijn Pieterse, pieterse@xs4all.nl)
|
||||||
* changed the read_rc_file to parse_rcfile, as suggested by Marcelo E. Magallon
|
* changed the read_rc_file to parse_rcfile, as suggested by
|
||||||
|
Marcelo E. Magallon
|
||||||
* debugged the parse_rc file.
|
* debugged the parse_rc file.
|
||||||
30/04/1998 (Martijn Pieterse, pieterse@xs4all.nl)
|
30/04/1998 (Martijn Pieterse, pieterse@xs4all.nl)
|
||||||
* Ripped similar code from all the wm* programs,
|
* Ripped similar code from all the wm* programs,
|
||||||
|
|
|
@ -1,3 +1,29 @@
|
||||||
|
/*
|
||||||
|
wmgeneral was taken from wmppp.
|
||||||
|
|
||||||
|
It has a lot of routines which most of the wm* programs use.
|
||||||
|
|
||||||
|
------------------------------------------------------------
|
||||||
|
|
||||||
|
Copyright (C) 1998 Martijn Pieterse (pieterse@xs4all.nl)
|
||||||
|
|
||||||
|
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 WMGENERAL_H_INCLUDED
|
#ifndef WMGENERAL_H_INCLUDED
|
||||||
#define WMGENERAL_H_INCLUDED
|
#define WMGENERAL_H_INCLUDED
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* dock.c- built-in Dock module for WindowMaker
|
/* wmgeneral miscellaneous functions
|
||||||
*
|
*
|
||||||
* WindowMaker window manager
|
* from dock.c - built-in Dock module for WindowMaker window manager
|
||||||
*
|
*
|
||||||
* Copyright (c) 1997 Alfredo K. Kojima
|
* Copyright (c) 1997 Alfredo K. Kojima
|
||||||
*
|
*
|
||||||
|
@ -16,7 +16,8 @@
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
|
||||||
|
* USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
|
@ -1,3 +1,25 @@
|
||||||
|
/* wmgeneral miscellaneous functions
|
||||||
|
*
|
||||||
|
* from dock.c - built-in Dock module for WindowMaker window manager
|
||||||
|
*
|
||||||
|
* Copyright (c) 1997 Alfredo K. Kojima
|
||||||
|
*
|
||||||
|
* 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 __MISC_H
|
#ifndef __MISC_H
|
||||||
#define __MISC_H
|
#define __MISC_H
|
||||||
|
|
||||||
|
|
|
@ -1,19 +1,33 @@
|
||||||
/*
|
/*
|
||||||
Best viewed with vim5, using ts=4
|
|
||||||
|
|
||||||
wmgeneral was taken from wmppp.
|
wmgeneral was taken from wmppp.
|
||||||
|
|
||||||
It has a lot of routines which most of the wm* programs use.
|
It has a lot of routines which most of the wm* programs use.
|
||||||
|
|
||||||
------------------------------------------------------------
|
------------------------------------------------------------
|
||||||
|
|
||||||
Author: Martijn Pieterse (pieterse@xs4all.nl)
|
Copyright (C) 1998 Martijn Pieterse (pieterse@xs4all.nl)
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
---
|
---
|
||||||
CHANGES:
|
CHANGES:
|
||||||
---
|
---
|
||||||
10/10/2003 (Simon Law, sfllaw@debian.org)
|
10/10/2003 (Simon Law, sfllaw@debian.org)
|
||||||
* changed the parse_rcfile function to use getline instead of fgets.
|
* changed the parse_rcfile function to use getline instead of
|
||||||
|
fgets.
|
||||||
14/09/1998 (Dave Clark, clarkd@skyia.com)
|
14/09/1998 (Dave Clark, clarkd@skyia.com)
|
||||||
* Updated createXBMfromXPM routine
|
* Updated createXBMfromXPM routine
|
||||||
* Now supports >256 colors
|
* Now supports >256 colors
|
||||||
|
@ -32,7 +46,8 @@
|
||||||
* Added createXBMfromXPM routine
|
* Added createXBMfromXPM routine
|
||||||
* Saves a lot of work with changing xpm's.
|
* Saves a lot of work with changing xpm's.
|
||||||
02/05/1998 (Martijn Pieterse, pieterse@xs4all.nl)
|
02/05/1998 (Martijn Pieterse, pieterse@xs4all.nl)
|
||||||
* changed the read_rc_file to parse_rcfile, as suggested by Marcelo E. Magallon
|
* changed the read_rc_file to parse_rcfile, as suggested by
|
||||||
|
Marcelo E. Magallon
|
||||||
* debugged the parse_rc file.
|
* debugged the parse_rc file.
|
||||||
30/04/1998 (Martijn Pieterse, pieterse@xs4all.nl)
|
30/04/1998 (Martijn Pieterse, pieterse@xs4all.nl)
|
||||||
* Ripped similar code from all the wm* programs,
|
* Ripped similar code from all the wm* programs,
|
||||||
|
|
|
@ -1,3 +1,29 @@
|
||||||
|
/*
|
||||||
|
wmgeneral was taken from wmppp.
|
||||||
|
|
||||||
|
It has a lot of routines which most of the wm* programs use.
|
||||||
|
|
||||||
|
------------------------------------------------------------
|
||||||
|
|
||||||
|
Copyright (C) 1998 Martijn Pieterse (pieterse@xs4all.nl)
|
||||||
|
|
||||||
|
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 WMGENERAL_H_INCLUDED
|
#ifndef WMGENERAL_H_INCLUDED
|
||||||
#define WMGENERAL_H_INCLUDED
|
#define WMGENERAL_H_INCLUDED
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* dock.c- built-in Dock module for WindowMaker
|
/* wmgeneral miscellaneous functions
|
||||||
*
|
*
|
||||||
* WindowMaker window manager
|
* from dock.c - built-in Dock module for WindowMaker window manager
|
||||||
*
|
*
|
||||||
* Copyright (c) 1997 Alfredo K. Kojima
|
* Copyright (c) 1997 Alfredo K. Kojima
|
||||||
*
|
*
|
||||||
|
@ -16,7 +16,8 @@
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
|
||||||
|
* USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
|
@ -1,3 +1,25 @@
|
||||||
|
/* wmgeneral miscellaneous functions
|
||||||
|
*
|
||||||
|
* from dock.c - built-in Dock module for WindowMaker window manager
|
||||||
|
*
|
||||||
|
* Copyright (c) 1997 Alfredo K. Kojima
|
||||||
|
*
|
||||||
|
* 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 __MISC_H
|
#ifndef __MISC_H
|
||||||
#define __MISC_H
|
#define __MISC_H
|
||||||
|
|
||||||
|
|
|
@ -1,19 +1,33 @@
|
||||||
/*
|
/*
|
||||||
Best viewed with vim5, using ts=4
|
|
||||||
|
|
||||||
wmgeneral was taken from wmppp.
|
wmgeneral was taken from wmppp.
|
||||||
|
|
||||||
It has a lot of routines which most of the wm* programs use.
|
It has a lot of routines which most of the wm* programs use.
|
||||||
|
|
||||||
------------------------------------------------------------
|
------------------------------------------------------------
|
||||||
|
|
||||||
Author: Martijn Pieterse (pieterse@xs4all.nl)
|
Copyright (C) 1998 Martijn Pieterse (pieterse@xs4all.nl)
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
---
|
---
|
||||||
CHANGES:
|
CHANGES:
|
||||||
---
|
---
|
||||||
10/10/2003 (Simon Law, sfllaw@debian.org)
|
10/10/2003 (Simon Law, sfllaw@debian.org)
|
||||||
* changed the parse_rcfile function to use getline instead of fgets.
|
* changed the parse_rcfile function to use getline instead of
|
||||||
|
fgets.
|
||||||
14/09/1998 (Dave Clark, clarkd@skyia.com)
|
14/09/1998 (Dave Clark, clarkd@skyia.com)
|
||||||
* Updated createXBMfromXPM routine
|
* Updated createXBMfromXPM routine
|
||||||
* Now supports >256 colors
|
* Now supports >256 colors
|
||||||
|
@ -32,7 +46,8 @@
|
||||||
* Added createXBMfromXPM routine
|
* Added createXBMfromXPM routine
|
||||||
* Saves a lot of work with changing xpm's.
|
* Saves a lot of work with changing xpm's.
|
||||||
02/05/1998 (Martijn Pieterse, pieterse@xs4all.nl)
|
02/05/1998 (Martijn Pieterse, pieterse@xs4all.nl)
|
||||||
* changed the read_rc_file to parse_rcfile, as suggested by Marcelo E. Magallon
|
* changed the read_rc_file to parse_rcfile, as suggested by
|
||||||
|
Marcelo E. Magallon
|
||||||
* debugged the parse_rc file.
|
* debugged the parse_rc file.
|
||||||
30/04/1998 (Martijn Pieterse, pieterse@xs4all.nl)
|
30/04/1998 (Martijn Pieterse, pieterse@xs4all.nl)
|
||||||
* Ripped similar code from all the wm* programs,
|
* Ripped similar code from all the wm* programs,
|
||||||
|
|
|
@ -1,3 +1,29 @@
|
||||||
|
/*
|
||||||
|
wmgeneral was taken from wmppp.
|
||||||
|
|
||||||
|
It has a lot of routines which most of the wm* programs use.
|
||||||
|
|
||||||
|
------------------------------------------------------------
|
||||||
|
|
||||||
|
Copyright (C) 1998 Martijn Pieterse (pieterse@xs4all.nl)
|
||||||
|
|
||||||
|
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 WMGENERAL_H_INCLUDED
|
#ifndef WMGENERAL_H_INCLUDED
|
||||||
#define WMGENERAL_H_INCLUDED
|
#define WMGENERAL_H_INCLUDED
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue