Kaydet (Commit) 011ce226 authored tarafından Caolán McNamara's avatar Caolán McNamara

Resolves: tdf#99604 ungrab modal dialogs

Change-Id: I6735913c371968745da3ad6bf61e6ae3287c19a6
üst e1872172
......@@ -2367,6 +2367,13 @@ void GtkSalFrame::SetModal(bool bModal)
if (!m_pWindow)
return;
gtk_window_set_modal(GTK_WINDOW(m_pWindow), bModal);
if (bModal)
{
//gtk_window_set_modal bTrue adds a grab, so ungrab here. Quite
//possibly we should alternatively call grab_add grab_ungrab on
//show/hide of menus ?
gtk_grab_remove(m_pWindow);
}
}
gboolean GtkSalFrame::signalTooltipQuery(GtkWidget*, gint /*x*/, gint /*y*/,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment