mirror of
https://github.com/labwc/labwc.git
synced 2025-11-03 09:01:51 -05:00
config: Fix RaiseOnFocus always setting FollowMouse
Signed-off-by: Joshua Ashton <joshua@froggi.es>
This commit is contained in:
parent
22d10497ca
commit
d8a499deaa
1 changed files with 3 additions and 1 deletions
|
|
@ -303,8 +303,10 @@ entry(xmlNode *node, char *nodename, char *content)
|
|||
} else if (!strcasecmp(nodename, "FollowMouse.focus")) {
|
||||
rc.focus_follow_mouse = get_bool(content);
|
||||
} else if (!strcasecmp(nodename, "RaiseOnFocus.focus")) {
|
||||
rc.focus_follow_mouse = true;
|
||||
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