projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab3c6c7
)
Fix expose events in non-double-buffered child frames on Haiku
author
Po Lu
<luangruo@yahoo.com>
Sat, 1 Jan 2022 10:24:38 +0000
(10:24 +0000)
committer
Po Lu
<luangruo@yahoo.com>
Sat, 1 Jan 2022 10:24:38 +0000
(10:24 +0000)
* src/haiku_support.cc (EmacsShow): Set shown_flag to 1 only if
this view is double buffered.
(TearDownDoubleBuffering): Clear shown_flag.
src/haiku_support.cc
patch
|
blob
|
history
diff --git
a/src/haiku_support.cc
b/src/haiku_support.cc
index 6a270d338a26cddfc246bd700fe61f713952ff6f..e1aaf8356893319415ed57d0f39771d84da0a617 100644
(file)
--- a/
src/haiku_support.cc
+++ b/
src/haiku_support.cc
@@
-739,7
+739,7
@@
public:
was_shown_p = true;
}
- if (this->parent)
+ if (this->parent
&& offscreen_draw_view
)
shown_flag = 1;
Show ();
if (this->parent)
@@
-994,6
+994,8
@@
public:
offscreen_draw_view = NULL;
delete offscreen_draw_bitmap_1;
offscreen_draw_bitmap_1 = NULL;
+
+ shown_flag = 0;
}
}