desktop = ob.openbox.screen(data.screen).desktop()
if client and ((client.desktop() == desktop or
client.desktop() == 0xffffffff) and \
desktop = ob.openbox.screen(data.screen).desktop()
if client and ((client.desktop() == desktop or
client.desktop() == 0xffffffff) and \