Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3103)

Unified Diff: chrome/browser/ui/libgtkui/select_file_dialog_impl_gtk.cc

Issue 2709283003: Allow to open multiple modal file-pickers in Linux (Closed)
Patch Set: add DCHECK_GT Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/libgtkui/select_file_dialog_impl_gtk.cc
diff --git a/chrome/browser/ui/libgtkui/select_file_dialog_impl_gtk.cc b/chrome/browser/ui/libgtkui/select_file_dialog_impl_gtk.cc
index 0671241d1fc11bc8a655b2e8f4016934440832e1..e0fcefe41d1ed70c17fc6163e33a347fc9161143 100644
--- a/chrome/browser/ui/libgtkui/select_file_dialog_impl_gtk.cc
+++ b/chrome/browser/ui/libgtkui/select_file_dialog_impl_gtk.cc
@@ -175,8 +175,7 @@ void SelectFileDialogImplGTK::SelectFileImpl(
std::unique_ptr<base::Closure> callback =
views::DesktopWindowTreeHostX11::GetHostForXID(
host->GetAcceleratedWidget())
- ->DisableEventListening(
- GDK_WINDOW_XID(gtk_widget_get_window(dialog)));
+ ->DisableEventListening();
// OnFilePickerDestroy() is called when |dialog| destroyed, which allows
// to invoke the callback function to re-enable event handling on the
// owning window.
« no previous file with comments | « no previous file | ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698