aboutsummaryrefslogtreecommitdiff
path: root/src/Screen.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2001-12-29 10:40:51 (GMT)
committerfluxgen <fluxgen>2001-12-29 10:40:51 (GMT)
commitc4bedc7c2907a07b20f23bb26db7b2ca0b038d69 (patch)
tree08ae82d1656c1ef350741a5d74caec9f6aae45c0 /src/Screen.cc
parenta75bfa59d256fe4fa6e68665e00fe3ade08c04f7 (diff)
downloadfluxbox_pavel-c4bedc7c2907a07b20f23bb26db7b2ca0b038d69.zip
fluxbox_pavel-c4bedc7c2907a07b20f23bb26db7b2ca0b038d69.tar.bz2
Updated texture constant and changed the include guard
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 bcada25..160c379 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -244,9 +244,9 @@ BScreen::BScreen(Fluxbox *b, int scrn) : ScreenInfo(b, scrn) {
244 InputOutput, getVisual(), mask, &attrib); 244 InputOutput, getVisual(), mask, &attrib);
245 geom_visible = False; 245 geom_visible = False;
246 246
247 if (theme->getWindowStyle().l_focus.getTexture() & BImage_ParentRelative) { 247 if (theme->getWindowStyle().l_focus.getTexture() & BImage::PARENTRELATIVE) {
248 if (theme->getWindowStyle().t_focus.getTexture() == 248 if (theme->getWindowStyle().t_focus.getTexture() ==
249 (BImage_Flat | BImage_Solid)) { 249 (BImage::FLAT | BImage::SOLID)) {
250 geom_pixmap = None; 250 geom_pixmap = None;
251 XSetWindowBackground(getBaseDisplay()->getXDisplay(), geom_window, 251 XSetWindowBackground(getBaseDisplay()->getXDisplay(), geom_window,
252 theme->getWindowStyle().t_focus.getColor()->getPixel()); 252 theme->getWindowStyle().t_focus.getColor()->getPixel());
@@ -258,7 +258,7 @@ BScreen::BScreen(Fluxbox *b, int scrn) : ScreenInfo(b, scrn) {
258 } 258 }
259 } else { 259 } else {
260 if (theme->getWindowStyle().l_focus.getTexture() == 260 if (theme->getWindowStyle().l_focus.getTexture() ==
261 (BImage_Flat | BImage_Solid)) { 261 (BImage::FLAT | BImage::SOLID)) {
262 geom_pixmap = None; 262 geom_pixmap = None;
263 XSetWindowBackground(getBaseDisplay()->getXDisplay(), geom_window, 263 XSetWindowBackground(getBaseDisplay()->getXDisplay(), geom_window,
264 theme->getWindowStyle().l_focus.getColor()->getPixel()); 264 theme->getWindowStyle().l_focus.getColor()->getPixel());
@@ -458,9 +458,9 @@ void BScreen::reconfigure(void) {
458 geom_h += getBevelWidth()*2; 458 geom_h += getBevelWidth()*2;
459 459
460 Pixmap tmp = geom_pixmap; 460 Pixmap tmp = geom_pixmap;
461 if (theme->getWindowStyle().l_focus.getTexture() & BImage_ParentRelative) { 461 if (theme->getWindowStyle().l_focus.getTexture() & BImage::PARENTRELATIVE) {
462 if (theme->getWindowStyle().t_focus.getTexture() == 462 if (theme->getWindowStyle().t_focus.getTexture() ==
463 (BImage_Flat | BImage_Solid)) { 463 (BImage::FLAT | BImage::SOLID)) {
464 geom_pixmap = None; 464 geom_pixmap = None;
465 XSetWindowBackground(getBaseDisplay()->getXDisplay(), geom_window, 465 XSetWindowBackground(getBaseDisplay()->getXDisplay(), geom_window,
466 theme->getWindowStyle().t_focus.getColor()->getPixel()); 466 theme->getWindowStyle().t_focus.getColor()->getPixel());
@@ -472,7 +472,7 @@ void BScreen::reconfigure(void) {
472 } 472 }
473 } else { 473 } else {
474 if (theme->getWindowStyle().l_focus.getTexture() == 474 if (theme->getWindowStyle().l_focus.getTexture() ==
475 (BImage_Flat | BImage_Solid)) { 475 (BImage::FLAT | BImage::SOLID)) {
476 geom_pixmap = None; 476 geom_pixmap = None;
477 XSetWindowBackground(getBaseDisplay()->getXDisplay(), geom_window, 477 XSetWindowBackground(getBaseDisplay()->getXDisplay(), geom_window,
478 theme->getWindowStyle().l_focus.getColor()->getPixel()); 478 theme->getWindowStyle().l_focus.getColor()->getPixel());