Package: sway
Version: 1.5-7
Severity: important
X-Debbugs-Cc: debbug.s...@sideload.33mail.com

Laptop has a larger external display positioned to the right of the
laptop and raised a bit, like this:

                 +---------------------+
                 |                     |
                 |                     |
  +-----------+  |                     |
  |           |  | external display    |
  |  laptop   |  |                     |
  |           |  +---------------------+
  +-----------+

The configuration requires using a negative coordinate so the pointer
arrow can move seamlessly between the displays.

~/.config/sway/config:

===8<------------------------------
output LVDS-1 pos 0 0
output VGA-1 pos 1280 -275
===8<------------------------------

The top area on the external display is non-responsive to clicks. This
is likely the whole area where the Y coordinate is negative.

This is perhaps slightly related to this issue:

  https://github.com/swaywm/sway/issues/7528

But in my case, the output is fine. It’s just the mouse clicking that
is clipped. The mouse can move the pointer around in dead area fine--
it’s apparently just clicking that is not possible. Keyboard input is
also fine in that region. If a text editor is open with the cursor is
low on the screen and the dead region is clicked, the cursor moves to
the first line below the dead region. Clicking on a scrollbar in the
dead area causes the top of the scrollbar to jump to the top of the
non-dead region, but never higher. So clicking is not entirely ignored
but rather treated as if clicked on the zero Y coordinate screen.

===8<------------------------------
$ swaymsg -t get_version
sway version v1.5

$ swaymsg -t get_outputs
Output LVDS-1 'Lenovo…'
  Current mode: 1280x800 @ 60.001999 Hz
  Position: 0,0
  Scale factor: 1.000000
  Scale filter: nearest
  Subpixel hinting: rgb
  Transform: normal
  Workspace: 1
  Max render time: off
  Adaptive sync: disabled
  Available modes:
    1280x800 @ 50.002998 Hz
    1280x800 @ 60.001999 Hz

Output VGA-1 'Dell Inc.…'
  Current mode: 1920x1080 @ 60.000000 Hz
  Position: 1280,-275
  Scale factor: 1.000000
  Scale filter: nearest
  Subpixel hinting: unknown
  Transform: normal
  Workspace: 2
  Max render time: off
  Adaptive sync: disabled
  Available modes:
    720x400 @ 70.082001 Hz
    640x480 @ 59.939999 Hz
    640x480 @ 75.000000 Hz
    800x600 @ 60.317001 Hz
    800x600 @ 75.000000 Hz
    1024x768 @ 60.004002 Hz
    1024x768 @ 75.028999 Hz
    1152x864 @ 75.000000 Hz
    1280x1024 @ 60.020000 Hz
    1280x1024 @ 75.025002 Hz
    1920x1080 @ 60.000000 Hz
===8<------------------------------

-- System Information:
Debian Release: 11.5
  APT prefers stable-updates
  APT policy: (990, 'stable-updates'), (990, 'stable-security'), (990, 
'testing'), (990, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-19-amd64 (SMP w/2 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages sway depends on:
ii  libc6                2.31-13+deb11u5
ii  libcairo2            1.16.0-5
ii  libevdev2            1.11.0+dfsg-1
ii  libgdk-pixbuf2.0-0   2.40.2-2
ii  libgl1-mesa-dri      20.3.5-1
ii  libgles2             1.3.2-1
ii  libglib2.0-0         2.66.8-1
ii  libinput10           1.16.4-3
ii  libjson-c5           0.15-2
ii  libpango-1.0-0       1.46.2-3
ii  libpangocairo-1.0-0  1.46.2-3
ii  libpcre3             2:8.39-13
ii  libpixman-1-0        0.40.0-1.1~deb11u1
ii  libsystemd0          247.3-7+deb11u1
ii  libwayland-client0   1.18.0-2~exp1.1
ii  libwayland-cursor0   1.18.0-2~exp1.1
ii  libwayland-server0   1.18.0-2~exp1.1
ii  libwlroots6          0.11.0-3
ii  libxcb1              1.14-3
ii  libxkbcommon0        1.0.3-2
ii  policykit-1          0.105-31+deb11u1
ii  swaybg               1.0-2

Versions of packages sway recommends:
ii  foot              1.6.4-1
ii  suckless-tools    46-1
ii  sway-backgrounds  1.5-7

Versions of packages sway suggests:
pn  swayidle                <none>
pn  swaylock                <none>
pn  xdg-desktop-portal-wlr  <none>

-- no debconf information

Reply via email to