SHARE
TWEET

Untitled

VlAleVas Nov 19th, 2012 29 Never
  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])
RAW Paste Data
Top