#!./wafe --f

command a topLevel callback "echo i am widget %w"

applicationShell top2 dec3:0
command b top2 callback "echo i am widget %w"
realize

register xioerr "echo ioerror hello"

setWMProtocols topLevel WM_DELETE_WINDOW
setWMProtocols top2 WM_DELETE_WINDOW

action topLevel override "<Message>WM_PROTOCOLS: exec(echo delete top)"
action top2 override "<Message>WM_PROTOCOLS: exec(echo delete top2)"
