aboutsummaryrefslogtreecommitdiff
path: root/src/Screen.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Screen.cc')
-rw-r--r--src/Screen.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index eeba710..a5cb9a2 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Screen.cc,v 1.226 2003/08/25 13:15:53 rathnor Exp $ 25// $Id: Screen.cc,v 1.227 2003/08/25 16:07:09 fluxgen Exp $
26 26
27 27
28#include "Screen.hh" 28#include "Screen.hh"
@@ -358,7 +358,7 @@ BScreen::BScreen(FbTk::ResourceManager &rm,
358 358
359 XSetWindowAttributes attrib; 359 XSetWindowAttributes attrib;
360 unsigned long mask = CWBorderPixel | CWColormap | CWSaveUnder; 360 unsigned long mask = CWBorderPixel | CWColormap | CWSaveUnder;
361 attrib.border_pixel = m_root_theme->borderColor().pixel(); 361 attrib.border_pixel = winFrameTheme().border().color().pixel();
362 attrib.colormap = rootWindow().colormap(); 362 attrib.colormap = rootWindow().colormap();
363 attrib.save_under = true; 363 attrib.save_under = true;
364 364
@@ -366,7 +366,7 @@ BScreen::BScreen(FbTk::ResourceManager &rm,
366 366
367 m_geom_window = 367 m_geom_window =
368 XCreateWindow(disp, rootWindow().window(), 368 XCreateWindow(disp, rootWindow().window(),
369 0, 0, geom_w, geom_h, rootTheme().borderWidth(), rootWindow().depth(), 369 0, 0, geom_w, geom_h, winFrameTheme().border().width(), rootWindow().depth(),
370 InputOutput, rootWindow().visual(), mask, &attrib); 370 InputOutput, rootWindow().visual(), mask, &attrib);
371 geom_visible = false; 371 geom_visible = false;
372 geom_pixmap = 0; 372 geom_pixmap = 0;
@@ -1463,7 +1463,7 @@ void BScreen::dirFocus(FluxboxWindow &win, FocusDir dir) {
1463 1463
1464 FluxboxWindow *foundwin = 0; 1464 FluxboxWindow *foundwin = 0;
1465 int weight = 999999, exposure = 0; // extreme values 1465 int weight = 999999, exposure = 0; // extreme values
1466 int borderW = m_root_theme->borderWidth(), 1466 int borderW = winFrameTheme().border().width(),
1467 top = win.y(), 1467 top = win.y(),
1468 bottom = win.y() + win.height() + 2*borderW, 1468 bottom = win.y() + win.height() + 2*borderW,
1469 left = win.x(), 1469 left = win.x(),
@@ -2165,8 +2165,8 @@ void BScreen::renderGeomWindow() {
2165 int geom_w = winFrameTheme().font().textWidth(s, l) + m_root_theme->bevelWidth()*2; 2165 int geom_w = winFrameTheme().font().textWidth(s, l) + m_root_theme->bevelWidth()*2;
2166 m_geom_window.resize(geom_w, geom_h); 2166 m_geom_window.resize(geom_w, geom_h);
2167 2167
2168 m_geom_window.setBorderWidth(m_root_theme->borderWidth()); 2168 m_geom_window.setBorderWidth(winFrameTheme().border().width());
2169 m_geom_window.setBorderColor(m_root_theme->borderColor()); 2169 m_geom_window.setBorderColor(winFrameTheme().border().color());
2170 2170
2171 2171
2172 Pixmap tmp = geom_pixmap; 2172 Pixmap tmp = geom_pixmap;