mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
config: de-couple <FollowMouse> and <raiseOnFocus>
Set these two variables indepently of each other as this is cleaner and more explicit. In openbox <raiseOnFocus> only applies if <followMouse> is set, but there is no need to immitate this.
This commit is contained in:
parent
4a20d57b38
commit
c797dbe189
2 changed files with 1 additions and 5 deletions
|
|
@ -38,8 +38,7 @@ Configuration must be wrapped in a <labwc_config> root-node.
|
|||
cursor. Default is no.
|
||||
|
||||
*<focus><raiseOnFocus>* [yes|no]
|
||||
Raise window to top when focused. Only applies if followMouse is
|
||||
set. Default is no.
|
||||
Raise window to top when focused. Default is no.
|
||||
|
||||
# THEME
|
||||
|
||||
|
|
|
|||
|
|
@ -335,9 +335,6 @@ entry(xmlNode *node, char *nodename, char *content)
|
|||
rc.focus_follow_mouse = get_bool(content);
|
||||
} else if (!strcasecmp(nodename, "raiseOnFocus.focus")) {
|
||||
rc.raise_on_focus = get_bool(content);
|
||||
if (rc.raise_on_focus) {
|
||||
rc.focus_follow_mouse = true;
|
||||
}
|
||||
} else if (!strcasecmp(nodename, "doubleClickTime.mouse")) {
|
||||
long doubleclick_time_parsed = strtol(content, NULL, 10);
|
||||
if (doubleclick_time_parsed > 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue