1#! /bin/sh
2
3wid=$1
4class=$2
5instance=$3
6consequences=$4
7
8if [ "$instance" = fontforge ] ; then
9	title=$(xtitle "$wid")
10	case "$title" in
11		Layers|Tools|Warning)
12			echo "focus=off"
13			;;
14	esac
15fi
16
17case "$class" in
18	Lutris|Liferea)
19		eval "$consequences"
20		[ "$state" ] || echo "state=pseudo_tiled"
21		;;
22esac
23