projects
/
platform
/
framework
/
web
/
crosswalk-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64ae5cf
)
set the title for hidden and hidden-inset windows so they show up in the window menu...
author
bridiver
<github@brianjohnson.cc>
Thu, 16 Jun 2016 20:12:53 +0000
(13:12 -0700)
committer
bridiver
<github@brianjohnson.cc>
Thu, 16 Jun 2016 20:12:53 +0000
(13:12 -0700)
fixes #6088
atom/browser/native_window_mac.mm
patch
|
blob
|
history
diff --git
a/atom/browser/native_window_mac.mm
b/atom/browser/native_window_mac.mm
index
9035d5e
..
d160842
100644
(file)
--- a/
atom/browser/native_window_mac.mm
+++ b/
atom/browser/native_window_mac.mm
@@
-800,11
+800,10
@@
void NativeWindowMac::Center() {
void NativeWindowMac::SetTitle(const std::string& title) {
title_ = title;
- // We don't want the title to show in transparent or frameless window.
- if (transparent() || !has_frame())
- return;
-
- [window_ setTitle:base::SysUTF8ToNSString(title)];
+ if (!transparent() && (has_frame() ||
+ // exception for hidden and hidden-inset
+ force_show_buttons_))
+ [window_ setTitle:base::SysUTF8ToNSString(title)];
}
std::string NativeWindowMac::GetTitle() {