mirror of
https://github.com/NishiOwO/fvwm1.git
synced 2025-04-22 01:04:42 +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 "screen.h"
|
||||||
#include "module.h"
|
#include "module.h"
|
||||||
|
|
||||||
XGCValues Globalgcv;
|
extern XGCValues Globalgcv;
|
||||||
unsigned long Globalgcm;
|
extern unsigned long Globalgcm;
|
||||||
|
|
||||||
|
|
||||||
/**************************************************************************
|
/**************************************************************************
|
||||||
|
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user