aboutsummaryrefslogtreecommitdiff
path: root/src/CurrentWindowCmd.cc
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2008-08-15 11:02:14 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2008-08-15 11:02:14 (GMT)
commit80059c6dae8de4962b14f08bd75f1c773e37a78d (patch)
treed94651987a6c9a25d87292c2c5d74018ba541473 /src/CurrentWindowCmd.cc
parent31b47e78147ca20803b123f392bfd2002b70e052 (diff)
downloadfluxbox-80059c6dae8de4962b14f08bd75f1c773e37a78d.zip
fluxbox-80059c6dae8de4962b14f08bd75f1c773e37a78d.tar.bz2
move size hints to a struct
Diffstat (limited to 'src/CurrentWindowCmd.cc')
-rw-r--r--src/CurrentWindowCmd.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CurrentWindowCmd.cc b/src/CurrentWindowCmd.cc
index 9253058..65c5711 100644
--- a/src/CurrentWindowCmd.cc
+++ b/src/CurrentWindowCmd.cc
@@ -391,10 +391,10 @@ ResizeCmd::ResizeCmd(const int step_size_x, const int step_size_y) :
391void ResizeCmd::real_execute() { 391void ResizeCmd::real_execute() {
392 392
393 int w = std::max<int>(static_cast<int>(fbwindow().width() + 393 int w = std::max<int>(static_cast<int>(fbwindow().width() +
394 m_step_size_x * fbwindow().winClient().width_inc), 394 m_step_size_x * fbwindow().winClient().widthInc()),
395 fbwindow().frame().titlebarHeight() * 2 + 10); 395 fbwindow().frame().titlebarHeight() * 2 + 10);
396 int h = std::max<int>(static_cast<int>(fbwindow().height() + 396 int h = std::max<int>(static_cast<int>(fbwindow().height() +
397 m_step_size_y * fbwindow().winClient().height_inc), 397 m_step_size_y * fbwindow().winClient().heightInc()),
398 fbwindow().frame().titlebarHeight() + 10); 398 fbwindow().frame().titlebarHeight() + 10);
399 fbwindow().resize(w, h); 399 fbwindow().resize(w, h);
400} 400}