Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 452730 | Differences between
and this patch

Collapse All | Expand All

(-)a/src/aclock.cc (-1 / +1 lines)
Lines 57-63 YClock::YClock(YWindow *aParent): YWindo Link Here
57
    toolTipUTC = false;
57
    toolTipUTC = false;
58
    transparent = -1;
58
    transparent = -1;
59
59
60
    clockTimer = new YTimer(1000);
60
    clockTimer = new YTimer(taskBarClockUpdateInterval);
61
    clockTimer->setTimerListener(this);
61
    clockTimer->setTimerListener(this);
62
    clockTimer->startTimer();
62
    clockTimer->startTimer();
63
    autoSize();
63
    autoSize();
(-)a/src/default.h (+2 lines)
Lines 175-180 XSV(const char *, logoutCancelCommand, Link Here
175
XSV(const char *, shutdownCommand,              0)
175
XSV(const char *, shutdownCommand,              0)
176
XSV(const char *, rebootCommand,                0)
176
XSV(const char *, rebootCommand,                0)
177
XIV(int, taskBarCPUDelay,                       500)
177
XIV(int, taskBarCPUDelay,                       500)
178
XIV(int, taskBarClockUpdateInterval,            1000)
178
XIV(int, taskBarNetSamples,                     20)
179
XIV(int, taskBarNetSamples,                     20)
179
XIV(int, taskBarNetDelay,                       500)
180
XIV(int, taskBarNetDelay,                       500)
180
XSV(const char *, cpuCommand,                   "xterm -name top -title Process\\ Status -e top")
181
XSV(const char *, cpuCommand,                   "xterm -name top -title Process\\ Status -e top")
Lines 365-370 cfoption icewm_preferences[] = { Link Here
365
#ifdef CONFIG_TASKBAR
366
#ifdef CONFIG_TASKBAR
366
    OIV("TaskBarCPUSamples",                    &taskBarCPUSamples, 2, 1000,    "Width of CPU Monitor"),
367
    OIV("TaskBarCPUSamples",                    &taskBarCPUSamples, 2, 1000,    "Width of CPU Monitor"),
367
    OIV("TaskBarCPUDelay",                      &taskBarCPUDelay, 10, (60*60*1000),    "Delay between CPU Monitor samples in ms"),
368
    OIV("TaskBarCPUDelay",                      &taskBarCPUDelay, 10, (60*60*1000),    "Delay between CPU Monitor samples in ms"),
369
    OIV("TaskBarClockUpdateInterval",           &taskBarClockUpdateInterval, 10, (60*60*1000),  "Clock update interval in ms"),
368
    OIV("TaskBarNetSamples",                    &taskBarNetSamples, 2, 1000,    "Width of Net Monitor"),
370
    OIV("TaskBarNetSamples",                    &taskBarNetSamples, 2, 1000,    "Width of Net Monitor"),
369
    OIV("TaskBarNetDelay",                      &taskBarNetDelay, 10, (60*60*1000),    "Delay between Net Monitor samples in ms"),
371
    OIV("TaskBarNetDelay",                      &taskBarNetDelay, 10, (60*60*1000),    "Delay between Net Monitor samples in ms"),
370
    OIV("TaskbarButtonWidthDivisor",            &taskBarButtonWidthDivisor, 1, 25, "default number of tasks in taskbar"),
372
    OIV("TaskbarButtonWidthDivisor",            &taskBarButtonWidthDivisor, 1, 25, "default number of tasks in taskbar"),
(-)a/src/default.h.orig (+500 lines)
Line 0 Link Here
1
#ifndef __DEFAULT_H
2
#define __DEFAULT_H
3
4
#include "yconfig.h"
5
6
/************************************************************************************************************************************************************/
7
XIV(int, focusMode,                             1)
8
XIV(bool, clickFocus,                           true)
9
XIV(bool, focusOnAppRaise,                      false)
10
XIV(bool, requestFocusOnAppRaise,               true)
11
XIV(bool, raiseOnFocus,                         true)
12
XIV(bool, focusOnClickClient,                   true)
13
XIV(bool, raiseOnClickClient,                   true)
14
XIV(bool, raiseOnClickButton,                   true)
15
XIV(bool, raiseOnClickFrame,                    true)
16
XIV(bool, raiseOnClickTitleBar,                 true)
17
XIV(bool, lowerOnClickWhenRaised,               false)
18
XIV(bool, passFirstClickToClient,               true)
19
XIV(bool, focusOnMap,                           true)
20
XIV(bool, mapInactiveOnTop,                     true)
21
XIV(bool, focusChangesWorkspace,                false)
22
XIV(bool, focusOnMapTransient,                  false)
23
XIV(bool, focusOnMapTransientActive,            true)
24
XIV(bool, focusRootWindow,                      false)
25
XIV(bool, pointerColormap,                      true)
26
XIV(bool, sizeMaximized,                        false)
27
XIV(bool, showMoveSizeStatus,                   true)
28
XIV(bool, workspaceSwitchStatus,                true)
29
XIV(bool, beepOnNewMail,                        false)
30
XIV(bool, warpPointer,                          false)
31
XIV(bool, warpPointerOnEdgeSwitch,              false)
32
XIV(bool, opaqueMove,                           true)
33
XIV(bool, opaqueResize,                         true)
34
XIV(bool, hideTitleBarWhenMaximized,            false)
35
XSV(const char *, winMenuItems,                 "rmsnxfhualyticw")
36
#ifdef CONFIG_TASKBAR
37
XIV(bool, showTaskBar,                          true)
38
XIV(bool, taskBarAtTop,                         false)
39
XIV(bool, taskBarKeepBelow,                     false)
40
XIV(bool, taskBarShowClock,                     true)
41
XIV(bool, taskBarShowApm,                       false)
42
XIV(bool, taskBarShowApmTime,                   true) // mschy
43
XIV(bool, taskBarShowApmGraph,                  true) // hatred
44
XIV(bool, taskBarShowMailboxStatus,             true)
45
XIV(bool, taskBarShowStartMenu,                 true)
46
XIV(bool, taskBarShowWindowListMenu,            true)
47
XIV(bool, taskBarShowWorkspaces,                true)
48
XIV(bool, taskBarShowWindows,                   true)
49
XIV(bool, taskBarShowShowDesktopButton,         true)
50
51
XIV(int, taskBarButtonWidthDivisor,             3)
52
#ifdef CONFIG_TRAY
53
XIV(bool, taskBarShowTray,                      true)
54
XIV(bool, trayShowAllWindows,                   true)
55
#endif
56
XIV(bool, taskBarShowTransientWindows,          true)
57
XIV(bool, taskBarShowAllWindows,                false)
58
XIV(bool, taskBarShowWindowIcons,               true)
59
XIV(bool, taskBarAutoHide,                      false)
60
XIV(bool, taskBarFullscreenAutoShow,            true)
61
XIV(bool, taskBarDoubleHeight,                  false)
62
XIV(bool, taskBarWorkspacesLeft,                true)
63
XIV(bool, pagerShowPreview,                     false)
64
XIV(bool, pagerShowWindowIcons,                 true)
65
XIV(bool, pagerShowMinimized,                   true)
66
XIV(bool, pagerShowBorders,                     true)
67
XIV(bool, pagerShowNumbers,                     true)
68
XIV(bool, taskBarShowCPUStatus,                 true)
69
XIV(bool, cpustatusShowRamUsage,                true)
70
XIV(bool, cpustatusShowSwapUsage,               true)
71
XIV(bool, cpustatusShowAcpiTemp,                true)
72
XIV(bool, cpustatusShowCpuFreq,                 true)
73
XIV(bool, taskBarShowNetStatus,                 true)
74
XIV(bool, taskBarLaunchOnSingleClick,           true)
75
XIV(bool, taskBarShowCollapseButton,            false)
76
#endif
77
XIV(bool, minimizeToDesktop,                    false)
78
XIV(bool, miniIconsPlaceHorizontal,             false)
79
XIV(bool, miniIconsRightToLeft,                 false)
80
XIV(bool, miniIconsBottomToTop,                 false)
81
XIV(bool, manualPlacement,                      false)
82
XIV(bool, smartPlacement,                       true)
83
XIV(bool, centerLarge,                          false)
84
XIV(bool, centerTransientsOnOwner,              true)
85
XIV(bool, autoRaise,                            false)
86
XIV(bool, delayPointerFocus,                    true)
87
XIV(bool, useMouseWheel,                        false)
88
XIV(bool, quickSwitch,                          true)
89
XIV(bool, quickSwitchToMinimized,               true)
90
XIV(bool, quickSwitchToHidden,                  true)
91
XIV(bool, quickSwitchToAllWorkspaces,           false)
92
XIV(bool, quickSwitchGroupWorkspaces,           true)
93
XIV(bool, quickSwitchAllIcons,                  true)
94
XIV(bool, quickSwitchTextFirst,                 false)
95
XIV(bool, quickSwitchVertical,                  true)
96
XIV(bool, quickSwitchSmallWindow,               false)
97
XIV(bool, quickSwitchMaxWidth,                  false)
98
XIV(bool, quickSwitchHugeIcon,                  false)
99
XIV(bool, quickSwitchFillSelection,             false)
100
XIV(bool, countMailMessages,                    false)
101
XIV(bool, strongPointerFocus,                   false)
102
XIV(bool, snapMove,                             true)
103
XIV(bool, edgeHorzWorkspaceSwitching,           false)
104
XIV(bool, edgeVertWorkspaceSwitching,           false)
105
XIV(bool, edgeContWorkspaceSwitching,           true)
106
XIV(bool, limitSize,                            true)
107
XIV(bool, limitPosition,                        true)
108
XIV(bool, limitByDockLayer,                     false)
109
XIV(bool, considerHorizBorder,                  false)
110
XIV(bool, considerVertBorder,                   false)
111
XIV(bool, centerMaximizedWindows,               false)
112
XIV(bool, win95keys,                            true)
113
XIV(bool, autoReloadMenus,                      true)
114
XIV(bool, clientMouseActions,                   true)
115
XIV(bool, showPrograms,                         false)
116
XIV(bool, showSettingsMenu,                     true)
117
XIV(bool, showFocusModeMenu,                    true)
118
XIV(bool, showThemesMenu,                       true)
119
XIV(bool, showLogoutMenu,                       true)
120
XIV(bool, showLogoutSubMenu,                    true)
121
XIV(bool, showAbout,                            true)
122
XIV(bool, showRun,                              true)
123
XIV(bool, showWindowList,                       true)
124
XIV(bool, showHelp,                             true)
125
XIV(bool, allowFullscreen,                      true)
126
XIV(bool, enableAddressBar,                     true);
127
XIV(bool, showAddressBar,                       true)
128
XIV(bool, confirmLogout,                        true)
129
#ifdef CONFIG_SHAPED_DECORATION
130
XIV(bool, protectClientWindow,                  true)
131
#endif
132
XIV(int, MenuMaximalWidth,                      0)
133
XIV(int, EdgeResistance,                        32)
134
XIV(int, snapDistance,                          8)
135
XIV(int, pointerFocusDelay,                     200)
136
XIV(int, autoRaiseDelay,                        400)
137
XIV(int, autoHideDelay,                         300)
138
XIV(int, autoShowDelay,                         500)
139
XIV(int, edgeSwitchDelay,                       600)
140
XIV(int, scrollBarStartDelay,                   500)
141
XIV(int, scrollBarDelay,                        30)
142
XIV(int, workspaceStatusTime,                   2500)
143
XIV(int, useRootButtons,                        255)    // bitmask=all
144
XIV(int, buttonRaiseMask,                       1)
145
XIV(int, rootWinMenuButton,                     0)
146
XIV(int, rootWinListButton,                     2)
147
XIV(int, rootMenuButton,                        3)
148
XIV(int, titleMaximizeButton,                   1)
149
XIV(int, titleRollupButton,                     2)
150
XIV(int, msgBoxDefaultAction,                   0)
151
XIV(int, mailCheckDelay,                        30)
152
XIV(int, taskBarCPUSamples,                     20)
153
XIV(int, taskBarApmGraphWidth,                  10) // hatred
154
XIV(int, focusRequestFlashTime,                 0)
155
XIV(int, focusRequestFlashInterval,             250)
156
XIV(int, nestedThemeMenuMinNumber,              15)
157
XIV(int, batteryPollingPeriod,                  10)
158
159
#ifdef CONFIG_APPLET_APM
160
XSV(const char *, acpiIgnoreBatteries,          0)
161
#endif
162
163
XSV(const char *, mailBoxPath,                  0)
164
XSV(const char *, mailCommand,                  "xterm -name pine -title PINE -e pine")
165
XSV(const char *, mailClassHint,                "pine.XTerm")
166
XSV(const char *, newMailCommand,               0)
167
XSV(const char *, lockCommand,                  0)
168
XSV(const char *, clockCommand,                 "xclock -name icewm -title Clock")
169
XSV(const char *, clockClassHint,               "icewm.XClock")
170
XSV(const char *, runDlgCommand,                0)
171
XSV(const char *, openCommand,                  0)
172
XSV(const char *, terminalCommand,              "xterm")
173
XSV(const char *, logoutCommand,                0)
174
XSV(const char *, logoutCancelCommand,          0)
175
XSV(const char *, shutdownCommand,              0)
176
XSV(const char *, rebootCommand,                0)
177
XIV(int, taskBarCPUDelay,                       500)
178
XIV(int, taskBarNetSamples,                     20)
179
XIV(int, taskBarNetDelay,                       500)
180
XSV(const char *, cpuCommand,                   "xterm -name top -title Process\\ Status -e top")
181
XSV(const char *, cpuClassHint,                 "top.XTerm")
182
XSV(const char *, netCommand,                   "xterm -name netstat -title 'Network Status' -e netstat -c")
183
XSV(const char *, netClassHint,                 "netstat.XTerm")
184
XSV(const char *, netDevice,                    "ppp0 eth0")
185
XSV(const char *, addressBarCommand,            0)
186
#ifdef CONFIG_I18N
187
XSV(const char *, fmtTime,                      "%X")
188
XSV(const char *, fmtTimeAlt,                   NULL)
189
XSV(const char *, fmtDate,                      "%c")
190
#else
191
XSV(const char *, fmtTime,                      "%H:%M:%S")
192
XSV(const char *, fmtTimeAlt,                   NULL)
193
XSV(const char *, fmtDate,                      "%Y-%m-%d %H:%M:%S %z %B %A")
194
#endif
195
196
#if defined(CFGDEF) && !defined(NO_CONFIGURE)
197
198
cfoption icewm_preferences[] = {
199
    OBV("ClickToFocus",                         &clickFocus,                    "Focus windows by clicking"),
200
    OBV("FocusOnAppRaise",                      &focusOnAppRaise,               "Focus windows when application requests to raise"),
201
    OBV("RequestFocusOnAppRaise",                      &requestFocusOnAppRaise,               "Request focus (flashing in taskbar) when application requests raise"),
202
    OBV("RaiseOnFocus",                         &raiseOnFocus,                  "Raise windows when focused"),
203
    OBV("FocusOnClickClient",                   &focusOnClickClient,            "Focus window when client area clicked"),
204
    OBV("RaiseOnClickClient",                   &raiseOnClickClient,            "Raise window when client area clicked"),
205
    OBV("RaiseOnClickTitleBar",                 &raiseOnClickTitleBar,          "Raise window when title bar is clicked"),
206
    OBV("RaiseOnClickButton",                   &raiseOnClickButton,            "Raise window when frame button is clicked"),
207
    OBV("RaiseOnClickFrame",                    &raiseOnClickFrame,             "Raise window when frame border is clicked"),
208
    OBV("LowerOnClickWhenRaised",               &lowerOnClickWhenRaised,        "Lower the active window when clicked again"),
209
    OBV("PassFirstClickToClient",               &passFirstClickToClient,        "Pass focusing click on client area to client"),
210
    OBV("FocusChangesWorkspace",                &focusChangesWorkspace,         "Change to the workspace of newly focused windows"),
211
    OBV("FocusOnMap",                           &focusOnMap,                    "Focus normal window when initially mapped"),
212
    OBV("FocusOnMapTransient",                  &focusOnMapTransient,           "Focus dialog window when initially mapped"),
213
    OBV("FocusOnMapTransientActive",            &focusOnMapTransientActive,     "Focus dialog window when initially mapped only if parent frame focused"),
214
    OBV("MapInactiveOnTop",                     &mapInactiveOnTop,              "Put new windows on top even if not focusing them"),
215
    OBV("PointerColormap",                      &pointerColormap,               "Colormap focus follows pointer"),
216
    OBV("DontRotateMenuPointer",                &dontRotateMenuPointer,         "Don't rotate the cursor for popup menus"),
217
    OBV("LimitSize",                            &limitSize,                     "Limit size of windows to screen"),
218
    OBV("LimitPosition",                        &limitPosition,                 "Limit position of windows to screen"),
219
    OBV("LimitByDockLayer",                     &limitByDockLayer,              "Let the Dock layer limit the workspace (incompatible with GNOME Panel)"),
220
    OBV("ConsiderHBorder",                      &considerHorizBorder,           "Consider border frames when maximizing horizontally"),
221
    OBV("ConsiderVBorder",                      &considerVertBorder,            "Consider border frames when maximizing vertically"),
222
    OBV("CenterMaximizedWindows",               &centerMaximizedWindows,        "Center maximized windows which can't fit the screen (like terminals)"),
223
    OBV("SizeMaximized",                        &sizeMaximized,                 "Maximized windows can be resized"),
224
    OBV("ShowMoveSizeStatus",                   &showMoveSizeStatus,            "Show position status window during move/resize"),
225
    OBV("ShowWorkspaceStatus",                  &workspaceSwitchStatus,         "Show name of current workspace while switching"),
226
    OBV("MinimizeToDesktop",                    &minimizeToDesktop,             "Display mini-icons on desktop for minimized windows"),
227
    OBV("MiniIconsPlaceHorizontal",             &miniIconsPlaceHorizontal,
228
"Place the mini-icons horizontal instead of vertical"),
229
    OBV("MiniIconsRightToLeft",                 &miniIconsRightToLeft,
230
"Place new mini-icons from right to left"),
231
    OBV("MiniIconsBottomToTop",                 &miniIconsBottomToTop,
232
"Place new mini-icons from bottom to top"),
233
    OBV("StrongPointerFocus",                   &strongPointerFocus,            "Always maintain focus under mouse window (makes some keyboard support non-functional or unreliable"),
234
    OBV("OpaqueMove",                           &opaqueMove,                    "Opaque window move"),
235
    OBV("OpaqueResize",                         &opaqueResize,                  "Opaque window resize"),
236
    OBV("ManualPlacement",                      &manualPlacement,               "Windows initially placed manually by user"),
237
    OBV("SmartPlacement",                       &smartPlacement,                "Smart window placement (minimal overlap)"),
238
    OBV("HideTitleBarWhenMaximized",            &hideTitleBarWhenMaximized,     "Hide title bar when maximized"),
239
    OBV("CenterLarge",                          &centerLarge,                   "Center large windows"),
240
    OBV("CenterTransientsOnOwner",              &centerTransientsOnOwner,       "Center dialogs on owner window"),
241
    OBV("MenuMouseTracking",                    &menuMouseTracking,             "Menus track mouse even with no mouse buttons held"),
242
    OBV("AutoRaise",                            &autoRaise,                     "Auto raise windows after delay"),
243
    OBV("DelayPointerFocus",                    &delayPointerFocus,             "Delay pointer focusing when mouse moves"),
244
    OBV("Win95Keys",                            &win95keys,                     "Support win95 keyboard keys (Penguin/Meta/Win_L,R shows menu)"),
245
    OBV("ModSuperIsCtrlAlt",                     &modSuperIsCtrlAlt,            "Treat Super/Win modifier as Ctrl+Alt"),
246
    OBV("UseMouseWheel",                        &useMouseWheel,                 "Support mouse wheel"),
247
    OBV("ShowPopupsAbovePointer",               &showPopupsAbovePointer,        "Show popup menus above mouse pointer"),
248
    OBV("ReplayMenuCancelClick",                &replayMenuCancelClick,         "Send the clicks outside menus to target window"),
249
    OBV("QuickSwitch",                          &quickSwitch,                   "Alt+Tab window switching"),
250
    OBV("QuickSwitchToMinimized",               &quickSwitchToMinimized,        "Alt+Tab to minimized windows"),
251
    OBV("QuickSwitchToHidden",                  &quickSwitchToHidden,           "Alt+Tab to hidden windows"),
252
    OBV("QuickSwitchToAllWorkspaces",           &quickSwitchToAllWorkspaces,    "Alt+Tab to windows on other workspaces"),
253
    OBV("QuickSwitchGroupWorkspaces",           &quickSwitchGroupWorkspaces,    "Alt+Tab: group windows on current workspace"),
254
    OBV("QuickSwitchAllIcons",                  &quickSwitchAllIcons,           "Show all reachable icons when quick switching"),
255
    OBV("QuickSwitchTextFirst",                 &quickSwitchTextFirst,          "Show the window title above (all reachable) icons"),
256
    OBV("QuickSwitchSmallWindow",               &quickSwitchSmallWindow,        "Attempt to create a small QuickSwitch window (1/3 instead of 3/5 of screen width)"),
257
    OBV("QuickSwitchMaxWidth",                  &quickSwitchMaxWidth,           "Go trough all window titles and choose width of the longest one"),
258
    OBV("QuickSwitchVertical",                  &quickSwitchVertical,           "Place the icons and titles vertical instead of horizontal"),
259
    OBV("QuickSwitchHugeIcon",                  &quickSwitchHugeIcon,           "Show the huge (48x48) of the window icon for the active window"),
260
    OBV("QuickSwitchFillSelection",             &quickSwitchFillSelection,      "Fill the rectangle highlighting the current icon"),
261
    OBV("GrabRootWindow",                       &grabRootWindow,                "Manage root window (EXPERIMENTAL - normally enabled!)"),
262
    OBV("SnapMove",                             &snapMove,                      "Snap to nearest screen edge/window when moving windows"),
263
    OBV("EdgeSwitch",                           &edgeHorzWorkspaceSwitching,    "Workspace switches by moving mouse to left/right screen edge"),
264
    OBV("HorizontalEdgeSwitch",                 &edgeHorzWorkspaceSwitching,    "Workspace switches by moving mouse to left/right screen edge"),
265
    OBV("VerticalEdgeSwitch",                   &edgeVertWorkspaceSwitching,    "Workspace switches by moving mouse to top/bottom screen edge"),
266
    OBV("ContinuousEdgeSwitch",                 &edgeContWorkspaceSwitching,    "Workspace switches continuously when moving mouse to screen edge"),
267
    OBV("AutoReloadMenus",                      &autoReloadMenus,               "Reload menu files automatically"),
268
#ifdef CONFIG_TASKBAR
269
    OBV("ShowTaskBar",                          &showTaskBar,                   "Show task bar"),
270
    OBV("TaskBarAtTop",                         &taskBarAtTop,                  "Task bar at top of the screen"),
271
    OBV("TaskBarKeepBelow",                     &taskBarKeepBelow,              "Keep the task bar below regular windows"),
272
    OBV("TaskBarAutoHide",                      &taskBarAutoHide,               "Auto hide task bar after delay"),
273
    OBV("TaskBarFullscreenAutoShow",            &taskBarFullscreenAutoShow,     "Auto show task bar when fullscreen window active"),
274
    OBV("TaskBarShowClock",                     &taskBarShowClock,              "Show clock on task bar"),
275
    OBV("TaskBarShowAPMStatus",                 &taskBarShowApm,                "Show APM/ACPI/Battery/Power status monitor on task bar"),
276
    OBV("TaskBarShowAPMTime",                   &taskBarShowApmTime,            "Show APM status on task bar in time-format"),  // mschy
277
    OBV("TaskBarShowAPMGraph",                  &taskBarShowApmGraph,           "Show APM status in graph mode"), // hatred
278
    OBV("TaskBarShowMailboxStatus",             &taskBarShowMailboxStatus,      "Show mailbox status on task bar"),
279
    OBV("TaskBarMailboxStatusBeepOnNewMail",    &beepOnNewMail,                 "Beep when new mail arrives"),
280
    OBV("TaskBarMailboxStatusCountMessages",    &countMailMessages,             "Count messages in mailbox"),
281
    OBV("TaskBarShowWorkspaces",                &taskBarShowWorkspaces,         "Show workspace switching buttons on task bar"),
282
    OBV("TaskBarShowWindows",                   &taskBarShowWindows,            "Show windows on the taskbar"),
283
    OBV("TaskBarShowShowDesktopButton",         &taskBarShowShowDesktopButton,  "Show 'show desktop' button on taskbar"),
284
    OBV("ShowEllipsis",                         &showEllipsis,                  "Show Ellipsis in taskbar items"),
285
#ifdef CONFIG_TRAY
286
    OBV("TaskBarShowTray",                      &taskBarShowTray,               "Show windows in the tray"),
287
    OBV("TrayShowAllWindows",                   &trayShowAllWindows,            "Show windows from all workspaces on tray"),
288
#endif
289
    OBV("TaskBarShowTransientWindows",                &taskBarShowTransientWindows,         "Show transient (dialogs, ...) windows on task bar"),
290
    OBV("TaskBarShowAllWindows",                &taskBarShowAllWindows,         "Show windows from all workspaces on task bar"),
291
    OBV("TaskBarShowWindowIcons",               &taskBarShowWindowIcons,        "Show icons of windows on the task bar"),
292
    OBV("TaskBarShowStartMenu",                 &taskBarShowStartMenu,          "Show 'Start' menu on task bar"),
293
    OBV("TaskBarShowWindowListMenu",            &taskBarShowWindowListMenu,     "Show 'window list' menu on task bar"),
294
    OBV("TaskBarShowCPUStatus",                 &taskBarShowCPUStatus,          "Show CPU status on task bar (Linux & Solaris)"),
295
    OBV("CPUStatusShowRamUsage",                &cpustatusShowRamUsage,         "Show RAM usage in CPU status tool tip"),
296
    OBV("CPUStatusShowSwapUsage",               &cpustatusShowSwapUsage,        "Show swap usage in CPU status tool tip"),
297
    OBV("CPUStatusShowAcpiTemp",                &cpustatusShowAcpiTemp,         "Show ACPI temperature in CPU status tool tip"),
298
    OBV("CPUStatusShowCpuFreq",                 &cpustatusShowCpuFreq,          "Show CPU frequency in CPU status tool tip"),
299
    OBV("TaskBarShowNetStatus",                 &taskBarShowNetStatus,          "Show network status on task bar (Linux only)"),
300
    OBV("TaskBarShowCollapseButton",            &taskBarShowCollapseButton,     "Show a button to collapse the taskbar"),
301
    OBV("TaskBarDoubleHeight",                  &taskBarDoubleHeight,           "Use double-height task bar"),
302
    OBV("TaskBarWorkspacesLeft",                &taskBarWorkspacesLeft,         "Place workspace pager on left, not right"),
303
    OBV("PagerShowPreview",                     &pagerShowPreview,              "Show a mini desktop preview on each workspace button"),
304
    OBV("PagerShowWindowIcons",                 &pagerShowWindowIcons,          "Draw window icons inside large enough preview windows on pager (if PagerShowPreview=1)"),
305
    OBV("PagerShowMinimized",                   &pagerShowMinimized,            "Draw even minimized windows as unfilled rectangles (if PagerShowPreview=1)"),
306
    OBV("PagerShowBorders",                     &pagerShowBorders,              "Draw border around workspace buttons (if PagerShowPreview=1)"),
307
    OBV("PagerShowNumbers",                     &pagerShowNumbers,              "Show number of workspace on workspace button (if PagerShowPreview=1)"),
308
    OBV("TaskBarLaunchOnSingleClick",           &taskBarLaunchOnSingleClick,    "Execute taskbar applet commands (like MailCommand,     ClockCommand,   ...) on single click"),
309
#endif
310
//    OBV("WarpPointer",                          &warpPointer,                   "Move mouse when doing focusing in pointer focus mode"),
311
    OBV("ClientWindowMouseActions",             &clientMouseActions,            "Allow mouse actions on client windows (buggy with some programs)"),
312
    OBV("ShowProgramsMenu",                     &showPrograms,                  "Show programs submenu"),
313
    OBV("ShowSettingsMenu",                     &showSettingsMenu,                  "Show settings submenu"),
314
    OBV("ShowFocusModeMenu",                     &showFocusModeMenu,                  "Show focus mode submenu"),
315
    OBV("ShowThemesMenu",                       &showThemesMenu,                "Show themes submenu"),
316
    OBV("ShowLogoutMenu",                       &showLogoutMenu,                "Show logout submenu"),
317
    OBV("ShowHelp",                             &showHelp,                      "Show the help menu item"),
318
    OBV("ShowLogoutSubMenu",                    &showLogoutSubMenu,             "Show logout submenu"),
319
    OBV("ShowAbout",                            &showAbout,                     "Show the about menu item"),
320
    OBV("ShowRun",                              &showRun,                       "Show the run menu item"),
321
    OBV("ShowWindowList",                       &showWindowList,                "Show the window menu item"),
322
    OBV("AllowFullscreen",                      &allowFullscreen,               "Allow to switch a window to fullscreen"),
323
    OBV("EnableAddressBar",                     &enableAddressBar,              "Enable address bar functionality in taskbar"),
324
    OBV("ShowAddressBar",                       &showAddressBar,                "Show address bar in task bar"),
325
#ifdef CONFIG_I18N
326
    OBV("MultiByte",                            &multiByte,                     "Overrides automatic multiple byte detection"),
327
#endif
328
    OBV("ConfirmLogout",                        &confirmLogout,                 "Confirm logout"),
329
#ifdef CONFIG_SHAPED_DECORATION
330
    OBV("ShapesProtectClientWindow",            &protectClientWindow,           "Don't cut client windows by shapes set trough frame corner pixmap"),
331
#endif
332
    OBV("DoubleBuffer",                         &doubleBuffer,                  "Use double buffering when redrawing the display"),
333
    OBV("XRRDisable",                           &xrrDisable,                    "Disable use of new XRANDR API for dual head (nvidia workaround)"),
334
    OIV("ClickMotionDistance",                  &ClickMotionDistance, 0, 32,    "Pointer motion distance before click gets interpreted as drag"),
335
    OIV("ClickMotionDelay",                     &ClickMotionDelay, 0, 2000,     "Delay before click gets interpreted as drag"),
336
    OIV("MultiClickTime",                       &MultiClickTime, 0, 5000,       "Multiple click time"),
337
    OIV("MenuActivateDelay",                    &MenuActivateDelay, 0, 5000,    "Delay before activating menu items"),
338
    OIV("SubmenuMenuActivateDelay",             &SubmenuActivateDelay, 0, 5000, "Delay before activating menu submenus"),
339
    OIV("MenuMaximalWidth",                     &MenuMaximalWidth, 0, 16384,    "Maximal width of popup menus,  2/3 of the screen's width if set to zero"),
340
#ifdef CONFIG_TOOLTIP
341
    OIV("ToolTipDelay",                         &ToolTipDelay, 0, 5000,         "Delay before tooltip window is displayed"),
342
    OIV("ToolTipTime",                          &ToolTipTime, 0, 60000,         "Time before tooltip window is hidden (0 means never"),
343
#endif
344
    OIV("AutoHideDelay",                        &autoHideDelay, 0, 5000,        "Delay before task bar is hidden"),
345
    OIV("AutoShowDelay",                        &autoShowDelay, 0, 5000,        "Delay before task bar is shown"),
346
    OIV("AutoRaiseDelay",                       &autoRaiseDelay, 0, 5000,       "Delay before windows are auto raised"),
347
    OIV("EdgeResistance",                       &EdgeResistance, 0, 10000,      "Resistance in pixels when trying to move windows off the screen (10000 = infinite)"),
348
    OIV("PointerFocusDelay",                    &pointerFocusDelay, 0, 1000,    "Delay for pointer focus switching"),
349
    OIV("SnapDistance",                         &snapDistance, 0, 64,           "Distance in pixels before windows snap together"),
350
    OIV("EdgeSwitchDelay",                      &edgeSwitchDelay, 0, 5000,      "Screen edge workspace switching delay"),
351
    OIV("ScrollBarStartDelay",                  &scrollBarStartDelay, 0, 5000,  "Inital scroll bar autoscroll delay"),
352
    OIV("ScrollBarDelay",                       &scrollBarDelay, 0, 5000,       "Scroll bar autoscroll delay"),
353
    OIV("AutoScrollStartDelay",                 &autoScrollStartDelay, 0, 5000, "Auto scroll start delay"),
354
    OIV("AutoScrollDelay",                      &autoScrollDelay, 0, 5000,      "Auto scroll delay"),
355
    OIV("WorkspaceStatusTime",                  &workspaceStatusTime, 0, 2500,  "Time before workspace status window is hidden"),
356
    OIV("UseRootButtons",                       &useRootButtons, 0, 255,        "Bitmask of root window button click to use in window manager"),
357
    OIV("ButtonRaiseMask",                      &buttonRaiseMask, 0, 255,       "Bitmask of buttons that raise the window when pressed"),
358
    OIV("DesktopWinMenuButton",                 &rootWinMenuButton, 0, 20,      "Desktop mouse-button click to show the window list menu"),
359
    OIV("DesktopWinListButton",                 &rootWinListButton, 0, 20,       "Desktop mouse-button click to show the window list"),
360
    OIV("DesktopMenuButton",                    &rootMenuButton, 0, 20,         "Desktop mouse-button click to show the root menu"),
361
    OIV("TitleBarMaximizeButton",               &titleMaximizeButton, 0, 5,     "TitleBar mouse-button double click to maximize the window"),
362
    OIV("TitleBarRollupButton",                 &titleRollupButton, 0, 5,       "TitleBar mouse-button double click to rollup the window"),
363
    OIV("MsgBoxDefaultAction",                  &msgBoxDefaultAction, 0, 1,     "Preselect to Cancel (0) or the OK (1) button in message boxes"),
364
    OIV("MailCheckDelay",                       &mailCheckDelay, 0, (3600*24),  "Delay between new-mail checks. (seconds)"),
365
#ifdef CONFIG_TASKBAR
366
    OIV("TaskBarCPUSamples",                    &taskBarCPUSamples, 2, 1000,    "Width of CPU Monitor"),
367
    OIV("TaskBarCPUDelay",                      &taskBarCPUDelay, 10, (60*60*1000),    "Delay between CPU Monitor samples in ms"),
368
    OIV("TaskBarNetSamples",                    &taskBarNetSamples, 2, 1000,    "Width of Net Monitor"),
369
    OIV("TaskBarNetDelay",                      &taskBarNetDelay, 10, (60*60*1000),    "Delay between Net Monitor samples in ms"),
370
    OIV("TaskbarButtonWidthDivisor",            &taskBarButtonWidthDivisor, 1, 25, "default number of tasks in taskbar"),
371
    OIV("TaskBarApmGraphWidth",                 &taskBarApmGraphWidth, 1, 1000,  "Width of APM Monitor"), // hatred
372
#endif
373
374
    OIV("XineramaPrimaryScreen",                &xineramaPrimaryScreen, 0, 63, "Primary screen for xinerama (taskbar, ...)"),
375
    OIV("FocusRequestFlashTime",                &focusRequestFlashTime, 0, (3600 * 24), "Number of seconds the taskbar app will blink when requesting focus (0 = forever)"),
376
    OIV("FocusRequestFlashInterval",            &focusRequestFlashInterval, 0, 30000, "Taskbar blink interval (ms) when requesting focus (0 = blinking disabled)"),
377
    OIV("NestedThemeMenuMinNumber",             &nestedThemeMenuMinNumber,  0, 1234,  "Minimal number of themes after which the Themes menu becomes nested (0=disabled)"),
378
    OIV("BatteryPollingPeriod",                 &batteryPollingPeriod, 2, 3600, "Delay between power status updates (seconds)"),
379
///    OSV("Theme",                                &themeName,                     "Theme name"),
380
    OSV("IconPath",                             &iconPath,                      "Icon search path (colon separated)"),
381
    OSV("MailBoxPath",                          &mailBoxPath,                   "Mailbox path (use $MAIL instead)"),
382
    OSV("MailCommand",                          &mailCommand,                   "Command to run on mailbox"),
383
    OSV("MailClassHint",                        &mailClassHint,                 "WM_CLASS to allow runonce for MailCommand"),
384
    OSV("NewMailCommand",                       &newMailCommand,                "Command to run when new mail arrives"),
385
    OSV("LockCommand",                          &lockCommand,                   "Command to lock display/screensaver"),
386
    OSV("ClockCommand",                         &clockCommand,                  "Command to run on clock"),
387
    OSV("ClockClassHint",                       &clockClassHint,                "WM_CLASS to allow runonce for ClockCommand"),
388
    OSV("RunCommand",                           &runDlgCommand,                 "Command to select and run a program"),
389
    OSV("OpenCommand",                          &openCommand,                   ""),
390
    OSV("TerminalCommand",                      &terminalCommand,               "Terminal emulator must accept -e option."),
391
    OSV("LogoutCommand",                        &logoutCommand,                 "Command to start logout"),
392
    OSV("LogoutCancelCommand",                  &logoutCancelCommand,           "Command to cancel logout"),
393
    OSV("ShutdownCommand",                      &shutdownCommand,               "Command to shutdown the system"),
394
    OSV("RebootCommand",                        &rebootCommand,                 "Command to reboot the system"),
395
    OSV("CPUStatusCommand",                     &cpuCommand,                    "Command to run on CPU status"),
396
    OSV("CPUStatusClassHint",                   &cpuClassHint,                  "WM_CLASS to allow runonce for CPUStatusCommand"),
397
    OSV("NetStatusCommand",                     &netCommand,                    "Command to run on Net status"),
398
    OSV("NetStatusClassHint",                   &netClassHint,                  "WM_CLASS to allow runonce for NetStatusCommand"),
399
    OSV("AddressBarCommand",                    &addressBarCommand,             "Command to run for address bar entries"),
400
    OSV("NetworkStatusDevice",                  &netDevice,                     "Network device to show status for"),
401
    OSV("TimeFormat",                           &fmtTime,                       "Clock Time format (strftime format string)"),
402
    OSV("TimeFormatAlt",                        &fmtTimeAlt,                    "Alternate Clock Time format (e.g. for blinking effects)"),
403
    OSV("DateFormat",                           &fmtDate,                       "Clock Date format for tooltip (strftime format string)"),
404
    OSV("XRRPrimaryScreenName",                 &xineramaPrimaryScreenName,     "screen/output name of the primary screen"),
405
#ifdef CONFIG_APPLET_APM
406
    OSV("AcpiIgnoreBatteries",                  &acpiIgnoreBatteries,           "List of battery names (directories) in /proc/acpi/battery to ignore. Useful when more slots are built-in, but only one battery is used"),
407
#endif
408
409
410
#ifndef NO_KEYBIND
411
    OKV("MouseWinMove",                         gMouseWinMove,                  "Mouse binding for window move"),
412
    OKV("MouseWinSize",                         gMouseWinSize,                  "Mouse binding for window resize"),
413
    OKV("MouseWinRaise",                        gMouseWinRaise,                 "Mouse binding to raise window"),
414
    OKV("KeyWinRaise",                          gKeyWinRaise,                   ""),
415
    OKV("KeyWinOccupyAll",                      gKeyWinOccupyAll,               ""),
416
    OKV("KeyWinLower",                          gKeyWinLower,                   ""),
417
    OKV("KeyWinClose",                          gKeyWinClose,                   ""),
418
    OKV("KeyWinRestore",                        gKeyWinRestore,                 ""),
419
    OKV("KeyWinPrev",                           gKeyWinPrev,                    ""),
420
    OKV("KeyWinNext",                           gKeyWinNext,                    ""),
421
    OKV("KeyWinMove",                           gKeyWinMove,                    ""),
422
    OKV("KeyWinSize",                           gKeyWinSize,                    ""),
423
    OKV("KeyWinMinimize",                       gKeyWinMinimize,                ""),
424
    OKV("KeyWinMaximize",                       gKeyWinMaximize,                ""),
425
    OKV("KeyWinMaximizeVert",                   gKeyWinMaximizeVert,            ""),
426
    OKV("KeyWinMaximizeHoriz",                  gKeyWinMaximizeHoriz,           ""),
427
    OKV("KeyWinFullscreen",                     gKeyWinFullscreen,              ""),
428
    OKV("KeyWinHide",                           gKeyWinHide,                    ""),
429
    OKV("KeyWinRollup",                         gKeyWinRollup,                  ""),
430
    OKV("KeyWinMenu",                           gKeyWinMenu,                    ""),
431
    OKV("KeyWinArrangeN",                       gKeyWinArrangeN,                ""),
432
    OKV("KeyWinArrangeNE",                      gKeyWinArrangeNE,               ""),
433
    OKV("KeyWinArrangeE",                       gKeyWinArrangeE,                ""),
434
    OKV("KeyWinArrangeSE",                      gKeyWinArrangeSE,               ""),
435
    OKV("KeyWinArrangeS",                       gKeyWinArrangeS,                ""),
436
    OKV("KeyWinArrangeSW",                      gKeyWinArrangeSW,               ""),
437
    OKV("KeyWinArrangeW",                       gKeyWinArrangeW,                ""),
438
    OKV("KeyWinArrangeNW",                      gKeyWinArrangeNW,               ""),
439
    OKV("KeyWinArrangeC",                       gKeyWinArrangeC,                ""),
440
    OKV("KeySysSwitchNext",                     gKeySysSwitchNext,              ""),
441
    OKV("KeySysSwitchLast",                     gKeySysSwitchLast,              ""),
442
    OKV("KeySysWinNext",                        gKeySysWinNext,                 ""),
443
    OKV("KeySysWinPrev",                        gKeySysWinPrev,                 ""),
444
    OKV("KeySysWinMenu",                        gKeySysWinMenu,                 ""),
445
    OKV("KeySysDialog",                         gKeySysDialog,                  ""),
446
    OKV("KeySysMenu",                           gKeySysMenu,                    ""),
447
///    OKV("KeySysRun",                            gKeySysRun,                     ""),
448
    OKV("KeySysWindowList",                     gKeySysWindowList,              ""),
449
    OKV("KeySysWinListMenu",                    gKeySysWinListMenu,             ""),
450
    OKV("KeySysAddressBar",                     gKeySysAddressBar,              ""),
451
    OKV("KeySysWorkspacePrev",                  gKeySysWorkspacePrev,           ""),
452
    OKV("KeySysWorkspaceNext",                  gKeySysWorkspaceNext,           ""),
453
    OKV("KeySysWorkspaceLast",                  gKeySysWorkspaceLast,           ""),
454
    OKV("KeySysWorkspacePrevTakeWin",           gKeySysWorkspacePrevTakeWin,    ""),
455
    OKV("KeySysWorkspaceNextTakeWin",           gKeySysWorkspaceNextTakeWin,    ""),
456
    OKV("KeySysWorkspaceLastTakeWin",           gKeySysWorkspaceLastTakeWin,    ""),
457
    OKV("KeySysWorkspace1",                     gKeySysWorkspace1,              ""),
458
    OKV("KeySysWorkspace2",                     gKeySysWorkspace2,              ""),
459
    OKV("KeySysWorkspace3",                     gKeySysWorkspace3,              ""),
460
    OKV("KeySysWorkspace4",                     gKeySysWorkspace4,              ""),
461
    OKV("KeySysWorkspace5",                     gKeySysWorkspace5,              ""),
462
    OKV("KeySysWorkspace6",                     gKeySysWorkspace6,              ""),
463
    OKV("KeySysWorkspace7",                     gKeySysWorkspace7,              ""),
464
    OKV("KeySysWorkspace8",                     gKeySysWorkspace8,              ""),
465
    OKV("KeySysWorkspace9",                     gKeySysWorkspace9,              ""),
466
    OKV("KeySysWorkspace10",                    gKeySysWorkspace10,             ""),
467
    OKV("KeySysWorkspace11",                    gKeySysWorkspace11,             ""),
468
    OKV("KeySysWorkspace12",                    gKeySysWorkspace12,             ""),
469
    OKV("KeySysWorkspace1TakeWin",              gKeySysWorkspace1TakeWin,       ""),
470
    OKV("KeySysWorkspace2TakeWin",              gKeySysWorkspace2TakeWin,       ""),
471
    OKV("KeySysWorkspace3TakeWin",              gKeySysWorkspace3TakeWin,       ""),
472
    OKV("KeySysWorkspace4TakeWin",              gKeySysWorkspace4TakeWin,       ""),
473
    OKV("KeySysWorkspace5TakeWin",              gKeySysWorkspace5TakeWin,       ""),
474
    OKV("KeySysWorkspace6TakeWin",              gKeySysWorkspace6TakeWin,       ""),
475
    OKV("KeySysWorkspace7TakeWin",              gKeySysWorkspace7TakeWin,       ""),
476
    OKV("KeySysWorkspace8TakeWin",              gKeySysWorkspace8TakeWin,       ""),
477
    OKV("KeySysWorkspace9TakeWin",              gKeySysWorkspace9TakeWin,       ""),
478
    OKV("KeySysWorkspace10TakeWin",             gKeySysWorkspace10TakeWin,      ""),
479
    OKV("KeySysWorkspace11TakeWin",             gKeySysWorkspace11TakeWin,      ""),
480
    OKV("KeySysWorkspace12TakeWin",             gKeySysWorkspace12TakeWin,      ""),
481
    OKV("KeySysTileVertical",                   gKeySysTileVertical,            ""),
482
    OKV("KeySysTileHorizontal",                 gKeySysTileHorizontal,          ""),
483
    OKV("KeySysCascade",                        gKeySysCascade,                 ""),
484
    OKV("KeySysArrange",                        gKeySysArrange,                 ""),
485
    OKV("KeySysArrangeIcons",                   gKeySysArrangeIcons,            ""),
486
    OKV("KeySysMinimizeAll",                    gKeySysMinimizeAll,             ""),
487
    OKV("KeySysHideAll",                        gKeySysHideAll,                 ""),
488
    OKV("KeySysUndoArrange",                    gKeySysUndoArrange,             ""),
489
    OKV("KeySysShowDesktop",                    gKeySysShowDesktop,             ""),
490
    OKV("KeySysCollapseTaskBar",                gKeySysCollapseTaskBar,         ""),
491
#endif
492
    OKF("WorkspaceNames", addWorkspace, ""),
493
    OSV("WinMenuItems",                         &winMenuItems,                  "Items supported in menu window (rmsnxfhualytickw)"),
494
    OK0()
495
};
496
497
#endif
498
499
#include "themable.h"
500
#endif /* __DEFAULT_H */

Return to bug 452730