From 1ff34533992689305eee0f27a96b2d6ecc324ba8 Mon Sep 17 00:00:00 2001 From: Christian Pulvermacher Date: Sun, 12 Feb 2012 15:30:09 +0100 Subject: [PATCH] make sure fullscreen exit button is shown in lower right corner when it becomes visible --- src/fullscreenexitbutton.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/fullscreenexitbutton.h b/src/fullscreenexitbutton.h index 56dde25..dd80b5a 100644 --- a/src/fullscreenexitbutton.h +++ b/src/fullscreenexitbutton.h @@ -110,12 +110,10 @@ bool FullScreenExitButton::eventFilter(QObject *obj, QEvent *ev) setVisible(isFullScreen); if (isFullScreen) raise(); - hide_timer.start(); - break; // fall through case QEvent::Resize: + move(parent->width() - width(), parent->height() - height()); if (isVisible()) { - move(parent->width() - width(), parent->height() - height()); hide_timer.start(); } break; -- 1.7.9.5