mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-14 05:26:28 +00:00
[GTKUI] Use get_window for GdkWindow instead of attribute
This commit is contained in:
parent
b8135617ae
commit
674610ef7d
@ -321,7 +321,7 @@ class MainWindow(component.Component):
|
||||
"""
|
||||
if wnck:
|
||||
self.screen.force_update()
|
||||
win = wnck.window_get(self.window.window.xid)
|
||||
win = wnck.window_get(self.window.get_window().xid)
|
||||
if win:
|
||||
active_wksp = win.get_screen().get_active_workspace()
|
||||
if active_wksp:
|
||||
|
Loading…
x
Reference in New Issue
Block a user