aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Toolbar.cc38
1 files changed, 19 insertions, 19 deletions
diff --git a/src/Toolbar.cc b/src/Toolbar.cc
index c5a20e2..eeebda6 100644
--- a/src/Toolbar.cc
+++ b/src/Toolbar.cc
@@ -355,38 +355,38 @@ void Toolbar::reconfigure(void) {
355 355
356 frame.window_label_w = 356 frame.window_label_w =
357 (frame.width - (frame.clock_w + (frame.button_w * 4) + 357 (frame.width - (frame.clock_w + (frame.button_w * 4) +
358 frame.workspace_label_w + (frame.bevel_w * 8) + 6)); 358 frame.workspace_label_w + (frame.bevel_w * 8) + 6));
359 359
360 if (hidden) 360 if (hidden)
361 XMoveResizeWindow(display, frame.window, frame.x_hidden, frame.y_hidden, 361 XMoveResizeWindow(display, frame.window, frame.x_hidden, frame.y_hidden,
362 frame.width, frame.height); 362 frame.width, frame.height);
363 else 363 else
364 XMoveResizeWindow(display, frame.window, frame.x, frame.y, 364 XMoveResizeWindow(display, frame.window, frame.x, frame.y,
365 frame.width, frame.height); 365 frame.width, frame.height);
366 366
367 XMoveResizeWindow(display, frame.workspace_label, frame.bevel_w, 367 XMoveResizeWindow(display, frame.workspace_label, frame.bevel_w,
368 frame.bevel_w, frame.workspace_label_w, 368 frame.bevel_w, frame.workspace_label_w,
369 frame.label_h); 369 frame.label_h);
370 XMoveResizeWindow(display, frame.psbutton, (frame.bevel_w * 2) + 370 XMoveResizeWindow(display, frame.psbutton, (frame.bevel_w * 2) +
371 frame.workspace_label_w + 1, frame.bevel_w + 1, 371 frame.workspace_label_w + 1, frame.bevel_w + 1,
372 frame.button_w, frame.button_w); 372 frame.button_w, frame.button_w);
373 XMoveResizeWindow(display ,frame.nsbutton, (frame.bevel_w * 3) + 373 XMoveResizeWindow(display ,frame.nsbutton, (frame.bevel_w * 3) +
374 frame.workspace_label_w + frame.button_w + 2, 374 frame.workspace_label_w + frame.button_w + 2,
375 frame.bevel_w + 1, frame.button_w, frame.button_w); 375 frame.bevel_w + 1, frame.button_w, frame.button_w);
376 XMoveResizeWindow(display, frame.window_label, (frame.bevel_w * 4) + 376 XMoveResizeWindow(display, frame.window_label, (frame.bevel_w * 4) +
377 (frame.button_w * 2) + frame.workspace_label_w + 3, 377 (frame.button_w * 2) + frame.workspace_label_w + 3,
378 frame.bevel_w, frame.window_label_w, frame.label_h); 378 frame.bevel_w, frame.window_label_w, frame.label_h);
379 XMoveResizeWindow(display, frame.pwbutton, (frame.bevel_w * 5) + 379 XMoveResizeWindow(display, frame.pwbutton, (frame.bevel_w * 5) +
380 (frame.button_w * 2) + frame.workspace_label_w + 380 (frame.button_w * 2) + frame.workspace_label_w +
381 frame.window_label_w + 4, frame.bevel_w + 1, 381 frame.window_label_w + 4, frame.bevel_w + 1,
382 frame.button_w, frame.button_w); 382 frame.button_w, frame.button_w);
383 XMoveResizeWindow(display, frame.nwbutton, (frame.bevel_w * 6) + 383 XMoveResizeWindow(display, frame.nwbutton, (frame.bevel_w * 6) +
384 (frame.button_w * 3) + frame.workspace_label_w + 384 (frame.button_w * 3) + frame.workspace_label_w +
385 frame.window_label_w + 5, frame.bevel_w + 1, 385 frame.window_label_w + 5, frame.bevel_w + 1,
386 frame.button_w, frame.button_w); 386 frame.button_w, frame.button_w);
387 XMoveResizeWindow(display, frame.clock, frame.width - frame.clock_w - 387 XMoveResizeWindow(display, frame.clock, frame.width - frame.clock_w -
388 frame.bevel_w, frame.bevel_w, frame.clock_w, 388 frame.bevel_w, frame.bevel_w, frame.clock_w,
389 frame.label_h); 389 frame.label_h);
390 390
391 Pixmap tmp = frame.base; 391 Pixmap tmp = frame.base;
392 BTexture *texture = &(screen->getToolbarStyle()->toolbar); 392 BTexture *texture = &(screen->getToolbarStyle()->toolbar);