]> Pileus Git - wmpus/commitdiff
Rename to wmpus
authorAndy Spencer <andy753421@gmail.com>
Thu, 29 Sep 2011 03:23:49 +0000 (03:23 +0000)
committerAndy Spencer <andy753421@gmail.com>
Thu, 29 Sep 2011 03:23:49 +0000 (03:23 +0000)
.gitignore
makefile
sys-win32.c

index 1c00c9a6f325bcce309e6e39873db51d6ccde6ec..702d51a1110cad5b33f8dbcbaa6117694e203539 100644 (file)
@@ -1,6 +1,7 @@
 *~
 *.o
 *.swp
-awm
-awm.exe
+local
+wmpus
+wmpus.exe
 tags
index 68b8cf382a30c46b26b9e82db4a41addf49b0679..2920b48ab26cde0acd3004dfd30a3c12c6a89f1f 100644 (file)
--- 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
 
index 81175fdd2cf3ca03f79ce0b0841270380ac3a85c..1edc5d281d05c1a66dd320139ecd1686ccbeca28 100644 (file)
@@ -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());