diff options
Diffstat (limited to 'driver/prefs.c')
-rw-r--r-- | driver/prefs.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/driver/prefs.c b/driver/prefs.c index 8fb029e..6965ad9 100644 --- a/driver/prefs.c +++ b/driver/prefs.c @@ -265,6 +265,7 @@ static const char * const prefs[] = { "helpURL", /* not saved */ "loadURL", /* not saved */ "newLoginCommand", /* not saved */ + "externalUngrabCommand", /* not saved */ "nice", "memoryLimit", "fade", @@ -805,6 +806,7 @@ write_init_file (Display *dpy, CHECK("loadURL") continue; /* don't save */ /* CHECK("newLoginCommand") type = pref_str, s = p->new_login_command; */ CHECK("newLoginCommand") continue; /* don't save */ + CHECK("externalUngrabCommand") continue; /* don't save */ CHECK("nice") type = pref_int, i = p->nice_inferior; CHECK("memoryLimit") type = pref_byte, i = p->inferior_memory_limit; CHECK("fade") type = pref_bool, b = p->fade_p; @@ -1104,6 +1106,9 @@ load_init_file (Display *dpy, saver_preferences *p) p->new_login_command = get_string_resource(dpy, "newLoginCommand", "NewLoginCommand"); + p->external_ungrab_command = get_string_resource(dpy, + "externalUngrabCommand", + "ExternalUngrabCommand"); p->auth_warning_slack = get_integer_resource(dpy, "authWarningSlack", "Integer"); |