vcl/unx/gtk3/gtk3gtkinst.cxx | 6 ------ 1 file changed, 6 deletions(-)
New commits: commit b8a34192ddf561561116358fcf198388e4b601c2 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Wed Aug 19 11:35:17 2020 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Wed Aug 19 16:47:26 2020 +0200 don't assert on dumping screenshot under X e.g. on sceenshot to dbaccess/ui/savemodifieddialog/de/SaveModifiedDialog.png looking at the output its better to include the csd offset under X too Change-Id: If9e1f8d6350a7931461804c459d0d4a88a01b523 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100983 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx index a1f57e0e14dd..e743a6b8556e 100644 --- a/vcl/unx/gtk3/gtk3gtkinst.cxx +++ b/vcl/unx/gtk3/gtk3gtkinst.cxx @@ -4130,12 +4130,6 @@ public: Point aOffset = get_csd_offset(GTK_WIDGET(m_pWindow)); -#if defined(GDK_WINDOWING_X11) - GdkDisplay *pDisplay = gtk_widget_get_display(GTK_WIDGET(m_pWindow)); - if (DLSYM_GDK_IS_X11_DISPLAY(pDisplay)) - assert(aOffset.X() == 0 && aOffset.Y() == 0 && "expected offset of 0 under X"); -#endif - cairo_translate(cr, -aOffset.X(), -aOffset.Y()); gtk_widget_draw(GTK_WIDGET(m_pWindow), cr); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits