Backed out changeset 0c0b1e3fab14 (bug 1645695) for regressing Bug 1687979. a=backout

This commit is contained in:
Dorel Luca 2021-01-22 12:05:02 +02:00
parent d5e98892f9
commit dea3f6541e

View File

@ -1777,8 +1777,7 @@ void nsWindow::NativeMoveResizeWaylandPopup(GdkPoint* aPosition,
}
#endif
if (isWidgetVisible &&
!g_signal_handler_find(
if (!g_signal_handler_find(
gdkWindow, G_SIGNAL_MATCH_FUNC, 0, 0, nullptr,
FuncToGpointer(NativeMoveResizeWaylandPopupCallback), this)) {
g_signal_connect(gdkWindow, "moved-to-rect",