'Makes this window a static window, attached to a Screen
If any of the arguments are left unspecified, the values given by the
window itself are used instead. So, for a window that\'s aware of its
appropriate size and location (like dzen), you don\'t have to specify
anything.'

def static(self, screen, x=None, y=None, width=None, height=None):

    self.defunct = True
    screen = self.qtile.screens[screen]
    if self.group:
        self.group.remove(self)
    s = Static(self.window, self.qtile, screen, x, y, width, height)
    self.qtile.windowMap[self.window.wid] = s
    hook.fire('client_managed', s)
    return s
