Advertisement
VlAleVas

Untitled

Nov 19th, 2012
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.32 KB | None | 0 0
  1. def reserve_space(xid, place):
  2.     d = display.Display()
  3.     root = d.screen().root
  4.     w = d.create_resource_object("window", xid)
  5.     atom = d.intern_atom("_NET_WM_STRUT_PARTIAL")
  6.     w.change_property(atom, Xatom.STRING, 32, place, X.PropModeAppend)
  7.  
  8. 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