diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-08-23 22:48:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-08-24 21:08:17 +0300 |
commit | d3994b21fda3e7d8ba417a382fc8f065a7bf1c52 (patch) | |
tree | 420c78c8ceda39895cce60849e3aeafedd41f081 /src/gui/widgets/window.cpp | |
parent | 576b7dca4676ba2c1ea63afb6bbc96fd11183048 (diff) | |
download | mv-d3994b21fda3e7d8ba417a382fc8f065a7bf1c52.tar.gz mv-d3994b21fda3e7d8ba417a382fc8f065a7bf1c52.tar.bz2 mv-d3994b21fda3e7d8ba417a382fc8f065a7bf1c52.tar.xz mv-d3994b21fda3e7d8ba417a382fc8f065a7bf1c52.zip |
improve some mode methods in Client.
Diffstat (limited to 'src/gui/widgets/window.cpp')
-rw-r--r-- | src/gui/widgets/window.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/window.cpp b/src/gui/widgets/window.cpp index ad510d363..485f875fc 100644 --- a/src/gui/widgets/window.cpp +++ b/src/gui/widgets/window.cpp @@ -1086,7 +1086,7 @@ bool Window::isResizeAllowed(const gcn::MouseEvent &event) const int Window::getGuiAlpha() const { - const float alpha = std::max(Client::getGuiAlpha(), + const float alpha = std::max(client->getGuiAlpha(), Theme::instance()->getMinimumOpacity()); return static_cast<int>(alpha * 255.0f); } |