Xubuntu/xfce stack tabs on panel

Solution 1:

Right-Click on your panel and select Panel > Panel Preferences.

Click on the Items tab and select Windows Buttons.

enter image description here

Click on the Gear on the right for Edit the currently selected item (my icon pack shows it as an eye ball). Change Window Grouping to Always.

enter image description here

Hope this helps!