This commit is contained in:
Nishi 2024-11-19 19:49:52 +09:00
parent 6ce28fab50
commit 92ba0abac1
No known key found for this signature in database
GPG Key ID: BAEA61502BFD1F1C
3 changed files with 16 additions and 8 deletions

8
build.sh Executable file
View File

@ -0,0 +1,8 @@
#!/bin/sh
count=`grep processor /proc/cpuinfo | wc -l | sed "s/ //g"`
if [ "$count" = "0" ]; then
count=4
fi
which xmkmf || exit 1
xmkmf -a
make -j$count || exit 1

View File

@ -54,8 +54,8 @@
#include "screen.h" #include "screen.h"
#include "module.h" #include "module.h"
XGCValues Globalgcv; extern XGCValues Globalgcv;
unsigned long Globalgcm; extern unsigned long Globalgcm;
/************************************************************************** /**************************************************************************

View File

@ -38,10 +38,10 @@
#include <X11/Intrinsic.h> #include <X11/Intrinsic.h>
#include "FvwmScroll.h" #include "FvwmScroll.h"
char *MyName; extern char *MyName;
Display *dpy; /* which display are we talking to */ extern Display *dpy; /* which display are we talking to */
int x_fd,fd_width; extern int x_fd,fd_width;
int Width = 300, Height = 300; int Width = 300, Height = 300;
int target_width, target_height; int target_width, target_height;
int target_x_offset = 0, target_y_offset = 0; int target_x_offset = 0, target_y_offset = 0;
@ -55,9 +55,9 @@ int Reduction_V = 2;
#define PAD_WIDTH2 3 #define PAD_WIDTH2 3
#define PAD_WIDTH3 5 #define PAD_WIDTH3 5
Window Root; extern Window Root;
int screen; extern int screen;
int d_depth; extern int d_depth;
Window main_win,holder_win; Window main_win,holder_win;
Pixel back_pix, fore_pix, hilite_pix,shadow_pix; Pixel back_pix, fore_pix, hilite_pix,shadow_pix;