From 68b7ef11fe9910511d223bd80ac9bbd38456536c Mon Sep 17 00:00:00 2001 From: Andy Spencer Date: Thu, 29 Sep 2011 03:23:49 +0000 Subject: [PATCH] Rename to wmpus --- .gitignore | 5 +++-- makefile | 4 ++-- sys-win32.c | 6 +++--- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 1c00c9a..702d51a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ *~ *.o *.swp -awm -awm.exe +local +wmpus +wmpus.exe tags diff --git a/makefile b/makefile index 68b8cf3..2920b48 100644 --- a/makefile +++ b/makefile @@ -2,7 +2,7 @@ WM=wmii SYS=x11 CC=gcc -PROG=awm +PROG=wmpus CFLAGS=-g -Werror -Wall LIBS=-Wl,--as-needed -lX11 -lXinerama TEST=DISPLAY=:2.0 @@ -13,7 +13,7 @@ SYS=win32 CC=i686-pc-mingw32-gcc CFLAGS=-g -Werror -Wall -D_NO_OLDNAMES -DMARGIN=15 LIBS= -PROG=awm.exe +PROG=wmpus.exe TEST=cp -t /t/htdocs/temp endif diff --git a/sys-win32.c b/sys-win32.c index 81175fd..1edc5d2 100644 --- a/sys-win32.c +++ b/sys-win32.c @@ -354,12 +354,12 @@ win_t *sys_init(void) HINSTANCE hInst = GetModuleHandle(NULL); HWND hwnd = NULL; - /* Setup AWM window class */ + /* Setup window class */ WNDCLASSEX wc = { .cbSize = sizeof(WNDCLASSEX), .lpfnWndProc = WndProc, .hInstance = hInst, - .lpszClassName = "awm_class", + .lpszClassName = "wmpus_class", }; if (!RegisterClassEx(&wc)) printf("sys_init: Error Registering Class - %lu\n", GetLastError()); @@ -369,7 +369,7 @@ win_t *sys_init(void) SystemParametersInfo(SPI_GETWORKAREA, 0, &rc, 0); /* Create shell hook window */ - if (!(hwnd = CreateWindowEx(0, "awm_class", "awm", 0, + if (!(hwnd = CreateWindowEx(0, "wmpus_class", "wmpus", 0, rc.left, rc.top, rc.right-rc.left, rc.bottom-rc.top, HWND_MESSAGE, NULL, hInst, NULL))) printf("sys_init: Error Creating Shell Hook Window - %lu\n", GetLastError()); -- 2.43.2