Index: xfce4-settings-helper/pointers.c =================================================================== --- xfce4-settings-helper/pointers.c (revision 29637) +++ xfce4-settings-helper/pointers.c (working copy) @@ -287,6 +287,11 @@ xfce_pointers_helper_change_button_mapping_swap (buttonmap, num_buttons, 4, 5, !reverse_scrolling); } + g_print ("Device \"%s\" button map:", device_info->name); + for (n = 0; n < num_buttons && n < 10; n++) + g_print (" %d", buttonmap[n]); + g_print ("\n"); + /* set the new button mapping */ XSetDeviceButtonMapping (xdisplay, device, buttonmap, num_buttons);