Index: src_plugins/lib_gtk_common/wt_layersel.c =================================================================== --- src_plugins/lib_gtk_common/wt_layersel.c (revision 8723) +++ src_plugins/lib_gtk_common/wt_layersel.c (revision 8724) @@ -248,6 +248,9 @@ pcb_gtk_layersel_t *ls = lsl->lsg->ls; int n, is_on, normal = 1; + if (event->type != GDK_BUTTON_PRESS) /* ignore excess events on double or triple buttons */ + return; + ls->running = 1; switch(event->button.button) { case 1: