Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 40439 Details for
Bug 65394
Hack restriction patch for xscreensaver
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Hack restriction patch
restrict.patch (text/plain), 1.81 KB, created by
Fredrik Tolf
on 2004-09-26 05:27:13 UTC
(
hide
)
Description:
Hack restriction patch
Filename:
MIME Type:
Creator:
Fredrik Tolf
Created:
2004-09-26 05:27:13 UTC
Size:
1.81 KB
patch
obsolete
>--- driver/prefs.c~ 2003-09-06 13:14:01.000000000 +0200 >+++ driver/prefs.c 2004-03-01 04:03:01.764881832 +0100 >@@ -249,6 +249,7 @@ > "prefsCommand", > "helpURL", > "loadURL", >+ "screensBlankOnly", > "nice", > "memoryLimit", > "fade", >@@ -775,6 +776,7 @@ > CHECK("helpURL") continue; /* don't save */ > /* CHECK("loadURL") type = pref_str, s = p->load_url_command; */ > CHECK("loadURL") continue; /* don't save */ >+ CHECK("screensBlankOnly") type = pref_str, s = p->screens_blank_only; > 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; >@@ -1038,6 +1040,7 @@ > p->prefs_command = get_string_resource("prefsCommand", "URL"); > p->help_url = get_string_resource("helpURL", "URL"); > p->load_url_command = get_string_resource("loadURL", "LoadURL"); >+ p->screens_blank_only = get_string_resource("screensBlankOnly", "ScreensBlankOnly"); > > > /* If "*splash" is unset, default to true. */ >--- driver/prefs.h~ 2003-09-07 12:14:01.000000000 +0200 >+++ driver/prefs.h 2004-03-01 04:00:31.291792080 +0100 >@@ -100,6 +100,7 @@ > char *prefs_command; /* How to edit preferences. */ > char *help_url; /* Where the help document resides. */ > char *load_url_command; /* How one loads URLs. */ >+ char *screens_blank_only; > }; > > >--- driver/subprocs.c~ 2003-09-07 11:39:13.000000000 +0200 >+++ driver/subprocs.c 2004-03-01 04:28:22.638673872 +0100 >@@ -679,6 +679,10 @@ > /* No hacks at all */ > new_hack = -1; > } >+ else if ((p->screens_blank_only != NULL) && (strchr(p->screens_blank_only, ssi->real_screen_number + '0') != NULL)) >+ { >+ new_hack = -1; >+ } > else if (p->screenhacks_count == 1) > { > /* Exactly one hack in the list */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 65394
: 40439