Fmstrat / wintile

Windows 10 window tiling for GNOME
GNU General Public License v3.0
424 stars 54 forks source link

Cannot move window between 2nd and 3rd monitors #169

Closed Fmstrat closed 11 months ago

Fmstrat commented 11 months ago
GrylledCheez commented 11 months ago

monitor2 x:0, w:2560 monitor0 x:2560, w:2560 monitor1 x:5168, w:2560

How is your monitor1 gapped 48px away to the right of the monitor0?

GrylledCheez commented 11 months ago

Lines 326-330 are the issue

if (testMonitor.x + testMonitor.width === curMonitor.x)
    monitorToLeft = i;

if (curMonitor.x + curMonitor.width === testMonitor.x)
    monitorToRight = i;

They assume that monitors are directly adjacent. My fault.

GrylledCheez commented 11 months ago

@Fmstrat, see if that works for you

Fmstrat commented 11 months ago

monitor2 x:0, w:2560 monitor0 x:2560, w:2560 monitor1 x:5168, w:2560

How is your monitor1 gapped 48px away to the right of the monitor0?

Running Dash-to-Panel and have the panel vertical along the left side of the third monitor ;)

GrylledCheez commented 11 months ago

You can package it up and send it off if you'd like.