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

- replaced VirtualEdgeThickness option with EnableVirtualDesktop (boolean)

- some code cleanups in the virtual desktop.
This commit is contained in:
dan
2004-10-24 22:45:06 +00:00
parent 8bf6071c48
commit e3c67d55de
8 changed files with 21 additions and 44 deletions

View File

@@ -156,7 +156,7 @@ static int setResizebarBack();
static int setWorkspaceBack();
static int setWorkspaceSpecificBack();
#ifdef VIRTUAL_DESKTOP
static int setVirtualEdgeThickness();
static int setVirtualDeskEnable();
#endif
static int setMenuTitleColor();
static int setMenuTextColor();
@@ -438,8 +438,8 @@ WDefaultEntry optionList[] = {
&wPreferences.workspace_border_size, getInt, updateUsableArea
},
#ifdef VIRTUAL_DESKTOP
{"VirtualEdgeThickness", "1", NULL,
&wPreferences.vedge_thickness, getInt, setVirtualEdgeThickness
{"EnableVirtualDesktop", "NO", NULL,
&wPreferences.vdesk_enable, getBool, setVirtualDeskEnable
},
{"VirtualEdgeExtendSpace", "0", NULL,
&wPreferences.vedge_bordersize, getInt, NULL
@@ -3361,7 +3361,7 @@ setWorkspaceBack(WScreen *scr, WDefaultEntry *entry, WMPropList *value,
#ifdef VIRTUAL_DESKTOP
static int
setVirtualEdgeThickness(WScreen *scr, WDefaultEntry *entry, int *value, void *dummy)
setVirtualDeskEnable(WScreen *scr, WDefaultEntry *entry, void *foo, void *bar)
{
wWorkspaceUpdateEdge(scr);
return 0;