if POPUP_CENTERED:
scsize = ob.openbox.screen(_screen).size()
x = (scsize.width() - size.width()) / 2
y = (scsize.height() - size.height()) / 2
else:
x = y = 0
if POPUP_CENTERED:
scsize = ob.openbox.screen(_screen).size()
x = (scsize.width() - size.width()) / 2
y = (scsize.height() - size.height()) / 2
else:
x = y = 0