summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTavis Ormandy <taviso@gentoo.org>2003-11-11 12:01:47 +0000
committerTavis Ormandy <taviso@gentoo.org>2003-11-11 12:01:47 +0000
commit7dcd36ca4bee4f13d3bdbf19ee645510ce43d9b0 (patch)
treeac721b21234f37db0512da6c6a0ce929ea68ded5 /x11-wm/fvwm/files
parentMask x11-themes/noia snapshots. Bug #32759. (diff)
downloadgentoo-2-7dcd36ca4bee4f13d3bdbf19ee645510ce43d9b0.tar.gz
gentoo-2-7dcd36ca4bee4f13d3bdbf19ee645510ce43d9b0.tar.bz2
gentoo-2-7dcd36ca4bee4f13d3bdbf19ee645510ce43d9b0.zip
minor fvwmtabs patch
Diffstat (limited to 'x11-wm/fvwm/files')
-rw-r--r--x11-wm/fvwm/files/fvwmtabs-insecure-tmp-handling.diff35
1 files changed, 35 insertions, 0 deletions
diff --git a/x11-wm/fvwm/files/fvwmtabs-insecure-tmp-handling.diff b/x11-wm/fvwm/files/fvwmtabs-insecure-tmp-handling.diff
new file mode 100644
index 000000000000..5ac140b58189
--- /dev/null
+++ b/x11-wm/fvwm/files/fvwmtabs-insecure-tmp-handling.diff
@@ -0,0 +1,35 @@
+--- FvwmTabs.orig 2003-11-11 10:37:10.000000000 +0000
++++ FvwmTabs 2003-11-11 11:40:30.000000000 +0000
+@@ -64,7 +64,7 @@
+ balloonBG => '#C0C080',
+ balloonMsg => 'Tab %tabNo:\n%iconText\n%title',
+ autoResize => 'false',
+- stateFile => '/tmp/.fvwmtabs.state',
++ stateFile => <~/.fvwmtabs.state>, # /
+ fixedSizeTabs => 'false',
+ showTitlebar => 'true',
+ useTMTitlebar => 'true',
+--- FvwmTabs.1.orig 2003-11-11 11:23:59.000000000 +0000
++++ FvwmTabs.1 2003-11-11 11:24:06.000000000 +0000
+@@ -225,7 +225,7 @@
+ \&\fIbool\fR can be either \fItrue\fR or \fIfalse\fR. If true, windows in the tab-manager automatically resize to the dimensions of the largest window in the tab-manager. The default value is \fIfalse\fR.
+ .Ip "*FvwmTabs: stateFile \fIfile\fR" 4
+ .IX Item "*FvwmTabs: stateFile file"
+-\&\fBFvwmTabs\fR has the ability to preserve its state (ie. remember the windows it has swallowed as tabs) b/w \s-1FVWM\s0 restarts. \fIfile\fR specifies the name of a temporary file to record the state in, so it can be reconstructed when \fBFvwmTabs\fR restarts. The default file is \f(CW\*(C`/tmp/.fvwmtabs.state\*(C'\fR.
++\&\fBFvwmTabs\fR has the ability to preserve its state (ie. remember the windows it has swallowed as tabs) b/w \s-1FVWM\s0 restarts. \fIfile\fR specifies the name of a temporary file to record the state in, so it can be reconstructed when \fBFvwmTabs\fR restarts.
+ .Ip "*FvwmTabs: fixedSizeTabs \fIbool\fR" 4
+ .IX Item "*FvwmTabs: fixedSizeTabs bool"
+ \&\fIbool\fR can be either \fItrue\fR or \fIfalse\fR. If true, the tab-manager will ensure each tab-button has the same dimensions. If false, the selected tab is expanded so that it is fully visible. The default value is \fIfalse\fR.
+--- fvwmtabrc.orig 2003-11-11 11:00:57.000000000 +0000
++++ fvwmtabrc 2003-11-11 11:39:41.000000000 +0000
+@@ -216,8 +216,8 @@
+ # stateFile - specifies the name of a temporary file to use to record the
+ # state (ie. remember the windows it has swallowed as tabs) b/w FVWM
+ # restarts.
+-# default: /tmp/.fvwmtabs.state
+-*FvwmTabs: stateFile /tmp/.fvwmtabs.state
++# default: /home/user/.fvwmtabs.state
++#*FvwmTabs: stateFile /home/user/.fvwmtabs.state
+
+ # fixedSizeTabs - ensure each tab-button has the same dimensions. If false,
+ # the selected tab is expanded so that it is fully visible.