Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def reserve_space(xid, place):
- d = display.Display()
- root = d.screen().root
- w = d.create_resource_object("window", xid)
- atom = d.intern_atom("_NET_WM_STRUT_PARTIAL")
- w.change_property(atom, Xatom.STRING, 32, place, X.PropModeAppend)
- utils.reserve_space(xid, [0, 60, 0, 0, 0, 0, 0, 767, 0, 0, 0, 0])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement