jbuchermn / newm

Wayland compositor
MIT License
958 stars 31 forks source link

Newm becomes weird when 2nd display is placed at y= 1080 #182

Open klownie opened 1 year ago

klownie commented 1 year ago

Weirdest glitch i have ever seen in newm. Beasically, i got a display adapter to connect a 3rd screen to my laptop. I configured my display this way :

outputs = [
    {
        "name": "eDP-1",
        "scale": 1.0,
        "width": 1920,
        "height": 1080,
        # "mHz": 0,
        "pos_x": 1920,
        "pos_y": 1080,
    },  # 2560/1600 },
    {
        "name": "HDMI-A-1",
        "scale": 1.0,
        "pos_x": 0,
        "pos_y": 1080,
    },
    {
        "name": "DP-1",
        "scale": 1.0,
        "pos_x": 0,
        "pos_y": 0,
    }
]

Note the x and y position of the displays are purposefully positive or else xwayland does not work correctly

That's when the weird things started happening :

CRAG666 commented 1 year ago

place check this

outputs = [
{'name': 'eDP-1', 'pos_x': 1830, 'pos_y': 0, 'scale': 0.7},
{'name': 'DP-2', 'pos_x': 0, 'pos_y': 0, 'scale': 0.7},
]
CRAG666 commented 1 year ago

You are misusing the positions of the monitors, just configure the boundaries according to the axis that corresponds @klownie

klownie commented 1 year ago

@CRAG666 I dont understand what you are refering to ?