Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Xlib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
# Suite 330,
# Boston, MA 02111-1307 USA

from . import XK, X, Xatom, Xcursorfont, Xutil, display, error, rdb

__version__ = (0, 33)

__version_extra__ = ''
Expand Down
4 changes: 3 additions & 1 deletion Xlib/display.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
from six import create_unbound_method

# Xlib modules
from . import error
from . import ext
from . import X

Expand Down Expand Up @@ -949,3 +948,6 @@ def no_operation(self, onerror = None):
"""Do nothing but send a request to the server."""
request.NoOperation(display = self.display,
onerror = onerror)

# Late import because of circular dependency
from . import error
7 changes: 6 additions & 1 deletion Xlib/ext/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
# extname is the name of the extension according to the X
# protocol. extmod is the name of the module in this package.

from . import (composite, damage, dpms, ge, nvcontrol, randr, record, res, screensaver, security, shape, xfixes,
xinerama, xinput, xtest)

__extensions__ = [
# We load this first so other extensions can register generic event data
# structures.
Expand All @@ -43,4 +46,6 @@
('MIT-SCREEN-SAVER', 'screensaver'),
]

__all__ = map(lambda x: x[1], __extensions__)

__all__ = ['ge', 'xtest', 'shape', 'xinerama', 'record', 'composite', 'randr',
'xfixes', 'security', 'xinput', 'nvcontrol', 'damage', 'dpms', 'res', 'screensaver']
3 changes: 3 additions & 0 deletions Xlib/keysymdef/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
# Suite 330,
# Boston, MA 02111-1307 USA

from . import (apl, arabic, cyrillic, greek, hebrew, katakana, korean, latin1, latin2, latin3, latin4, miscellany,
publishing, special, technical, thai, xf86, xk3270, xkb)

__all__ = [
'apl',
'arabic',
Expand Down
2 changes: 2 additions & 0 deletions Xlib/protocol/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
# Suite 330,
# Boston, MA 02111-1307 USA

from . import display, event, request, rq, structs

__all__ = [
'display',
'event',
Expand Down
2 changes: 2 additions & 0 deletions Xlib/support/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
# Suite 330,
# Boston, MA 02111-1307 USA

from . import connect, lock

__all__ = [
'lock',
'connect'
Expand Down
2 changes: 2 additions & 0 deletions Xlib/xobject/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
# Suite 330,
# Boston, MA 02111-1307 USA

from . import colormap, cursor, drawable, fontable, icccm, resource

__all__ = [
'colormap',
'cursor',
Expand Down