mirror of
https://github.com/labwc/labwc.git
synced 2025-11-06 13:29:58 -05: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
|
|
@ -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