mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-21 13:28:05 +01:00
wmaker: Moved global var with list of cursors to the preferences variable
As the cursor choice for each action is actually a user choice, it is logical to put this into the structure, instead of a poorly defined 'extern' in every file.
This commit is contained in:
committed by
Carlos R. Mafra
parent
2c20413831
commit
b48b3370e2
@@ -47,8 +47,6 @@
|
||||
|
||||
/****** Global Variables ******/
|
||||
|
||||
extern Cursor wCursor[WCUR_LAST];
|
||||
|
||||
extern XContext wWinContext;
|
||||
|
||||
#define MOD_MASK wPreferences.modifier_mask
|
||||
@@ -2185,7 +2183,7 @@ static void menuTitleMouseDown(WCoreWindow * sender, void *data, XEvent * event)
|
||||
ButtonMotionMask | ButtonReleaseMask
|
||||
| ButtonPressMask,
|
||||
GrabModeAsync, GrabModeAsync, None,
|
||||
wCursor[WCUR_MOVE], CurrentTime);
|
||||
wPreferences.cursor[WCUR_MOVE], CurrentTime);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user