Bug#639328: pdfscreenshot_event_filter() may cause BadWindow X-Protocol errors.

2011-08-26 Thread Joachim Breitner
Hello Petr, Am Freitag, den 26.08.2011, 02:07 +0200 schrieb Petr Gajdůšek: Package: gtk-vector-screenshot Version: 0.3-1 Severity: important Tags: patch Everytime I open UI (glade) file in anjuta and start dragging a signal from any widget properties panel to the source code, in order to

Bug#639328: pdfscreenshot_event_filter() may cause BadWindow X-Protocol errors.

2011-08-26 Thread Petr Gajdůšek
Here is the corrected patch if you haven't corrected it self. -- Petr Gajdůšek From 4b85d22b1a650531afd6d6c90d95885a6674f2f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Gajd=C5=AF=C5=A1ek?= gajdusek.p...@centrum.cz Date: Fri, 26 Aug 2011 01:34:37 +0200 Subject: [PATCH] Install error handler

Bug#639328: pdfscreenshot_event_filter() may cause BadWindow X-Protocol errors.

2011-08-26 Thread Petr Gajdůšek
Dne 27.8.2011 00:33, Petr Gajdůšek napsal(a): Here is the corrected patch if you haven't corrected it self. I guess another solution will be in pdfscreenshot_event_filter() to check if DestroyNotify is already in the queue and do not set the property, if it is. Something like if (ev-type ==