[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 748e670d5d: Make last change compile
From: |
Po Lu |
Subject: |
master 748e670d5d: Make last change compile |
Date: |
Sat, 1 Jan 2022 05:33:09 -0500 (EST) |
branch: master
commit 748e670d5dc841824b42ccf83f5b8fd75bd20b81
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>
Make last change compile
* src/haiku_support.cc (EmacsShow): Fix last change.
(TearDownDoubleBuffering): Likewise.
(Draw): Draw normally if not double buffered even if shown_flag
is true.
---
src/haiku_support.cc | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/src/haiku_support.cc b/src/haiku_support.cc
index e1aaf83568..b89a08663a 100644
--- a/src/haiku_support.cc
+++ b/src/haiku_support.cc
@@ -739,7 +739,7 @@ public:
was_shown_p = true;
}
- if (this->parent && offscreen_draw_view)
+ if (this->parent)
shown_flag = 1;
Show ();
if (this->parent)
@@ -994,8 +994,6 @@ public:
offscreen_draw_view = NULL;
delete offscreen_draw_bitmap_1;
offscreen_draw_bitmap_1 = NULL;
-
- shown_flag = 0;
}
}
@@ -1058,7 +1056,7 @@ public:
return;
}
- if (w->shown_flag)
+ if (w->shown_flag && offscreen_draw_view)
{
PushState ();
SetDrawingMode (B_OP_ERASE);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 748e670d5d: Make last change compile,
Po Lu <=