+#ob.ebind(ob.EventAction.PlaceWindow, windowplacement.random)
+ob.ebind(ob.EventAction.PlaceWindow, historyplacement.place)
+# don't place terminals by history placement (xterm,aterm,rxvt)
+def histplace(data):
+ if data.client.appClass() == "XTerm": return 0
+ return 1
+historyplacement.confirm_callback = histplace
+