diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-03-08 13:51:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-03-08 17:55:40 +0300 |
commit | 9247c5a23757e01ef7ee91dd5655fcab177e5e6d (patch) | |
tree | 38e947cdaa6f1ec33651560b81851b7a255a58ac /src/gui/gui.cpp | |
parent | fcf53dd7d524c2204f39269be5768a1919daef42 (diff) | |
download | mv-9247c5a23757e01ef7ee91dd5655fcab177e5e6d.tar.gz mv-9247c5a23757e01ef7ee91dd5655fcab177e5e6d.tar.bz2 mv-9247c5a23757e01ef7ee91dd5655fcab177e5e6d.tar.xz mv-9247c5a23757e01ef7ee91dd5655fcab177e5e6d.zip |
fix code style.
Diffstat (limited to 'src/gui/gui.cpp')
-rw-r--r-- | src/gui/gui.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index d5fbd6e86..55da1b9e3 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -72,8 +72,6 @@ #include "gui/theme.h" #include "gui/viewport.h" -#include "events/mouseevent.h" - #include "gui/widgets/window.h" #include "client.h" @@ -1337,8 +1335,8 @@ void Gui::handleModalMouseInputFocus() } // Check if modal mouse input focus has been released. else if ((mFocusHandler->getLastWidgetWithModalMouseInputFocus() - != mFocusHandler->getModalMouseInputFocused()) - && (mFocusHandler->getLastWidgetWithModalMouseInputFocus())) + != mFocusHandler->getModalMouseInputFocused()) + && (mFocusHandler->getLastWidgetWithModalMouseInputFocus())) { handleModalFocusReleased(); mFocusHandler->setLastWidgetWithModalMouseInputFocus(nullptr); @@ -1360,8 +1358,8 @@ void Gui::handleModalFocus() } // Check if modal focus has been released. else if ((mFocusHandler->getLastWidgetWithModalFocus() - != mFocusHandler->getModalFocused()) - && (mFocusHandler->getLastWidgetWithModalFocus())) + != mFocusHandler->getModalFocused()) + && (mFocusHandler->getLastWidgetWithModalFocus())) { handleModalFocusReleased(); mFocusHandler->setLastWidgetWithModalFocus(nullptr); |