[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] /srv/bzr/gnash/trunk r10671: stop unsetting fullscreen tw
From: |
John Wimer |
Subject: |
[Gnash-commit] /srv/bzr/gnash/trunk r10671: stop unsetting fullscreen twice in a row |
Date: |
Sat, 07 Mar 2009 19:04:27 +0100 |
User-agent: |
Bazaar (1.5) |
------------------------------------------------------------
revno: 10671
committer: John Wimer <address@hidden>
branch nick: trunk
timestamp: Sat 2009-03-07 19:04:27 +0100
message:
stop unsetting fullscreen twice in a row
modified:
gui/Kde4Gui.cpp
=== modified file 'gui/Kde4Gui.cpp'
--- a/gui/Kde4Gui.cpp 2009-02-25 02:00:44 +0000
+++ b/gui/Kde4Gui.cpp 2009-03-07 18:04:27 +0000
@@ -298,15 +298,18 @@
_fullscreen = false;
fullscreenAction->setChecked(_fullscreen);
- // Re-embed the drawing wiget into the browser
- if (_xid) {
- _drawingWidget->embedInto(_xid);
- }
- else {
- _drawingWidget->setWindowFlags(Qt::Widget);
+ if (_drawingWidget->isFullScreen()) {
+ // Re-embed the drawing wiget into the browser
+ if (_xid) {
+ _drawingWidget->showNormal();
+ _drawingWidget->embedInto(_xid);
+ }
+ else {
+ _drawingWidget->setWindowFlags(Qt::Widget);
+ _drawingWidget->showNormal();
+ }
}
- _drawingWidget->showNormal();
}
gnash::key::code
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] /srv/bzr/gnash/trunk r10671: stop unsetting fullscreen twice in a row,
John Wimer <=