summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-02 22:46:03 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-02 22:46:03 +0300
commit97ce6d0704369022c64030b0f39a1bdc0cd92797 (patch)
treec732ce8a49c4f3e1b92adf27e880a28b055ce35c /src/gui
parent696a646491afcaf27f76cf976d4987e88cec50a2 (diff)
downloadmv-97ce6d0704369022c64030b0f39a1bdc0cd92797.tar.gz
mv-97ce6d0704369022c64030b0f39a1bdc0cd92797.tar.bz2
mv-97ce6d0704369022c64030b0f39a1bdc0cd92797.tar.xz
mv-97ce6d0704369022c64030b0f39a1bdc0cd92797.zip
fix emote window resize issue in software mode.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/emotewindow.cpp7
-rw-r--r--src/gui/emotewindow.h2
2 files changed, 9 insertions, 0 deletions
diff --git a/src/gui/emotewindow.cpp b/src/gui/emotewindow.cpp
index 61b5a0dde..4371b41fc 100644
--- a/src/gui/emotewindow.cpp
+++ b/src/gui/emotewindow.cpp
@@ -226,4 +226,11 @@ void EmoteWindow::widgetResized(const gcn::Event &event)
mTabs->adjustWidget(mScrollColorPage);
mColorPage->setSize(mScrollColorPage->getWidth(),
mScrollColorPage->getHeight());
+ mEmotePage->widgetResized(event);
+}
+
+void EmoteWindow::widgetMoved(const gcn::Event &event)
+{
+ Window::widgetMoved(event);
+ mEmotePage->widgetResized(event);
}
diff --git a/src/gui/emotewindow.h b/src/gui/emotewindow.h
index f65636e1a..a9002117e 100644
--- a/src/gui/emotewindow.h
+++ b/src/gui/emotewindow.h
@@ -63,6 +63,8 @@ class EmoteWindow final : public Window
void widgetResized(const gcn::Event &event) override;
+ void widgetMoved(const gcn::Event &event) override;
+
private:
TabbedArea *mTabs;
EmotePage *mEmotePage;