jbuchermn/newm

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

klownie opened this issue · 3 comments

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 :

  • first of all for some reason DP-1 was placed above HDMI-A-1 instead of under like i configured it to.
  • then waybar on both of the display positioned at x = 1080 wont hide when i change view mode.
  • shotman, a wayland screen shot tool has no idea what to do when i screenshot multiple screens at the same time.
  • Finally , the newm-lock-panel the comes on the screen when I lock my computer is visible one HDMI-A-1 and moves down to DP-1 when it need to lock the screen. here is a video of the lock screen problem : https://www.youtube.com/watch?v=bP7qxPIlsJE

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},
]

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

@CRAG666 I dont understand what you are refering to ?