aboutsummaryrefslogtreecommitdiff
path: root/src/Slit.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-07-20 09:35:01 (GMT)
committerfluxgen <fluxgen>2002-07-20 09:35:01 (GMT)
commiteae52404ec5c51032d96d5786fe96a928c7d588d (patch)
tree59ac8991564ae4d2e102e90567ad0949392cf7c7 /src/Slit.cc
parent5c4fe96fc1973a02d6180330da449205fac2ef9b (diff)
downloadfluxbox_pavel-eae52404ec5c51032d96d5786fe96a928c7d588d.zip
fluxbox_pavel-eae52404ec5c51032d96d5786fe96a928c7d588d.tar.bz2
minor update
Diffstat (limited to 'src/Slit.cc')
-rw-r--r--src/Slit.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Slit.cc b/src/Slit.cc
index a033bae..aee357f 100644
--- a/src/Slit.cc
+++ b/src/Slit.cc
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: Slit.cc,v 1.16 2002/07/19 16:10:18 fluxgen Exp $ 22// $Id: Slit.cc,v 1.17 2002/07/20 09:35:01 fluxgen Exp $
23 23
24//use GNU extensions 24//use GNU extensions
25#ifndef _GNU_SOURCE 25#ifndef _GNU_SOURCE
@@ -112,8 +112,8 @@ Slit::Slit(BScreen *scr):screen(scr), timer(this), slitmenu(*this) {
112 CWColormap | CWOverrideRedirect | CWEventMask; 112 CWColormap | CWOverrideRedirect | CWEventMask;
113 attrib.background_pixmap = None; 113 attrib.background_pixmap = None;
114 attrib.background_pixel = attrib.border_pixel = 114 attrib.background_pixel = attrib.border_pixel =
115 screen->getBorderColor()->getPixel(); 115 screen->getBorderColor()->pixel();
116 attrib.colormap = screen->getColormap(); 116 attrib.colormap = screen->colormap();
117 attrib.override_redirect = True; 117 attrib.override_redirect = True;
118 attrib.event_mask = SubstructureRedirectMask | ButtonPressMask | 118 attrib.event_mask = SubstructureRedirectMask | ButtonPressMask |
119 EnterWindowMask | LeaveWindowMask; 119 EnterWindowMask | LeaveWindowMask;
@@ -398,7 +398,7 @@ void Slit::reconfigure(void) {
398 398
399 XSetWindowBorderWidth(display ,frame.window, screen->getBorderWidth()); 399 XSetWindowBorderWidth(display ,frame.window, screen->getBorderWidth());
400 XSetWindowBorder(display, frame.window, 400 XSetWindowBorder(display, frame.window,
401 screen->getBorderColor()->getPixel()); 401 screen->getBorderColor()->pixel());
402 402
403 //did we actually use slit slots 403 //did we actually use slit slots
404 if (num_windows == 0) 404 if (num_windows == 0)
@@ -412,7 +412,7 @@ void Slit::reconfigure(void) {
412 if (texture->getTexture() == (BImage::FLAT | BImage::SOLID)) { 412 if (texture->getTexture() == (BImage::FLAT | BImage::SOLID)) {
413 frame.pixmap = None; 413 frame.pixmap = None;
414 XSetWindowBackground(display, frame.window, 414 XSetWindowBackground(display, frame.window,
415 texture->getColor()->getPixel()); 415 texture->color().pixel());
416 } else { 416 } else {
417 frame.pixmap = image_ctrl->renderImage(frame.width, frame.height, 417 frame.pixmap = image_ctrl->renderImage(frame.width, frame.height,
418 texture); 418 texture);