In XFCE I have several workspaces. If I am on workspace 2 and an app on workspace 1 has a notification when I click that notification it pulls the app from workspace 1 into workspace 2. What I want is when I click the notification to be taken into workspace 1. This setting fixes that.
Go into XFCE settings > Window Manager Tweaks > Focus tab and pick "Switch to window's workspace"