wslg
wslg copied to clipboard
Focus lost on Alt+Tab for some applications
Windows build number:
22621
Your Distribution version:
NixOS 94e02f5bd2cd07e89539fa03ca62e56263ac2e40
Your WSL versions:
WSL version: 1.0.3.0 Kernel version: 5.15.79.1 WSLg version: 1.0.47 MSRDC version: 1.2.3575 Direct3D version: 1.606.4 DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp Windows version: 10.0.22621.1105
Steps to reproduce:
- start kitty
$ nix run nixpkgs#kitty
- Alt+Tab to another window
- Alt+Tab back to the kitty window
Focus has been lost, I have to click on the window.
Note that
- this does not happen with other apps (e.g. gedit)
- this does not happen when not using WSLg (e.g. using vcxsrv)
WSL logs:
weston.log
Date: 2023-01-19 CET
[09:31:03.908] weston 9.0.0
https://wayland.freedesktop.org
Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
Build: 9.0.0-177-ge7e91e17
[09:31:03.909] Command line: /usr/bin/weston --backend=rdp-backend.so --modules=wslgd-notify.so --xwayland --log=/mnt/wslg/weston.log --socket=wayland-0 --shell=rdprail-shell.so --logger-scopes=log,rdp-backend,rdprail-shell
[09:31:03.909] OS: Linux, 5.15.79.1-microsoft-standard-WSL2, #1 SMP Wed Nov 23 01:01:46 UTC 2022, x86_64
[09:31:03.909] Using config file '/home/wslg/.config/weston.ini'
[09:31:03.911] Output repaint window is 7 ms maximum.
[09:31:03.911] Loading module '/usr/lib/libweston-9/rdp-backend.so'
[09:31:03.921] using FreeRDP version 2.4.0
Date: 2023-01-19 CET
[09:31:03.921] RDP backend: WESTON_RDP_DEBUG_LEVEL: 3
[09:31:03.921] RDP backend: rdp_monitor_refresh_rate: 60000
[09:31:03.921] RDP backend: timer resolution tv_sec:0 tv_nsec:1
[09:31:03.921] RDP backend: Environment dump - start
[09:31:03.921] WSL2_DEFAULT_APP_ICON=/usr/share/icons/wsl/linux.png
[09:31:03.921] SHELL=/bin/bash
[09:31:03.921] WESTON_RDP_HI_DPI_SCALING=true
[09:31:03.921] WSL2_GUI_APPS_ENABLED=1
[09:31:03.921] WSL_DISTRO_NAME=
[09:31:03.921] WSL2_VM_ID=A6DF6403-3467-4C9A-A615-761EE2D1BF4A
[09:31:03.921] XCURSOR_PATH=/mnt/wslg/distro/usr/share/icons:/usr/share/icons
[09:31:03.921] XCURSOR_SIZE=16
[09:31:03.921] WLOG_APPENDER=file
[09:31:03.921] NAME=kaguya
[09:31:03.921] PWD=/home/wslg
[09:31:03.921] LOGNAME=wslg
[09:31:03.921] WSL_FEATURE_FLAGS=8d
[09:31:03.921] WSL2_USER_PROFILE=C:\Users\aceus
[09:31:03.921] WSL2_DISTRO_NAME=NixOS
[09:31:03.921] _=/usr/bin/weston
[09:31:03.921] PULSE_AUDIO_RDP_SINK=/mnt/wslg/PulseAudioRDPSink
[09:31:03.921] HOME=/home/wslg
[09:31:03.921] WESTON_RDP_DEBUG_DESKTOP_SCALING_FACTOR=200
[09:31:03.921] WAYLAND_DISPLAY=wayland-0
[09:31:03.921] USE_VSOCK=3
[09:31:03.921] WSL2_EXECUTION_ALIAS_PATH=C:\Users\aceus\AppData\Local\Microsoft\WindowsApps\MicrosoftCorporationII.WindowsSubsystemForLinux_8wekyb3d8bbwe
[09:31:03.921] WSL2_DEFAULT_APP_OVERLAY_ICON=/usr/share/icons/wsl/linux.png
[09:31:03.921] USER=wslg
[09:31:03.921] DISPLAY=:0
[09:31:03.921] SHLVL=0
[09:31:03.921] WSLGD_NOTIFY_SOCKET=/mnt/wslg/weston-notify.sock
[09:31:03.921] WLOG_FILEAPPENDER_OUTPUT_FILE_PATH=/mnt/wslg
[09:31:03.921] XDG_RUNTIME_DIR=/mnt/wslg/runtime-dir
[09:31:03.921] WSL2_SHARED_MEMORY_OB_DIRECTORY=WSL\A6DF6403-3467-4C9A-A615-761EE2D1BF4A\wslg
[09:31:03.921] WESTON_RDP_FRACTIONAL_HI_DPI_SCALING=true
[09:31:03.921] XCURSOR_THEME=whiteglass
[09:31:03.921] PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
[09:31:03.921] WESTON_DISABLE_ABSTRACT_FD=1
[09:31:03.921] WLOG_FILEAPPENDER_OUTPUT_FILE_NAME=wlog.log
[09:31:03.921] PULSE_AUDIO_RDP_SOURCE=/mnt/wslg/PulseAudioRDPSource
[09:31:03.921] PULSE_SERVER=/mnt/wslg/PulseServer
[09:31:03.921] WSL2_INSTALL_PATH=C:\Program Files\WindowsApps\MicrosoftCorporationII.WindowsSubsystemForLinux_1.0.3.0_x64__8wekyb3d8bbwe
[09:31:03.921] WSL2_SHARED_MEMORY_MOUNT_POINT=/mnt/shared_memory
[09:31:03.921] WESTON_CONFIG_FILE=/home/wslg/.config/weston.ini
[09:31:03.921] RDP backend: Environment dump - end
[09:31:03.921] RDP backend: FreeRDP version: 2.4.0
[09:31:03.921] Using external fd for incoming connections: 3
[09:31:03.921] Default head is being added
[09:31:03.921] Registered plugin API 'weston_rdprail_api_v1' of size 64
[09:31:03.921] RDPAPPLIST_MODULEDIR is set to /usr/lib/rdpapplist
[09:31:03.922] RDP backend: use_rdpapplist = 1
[09:31:03.926] RDP backend: use_gfxredir = 1
[09:31:03.926] RDP backend: enable_hi_dpi_support = 1
[09:31:03.926] RDP backend: enable_fractional_hi_dpi_support = 1
[09:31:03.926] RDP backend: enable_fractional_hi_dpi_roundup = 0
[09:31:03.926] RDP backend: debug_desktop_scaling_factor = 200
[09:31:03.926] RDP backend: enable_window_zorder_sync = 1
[09:31:03.926] RDP backend: enable_window_snap_arrange = 0
[09:31:03.926] RDP backend: enable_window_shadow_remoting = 1
[09:31:03.926] RDP backend: enable_display_power_by_screenupdate = 0
[09:31:03.926] RDP backend: enable_distro_name_title = 1
[09:31:03.926] RDP backend: enable_copy_warning_title = 1
[09:31:03.926] Using VSOCK for incoming connections: 3
[09:31:03.928] Registered plugin API 'weston_rdp_output_api_v1' of size 16
[09:31:03.928] Head attaching: rdp-0, index:0, is_primary: 1
[09:31:03.928] Client desktop upper left coordinate (0,0)
[09:31:03.928] disp_monitor_validate_and_compute_layout:---OUTPUT---
[09:31:03.928] rdpMonitor[0]: x:0, y:0, width:0, height:0, is_primary:1
[09:31:03.928] rdpMonitor[0]: weston x:0, y:0, width:0, height:0
[09:31:03.928] rdpMonitor[0]: physicalWidth:0, physicalHeight:0, orientation:0
[09:31:03.928] rdpMonitor[0]: desktopScaleFactor:0, deviceScaleFactor:0
[09:31:03.928] rdpMonitor[0]: scale:1, clientScale:1.00
[09:31:03.928] Head mode change:rdp-0 NEW width:0, height:0, scale:1, clientScale:1.000000
[09:31:03.928] move head/output rdp-0 (0,0) -> (0,0)
[09:31:03.928] client origin (0,0) is (0,0) in Weston space
[09:31:03.928] Output 'rdp-0' enabled with head(s) rdp-0
[09:31:03.928] Compositor capabilities:
arbitrary surface rotation: yes
screen capture uses y-flip: no
presentation clock: CLOCK_MONOTONIC_RAW, id 4
presentation clock resolution: 0.000000001 s
[09:31:03.929] Loading module '/usr/lib/weston/rdprail-shell.so'
[09:31:03.930] RDPRAIL-shell: WESTON_RDPRAIL_SHELL_DEBUG_LEVEL: 3.
Date: 2023-01-19 CET
[09:31:03.930] RDPRAIL-shell: allow-zap:0
[09:31:03.930] RDPRAIL-shell: binding-modifier:none
[09:31:03.930] RDPRAIL-shell: local-move:0
[09:31:03.930] RDPRAIL-shell: distro name:NixOS (len:5)
[09:31:03.932] RDPRAIL-shell: WSL2_DEFAULT_APP_ICON:/usr/share/icons/wsl/linux.png (loaded:yes)
[09:31:03.932] RDPRAIL-shell: WSL2_DEFAULT_APP_OVERLAY_ICON:/usr/share/icons/wsl/linux.png (loaded:yes)
[09:31:03.932] RDPRAIL-shell: WESTON_RDPRAIL_SHELL_APPEND_DISTRONAME_STARTMEN:1
[09:31:03.932] RDPRAIL-shell: WESTON_RDPRAIL_SHELL_BLEND_OVERLAY_ICON_APPLIST:1
[09:31:03.932] RDPRAIL-shell: WESTON_RDPRAIL_SHELL_BLEND_OVERLAY_ICON_TASKBAR:1
[09:31:03.932] RDPRAIL-shell: WESTON_RDPRAIL_SHELL_USE_WSLPATH:0
[09:31:03.932] rdp_rail_shell_initialize_notify: shell: distro name: NixOS
[09:31:03.933] app_list_monitor_thread: running in system-distro with user-distro: NixOS
[09:31:03.933] app_list_monitor_thread: open(/proc/self/ns/mnt)
[09:31:03.933] app_list_monitor_thread: open(/proc/2/ns/mnt)
[09:31:03.934] Loading module '/usr/lib/libweston-9/xwayland.so'
[09:31:03.936] app_list_monitor_thread: inotify_add_watch(/usr/share/applications)
[09:31:03.937] Registered plugin API 'weston_xwayland_v1' of size 32
[09:31:03.939] Registered plugin API 'weston_xwayland_surface_v1' of size 48
[09:31:03.939] Not using abstract fd for Xwayland
[09:31:03.939] xserver listening on display :0
[09:31:03.940] Loading module '/usr/lib/weston/wslgd-notify.so'
[09:31:03.940] ../compositor/wslgd-notify.c: socket connected
[09:31:03.940] launching '/usr/libexec/weston-rdprail-shell'
[09:31:03.940] app_list_monitor_thread: /usr/local/share/applications doesn't exist, skipping.
[09:31:03.941] app_list_monitor_thread: /var/lib/snapd/desktop/applications doesn't exist, skipping.
[09:31:03.941] app list folder[0]: /usr/share/applications
[09:31:03.961] find_icon_file: icon (nix-snowflake) search retry:(1) global:(1)
[09:31:03.961] desktop file: /usr/share/applications/nixos-manual.desktop
[09:31:03.961] Name[en_US]:NixOS Manual (NixOS)
[09:31:03.961] Exec:nixos-help
[09:31:03.961] TryExec:(null)
[09:31:03.961] WorkingDir:(null)
[09:31:03.961] Icon name:nix-snowflake
[09:31:03.961] Icon file:(null)
[09:31:03.961] Icon image:(nil)
[09:31:03.961] app list entry updated: Key:nixos-manual, Name:NixOS Manual (NixOS)
[09:31:03.961] app list folder[1]: /usr/local/share/applications
[09:31:03.961] app list folder[2]: /var/lib/snapd/desktop/applications
[09:31:03.972] CreateWndow(): rdp_peer is not initalized
[09:31:04.009] Spawned Xwayland server, pid 23
[09:31:04.767] Client: ClientStatus:0x3f5
[09:31:04.767] - TS_RAIL_CLIENTSTATUS_ALLOWLOCALMOVESIZE
[09:31:04.767] - TS_RAIL_CLIENTSTATUS_ZORDER_SYNC
[09:31:04.767] - TS_RAIL_CLIENTSTATUS_WINDOW_RESIZE_MARGIN_SUPPORTED
[09:31:04.767] - TS_RAIL_CLIENTSTATUS_HIGH_DPI_ICONS_SUPPORTED
[09:31:04.767] - TS_RAIL_CLIENTSTATUS_APPBAR_REMOTING_SUPPORTED
[09:31:04.767] - TS_RAIL_CLIENTSTATUS_POWER_DISPLAY_REQUEST_SUPPORTED
[09:31:04.767] - TS_RAIL_CLIENTSTATUS_GET_APPID_RESPONSE_EX_SUPPORTED
[09:31:04.767] - TS_RAIL_CLIENTSTATUS_BIDIRECTIONAL_CLOAK_SUPPORTED
[09:31:04.767] Client HandShake buildNumber:22621
[09:31:04.778] Server AppList caps version:3
[09:31:04.799] Client: gfxredir_caps: length:28
[09:31:04.799] Client: GrfxCaps count:0xa
[09:31:04.799] Client: gfxredir_caps[0]: signature:0x53504143
[09:31:04.799] Client: GrfxCaps[0] version:0x80004 length:4 flags:0x0
[09:31:04.799] Version : RDPGFX_CAPVERSION_8
[09:31:04.799] Client: GrfxCaps[1] version:0x80105 length:4 flags:0x0
[09:31:04.799] Version : RDPGFX_CAPVERSION_81
[09:31:04.799] Client: GrfxCaps[2] version:0xa0002 length:4 flags:0x0
[09:31:04.799] Version : RDPGFX_CAPVERSION_10
[09:31:04.799] Client: GrfxCaps[3] version:0xa0200 length:4 flags:0x0
[09:31:04.799] Client: gfxredir_caps[0]: version:0x1
[09:31:04.799] Version : RDPGFX_CAPVERSION_102
[09:31:04.799] Client: gfxredir_caps[0]: length:12
[09:31:04.799] Client: gfxredir_caps[1]: signature:0x53504143
[09:31:04.799] Client: gfxredir_caps[1]: version:0x2000
[09:31:04.799] Client: GrfxCaps[4] version:0xa0301 length:4 flags:0x0
[09:31:04.799] Version : RDPGFX_CAPVERSION_103
[09:31:04.799] Client: GrfxCaps[5] version:0xa0400 length:4 flags:0x0
[09:31:04.799] Version : RDPGFX_CAPVERSION_104
[09:31:04.799] Client: gfxredir_caps[1]: length:16
[09:31:04.799] Client: GrfxCaps[6] version:0xa0502 length:4 flags:0x0
[09:31:04.799] Client: gfxredir_caps[1]: supportedFeatures:0x0
[09:31:04.799] Client: gfxredir selected caps: version:0x2000
[09:31:04.799] Version : RDPGFX_CAPVERSION_105
[09:31:04.799] Client: GrfxCaps[7] version:0xa0600 length:4 flags:0x0
[09:31:04.799] Version : RDPGFX_CAPVERSION_106
[09:31:04.799] Client: GrfxCaps[8] version:0xa0701 length:4 flags:0x0
[09:31:04.799] Version : UNKNOWN(657153)
[09:31:04.799] Client: GrfxCaps[9] version:0xb0101 length:4 flags:0x0
[09:31:04.799] Version : UNKNOWN(721153)
[09:31:04.809] xf_peer_adjust_monitor_layout:
[09:31:04.809] DesktopWidth:3840, DesktopHeight:2160
[09:31:04.809] UseMultimon:0
[09:31:04.809] ForceMultimon:0
[09:31:04.809] MonitorCount:0
[09:31:04.809] HasMonitorAttributes:0
[09:31:04.809] HiDefRemoteApp:1
[09:31:04.809] disp_monitor_sanity_check_layout:---INPUT---
[09:31:04.809] rdpMonitor[0]: x:0, y:0, width:3840, height:2160, is_primary:1
[09:31:04.809] rdpMonitor[0]: physicalWidth:600, physicalHeight:340, orientation:0
[09:31:04.809] rdpMonitor[0]: desktopScaleFactor:150, deviceScaleFactor:140
[09:31:04.809] rdpMonitor[0]: scale:2, client scale :2.00
[09:31:04.809] kbd_layout:0x40c kbd_type:0x4 kbd_subType:0x0 kbd_functionKeys:0xc
[09:31:04.809] convert_rdp_keyboard_to_xkb_rule_names: matching model=pc105 layout=fr variant=(null) options=(null)
[09:31:04.822] Client desktop upper left coordinate (0,0)
[09:31:04.822] disp_monitor_validate_and_compute_layout:---OUTPUT---
[09:31:04.822] rdpMonitor[0]: x:0, y:0, width:3840, height:2160, is_primary:1
[09:31:04.822] rdpMonitor[0]: weston x:0, y:0, width:1920, height:1080
[09:31:04.822] rdpMonitor[0]: physicalWidth:600, physicalHeight:340, orientation:0
[09:31:04.822] rdpMonitor[0]: desktopScaleFactor:150, deviceScaleFactor:140
[09:31:04.822] rdpMonitor[0]: scale:2, clientScale:2.00
[09:31:04.822] Head mode change:rdp-0 NEW width:3840, height:2160, scale:2, clientScale:2.000000
[09:31:04.822] Output 'rdp-0' enabled with head(s) rdp-0
[09:31:04.822] move head/output rdp-0 (0,0) -> (0,0)
[09:31:04.822] client origin (0,0) is (0,0) in Weston space
[09:31:04.822] Client ExecOrder:0x00000008, Program:dummy-entry, WorkingDir:(null), RemoteApplicationArguments:(null)
[09:31:04.822] Client ExecOrder launching dummy-entry
[09:31:04.822] launching 'dummy-entry'
[09:31:04.823] Client: ClientSysparam: filterKeys
[09:31:04.823] compositor: executing 'dummy-entry' failed: No such file or directory
[09:31:04.823] Client: ClientSysparam: toggleKeys:58
[09:31:04.823] Client: ClientSysparam: stickyKeys:506
[09:31:04.823] Client: ClientSysparam: caretWidth:1
[09:31:04.823] Client: ClientSysparam: highContrast
[09:31:04.823] Client: ClientSysparam: taskbarPos:(left:0, top:2088, right:3840, bottom:2160)
[09:31:04.823] Client: ClientSysparam: mouseButtonSwap:0
[09:31:04.823] Client: ClientSysparam: keyboardPref:0
[09:31:04.823] Client: ClientSysparam: dragFullWindows:1
[09:31:04.823] Client: ClientSysparam: keyboardCues:0
[09:31:04.823] Client: ClientSysparam: workArea:(left:0, top:0, right:3840, bottom:2088)
[09:31:04.823] Translated workarea:(0,0)-(1920,1044) at rdp-0:(0,0)-(1920,1080)
[09:31:04.823] Client AppList caps version:3
[09:31:04.823] Client AppList client language id: en_US
[09:31:04.823] Client: ClientSysparam: filterKeys
[09:31:04.823] Client: ClientSysparam: toggleKeys:58
[09:31:04.823] Client: ClientSysparam: stickyKeys:506
[09:31:04.823] app_list_monitor_thread: startRdpNotifyEvent is signalled. 0 - en_US
[09:31:04.823] Client: ClientSysparam: caretWidth:1
[09:31:04.823] rdp_rail_notify_app_list(): rdp_peer 0x55c19c7e2230
[09:31:04.823] inSync: 1
[09:31:04.823] syncStart: 1
[09:31:04.823] syncEnd: 1
[09:31:04.823] newAppId: 1
[09:31:04.823] Client: ClientSysparam: highContrast
[09:31:04.823] Client: ClientSysparam: taskbarPos:(left:0, top:2088, right:3840, bottom:2160)
[09:31:04.823] deleteAppId: 0
[09:31:04.823] deleteAppProvider: 0
[09:31:04.823] Client: ClientSysparam: mouseButtonSwap:0
[09:31:04.823] appId: nixos-manual
[09:31:04.823] Client: ClientSysparam: keyboardPref:0
[09:31:04.823] appGroup: (null)
[09:31:04.824] appExecPath: nixos-help
[09:31:04.824] appWorkingDir: (null)
[09:31:04.824] appDesc: NixOS Manual (NixOS)
[09:31:04.824] appIcon: 0x55c19c7b06d0
[09:31:04.824] appProvider: (null)
[09:31:04.823] Client ExecOrder program terminated
[09:31:04.824] dummy-entry exited with status 255
[09:31:04.824] Client: ClientSysparam: dragFullWindows:1
[09:31:04.824] Client: ClientSysparam: keyboardCues:0
[09:31:04.824] Client: ClientSysparam: workArea:(left:0, top:0, right:3840, bottom:2088)
[09:31:04.824] Translated workarea:(0,0)-(1920,1044) at rdp-0:(0,0)-(1920,1080)
[09:31:04.886] Pulse Audio Sink listener socket on /mnt/wslg/PulseAudioRDPSink
[09:31:05.499] xfixes version: 5.0
[09:31:05.503] created wm, root 558
[09:31:05.503] xfixes selection notify event: owner 2097153
[09:31:05.503] our window, skipping
[09:31:05.510] RDP Sink version (1 - 1)
[09:31:06.826] retry_find_icon_file: icon (nix-snowflake) retry count (1)
[09:31:06.826] find_icon_file: icon (nix-snowflake) search retry:(2) global:(1)
[09:31:08.828] retry_find_icon_file: icon (nix-snowflake) retry count (2)
[09:31:08.828] find_icon_file: icon (nix-snowflake) search retry:(3) global:(1)
[09:31:10.830] retry_find_icon_file: icon (nix-snowflake) retry count (3)
[09:31:10.830] find_icon_file: icon (nix-snowflake) search retry:(4) global:(1)
[09:31:12.832] retry_find_icon_file: icon (nix-snowflake) retry count (4)
[09:31:12.832] find_icon_file: icon (nix-snowflake) search retry:(5) global:(0)
[09:31:27.940] Client: ClientGetAppidReq: pid:491 appId:kitty
[09:31:27.997] Client: ClientGetAppidReq: WindowId:0x5 does not have appId, or not top level window.
[09:31:27.997] Client: ClientGetAppidReq: WindowId:0x6 does not have appId, or not top level window.
[09:31:27.997] Client: ClientGetAppidReq: WindowId:0x7 does not have appId, or not top level window.
[09:31:27.997] Client: ClientGetAppidReq: WindowId:0x8 does not have appId, or not top level window.
[09:31:27.998] Client: LanguageImeInfo: ProfileType: 2 (TF_PROFILETYPE_KEYBOARDLAYOUT)
[09:31:27.998] Client: LanguageImeInfo: LanguageID: 0x40c
[09:31:27.998] Client: LanguageImeInfo: LanguageProfileCLSID: GUID_NULL
[09:31:27.998] Client: LanguageImeInfo: ProfileGUID: GUID_NULL
[09:31:27.998] Client: LanguageImeInfo: KeyboardLayout: 0x40c
[09:31:28.060] app_list_monitor_thread: loadIconEvent is signalled. kitty
[09:31:28.060] app_list_monitor_thread: entry (nil), image (nil)
[09:31:28.070] !!!cursor role is added after creation - WindowId:0x3
stderr.log
[09:31:03.940] <3>WSLGd: LogException:74: Exception: No such file or directory @../FontMonitor.cpp:274 (Start)
[09:31:03.940] <5>WSLGd: RemoveMonitorFolder:162: FontMonitor: removing monitoring /mnt/wslg/distro/usr/share/fonts
[09:31:03.940] <5>WSLGd: Stop:311: FontMonitor: monitoring stopped.
dbus[14]: Unknown username "systemd-oom" in message bus configuration file
dbus[14]: Unknown username "pulse" in message bus configuration file
could not load cursor 'grabbing'
could not load cursor 'dnd-move'
could not load cursor 'dnd-copy'
glamor: 'wl_drm' not supported
Missing Wayland requirements for glamor GBM backend
Failed to initialize glamor, falling back to sw
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Internal error: Could not resolve keysym XF86FullScreen
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Unsupported maximum keycode 569, clipping.
> X11 cannot support keycodes above 255.
> Internal error: Could not resolve keysym XF86FullScreen
Errors from xkbcomp are not fatal to the X server
WSL dumps:
Empty
Expected behavior:
Upon Alt+Tab back to the window rendered by WSLg, it should take focus again.
Actual behavior:
Upon Alt+Tab back to the window rendered by WSLg is not focus (need to click on it once).
I see the following message: [363 15:42:48.336980] [glfw error 65544]: Wayland: activation requests not supported by this Wayland compositor
in the logs.
Interestingly, even with this limitation, it seems like AutoHotkey's WinActivate
function can successfully focus kitty
- not sure what it's doing differently compared to Alt-Tab, but that might be something to look into or at least help with a workaround (using AHK).
Interestingly, even with this limitation, it seems like AutoHotkey's
WinActivate
function can successfully focuskitty
@robbins But how can you specify the kitty's window? It seems that all WSLg windows have the same name, and the kitty's window title keeps changing. By setting an immutable name for kitty?
@ofseed Yeah, I used the --title
argument for that.
Has anyone come up with a workaround for this?
An interesting thing I found is that if you open kitty via root, alt+tab works fine.
Bumping on this issue, currently I'm working around by using root as @ofseed mentioned
another workaround, set hide_window_decorations yes
(for kitty) to make the titlebar disappear, and it will focus when alt+tabbing.
But there is no way to move the window now (alt + mouse click doesnt work like in x11/wayland)
Having it like hyprland (alt + left click to drag, alt + right click to resize) would be nice