mirror of
https://github.com/ralsina/xrandroll.git
synced 2024-11-21 10:32:23 +00:00
Fix values for Y snap points
This commit is contained in:
parent
05bf2b963e
commit
0fef2428b4
1
TODO.md
1
TODO.md
@ -1,3 +1,4 @@
|
||||
* Parse refresh rate for modes and use it [DONE]
|
||||
* Test using older xrandr
|
||||
* Fix snapping (only works for one of the monitors?)
|
||||
* Normalize positions so they always start from 0:0
|
||||
|
@ -253,8 +253,9 @@ class Window(QObject):
|
||||
mod_x, mod_y = mode.res_x, mode.res_y
|
||||
snaps_x.append(monitor.pos_x)
|
||||
snaps_x.append(monitor.pos_x + mod_x)
|
||||
snaps_y.append(monitor.pos_x)
|
||||
snaps_y.append(monitor.pos_x + mod_y)
|
||||
snaps_y.append(monitor.pos_y)
|
||||
snaps_y.append(monitor.pos_y + mod_y)
|
||||
print(snaps_x, snaps_y)
|
||||
return snaps_x, snaps_y
|
||||
|
||||
def adjust_view(self):
|
||||
|
Loading…
Reference in New Issue
Block a user