linux: Fix modal message box.
This commit is contained in:
parent
adec718503
commit
00467b53c7
2 changed files with 2 additions and 6 deletions
|
@ -166,7 +166,7 @@ MessageDialog::MessageDialog(NativeWindow* parent_window,
|
||||||
|
|
||||||
#if defined(USE_X11)
|
#if defined(USE_X11)
|
||||||
// In X11 the window frame is drawn by the application.
|
// In X11 the window frame is drawn by the application.
|
||||||
widget_params.remove_standard_frame = true;
|
params.remove_standard_frame = true;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
widget_.reset(new views::Widget);
|
widget_.reset(new views::Widget);
|
||||||
|
@ -237,11 +237,7 @@ views::View* MessageDialog::GetInitiallyFocusedView() {
|
||||||
}
|
}
|
||||||
|
|
||||||
ui::ModalType MessageDialog::GetModalType() const {
|
ui::ModalType MessageDialog::GetModalType() const {
|
||||||
#if defined(USE_X11)
|
|
||||||
return ui::MODAL_TYPE_NONE;
|
|
||||||
#else
|
|
||||||
return ui::MODAL_TYPE_SYSTEM;
|
return ui::MODAL_TYPE_SYSTEM;
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
views::NonClientFrameView* MessageDialog::CreateNonClientFrameView(
|
views::NonClientFrameView* MessageDialog::CreateNonClientFrameView(
|
||||||
|
|
2
vendor/brightray
vendored
2
vendor/brightray
vendored
|
@ -1 +1 @@
|
||||||
Subproject commit 227af5c6af2ce54df0916bc61168045c177d3d39
|
Subproject commit 13628c0d7f799952c2d0067dbacded0bd73d5671
|
Loading…
Add table
Add a link
Reference in a new issue