rshk / python-libxdo

Python bindings for libxdo
BSD 3-Clause "New" or "Revised" License
76 stars 19 forks source link

xdo.get_window_size don't change when window is minimized #32

Closed yukifolf closed 1 year ago

yukifolf commented 1 year ago

When I want to check if window is minimized output don't change even when I added xdo.get_window_location isn't changing anything

this is output while window is maximized 52428801 window_size(width=10, height=10) window_location(x=10, y=10, screen=<xdo.xdo.Screen object at 0x7f64b612d6c0>) 52428862 window_size(width=1848, height=1053) window_location(x=72, y=27, screen=<xdo.xdo.Screen object at 0x7f64b612da40>) 52428888 window_size(width=100, height=100) window_location(x=0, y=0, screen=<xdo.xdo.Screen object at 0x7f64b612dac0>)

and this is while window is minimized 52428862 window_size(width=1848, height=1053) window_location(x=72, y=27, screen=<xdo.xdo.Screen object at 0x7fb890b7f6c0>) 52428801 window_size(width=10, height=10) window_location(x=10, y=10, screen=<xdo.xdo.Screen object at 0x7fb890b7fa40>) 52428888 window_size(width=100, height=100) window_location(x=0, y=0, screen=<xdo.xdo.Screen object at 0x7fb890b7fac0>) 52428969 window_size(width=200, height=200) window_location(x=0, y=0, screen=<xdo.xdo.Screen object at 0x7fb890b7fb40>)