This commit is contained in:
purplerain 2024-10-06 22:00:57 +00:00
parent 50c8bafd9f
commit ac06c97e30
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
820 changed files with 467502 additions and 386453 deletions

View file

@ -1,10 +1,10 @@
/* FvwmWinList Module for Fvwm.
/* FvwmWinList Module for Fvwm.
*
* Copyright 1994, Mike Finger (mfinger@mermaid.micro.umn.edu or
* Mike_Finger@atk.com)
*
* The functions in this header file that are the original work of Mike Finger.
*
*
* No guarantees or warantees or anything are provided or implied in any way
* whatsoever. Use this program at your own risk. Permission to use this
* program for any purpose is given, as long as the copyright is kept intact.

View file

@ -1,4 +1,4 @@
/* Part of the FvwmWinList Module for Fvwm.
/* Part of the FvwmWinList Module for Fvwm.
*
* Copyright 1994, Mike Finger (mfinger@mermaid.micro.umn.edu or
* Mike_Finger@atk.com)
@ -27,7 +27,7 @@ extern Window Root;
/****************************************************************************
Loads a single color
*****************************************************************************/
*****************************************************************************/
Pixel GetColor(char *name)
{
XColor color;
@ -35,9 +35,9 @@ Pixel GetColor(char *name)
XGetWindowAttributes(dpy,Root,&attributes);
color.pixel = 0;
if (!XParseColor (dpy, attributes.colormap, name, &color))
if (!XParseColor (dpy, attributes.colormap, name, &color))
nocolor("parse",name);
else if(!XAllocColor (dpy, attributes.colormap, &color))
else if(!XAllocColor (dpy, attributes.colormap, &color))
nocolor("alloc",name);
return color.pixel;
}

View file

@ -1,4 +1,4 @@
/* Part of the FvwmWinList Module for Fvwm.
/* Part of the FvwmWinList Module for Fvwm.
*
* The functions in this header file were originally part of the GoodStuff
* and FvwmIdent modules for Fvwm, so there copyrights are listed:

View file

@ -185,7 +185,7 @@ int main(int argc, char **argv)
sigemptyset(&sigact.sa_mask);
sigact.sa_handler = TerminateHandler;
sigaction(SIGPIPE, &sigact, NULL);
sigaction(SIGTERM, &sigact, NULL);
sigaction(SIGTERM, &sigact, NULL);
#else
signal(SIGPIPE, TerminateHandler);
signal(SIGTERM, TerminateHandler);
@ -1066,7 +1066,7 @@ PropMwmHints prop;
int ErrorHandler(Display *d, XErrorEvent *event)
{
char errmsg[256];
XGetErrorText(d, event->error_code, errmsg, sizeof(errmsg));
ConsoleMessage("%s failed request: %s\n", Module, errmsg);
ConsoleMessage("Major opcode: 0x%x, resource id: 0x%x\n",

View file

@ -1,6 +1,6 @@
#include "fvwmlib.h"
#include "fvwmlib.h"
/* FvwmWinList Module for Fvwm.
/* FvwmWinList Module for Fvwm.
*
* Copyright 1994, Mike Finger (mfinger@mermaid.micro.umn.edu or
* Mike_Finger@atk.com)
@ -50,13 +50,13 @@ typedef PropMotifWmHints PropMwmHints;
#define MWM_FUNC_MOVE (1L << 2)
#define MWM_FUNC_MINIMIZE (1L << 3)
#define MWM_FUNC_MAXIMIZE (1L << 4)
#define MWM_FUNC_CLOSE (1L << 5)
#define MWM_FUNC_CLOSE (1L << 5)
/* values for MwmHints.input_mode */
#define MWM_INPUT_MODELESS 0
#define MWM_INPUT_PRIMARY_APPLICATION_MODAL 1
#define MWM_INPUT_SYSTEM_MODAL 2
#define MWM_INPUT_FULL_APPLICATION_MODAL 3
#define MWM_INPUT_FULL_APPLICATION_MODAL 3
/* bit definitions for MwmHints.decorations */
#define MWM_DECOR_ALL (1L << 0)

View file

@ -3,8 +3,8 @@ XCOMM $OpenBSD: Imakefile,v 1.1.1.1 2006/11/26 10:53:56 matthieu Exp $
FVWMTOP=../..
#include "../../Fvwm.tmpl"
SRCS= ButtonArray.c Colors.c FvwmWinList.c List.c Mallocs.c
OBJS= ButtonArray.o Colors.o FvwmWinList.o List.o Mallocs.o
SRCS= ButtonArray.c Colors.c FvwmWinList.c List.c Mallocs.c
OBJS= ButtonArray.o Colors.o FvwmWinList.o List.o Mallocs.o
DEPLIBS= $(FVWMLIB) $(DEPXPMLIB) $(DEPXLIB)
LOCAL_LIBRARIES= $(FVWMLIB) $(XPMLIB) $(XLIB)

View file

@ -1,10 +1,10 @@
/* FvwmWinList Module for Fvwm.
/* FvwmWinList Module for Fvwm.
*
* Copyright 1994, Mike Finger (mfinger@mermaid.micro.umn.edu or
* Mike_Finger@atk.com)
*
* The functions in this source file are the original work of Mike Finger.
*
*
* No guarantees or warantees or anything are provided or implied in any way
* whatsoever. Use this program at your own risk. Permission to use this
* program for any purpose is given, as long as the copyright is kept intact.
@ -64,7 +64,7 @@ int FindItem(List *list, long id)
if (temp==NULL) return -1;
return i;
}
/******************************************************************************
FindItemDesk - Find the item in the list matching the id, and desk id
******************************************************************************/
@ -95,8 +95,8 @@ int UpdateItemName(List *list, long id, char *string)
/******************************************************************************
UpdateItemDesk - Update the item in the list, setting desk as necessary.
returns 1 if desk was updated,
returns 0, if not changed
returns 1 if desk was updated,
returns 0, if not changed
returns -1 if not found
******************************************************************************/
int UpdateItemDesk(List *list, long id, long desk)
@ -131,7 +131,7 @@ int i;
if (flags!=-1) temp->flags=flags;
return i;
}
/******************************************************************************
FreeItem - Frees allocated space for an Item
******************************************************************************/

View file

@ -1,10 +1,10 @@
/* FvwmWinList Module for Fvwm.
/* FvwmWinList Module for Fvwm.
*
* Copyright 1994, Mike Finger (mfinger@mermaid.micro.umn.edu or
* Mike_Finger@atk.com)
*
* The functions in this source file that are the original work of Mike Finger.
*
*
* No guarantees or warantees or anything are provided or implied in any way
* whatsoever. Use this program at your own risk. Permission to use this
* program for any purpose is given, as long as the copyright is kept intact.

View file

@ -5,7 +5,7 @@
.PATH: ${DIST}/modules/FvwmWinList
PROG= FvwmWinList
SRCS= ButtonArray.c Colors.c FvwmWinList.c List.c Mallocs.c
SRCS= ButtonArray.c Colors.c FvwmWinList.c List.c Mallocs.c
LDADD+= -lXpm ${XLIB}
BINDIR= ${FVWMLIBDIR}

View file

@ -1,4 +1,4 @@
/* FvwmWinList Module for Fvwm.
/* FvwmWinList Module for Fvwm.
*
* Copyright 1994, Mike Finger (mfinger@mermaid.micro.umn.edu or
* Mike_Finger@atk.com)