aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/fluxbox/files
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-11-24 22:07:56 +0000
committerPatrick Li <pat@FreeBSD.org>2002-11-24 22:07:56 +0000
commit5014ef45c390eeff88fd16ec608ddf7a39694e3e (patch)
tree9d539fb22c76b7a8439b10f80ea5159dc7229f3b /x11-wm/fluxbox/files
parent94a3b873012549e399e154f2cec5dfa5736706f7 (diff)
downloadports-5014ef45c390eeff88fd16ec608ddf7a39694e3e.tar.gz
ports-5014ef45c390eeff88fd16ec608ddf7a39694e3e.zip
Notes
Diffstat (limited to 'x11-wm/fluxbox/files')
-rw-r--r--x11-wm/fluxbox/files/patch-src::Font.cc11
-rw-r--r--x11-wm/fluxbox/files/patch-src::Screen.cc19
2 files changed, 30 insertions, 0 deletions
diff --git a/x11-wm/fluxbox/files/patch-src::Font.cc b/x11-wm/fluxbox/files/patch-src::Font.cc
new file mode 100644
index 000000000000..f4a567db7071
--- /dev/null
+++ b/x11-wm/fluxbox/files/patch-src::Font.cc
@@ -0,0 +1,11 @@
+--- src/Font.cc.orig Fri Oct 25 23:07:07 2002
++++ src/Font.cc Sun Nov 24 18:23:28 2002
+@@ -140,7 +140,7 @@
+ if (name == 0)
+ return false;
+ bool ret_val = m_fontimp->load(name);
+- if (ret_val && name == 0) { //prevent from having a bad fontimp
++ if (ret_val && name != 0) { //prevent from having a bad fontimp
+ m_fontstr = name; // if the load really succeded then set font string
+ } else {
+ m_fontstr = "";
diff --git a/x11-wm/fluxbox/files/patch-src::Screen.cc b/x11-wm/fluxbox/files/patch-src::Screen.cc
new file mode 100644
index 000000000000..d0b73e2c6c6b
--- /dev/null
+++ b/x11-wm/fluxbox/files/patch-src::Screen.cc
@@ -0,0 +1,19 @@
+--- src/Screen.cc.orig Sun Nov 17 12:27:50 2002
++++ src/Screen.cc Sun Nov 24 18:23:28 2002
+@@ -284,7 +284,7 @@
+ image_control->setDither(*resource.image_dither);
+ theme = new Theme(getBaseDisplay()->getXDisplay(), getRootWindow(), colormap(), getScreenNumber(),
+ image_control, fluxbox->getStyleFilename(), getRootCommand().c_str());
+-
++ theme->reconfigure(*resource.antialias);
+
+ const char *s = i18n->getMessage(
+ FBNLS::ScreenSet, FBNLS::ScreenPositionLength,
+@@ -447,7 +447,6 @@
+
+ XFree(children);
+ XFlush(getBaseDisplay()->getXDisplay());
+- theme->reconfigure(*resource.antialias);
+ }
+
+ namespace {