handle xpm buttons with imlib2