Skip to content

Commit

Permalink
unix: set default display to None
Browse files Browse the repository at this point in the history
  • Loading branch information
ponty committed Dec 2, 2012
1 parent b9d2dc4 commit dcc2838
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pymouse/unix.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@


class PyMouse(PyMouseMeta):
def __init__(self, display=':0'):
def __init__(self, display=None):
PyMouseMeta.__init__(self)
self.display = Display(display)
self.display2 = Display(display)
Expand Down Expand Up @@ -53,7 +53,7 @@ def screen_size(self):
return width, height

class PyMouseEvent(PyMouseEventMeta):
def __init__(self, display=':0'):
def __init__(self, display=None):
PyMouseEventMeta.__init__(self)
self.display = Display(display)
self.display2 = Display(display)
Expand Down

0 comments on commit dcc2838

Please sign in to comment.