mirror of
https://github.com/NishiOwO/fvwm1.git
synced 2025-04-21 00:34:40 +00:00
add
This commit is contained in:
parent
6ce28fab50
commit
92ba0abac1
8
build.sh
Executable file
8
build.sh
Executable 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
|
@ -54,8 +54,8 @@
|
||||
#include "screen.h"
|
||||
#include "module.h"
|
||||
|
||||
XGCValues Globalgcv;
|
||||
unsigned long Globalgcm;
|
||||
extern XGCValues Globalgcv;
|
||||
extern unsigned long Globalgcm;
|
||||
|
||||
|
||||
/**************************************************************************
|
||||
|
@ -38,10 +38,10 @@
|
||||
#include <X11/Intrinsic.h>
|
||||
|
||||
#include "FvwmScroll.h"
|
||||
char *MyName;
|
||||
extern char *MyName;
|
||||
|
||||
Display *dpy; /* which display are we talking to */
|
||||
int x_fd,fd_width;
|
||||
extern Display *dpy; /* which display are we talking to */
|
||||
extern int x_fd,fd_width;
|
||||
int Width = 300, Height = 300;
|
||||
int target_width, target_height;
|
||||
int target_x_offset = 0, target_y_offset = 0;
|
||||
@ -55,9 +55,9 @@ int Reduction_V = 2;
|
||||
#define PAD_WIDTH2 3
|
||||
#define PAD_WIDTH3 5
|
||||
|
||||
Window Root;
|
||||
int screen;
|
||||
int d_depth;
|
||||
extern Window Root;
|
||||
extern int screen;
|
||||
extern int d_depth;
|
||||
|
||||
Window main_win,holder_win;
|
||||
Pixel back_pix, fore_pix, hilite_pix,shadow_pix;
|
||||
|
Loading…
x
Reference in New Issue
Block a user