summaryrefslogtreecommitdiff
path: root/desktop/obconf/obconf_git_preview.patch
diff options
context:
space:
mode:
authorRobby Workman <rw@rlworkman.net>2012-02-19 11:53:10 -0600
committerRobby Workman <rworkman@slackbuilds.org>2012-02-20 12:20:29 -0600
commitbdb3f8e316907982eded9ae30fa6c260ca3c57c0 (patch)
tree570b47d6027d43ba65469cc6eef9f2efff534739 /desktop/obconf/obconf_git_preview.patch
parent49ecdd0898048aa77dfff2624818fbc08f45d9ed (diff)
downloadslackbuilds-bdb3f8e316907982eded9ae30fa6c260ca3c57c0.tar.gz
desktop/obconf: Updated to git snapshot cc7a188076, new maintainer.
Added patch to fix functionality with openbox-3.5. Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'desktop/obconf/obconf_git_preview.patch')
-rw-r--r--desktop/obconf/obconf_git_preview.patch43
1 files changed, 43 insertions, 0 deletions
diff --git a/desktop/obconf/obconf_git_preview.patch b/desktop/obconf/obconf_git_preview.patch
new file mode 100644
index 0000000000..3eec5f671c
--- /dev/null
+++ b/desktop/obconf/obconf_git_preview.patch
@@ -0,0 +1,43 @@
+Patch by Andrew Rowland <darowland@ieee.org>
+
+--- obconf-orig/src/preview.c 2012-01-13 15:51:59.000000000 -0500
++++ obconf/src/preview.c 2012-01-13 15:53:39.000000000 -0500
+@@ -327,28 +327,28 @@
+ switch (*layout) {
+ case 'D':
+ a = focus ?
+- theme->btn_desk->a_focused_unpressed :
+- theme->btn_desk->a_unfocused_unpressed;
++ theme->a_focused_unpressed_desk :
++ theme->a_unfocused_unpressed_desk;
+ break;
+ case 'S':
+ a = focus ?
+- theme->btn_shade->a_focused_unpressed :
+- theme->btn_shade->a_unfocused_unpressed;
++ theme->a_focused_unpressed_shade :
++ theme->a_unfocused_unpressed_shade;
+ break;
+ case 'I':
+ a = focus ?
+- theme->btn_iconify->a_focused_unpressed :
+- theme->btn_iconify->a_unfocused_unpressed;
++ theme->a_focused_unpressed_iconify :
++ theme->a_unfocused_unpressed_iconify;
+ break;
+ case 'M':
+ a = focus ?
+- theme->btn_max->a_focused_unpressed :
+- theme->btn_max->a_unfocused_unpressed;
++ theme->a_focused_unpressed_max :
++ theme->a_unfocused_unpressed_max;
+ break;
+ case 'C':
+ a = focus ?
+- theme->btn_close->a_focused_unpressed :
+- theme->btn_close->a_unfocused_unpressed;
++ theme->a_focused_unpressed_close :
++ theme->a_unfocused_unpressed_close;
+ break;
+ default:
+ continue;