Skip to content

Wslg cursor misalignment when double screen and using electron app full screen #40166

@GuillaumeSavin

Description

@GuillaumeSavin

Windows Version

Microsoft Windows [version 10.0.26200.8117]

WSL Version

2.6.3.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

6.6.87.2-1

Distro Version

Ubuntu 24.04.4 LTS

Other Software

Wslg version 1.0.71
Codium version 1.112.01907 hash e2b23bbd5646cc28aaa6f26ee53b257c290b6be1 platform x64

Repro Steps

Connect two monitor to windows put resolution 1920x1080 and scaling 100% for both

Launch a wsl terminal

Install codium from apt repo using this instruction: https://vscodium.com/#install-on-debian-ubuntu-deb-package

export this env variable to disable unnecessary prompt DONT_PROMPT_WSL_INSTALL=yes

launch codium from same terminal and put it in full screen

You should see now that the position of cursor in screen is not aligned with where wslg think it is

Expected Behavior

The cursor in screen should reflect the position where wslg think the cursor is when using codium or other electron app

Actual Behavior

The cursor is misaligned (for my case wslg think it is a little below and to the right from the position of my cursor showing in screen)

Diagnostic Logs

WslLogs-2026-04-12_14-13-09.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions