Skip to content

Commit

Permalink
Properly terminate script if current window is Xfdesktop
Browse files Browse the repository at this point in the history
  • Loading branch information
wmwnuk committed Jan 25, 2023
1 parent 2dba80c commit b8a8b74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion move-to-next-monitor
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ window_id=$(xdotool getactivewindow)

# Do not move the desktop window!!!
if [ "$(xdotool getwindowclassname "$window_id")" == 'xfdesktop' ]; then
return 0
exit
fi

# Remember if it was maximized.
Expand Down

0 comments on commit b8a8b74

Please sign in to comment.