1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-23 22:52:34 +01:00

WPrefs: Move declaration of function into the common header

It is a bad idea to declare the prototype of an external function
in a file as it won't allow the compiler to cross-check it.
This commit is contained in:
Christophe CURIS
2013-05-11 00:07:14 +02:00
committed by Carlos R. Mafra
parent 90d24a1648
commit 8238e4681a
2 changed files with 4 additions and 1 deletions

View File

@@ -95,7 +95,6 @@ static char *wheelActions[2];
#define DELAY(i) ((i)*75+170)
int ModifierFromKey(Display * dpy, char *key);
static void setMouseAccel(WMScreen * scr, float accel, int threshold)
{

View File

@@ -115,6 +115,10 @@ void SetSpeedForKey(int speed, const char *defaultName);
void AddDeadChildHandler(pid_t pid, void (*handler)(void*), void *data);
/* ---[ xmodifier.c ] ---------------------------------------------------- */
int ModifierFromKey(Display * dpy, char *key);
#define FRAME_TOP 105
#define FRAME_LEFT -2
#define FRAME_WIDTH 524