Skip to content

Removed unused imports #239

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Dec 25, 2022
Merged
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
1 change: 0 additions & 1 deletion Xlib/ext/composite.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
graphics.
"""

from Xlib import X
from Xlib.protocol import rq
from Xlib.xobject import drawable

Expand Down
1 change: 0 additions & 1 deletion Xlib/ext/damage.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@

from Xlib import X
from Xlib.protocol import rq, structs
from Xlib.xobject import resource
from Xlib.error import XError

extname = 'DAMAGE'
Expand Down
1 change: 0 additions & 1 deletion Xlib/ext/dpms.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
Documentation: https://www.x.org/releases/X11R7.7/doc/xextproto/dpms.html
'''

from Xlib import X
from Xlib.protocol import rq

extname = 'DPMS'
Expand Down
3 changes: 1 addition & 2 deletions Xlib/ext/randr.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,8 @@
"""


from tkinter import W
from Xlib import X
from Xlib.protocol import rq, structs
from Xlib.protocol import rq

extname = 'RANDR'

Expand Down
1 change: 0 additions & 1 deletion Xlib/ext/record.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
# Suite 330,
# Boston, MA 02111-1307 USA

from Xlib import X
from Xlib.protocol import rq

extname = 'RECORD'
Expand Down
3 changes: 1 addition & 2 deletions Xlib/ext/xfixes.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
ShowCursor requests and SelectionNotify events are provided.
'''

from Xlib import X
from Xlib.protocol import rq, structs
from Xlib.protocol import rq

extname = 'XFIXES'

Expand Down
1 change: 0 additions & 1 deletion Xlib/ext/xinerama.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
returns the state information - because that's what libXinerama does."""


from Xlib import X
from Xlib.protocol import rq, structs

extname = 'XINERAMA'
Expand Down
1 change: 0 additions & 1 deletion Xlib/protocol/rq.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
import traceback
import struct
from array import array
import types

# Python 2/3 compatibility.
from six import PY3, binary_type, byte2int, indexbytes, iterbytes
Expand Down
2 changes: 1 addition & 1 deletion Xlib/xobject/drawable.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# Suite 330,
# Boston, MA 02111-1307 USA

from Xlib import X, Xatom, Xutil
from Xlib import X, Xatom
from Xlib.protocol import request, rq

# Other X resource objects
Expand Down