Filter client messages on message type with Gtk+ 3

This commit is contained in:
Pierre Pronchery 2016-01-13 00:30:32 +01:00
parent 73c3758b21
commit 846e3ef95d

View File

@ -230,6 +230,8 @@ static GdkFilterReturn _desktop_message_on_callback(GdkXEvent * xevent,
fprintf(stderr, "DEBUG: %s(%lu %lu %p)\n", __func__, xcme->serial,
xcme->window, (void *)mc);
# endif
if(mc->atom != xcme->message_type)
return GDK_FILTER_CONTINUE;
#else
# ifdef DEBUG
fprintf(stderr, "DEBUG: %s(%lu %lu %p) %lu\n", __func__, xcme->serial,