Skip to content

Commit 15be5cd

Browse files
authored
Fixed an error in set_wm_transient_for
Otherwise it failed: File "/usr/local/lib/python3.5/dist-packages/Xlib/protocol/rq.py", line 688, in pack_value data = array(array_unsigned_codes[size], val).tostring() TypeError: 'int' object is not iterable
1 parent bb4e3a6 commit 15be5cd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Xlib/xobject/drawable.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,7 @@ def get_wm_class(self):
692692

693693
def set_wm_transient_for(self, window, onerror = None):
694694
self.change_property(Xatom.WM_TRANSIENT_FOR, Xatom.WINDOW,
695-
32, window.id,
695+
32, [window.id],
696696
onerror = onerror)
697697

698698
def get_wm_transient_for(self):

0 commit comments

Comments
 (0)