aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/windows.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2019-02-17 14:32:42 -0800
committerPaul Gilbert2019-02-17 14:32:56 -0800
commit8fcf009668c6975fbe8e7eac2e676f9aa1f87421 (patch)
tree97165cefa4670e643ef42ce33bf873a78cb819a8 /engines/glk/windows.cpp
parent046f65a2c4cb38848fdbde6e89a2c2b3f7d4666c (diff)
downloadscummvm-rg350-8fcf009668c6975fbe8e7eac2e676f9aa1f87421.tar.gz
scummvm-rg350-8fcf009668c6975fbe8e7eac2e676f9aa1f87421.tar.bz2
scummvm-rg350-8fcf009668c6975fbe8e7eac2e676f9aa1f87421.zip
GLK: FROTZ: More properly fix transparency handling of header
Diffstat (limited to 'engines/glk/windows.cpp')
-rw-r--r--engines/glk/windows.cpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/engines/glk/windows.cpp b/engines/glk/windows.cpp
index 74cf2751ef..5683b039cf 100644
--- a/engines/glk/windows.cpp
+++ b/engines/glk/windows.cpp
@@ -602,13 +602,9 @@ void Window::requestLineEventUni(uint32 *buf, uint maxlen, uint initlen) {
void Window::redraw() {
if (Windows::_forceRedraw) {
- PairWindow *parent = dynamic_cast<PairWindow *>(_parent);
-
- if (!parent || parent->_dir != winmethod_Arbitrary) {
- uint color = Windows::_overrideBgSet ? g_conf->_windowColor : _bgColor;
- int y0 = _yAdj ? _bbox.top - _yAdj : _bbox.top;
- g_vm->_screen->fillRect(Rect(_bbox.left, y0, _bbox.right, _bbox.bottom), color);
- }
+ uint color = Windows::_overrideBgSet ? g_conf->_windowColor : _bgColor;
+ int y0 = _yAdj ? _bbox.top - _yAdj : _bbox.top;
+ g_vm->_screen->fillRect(Rect(_bbox.left, y0, _bbox.right, _bbox.bottom), color);
}
}