Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sway crashes when opening X11 windows with very long titles #6531

Closed
augustofg opened this issue Sep 19, 2021 · 2 comments · Fixed by #6726 · May be fixed by #6556
Closed

Sway crashes when opening X11 windows with very long titles #6531

augustofg opened this issue Sep 19, 2021 · 2 comments · Fixed by #6726 · May be fixed by #6556
Labels
bug Not working as intended
Milestone

Comments

@augustofg
Copy link

augustofg commented Sep 19, 2021

  • Minimal reproducible example

Save to `sway-crash.py':

#!/usr/bin/env python3

import gi

gi.require_version("Gtk", "3.0")
from gi.repository import Gtk

win = Gtk.Window()
win.set_title("Very long title"*280)
win.connect("destroy", Gtk.main_quit)
win.show_all()
Gtk.main()

Then set GDK_BACKEND to x11 and execute the script:

$ chmod +x sway-crash.py
$ export GDK_BACKEND=x11
$ ./sway-crash.py

Sway crashes immediately. This only happens with X11 windows, native wayland windows don't crash, but the title bar turns black.

  • Sway Version:

    • sway version 1.6.1
  • Debug Log:

00:00:00.000 [INFO] [sway/main.c:347] Sway version 1.6.1
00:00:00.000 [INFO] [sway/main.c:348] wlroots version 0.14.0
00:00:00.001 [INFO] [sway/main.c:155] Linux obsd-crypto.lan 5.14.5-arch1-1 #1 SMP PREEMPT Thu, 16 Sep 2021 11:02:40 +0000 x86_64 GNU/Linux
00:00:00.001 [INFO] [sway/main.c:171] Contents of /etc/lsb-release:
00:00:00.001 [INFO] [sway/main.c:155] LSB_VERSION=1.4
00:00:00.001 [INFO] [sway/main.c:155] DISTRIB_ID=Arch
00:00:00.001 [INFO] [sway/main.c:155] DISTRIB_RELEASE=rolling
00:00:00.001 [INFO] [sway/main.c:155] DISTRIB_DESCRIPTION="Arch Linux"
00:00:00.001 [INFO] [sway/main.c:171] Contents of /etc/os-release:
00:00:00.001 [INFO] [sway/main.c:155] NAME="Arch Linux"
00:00:00.001 [INFO] [sway/main.c:155] PRETTY_NAME="Arch Linux"
00:00:00.001 [INFO] [sway/main.c:155] ID=arch
00:00:00.001 [INFO] [sway/main.c:155] BUILD_ID=rolling
00:00:00.001 [INFO] [sway/main.c:155] ANSI_COLOR="38;2;23;147;209"
00:00:00.001 [INFO] [sway/main.c:155] HOME_URL="https://archlinux.org/"
00:00:00.001 [INFO] [sway/main.c:155] DOCUMENTATION_URL="https://wiki.archlinux.org/"
00:00:00.001 [INFO] [sway/main.c:155] SUPPORT_URL="https://bbs.archlinux.org/"
00:00:00.001 [INFO] [sway/main.c:155] BUG_REPORT_URL="https://bugs.archlinux.org/"
00:00:00.001 [INFO] [sway/main.c:155] LOGO=archlinux
00:00:00.001 [INFO] [sway/main.c:143] LD_LIBRARY_PATH=
00:00:00.001 [INFO] [sway/main.c:143] LD_PRELOAD=
00:00:00.001 [INFO] [sway/main.c:143] PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/plan9/bin:/home/augusto/.bin:/home/augusto/.local/bin:/home/augusto/software/nuttx-kconf/bin
00:00:00.001 [INFO] [sway/main.c:143] SWAYSOCK=
00:00:00.001 [DEBUG] [sway/server.c:47] Preparing Wayland server initialization
00:00:00.001 [INFO] [wlr] [libseat] [libseat/backend/seatd.c:79] Could not connect to socket /run/seatd.sock: No such file or directory
00:00:00.001 [INFO] [wlr] [libseat] [libseat/libseat.c:76] Backend 'seatd' failed to open seat, skipping
00:00:00.014 [INFO] [wlr] [libseat] [libseat/libseat.c:73] Seat opened with backend 'logind'
00:00:00.014 [INFO] [wlr] [backend/session/session.c:110] Successfully loaded libseat session
00:00:00.017 [INFO] [wlr] [backend/backend.c:223] Found 1 GPUs
00:00:00.017 [INFO] [wlr] [backend/drm/backend.c:182] Initializing DRM backend for /dev/dri/card0 (amdgpu)
00:00:00.017 [DEBUG] [wlr] [backend/drm/drm.c:84] Using atomic DRM interface
00:00:00.017 [DEBUG] [wlr] [backend/drm/drm.c:97] ADDFB2 modifiers unsupported
00:00:00.017 [INFO] [wlr] [backend/drm/drm.c:259] Found 6 DRM CRTCs
00:00:00.018 [INFO] [wlr] [backend/drm/drm.c:186] Found 12 DRM planes
00:00:00.066 [INFO] [wlr] [render/egl.c:312] Using EGL 1.5
00:00:00.066 [INFO] [wlr] [render/egl.c:313] Supported EGL client extensions: EGL_EXT_device_base EGL_EXT_device_enumeration EGL_EXT_device_query EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_EXT_client_extensions EGL_KHR_debug EGL_EXT_platform_device EGL_EXT_platform_wayland EGL_KHR_platform_wayland EGL_EXT_platform_x11 EGL_KHR_platform_x11 EGL_MESA_platform_xcb EGL_MESA_platform_gbm EGL_KHR_platform_gbm EGL_MESA_platform_surfaceless
00:00:00.066 [INFO] [wlr] [render/egl.c:314] Supported EGL display extensions: EGL_ANDROID_blob_cache EGL_ANDROID_native_fence_sync EGL_EXT_buffer_age EGL_EXT_create_context_robustness EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_KHR_cl_event2 EGL_KHR_config_attribs EGL_KHR_create_context EGL_KHR_create_context_no_error EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_no_config_context EGL_KHR_reusable_sync EGL_KHR_surfaceless_context EGL_EXT_pixel_format_float EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image EGL_MESA_image_dma_buf_export EGL_MESA_query_driver EGL_WL_bind_wayland_display 
00:00:00.066 [INFO] [wlr] [render/egl.c:316] Supported EGL device extensions: EGL_EXT_device_drm
00:00:00.066 [INFO] [wlr] [render/egl.c:318] EGL vendor: Mesa Project
00:00:00.066 [DEBUG] [wlr] [render/egl.c:149] Supported DMA-BUF formats: AB4H XB4H AR30 XR30 AB30 XB30 AR24 AB24 XR24 XB24 AR15 RG16 R8   R16  GR88 GR32 YUV9 YU11 YU12 YU16 YU24 YVU9 YV11 YV12 YV16 YV24 NV12 P010 P012 P016 NV16 AYUV XYUV Y410 Y412 Y416 YUYV UYVY Y210 Y212 Y216 
00:00:00.066 [DEBUG] [wlr] [render/egl.c:150] EGL DMA-BUF format modifiers unsupported
00:00:00.068 [INFO] [wlr] [render/gles2/renderer.c:784] Creating GLES2 renderer
00:00:00.068 [INFO] [wlr] [render/gles2/renderer.c:785] Using OpenGL ES 3.2 Mesa 21.2.1
00:00:00.068 [INFO] [wlr] [render/gles2/renderer.c:786] GL vendor: AMD
00:00:00.068 [INFO] [wlr] [render/gles2/renderer.c:787] GL renderer: Radeon RX 580 Series (POLARIS10, DRM 3.42.0, 5.14.5-arch1-1, LLVM 12.0.1)
00:00:00.068 [INFO] [wlr] [render/gles2/renderer.c:788] Supported GLES2 extensions: GL_EXT_blend_minmax GL_EXT_multi_draw_arrays GL_EXT_texture_filter_anisotropic GL_EXT_texture_compression_s3tc GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_format_BGRA8888 GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_stencil8 GL_OES_texture_3D GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_half_float GL_EXT_draw_instanced GL_EXT_texture_sRGB_decode GL_OES_EGL_image GL_OES_depth_texture GL_AMD_performance_monitor GL_OES_packed_depth_stencil GL_EXT_texture_type_2_10_10_10_REV GL_NV_conditional_render GL_OES_get_program_binary GL_APPLE_texture_max_level GL_EXT_discard_framebuffer GL_EXT_read_format_bgra GL_EXT_frag_depth GL_NV_fbo_color_attachments GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_array_object GL_OES_viewport_array GL_ANGLE_pack_reverse_row_order GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_EXT_occlusion_query_boolean GL_EXT_robustness GL_EXT_texture_rg GL_EXT_unpack_subimage GL_NV_draw_buffers GL_NV_read_buffer GL_NV_read_depth GL_NV_read_depth_stencil GL_NV_read_stencil GL_EXT_draw_buffers GL_EXT_map_buffer_range GL_KHR_debug GL_KHR_robustness GL_KHR_texture_compression_astc_ldr GL_NV_pixel_buffer_object GL_OES_depth_texture_cube_map GL_OES_required_internalformat GL_OES_surfaceless_context GL_EXT_color_buffer_float GL_EXT_sRGB_write_control GL_EXT_separate_shader_objects GL_EXT_shader_group_vote GL_EXT_shader_implicit_conversions GL_EXT_shader_integer_mix GL_EXT_tessellation_point_size GL_EXT_tessellation_shader GL_ANDROID_extension_pack_es31a GL_EXT_base_instance GL_EXT_compressed_ETC1_RGB8_sub_texture GL_EXT_copy_image GL_EXT_draw_buffers_indexed GL_EXT_draw_elements_base_vertex GL_EXT_gpu_shader5 GL_EXT_polygon_offset_clamp GL_EXT_primitive_bounding_box GL_EXT_render_snorm GL_EXT_shader_io_blocks GL_EXT_texture_border_clamp GL_EXT_texture_buffer GL_EXT_texture_cube_map_array GL_EXT_texture_norm16 GL_EXT_texture_view GL_KHR_blend_equation_advanced GL_KHR_context_flush_control GL_KHR_robust_buffer_access_behavior GL_NV_image_formats GL_OES_copy_image GL_OES_draw_buffers_indexed GL_OES_draw_elements_base_vertex GL_OES_gpu_shader5 GL_OES_primitive_bounding_box GL_OES_sample_shading GL_OES_sample_variables GL_OES_shader_io_blocks GL_OES_shader_multisample_interpolation GL_OES_tessellation_point_size GL_OES_tessellation_shader GL_OES_texture_border_clamp GL_OES_texture_buffer GL_OES_texture_cube_map_array GL_OES_texture_stencil8 GL_OES_texture_storage_multisample_2d_array GL_OES_texture_view GL_EXT_blend_func_extended GL_EXT_buffer_storage GL_EXT_float_blend GL_EXT_geometry_point_size GL_EXT_geometry_shader GL_EXT_shader_samples_identical GL_EXT_texture_sRGB_R8 GL_KHR_no_error GL_KHR_texture_compression_astc_sliced_3d GL_OES_EGL_image_external_essl3 GL_OES_geometry_point_size GL_OES_geometry_shader GL_OES_shader_image_atomic GL_EXT_clip_cull_distance GL_EXT_disjoint_timer_query GL_EXT_texture_compression_s3tc_srgb GL_EXT_window_rectangles GL_MESA_shader_integer_functions GL_EXT_clip_control GL_EXT_color_buffer_half_float GL_EXT_memory_object GL_EXT_memory_object_fd GL_EXT_semaphore GL_EXT_semaphore_fd GL_EXT_texture_compression_bptc GL_KHR_parallel_shader_compile GL_NV_alpha_to_coverage_dither_control GL_AMD_framebuffer_multisample_advanced GL_EXT_EGL_image_storage GL_EXT_texture_shadow_lod GL_INTEL_blackhole_render GL_MESA_framebuffer_flip_y GL_NV_compute_shader_derivatives GL_EXT_demote_to_helper_invocation GL_EXT_depth_clamp GL_EXT_texture_query_lod GL_MESA_bgra 
00:00:00.072 [DEBUG] [wlr] [render/allocator.c:30] Trying to create gbm allocator
00:00:00.073 [DEBUG] [wlr] [GLES2] Shader Stats: SGPRS: 16 VGPRS: 8 Code Size: 144 LDS: 0 Scratch: 0 Max Waves: 8 Spilled SGPRs: 0 Spilled VGPRs: 0 PrivMem VGPRs: 0
00:00:00.074 [DEBUG] [wlr] [GLES2] Shader Stats: SGPRS: 24 VGPRS: 28 Code Size: 116 LDS: 0 Scratch: 0 Max Waves: 8 Spilled SGPRs: 0 Spilled VGPRs: 0 PrivMem VGPRs: 0
00:00:00.074 [DEBUG] [wlr] [GLES2] Shader Stats: SGPRS: 24 VGPRS: 28 Code Size: 120 LDS: 0 Scratch: 0 Max Waves: 8 Spilled SGPRs: 0 Spilled VGPRs: 0 PrivMem VGPRs: 0
00:00:00.074 [DEBUG] [wlr] [GLES2] Shader Stats: SGPRS: 24 VGPRS: 28 Code Size: 116 LDS: 0 Scratch: 0 Max Waves: 8 Spilled SGPRs: 0 Spilled VGPRs: 0 PrivMem VGPRs: 0
00:00:00.074 [DEBUG] [wlr] [render/gbm_allocator.c:196] Created GBM allocator with backend drm
00:00:00.074 [DEBUG] [wlr] [render/gbm_allocator.c:199] Using DRM node /dev/dri/card0
00:00:00.075 [INFO] [sway/main.c:396] Starting sway version 1.6.1
00:00:00.075 [DEBUG] [sway/server.c:60] Initializing Wayland server
00:00:00.075 [DEBUG] 00:00:00.075 [DEBUG] [wlr] [types/wlr_idle.c:247] idle manager created
[wlr] [Shader Stats: SGPRS: 8 VGPRS: 28 Code Size: 44 LDS: 0 Scratch: 0 Max Waves: 8 Spilled SGPRs: 0 Spilled VGPRs: 0 PrivMem VGPRs: 0:33387] idle manager created
00:00:00.075 [INFO] [wlr] [wayland] unable to lock lockfile /run/user/1000/wayland-1.lock, maybe another compositor is running
00:00:00.075 [DEBUG] [wlr] [Shader Stats: SGPRS: 24 VGPRS: 8 Code Size: 164 LDS: 0 Scratch: 0 Max Waves: 8 Spilled SGPRs: 0 Spilled VGPRs: 0 PrivMem VGPRs: 0:33387] Creating noop backend
00:00:00.075 [INFO] [wlr] [backend/noop/backend.c:59] Creating noop backend
00:00:00.075 [INFO] [wlr] [backend/headless/backend.c:227] Creating headless backend with parent renderer
00:00:00.075 [DEBUG] [wlr] [render/allocator.c:30] Trying to create gbm allocator
00:00:00.079 [DEBUG] [wlr] [render/gbm_allocator.c:196] Created GBM allocator with backend drm
00:00:00.079 [DEBUG] [wlr] [render/gbm_allocator.c:199] Using DRM node /dev/dri/renderD128
00:00:00.081 [INFO] [sway/config.c:404] Loading config from /etc/sway/config
00:00:00.081 [DEBUG] [sway/config.c:818] Read line 1: # Default config for sway
00:00:00.081 [DEBUG] [sway/config.c:818] Read line 2: #
00:00:00.081 [DEBUG] [sway/config.c:818] Read line 3: # Copy this to ~/.config/sway/config and edit it to your liking.
00:00:00.081 [DEBUG] [sway/config.c:818] Read line 4: #
00:00:00.081 [DEBUG] [sway/config.c:818] Read line 5: # Read `man 5 sway` for a complete reference.
00:00:00.081 [DEBUG] [sway/config.c:818] Read line 6: 
00:00:00.081 [DEBUG] [sway/config.c:818] Read line 7: ### Variables
00:00:00.081 [DEBUG] [sway/config.c:818] Read line 8: #
00:00:00.082 [DEBUG] [sway/config.c:818] Read line 9: # Logo key. Use Mod1 for Alt.
00:00:00.082 [DEBUG] [sway/config.c:818] Read line 10: set $mod Mod4
00:00:00.082 [INFO] [sway/commands.c:377] Config command: set $mod Mod4
00:00:00.082 [INFO] [sway/commands.c:397] After replacement: set $mod Mod4
00:00:00.082 [DEBUG] [sway/config.c:818] Read line 11: # Home row direction keys, like vim
00:00:00.082 [DEBUG] [sway/config.c:818] Read line 12: set $left h
00:00:00.082 [INFO] [sway/commands.c:377] Config command: set $left h
00:00:00.082 [INFO] [sway/commands.c:397] After replacement: set $left h
00:00:00.082 [DEBUG] [sway/config.c:818] Read line 13: set $down j
00:00:00.082 [INFO] [sway/commands.c:377] Config command: set $down j
00:00:00.082 [INFO] [sway/commands.c:397] After replacement: set $down j
00:00:00.082 [DEBUG] [sway/config.c:818] Read line 14: set $up k
00:00:00.082 [INFO] [sway/commands.c:377] Config command: set $up k
00:00:00.082 [INFO] [sway/commands.c:397] After replacement: set $up k
00:00:00.082 [DEBUG] [sway/config.c:818] Read line 15: set $right l
00:00:00.082 [INFO] [sway/commands.c:377] Config command: set $right l
00:00:00.082 [INFO] [sway/commands.c:397] After replacement: set $right l
00:00:00.082 [DEBUG] [sway/config.c:818] Read line 16: # Your preferred terminal emulator
00:00:00.082 [DEBUG] [sway/config.c:818] Read line 17: set $term alacritty
00:00:00.082 [INFO] [sway/commands.c:377] Config command: set $term alacritty
00:00:00.082 [INFO] [sway/commands.c:397] After replacement: set $term alacritty
00:00:00.082 [DEBUG] [sway/config.c:818] Read line 18: # Your preferred application launcher
00:00:00.082 [DEBUG] [sway/config.c:818] Read line 19: # Note: pass the final command to swaymsg so that the resulting window can be opened
00:00:00.082 [DEBUG] [sway/config.c:818] Read line 20: # on the original workspace that the command was run on.
00:00:00.082 [DEBUG] [sway/config.c:818] Read line 21: set $menu dmenu_path | dmenu | xargs swaymsg exec --
00:00:00.082 [INFO] [sway/commands.c:377] Config command: set $menu dmenu_path | dmenu | xargs swaymsg exec --
00:00:00.082 [INFO] [sway/commands.c:397] After replacement: set $menu dmenu_path | dmenu | xargs swaymsg exec --
00:00:00.082 [DEBUG] [sway/config.c:818] Read line 22: 
00:00:00.082 [DEBUG] [sway/config.c:818] Read line 23: ### Output configuration
00:00:00.082 [DEBUG] [sway/config.c:818] Read line 24: #
00:00:00.082 [DEBUG] [sway/config.c:818] Read line 25: # Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
00:00:00.082 [DEBUG] [sway/config.c:818] Read line 26: output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
00:00:00.082 [INFO] [sway/commands.c:377] Config command: output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
00:00:00.082 [INFO] [sway/commands.c:397] After replacement: output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
00:00:00.082 [DEBUG] [sway/commands.c:428] Subcommand: bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
00:00:00.082 [DEBUG] [sway/config/output.c:223] Adding output * config
00:00:00.082 [DEBUG] [sway/config/output.c:227] Config stored for output * (enabled: -1) (-1x-1@-1.000000Hz position -1,-1 scale -1.000000 subpixel unknown transform -1) (bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill) (dpms 0) (max render time: -1)
00:00:00.082 [DEBUG] [sway/config/output.c:794] spawn_swaybg cmd[0] = swaybg
00:00:00.082 [DEBUG] [sway/config/output.c:794] spawn_swaybg cmd[1] = -o
00:00:00.082 [DEBUG] [sway/config/output.c:794] spawn_swaybg cmd[2] = *
00:00:00.082 [DEBUG] [sway/config/output.c:794] spawn_swaybg cmd[3] = -i
00:00:00.082 [DEBUG] [sway/config/output.c:794] spawn_swaybg cmd[4] = /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png
00:00:00.082 [DEBUG] [sway/config/output.c:794] spawn_swaybg cmd[5] = -m
00:00:00.082 [DEBUG] [sway/config/output.c:794] spawn_swaybg cmd[6] = fill
00:00:00.084 [DEBUG] [sway/config.c:818] Read line 27: #
00:00:00.084 [DEBUG] [sway/config.c:818] Read line 28: # Example configuration:
00:00:00.084 [DEBUG] [sway/config.c:818] Read line 29: #
00:00:00.084 [DEBUG] [sway/config.c:818] Read line 30: #   output HDMI-A-1 resolution 1920x1080 position 1920,0
00:00:00.084 [DEBUG] [sway/config.c:818] Read line 31: #
00:00:00.084 [DEBUG] [sway/config.c:818] Read line 32: # You can get the names of your outputs by running: swaymsg -t get_outputs
00:00:00.084 [DEBUG] [sway/config.c:818] Read line 33: 
00:00:00.084 [DEBUG] [sway/config.c:818] Read line 34: ### Idle configuration
00:00:00.084 [DEBUG] [sway/config.c:818] Read line 35: #
00:00:00.084 [DEBUG] [sway/config.c:818] Read line 36: # Example configuration:
00:00:00.084 [DEBUG] [sway/config.c:818] Read line 37: #
00:00:00.084 [DEBUG] [sway/config.c:818] Read line 38: # exec swayidle -w \
00:00:00.084 [DEBUG] [sway/config.c:818] Read line 39: #          timeout 300 'swaylock -f -c 000000' \
00:00:00.085 [DEBUG] [sway/config.c:818] Read line 40: #          timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
00:00:00.085 [DEBUG] [sway/config.c:818] Read line 41: #          before-sleep 'swaylock -f -c 000000'
00:00:00.085 [DEBUG] [sway/config.c:818] Read line 42: #
00:00:00.085 [DEBUG] [sway/config.c:818] Read line 43: # This will lock your screen after 300 seconds of inactivity, then turn off
00:00:00.085 [DEBUG] [sway/config.c:818] Read line 44: # your displays after another 300 seconds, and turn your screens back on when
00:00:00.085 [DEBUG] [sway/config.c:818] Read line 45: # resumed. It will also lock your screen before your computer goes to sleep.
00:00:00.085 [DEBUG] [sway/config.c:818] Read line 46: 
00:00:00.085 [DEBUG] [sway/config.c:818] Read line 47: ### Input configuration
00:00:00.085 [DEBUG] [sway/config.c:818] Read line 48: #
00:00:00.085 [DEBUG] [sway/config.c:818] Read line 49: # Example configuration:
00:00:00.085 [DEBUG] [sway/config.c:818] Read line 50: #
00:00:00.085 [DEBUG] [sway/config.c:818] Read line 51: #   input "2:14:SynPS/2_Synaptics_TouchPad" {
00:00:00.085 [DEBUG] [sway/config.c:818] Read line 52: #       dwt enabled
00:00:00.085 [DEBUG] [sway/config.c:818] Read line 53: #       tap enabled
00:00:00.085 [DEBUG] [sway/config.c:818] Read line 54: #       natural_scroll enabled
00:00:00.085 [DEBUG] [sway/config.c:818] Read line 55: #       middle_emulation enabled
00:00:00.085 [DEBUG] [sway/config.c:818] Read line 56: #   }
00:00:00.085 [DEBUG] [sway/config.c:818] Read line 57: #
00:00:00.085 [DEBUG] [sway/config.c:818] Read line 58: # You can get the names of your inputs by running: swaymsg -t get_inputs
00:00:00.085 [DEBUG] [sway/config.c:818] Read line 59: # Read `man 5 sway-input` for more information about this section.
00:00:00.085 [DEBUG] [sway/config.c:818] Read line 60: 
00:00:00.085 [DEBUG] [sway/config.c:818] Read line 61: ### Key bindings
00:00:00.085 [DEBUG] [sway/config.c:818] Read line 62: #
00:00:00.085 [DEBUG] [sway/config.c:818] Read line 63: # Basics:
00:00:00.085 [DEBUG] [sway/config.c:818] Read line 64: #
00:00:00.085 [DEBUG] [sway/config.c:818] Read line 65:     # Start a terminal
00:00:00.085 [DEBUG] [sway/config.c:818] Read line 66:     bindsym $mod+Return exec $term
00:00:00.085 [INFO] [sway/commands.c:377] Config command: bindsym $mod+Return exec $term
00:00:00.085 [INFO] [sway/commands.c:397] After replacement: bindsym Mod4+Return exec alacritty
00:00:00.085 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound Mod4+Return to command `exec alacritty` for device '*'
00:00:00.085 [DEBUG] [sway/config.c:818] Read line 67: 
00:00:00.085 [DEBUG] [sway/config.c:818] Read line 68:     # Kill focused window
00:00:00.085 [DEBUG] [sway/config.c:818] Read line 69:     bindsym $mod+Shift+q kill
00:00:00.085 [INFO] [sway/commands.c:377] Config command: bindsym $mod+Shift+q kill
00:00:00.085 [INFO] [sway/commands.c:397] After replacement: bindsym Mod4+Shift+q kill
00:00:00.085 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound Mod4+Shift+q to command `kill` for device '*'
00:00:00.085 [DEBUG] [sway/config.c:818] Read line 70: 
00:00:00.085 [DEBUG] [sway/config.c:818] Read line 71:     # Start your launcher
00:00:00.085 [DEBUG] [sway/config.c:818] Read line 72:     bindsym $mod+d exec $menu
00:00:00.085 [INFO] [sway/commands.c:377] Config command: bindsym $mod+d exec $menu
00:00:00.085 [INFO] [sway/commands.c:397] After replacement: bindsym Mod4+d exec dmenu_path | dmenu | xargs swaymsg exec --
00:00:00.085 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound Mod4+d to command `exec dmenu_path | dmenu | xargs swaymsg exec --` for device '*'
00:00:00.085 [DEBUG] [sway/config.c:818] Read line 73: 
00:00:00.085 [DEBUG] [sway/config.c:818] Read line 74:     # Drag floating windows by holding down $mod and left mouse button.
00:00:00.085 [DEBUG] [sway/config.c:818] Read line 75:     # Resize them with right mouse button + $mod.
00:00:00.085 [DEBUG] [sway/config.c:818] Read line 76:     # Despite the name, also works for non-floating windows.
00:00:00.085 [DEBUG] [sway/config.c:818] Read line 77:     # Change normal to inverse to use left mouse button for resizing and right
00:00:00.085 [DEBUG] [sway/config.c:818] Read line 78:     # mouse button for dragging.
00:00:00.085 [DEBUG] [sway/config.c:818] Read line 79:     floating_modifier $mod normal
00:00:00.085 [INFO] [sway/commands.c:377] Config command: floating_modifier $mod normal
00:00:00.085 [INFO] [sway/commands.c:397] After replacement: floating_modifier Mod4 normal
00:00:00.085 [DEBUG] [sway/config.c:818] Read line 80: 
00:00:00.086 [DEBUG] [sway/config.c:818] Read line 81:     # Reload the configuration file
00:00:00.086 [DEBUG] [sway/config.c:818] Read line 82:     bindsym $mod+Shift+c reload
00:00:00.086 [INFO] [sway/commands.c:377] Config command: bindsym $mod+Shift+c reload
00:00:00.086 [INFO] [sway/commands.c:397] After replacement: bindsym Mod4+Shift+c reload
00:00:00.086 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound Mod4+Shift+c to command `reload` for device '*'
00:00:00.086 [DEBUG] [sway/config.c:818] Read line 83: 
00:00:00.086 [DEBUG] [sway/config.c:818] Read line 84:     # Exit sway (logs you out of your Wayland session)
00:00:00.086 [DEBUG] [sway/config.c:818] Read line 85:     bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -b 'Yes, exit sway' 'swaymsg exit'
00:00:00.086 [INFO] [sway/commands.c:377] Config command: bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -b 'Yes, exit sway' 'swaymsg exit'
00:00:00.086 [INFO] [sway/commands.c:397] After replacement: bindsym Mod4+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -b 'Yes, exit sway' 'swaymsg exit'
00:00:00.086 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound Mod4+Shift+e to command `exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -b 'Yes, exit sway' 'swaymsg exit'` for device '*'
00:00:00.086 [DEBUG] [sway/config.c:818] Read line 86: #
00:00:00.086 [DEBUG] [sway/config.c:818] Read line 87: # Moving around:
00:00:00.086 [DEBUG] [sway/config.c:818] Read line 88: #
00:00:00.086 [DEBUG] [sway/config.c:818] Read line 89:     # Move your focus around
00:00:00.086 [DEBUG] [sway/config.c:818] Read line 90:     bindsym $mod+$left focus left
00:00:00.086 [INFO] [sway/commands.c:377] Config command: bindsym $mod+$left focus left
00:00:00.086 [INFO] [sway/commands.c:397] After replacement: bindsym Mod4+h focus left
00:00:00.086 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound Mod4+h to command `focus left` for device '*'
00:00:00.086 [DEBUG] [sway/config.c:818] Read line 91:     bindsym $mod+$down focus down
00:00:00.086 [INFO] [sway/commands.c:377] Config command: bindsym $mod+$down focus down
00:00:00.086 [INFO] [sway/commands.c:397] After replacement: bindsym Mod4+j focus down
00:00:00.086 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound Mod4+j to command `focus down` for device '*'
00:00:00.086 [DEBUG] [sway/config.c:818] Read line 92:     bindsym $mod+$up focus up
00:00:00.086 [INFO] [sway/commands.c:377] Config command: bindsym $mod+$up focus up
00:00:00.086 [INFO] [sway/commands.c:397] After replacement: bindsym Mod4+k focus up
00:00:00.086 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound Mod4+k to command `focus up` for device '*'
00:00:00.086 [DEBUG] [sway/config.c:818] Read line 93:     bindsym $mod+$right focus right
00:00:00.086 [INFO] [sway/commands.c:377] Config command: bindsym $mod+$right focus right
00:00:00.086 [INFO] [sway/commands.c:397] After replacement: bindsym Mod4+l focus right
00:00:00.086 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound Mod4+l to command `focus right` for device '*'
00:00:00.086 [DEBUG] [sway/config.c:818] Read line 94:     # Or use $mod+[up|down|left|right]
00:00:00.086 [DEBUG] [sway/config.c:818] Read line 95:     bindsym $mod+Left focus left
00:00:00.086 [INFO] [sway/commands.c:377] Config command: bindsym $mod+Left focus left
00:00:00.086 [INFO] [sway/commands.c:397] After replacement: bindsym Mod4+Left focus left
00:00:00.086 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound Mod4+Left to command `focus left` for device '*'
00:00:00.086 [DEBUG] [sway/config.c:818] Read line 96:     bindsym $mod+Down focus down
00:00:00.086 [INFO] [sway/commands.c:377] Config command: bindsym $mod+Down focus down
00:00:00.086 [INFO] [sway/commands.c:397] After replacement: bindsym Mod4+Down focus down
00:00:00.086 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound Mod4+Down to command `focus down` for device '*'
00:00:00.086 [DEBUG] [sway/config.c:818] Read line 97:     bindsym $mod+Up focus up
00:00:00.086 [INFO] [sway/commands.c:377] Config command: bindsym $mod+Up focus up
00:00:00.086 [INFO] [sway/commands.c:397] After replacement: bindsym Mod4+Up focus up
00:00:00.086 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound Mod4+Up to command `focus up` for device '*'
00:00:00.086 [DEBUG] [sway/config.c:818] Read line 98:     bindsym $mod+Right focus right
00:00:00.086 [INFO] [sway/commands.c:377] Config command: bindsym $mod+Right focus right
00:00:00.086 [INFO] [sway/commands.c:397] After replacement: bindsym Mod4+Right focus right
00:00:00.086 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound Mod4+Right to command `focus right` for device '*'
00:00:00.086 [DEBUG] [sway/config.c:818] Read line 99: 
00:00:00.086 [DEBUG] [sway/config.c:818] Read line 100:     # Move the focused window with the same, but add Shift
00:00:00.086 [DEBUG] [sway/config.c:818] Read line 101:     bindsym $mod+Shift+$left move left
00:00:00.086 [INFO] [sway/commands.c:377] Config command: bindsym $mod+Shift+$left move left
00:00:00.086 [INFO] [sway/commands.c:397] After replacement: bindsym Mod4+Shift+h move left
00:00:00.086 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound Mod4+Shift+h to command `move left` for device '*'
00:00:00.086 [DEBUG] [sway/config.c:818] Read line 102:     bindsym $mod+Shift+$down move down
00:00:00.086 [INFO] [sway/commands.c:377] Config command: bindsym $mod+Shift+$down move down
00:00:00.086 [INFO] [sway/commands.c:397] After replacement: bindsym Mod4+Shift+j move down
00:00:00.086 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound Mod4+Shift+j to command `move down` for device '*'
00:00:00.086 [DEBUG] [sway/config.c:818] Read line 103:     bindsym $mod+Shift+$up move up
00:00:00.086 [INFO] [sway/commands.c:377] Config command: bindsym $mod+Shift+$up move up
00:00:00.086 [INFO] [sway/commands.c:397] After replacement: bindsym Mod4+Shift+k move up
00:00:00.086 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound Mod4+Shift+k to command `move up` for device '*'
00:00:00.086 [DEBUG] [sway/config.c:818] Read line 104:     bindsym $mod+Shift+$right move right
00:00:00.086 [INFO] [sway/commands.c:377] Config command: bindsym $mod+Shift+$right move right
00:00:00.086 [INFO] [sway/commands.c:397] After replacement: bindsym Mod4+Shift+l move right
00:00:00.086 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound Mod4+Shift+l to command `move right` for device '*'
00:00:00.086 [DEBUG] [sway/config.c:818] Read line 105:     # Ditto, with arrow keys
00:00:00.086 [DEBUG] [sway/config.c:818] Read line 106:     bindsym $mod+Shift+Left move left
00:00:00.086 [INFO] [sway/commands.c:377] Config command: bindsym $mod+Shift+Left move left
00:00:00.086 [INFO] [sway/commands.c:397] After replacement: bindsym Mod4+Shift+Left move left
00:00:00.086 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound Mod4+Shift+Left to command `move left` for device '*'
00:00:00.086 [DEBUG] [sway/config.c:818] Read line 107:     bindsym $mod+Shift+Down move down
00:00:00.086 [INFO] [sway/commands.c:377] Config command: bindsym $mod+Shift+Down move down
00:00:00.086 [INFO] [sway/commands.c:397] After replacement: bindsym Mod4+Shift+Down move down
00:00:00.086 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound Mod4+Shift+Down to command `move down` for device '*'
00:00:00.086 [DEBUG] [sway/config.c:818] Read line 108:     bindsym $mod+Shift+Up move up
00:00:00.086 [INFO] [sway/commands.c:377] Config command: bindsym $mod+Shift+Up move up
00:00:00.086 [INFO] [sway/commands.c:397] After replacement: bindsym Mod4+Shift+Up move up
00:00:00.086 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound Mod4+Shift+Up to command `move up` for device '*'
00:00:00.086 [DEBUG] [sway/config.c:818] Read line 109:     bindsym $mod+Shift+Right move right
00:00:00.086 [INFO] [sway/commands.c:377] Config command: bindsym $mod+Shift+Right move right
00:00:00.087 [INFO] [sway/commands.c:397] After replacement: bindsym Mod4+Shift+Right move right
00:00:00.087 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound Mod4+Shift+Right to command `move right` for device '*'
00:00:00.087 [DEBUG] [sway/config.c:818] Read line 110: #
00:00:00.087 [DEBUG] [sway/config.c:818] Read line 111: # Workspaces:
00:00:00.087 [DEBUG] [sway/config.c:818] Read line 112: #
00:00:00.087 [DEBUG] [sway/config.c:818] Read line 113:     # Switch to workspace
00:00:00.087 [DEBUG] [sway/config.c:818] Read line 114:     bindsym $mod+1 workspace number 1
00:00:00.087 [INFO] [sway/commands.c:377] Config command: bindsym $mod+1 workspace number 1
00:00:00.087 [INFO] [sway/commands.c:397] After replacement: bindsym Mod4+1 workspace number 1
00:00:00.087 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound Mod4+1 to command `workspace number 1` for device '*'
00:00:00.087 [DEBUG] [sway/config.c:818] Read line 115:     bindsym $mod+2 workspace number 2
00:00:00.087 [INFO] [sway/commands.c:377] Config command: bindsym $mod+2 workspace number 2
00:00:00.087 [INFO] [sway/commands.c:397] After replacement: bindsym Mod4+2 workspace number 2
00:00:00.087 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound Mod4+2 to command `workspace number 2` for device '*'
00:00:00.087 [DEBUG] [sway/config.c:818] Read line 116:     bindsym $mod+3 workspace number 3
00:00:00.087 [INFO] [sway/commands.c:377] Config command: bindsym $mod+3 workspace number 3
00:00:00.087 [INFO] [sway/commands.c:397] After replacement: bindsym Mod4+3 workspace number 3
00:00:00.087 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound Mod4+3 to command `workspace number 3` for device '*'
00:00:00.087 [DEBUG] [sway/config.c:818] Read line 117:     bindsym $mod+4 workspace number 4
00:00:00.087 [INFO] [sway/commands.c:377] Config command: bindsym $mod+4 workspace number 4
00:00:00.087 [INFO] [sway/commands.c:397] After replacement: bindsym Mod4+4 workspace number 4
00:00:00.087 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound Mod4+4 to command `workspace number 4` for device '*'
00:00:00.087 [DEBUG] [sway/config.c:818] Read line 118:     bindsym $mod+5 workspace number 5
00:00:00.087 [INFO] [sway/commands.c:377] Config command: bindsym $mod+5 workspace number 5
00:00:00.087 [INFO] [sway/commands.c:397] After replacement: bindsym Mod4+5 workspace number 5
00:00:00.087 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound Mod4+5 to command `workspace number 5` for device '*'
00:00:00.087 [DEBUG] [sway/config.c:818] Read line 119:     bindsym $mod+6 workspace number 6
00:00:00.087 [INFO] [sway/commands.c:377] Config command: bindsym $mod+6 workspace number 6
00:00:00.087 [INFO] [sway/commands.c:397] After replacement: bindsym Mod4+6 workspace number 6
00:00:00.087 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound Mod4+6 to command `workspace number 6` for device '*'
00:00:00.087 [DEBUG] [sway/config.c:818] Read line 120:     bindsym $mod+7 workspace number 7
00:00:00.087 [INFO] [sway/commands.c:377] Config command: bindsym $mod+7 workspace number 7
00:00:00.087 [INFO] [sway/commands.c:397] After replacement: bindsym Mod4+7 workspace number 7
00:00:00.087 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound Mod4+7 to command `workspace number 7` for device '*'
00:00:00.087 [DEBUG] [sway/config.c:818] Read line 121:     bindsym $mod+8 workspace number 8
00:00:00.087 [INFO] [sway/commands.c:377] Config command: bindsym $mod+8 workspace number 8
00:00:00.087 [INFO] [sway/commands.c:397] After replacement: bindsym Mod4+8 workspace number 8
00:00:00.087 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound Mod4+8 to command `workspace number 8` for device '*'
00:00:00.087 [DEBUG] [sway/config.c:818] Read line 122:     bindsym $mod+9 workspace number 9
00:00:00.087 [INFO] [sway/commands.c:377] Config command: bindsym $mod+9 workspace number 9
00:00:00.087 [INFO] [sway/commands.c:397] After replacement: bindsym Mod4+9 workspace number 9
00:00:00.087 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound Mod4+9 to command `workspace number 9` for device '*'
00:00:00.087 [DEBUG] [sway/config.c:818] Read line 123:     bindsym $mod+0 workspace number 10
00:00:00.087 [INFO] [sway/commands.c:377] Config command: bindsym $mod+0 workspace number 10
00:00:00.087 [INFO] [sway/commands.c:397] After replacement: bindsym Mod4+0 workspace number 10
00:00:00.087 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound Mod4+0 to command `workspace number 10` for device '*'
00:00:00.087 [DEBUG] [sway/config.c:818] Read line 124:     # Move focused container to workspace
00:00:00.087 [DEBUG] [sway/config.c:818] Read line 125:     bindsym $mod+Shift+1 move container to workspace number 1
00:00:00.087 [INFO] [sway/commands.c:377] Config command: bindsym $mod+Shift+1 move container to workspace number 1
00:00:00.087 [INFO] [sway/commands.c:397] After replacement: bindsym Mod4+Shift+1 move container to workspace number 1
00:00:00.087 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound Mod4+Shift+1 to command `move container to workspace number 1` for device '*'
00:00:00.087 [DEBUG] [sway/config.c:818] Read line 126:     bindsym $mod+Shift+2 move container to workspace number 2
00:00:00.087 [INFO] [sway/commands.c:377] Config command: bindsym $mod+Shift+2 move container to workspace number 2
00:00:00.087 [INFO] [sway/commands.c:397] After replacement: bindsym Mod4+Shift+2 move container to workspace number 2
00:00:00.087 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound Mod4+Shift+2 to command `move container to workspace number 2` for device '*'
00:00:00.087 [DEBUG] [sway/config.c:818] Read line 127:     bindsym $mod+Shift+3 move container to workspace number 3
00:00:00.087 [INFO] [sway/commands.c:377] Config command: bindsym $mod+Shift+3 move container to workspace number 3
00:00:00.087 [INFO] [sway/commands.c:397] After replacement: bindsym Mod4+Shift+3 move container to workspace number 3
00:00:00.087 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound Mod4+Shift+3 to command `move container to workspace number 3` for device '*'
00:00:00.087 [DEBUG] [sway/config.c:818] Read line 128:     bindsym $mod+Shift+4 move container to workspace number 4
00:00:00.087 [INFO] [sway/commands.c:377] Config command: bindsym $mod+Shift+4 move container to workspace number 4
00:00:00.087 [INFO] [sway/commands.c:397] After replacement: bindsym Mod4+Shift+4 move container to workspace number 4
00:00:00.087 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound Mod4+Shift+4 to command `move container to workspace number 4` for device '*'
00:00:00.087 [DEBUG] [sway/config.c:818] Read line 129:     bindsym $mod+Shift+5 move container to workspace number 5
00:00:00.087 [INFO] [sway/commands.c:377] Config command: bindsym $mod+Shift+5 move container to workspace number 5
00:00:00.087 [INFO] [sway/commands.c:397] After replacement: bindsym Mod4+Shift+5 move container to workspace number 5
00:00:00.087 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound Mod4+Shift+5 to command `move container to workspace number 5` for device '*'
00:00:00.087 [DEBUG] [sway/config.c:818] Read line 130:     bindsym $mod+Shift+6 move container to workspace number 6
00:00:00.087 [INFO] [sway/commands.c:377] Config command: bindsym $mod+Shift+6 move container to workspace number 6
00:00:00.087 [INFO] [sway/commands.c:397] After replacement: bindsym Mod4+Shift+6 move container to workspace number 6
00:00:00.087 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound Mod4+Shift+6 to command `move container to workspace number 6` for device '*'
00:00:00.087 [DEBUG] [sway/config.c:818] Read line 131:     bindsym $mod+Shift+7 move container to workspace number 7
00:00:00.087 [INFO] [sway/commands.c:377] Config command: bindsym $mod+Shift+7 move container to workspace number 7
00:00:00.087 [INFO] [sway/commands.c:397] After replacement: bindsym Mod4+Shift+7 move container to workspace number 7
00:00:00.087 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound Mod4+Shift+7 to command `move container to workspace number 7` for device '*'
00:00:00.087 [DEBUG] [sway/config.c:818] Read line 132:     bindsym $mod+Shift+8 move container to workspace number 8
00:00:00.087 [INFO] [sway/commands.c:377] Config command: bindsym $mod+Shift+8 move container to workspace number 8
00:00:00.087 [INFO] [sway/commands.c:397] After replacement: bindsym Mod4+Shift+8 move container to workspace number 8
00:00:00.087 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound Mod4+Shift+8 to command `move container to workspace number 8` for device '*'
00:00:00.087 [DEBUG] [sway/config.c:818] Read line 133:     bindsym $mod+Shift+9 move container to workspace number 9
00:00:00.087 [INFO] [sway/commands.c:377] Config command: bindsym $mod+Shift+9 move container to workspace number 9
00:00:00.087 [INFO] [sway/commands.c:397] After replacement: bindsym Mod4+Shift+9 move container to workspace number 9
00:00:00.087 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound Mod4+Shift+9 to command `move container to workspace number 9` for device '*'
00:00:00.087 [DEBUG] [sway/config.c:818] Read line 134:     bindsym $mod+Shift+0 move container to workspace number 10
00:00:00.087 [INFO] [sway/commands.c:377] Config command: bindsym $mod+Shift+0 move container to workspace number 10
00:00:00.087 [INFO] [sway/commands.c:397] After replacement: bindsym Mod4+Shift+0 move container to workspace number 10
00:00:00.087 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound Mod4+Shift+0 to command `move container to workspace number 10` for device '*'
00:00:00.087 [DEBUG] [sway/config.c:818] Read line 135:     # Note: workspaces can have any name you want, not just numbers.
00:00:00.087 [DEBUG] [sway/config.c:818] Read line 136:     # We just use 1-10 as the default.
00:00:00.087 [DEBUG] [sway/config.c:818] Read line 137: #
00:00:00.087 [DEBUG] [sway/config.c:818] Read line 138: # Layout stuff:
00:00:00.087 [DEBUG] [sway/config.c:818] Read line 139: #
00:00:00.087 [DEBUG] [sway/config.c:818] Read line 140:     # You can "split" the current object of your focus with
00:00:00.087 [DEBUG] [sway/config.c:818] Read line 141:     # $mod+b or $mod+v, for horizontal and vertical splits
00:00:00.087 [DEBUG] [sway/config.c:818] Read line 142:     # respectively.
00:00:00.087 [DEBUG] [sway/config.c:818] Read line 143:     bindsym $mod+b splith
00:00:00.087 [INFO] [sway/commands.c:377] Config command: bindsym $mod+b splith
00:00:00.087 [INFO] [sway/commands.c:397] After replacement: bindsym Mod4+b splith
00:00:00.087 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound Mod4+b to command `splith` for device '*'
00:00:00.087 [DEBUG] [sway/config.c:818] Read line 144:     bindsym $mod+v splitv
00:00:00.087 [INFO] [sway/commands.c:377] Config command: bindsym $mod+v splitv
00:00:00.087 [INFO] [sway/commands.c:397] After replacement: bindsym Mod4+v splitv
00:00:00.087 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound Mod4+v to command `splitv` for device '*'
00:00:00.087 [DEBUG] [sway/config.c:818] Read line 145: 
00:00:00.087 [DEBUG] [sway/config.c:818] Read line 146:     # Switch the current container between different layout styles
00:00:00.087 [DEBUG] [sway/config.c:818] Read line 147:     bindsym $mod+s layout stacking
00:00:00.087 [INFO] [sway/commands.c:377] Config command: bindsym $mod+s layout stacking
00:00:00.087 [INFO] [sway/commands.c:397] After replacement: bindsym Mod4+s layout stacking
00:00:00.087 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound Mod4+s to command `layout stacking` for device '*'
00:00:00.087 [DEBUG] [sway/config.c:818] Read line 148:     bindsym $mod+w layout tabbed
00:00:00.087 [INFO] [sway/commands.c:377] Config command: bindsym $mod+w layout tabbed
00:00:00.087 [INFO] [sway/commands.c:397] After replacement: bindsym Mod4+w layout tabbed
00:00:00.087 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound Mod4+w to command `layout tabbed` for device '*'
00:00:00.087 [DEBUG] [sway/config.c:818] Read line 149:     bindsym $mod+e layout toggle split
00:00:00.087 [INFO] [sway/commands.c:377] Config command: bindsym $mod+e layout toggle split
00:00:00.087 [INFO] [sway/commands.c:397] After replacement: bindsym Mod4+e layout toggle split
00:00:00.087 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound Mod4+e to command `layout toggle split` for device '*'
00:00:00.087 [DEBUG] [sway/config.c:818] Read line 150: 
00:00:00.087 [DEBUG] [sway/config.c:818] Read line 151:     # Make the current focus fullscreen
00:00:00.087 [DEBUG] [sway/config.c:818] Read line 152:     bindsym $mod+f fullscreen
00:00:00.088 [INFO] [sway/commands.c:377] Config command: bindsym $mod+f fullscreen
00:00:00.088 [INFO] [sway/commands.c:397] After replacement: bindsym Mod4+f fullscreen
00:00:00.088 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound Mod4+f to command `fullscreen` for device '*'
00:00:00.088 [DEBUG] [sway/config.c:818] Read line 153: 
00:00:00.088 [DEBUG] [sway/config.c:818] Read line 154:     # Toggle the current focus between tiling and floating mode
00:00:00.088 [DEBUG] [sway/config.c:818] Read line 155:     bindsym $mod+Shift+space floating toggle
00:00:00.088 [INFO] [sway/commands.c:377] Config command: bindsym $mod+Shift+space floating toggle
00:00:00.088 [INFO] [sway/commands.c:397] After replacement: bindsym Mod4+Shift+space floating toggle
00:00:00.088 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound Mod4+Shift+space to command `floating toggle` for device '*'
00:00:00.088 [DEBUG] [sway/config.c:818] Read line 156: 
00:00:00.088 [DEBUG] [sway/config.c:818] Read line 157:     # Swap focus between the tiling area and the floating area
00:00:00.088 [DEBUG] [sway/config.c:818] Read line 158:     bindsym $mod+space focus mode_toggle
00:00:00.088 [INFO] [sway/commands.c:377] Config command: bindsym $mod+space focus mode_toggle
00:00:00.088 [INFO] [sway/commands.c:397] After replacement: bindsym Mod4+space focus mode_toggle
00:00:00.088 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound Mod4+space to command `focus mode_toggle` for device '*'
00:00:00.088 [DEBUG] [sway/config.c:818] Read line 159: 
00:00:00.088 [DEBUG] [sway/config.c:818] Read line 160:     # Move focus to the parent container
00:00:00.088 [DEBUG] [sway/config.c:818] Read line 161:     bindsym $mod+a focus parent
00:00:00.088 [INFO] [sway/commands.c:377] Config command: bindsym $mod+a focus parent
00:00:00.088 [INFO] [sway/commands.c:397] After replacement: bindsym Mod4+a focus parent
00:00:00.088 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound Mod4+a to command `focus parent` for device '*'
00:00:00.088 [DEBUG] [sway/config.c:818] Read line 162: #
00:00:00.088 [DEBUG] [sway/config.c:818] Read line 163: # Scratchpad:
00:00:00.088 [DEBUG] [sway/config.c:818] Read line 164: #
00:00:00.088 [DEBUG] [sway/config.c:818] Read line 165:     # Sway has a "scratchpad", which is a bag of holding for windows.
00:00:00.088 [DEBUG] [sway/config.c:818] Read line 166:     # You can send windows there and get them back later.
00:00:00.088 [DEBUG] [sway/config.c:818] Read line 167: 
00:00:00.088 [DEBUG] [sway/config.c:818] Read line 168:     # Move the currently focused window to the scratchpad
00:00:00.088 [DEBUG] [sway/config.c:818] Read line 169:     bindsym $mod+Shift+minus move scratchpad
00:00:00.088 [INFO] [sway/commands.c:377] Config command: bindsym $mod+Shift+minus move scratchpad
00:00:00.088 [INFO] [sway/commands.c:397] After replacement: bindsym Mod4+Shift+minus move scratchpad
00:00:00.088 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound Mod4+Shift+minus to command `move scratchpad` for device '*'
00:00:00.088 [DEBUG] [sway/config.c:818] Read line 170: 
00:00:00.088 [DEBUG] [sway/config.c:818] Read line 171:     # Show the next scratchpad window or hide the focused scratchpad window.
00:00:00.088 [DEBUG] [sway/config.c:818] Read line 172:     # If there are multiple scratchpad windows, this command cycles through them.
00:00:00.088 [DEBUG] [sway/config.c:818] Read line 173:     bindsym $mod+minus scratchpad show
00:00:00.088 [INFO] [sway/commands.c:377] Config command: bindsym $mod+minus scratchpad show
00:00:00.088 [INFO] [sway/commands.c:397] After replacement: bindsym Mod4+minus scratchpad show
00:00:00.088 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound Mod4+minus to command `scratchpad show` for device '*'
00:00:00.088 [DEBUG] [sway/config.c:818] Read line 174: #
00:00:00.088 [DEBUG] [sway/config.c:818] Read line 175: # Resizing containers:
00:00:00.088 [DEBUG] [sway/config.c:818] Read line 176: #
00:00:00.088 [DEBUG] [sway/config.c:818] Read line 177: mode "resize" {
00:00:00.088 [DEBUG] [sway/config.c:872] Entering block 'mode "resize"'
00:00:00.088 [DEBUG] [sway/config.c:818] Read line 178:     # left will shrink the containers width
00:00:00.088 [DEBUG] [sway/config.c:818] Read line 179:     # right will grow the containers width
00:00:00.088 [DEBUG] [sway/config.c:818] Read line 180:     # up will shrink the containers height
00:00:00.088 [DEBUG] [sway/config.c:818] Read line 181:     # down will grow the containers height
00:00:00.088 [DEBUG] [sway/config.c:818] Read line 182:     bindsym $left resize shrink width 10px
00:00:00.088 [INFO] [sway/commands.c:377] Config command: mode "resize" bindsym $left resize shrink width 10px
00:00:00.088 [INFO] [sway/commands.c:397] After replacement: mode "resize" bindsym h resize shrink width 10px
00:00:00.088 [DEBUG] [sway/commands.c:428] Subcommand: bindsym h resize shrink width 10px
00:00:00.088 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound h to command `resize shrink width 10px` for device '*'
00:00:00.088 [DEBUG] [sway/config.c:818] Read line 183:     bindsym $down resize grow height 10px
00:00:00.088 [INFO] [sway/commands.c:377] Config command: mode "resize" bindsym $down resize grow height 10px
00:00:00.088 [INFO] [sway/commands.c:397] After replacement: mode "resize" bindsym j resize grow height 10px
00:00:00.088 [DEBUG] [sway/commands.c:428] Subcommand: bindsym j resize grow height 10px
00:00:00.088 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound j to command `resize grow height 10px` for device '*'
00:00:00.088 [DEBUG] [sway/config.c:818] Read line 184:     bindsym $up resize shrink height 10px
00:00:00.088 [INFO] [sway/commands.c:377] Config command: mode "resize" bindsym $up resize shrink height 10px
00:00:00.088 [INFO] [sway/commands.c:397] After replacement: mode "resize" bindsym k resize shrink height 10px
00:00:00.088 [DEBUG] [sway/commands.c:428] Subcommand: bindsym k resize shrink height 10px
00:00:00.088 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound k to command `resize shrink height 10px` for device '*'
00:00:00.088 [DEBUG] [sway/config.c:818] Read line 185:     bindsym $right resize grow width 10px
00:00:00.088 [INFO] [sway/commands.c:377] Config command: mode "resize" bindsym $right resize grow width 10px
00:00:00.088 [INFO] [sway/commands.c:397] After replacement: mode "resize" bindsym l resize grow width 10px
00:00:00.088 [DEBUG] [sway/commands.c:428] Subcommand: bindsym l resize grow width 10px
00:00:00.088 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound l to command `resize grow width 10px` for device '*'
00:00:00.088 [DEBUG] [sway/config.c:818] Read line 186: 
00:00:00.088 [DEBUG] [sway/config.c:818] Read line 187:     # Ditto, with arrow keys
00:00:00.088 [DEBUG] [sway/config.c:818] Read line 188:     bindsym Left resize shrink width 10px
00:00:00.088 [INFO] [sway/commands.c:377] Config command: mode "resize" bindsym Left resize shrink width 10px
00:00:00.088 [INFO] [sway/commands.c:397] After replacement: mode "resize" bindsym Left resize shrink width 10px
00:00:00.088 [DEBUG] [sway/commands.c:428] Subcommand: bindsym Left resize shrink width 10px
00:00:00.088 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound Left to command `resize shrink width 10px` for device '*'
00:00:00.088 [DEBUG] [sway/config.c:818] Read line 189:     bindsym Down resize grow height 10px
00:00:00.088 [INFO] [sway/commands.c:377] Config command: mode "resize" bindsym Down resize grow height 10px
00:00:00.088 [INFO] [sway/commands.c:397] After replacement: mode "resize" bindsym Down resize grow height 10px
00:00:00.088 [DEBUG] [sway/commands.c:428] Subcommand: bindsym Down resize grow height 10px
00:00:00.088 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound Down to command `resize grow height 10px` for device '*'
00:00:00.088 [DEBUG] [sway/config.c:818] Read line 190:     bindsym Up resize shrink height 10px
00:00:00.088 [INFO] [sway/commands.c:377] Config command: mode "resize" bindsym Up resize shrink height 10px
00:00:00.088 [INFO] [sway/commands.c:397] After replacement: mode "resize" bindsym Up resize shrink height 10px
00:00:00.088 [DEBUG] [sway/commands.c:428] Subcommand: bindsym Up resize shrink height 10px
00:00:00.088 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound Up to command `resize shrink height 10px` for device '*'
00:00:00.088 [DEBUG] [sway/config.c:818] Read line 191:     bindsym Right resize grow width 10px
00:00:00.088 [INFO] [sway/commands.c:377] Config command: mode "resize" bindsym Right resize grow width 10px
00:00:00.088 [INFO] [sway/commands.c:397] After replacement: mode "resize" bindsym Right resize grow width 10px
00:00:00.088 [DEBUG] [sway/commands.c:428] Subcommand: bindsym Right resize grow width 10px
00:00:00.088 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound Right to command `resize grow width 10px` for device '*'
00:00:00.088 [DEBUG] [sway/config.c:818] Read line 192: 
00:00:00.088 [DEBUG] [sway/config.c:818] Read line 193:     # Return to default mode
00:00:00.088 [DEBUG] [sway/config.c:818] Read line 194:     bindsym Return mode "default"
00:00:00.088 [INFO] [sway/commands.c:377] Config command: mode "resize" bindsym Return mode "default"
00:00:00.088 [INFO] [sway/commands.c:397] After replacement: mode "resize" bindsym Return mode "default"
00:00:00.088 [DEBUG] [sway/commands.c:428] Subcommand: bindsym Return mode "default"
00:00:00.088 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound Return to command `mode "default"` for device '*'
00:00:00.088 [DEBUG] [sway/config.c:818] Read line 195:     bindsym Escape mode "default"
00:00:00.088 [INFO] [sway/commands.c:377] Config command: mode "resize" bindsym Escape mode "default"
00:00:00.088 [INFO] [sway/commands.c:397] After replacement: mode "resize" bindsym Escape mode "default"
00:00:00.088 [DEBUG] [sway/commands.c:428] Subcommand: bindsym Escape mode "default"
00:00:00.088 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound Escape to command `mode "default"` for device '*'
00:00:00.088 [DEBUG] [sway/config.c:818] Read line 196: }
00:00:00.088 [DEBUG] [sway/config.c:889] Exiting block 'mode "resize"'
00:00:00.088 [DEBUG] [sway/config.c:818] Read line 197: bindsym $mod+r mode "resize"
00:00:00.088 [INFO] [sway/commands.c:377] Config command: bindsym $mod+r mode "resize"
00:00:00.088 [INFO] [sway/commands.c:397] After replacement: bindsym Mod4+r mode "resize"
00:00:00.088 [DEBUG] [sway/commands/bind.c:298] bindsym - Bound Mod4+r to command `mode "resize"` for device '*'
00:00:00.088 [DEBUG] [sway/config.c:818] Read line 198: 
00:00:00.088 [DEBUG] [sway/config.c:818] Read line 199: #
00:00:00.088 [DEBUG] [sway/config.c:818] Read line 200: # Status Bar:
00:00:00.088 [DEBUG] [sway/config.c:818] Read line 201: #
00:00:00.088 [DEBUG] [sway/config.c:818] Read line 202: # Read `man 5 sway-bar` for more information about this section.
00:00:00.088 [DEBUG] [sway/config.c:818] Read line 203: bar {
00:00:00.088 [DEBUG] [sway/config.c:872] Entering block 'bar'
00:00:00.088 [DEBUG] [sway/config.c:818] Read line 204:     position top
00:00:00.088 [INFO] [sway/commands.c:377] Config command: bar position top
00:00:00.088 [INFO] [sway/commands.c:397] After replacement: bar position top
00:00:00.088 [DEBUG] [sway/commands/bar.c:93] Creating bar: bar-0
00:00:00.088 [DEBUG] [sway/commands.c:428] Subcommand: position top
00:00:00.088 [DEBUG] [sway/commands/bar/position.c:15] Setting bar position 'top' for bar: bar-0
00:00:00.088 [DEBUG] [sway/config.c:818] Read line 205: 
00:00:00.088 [DEBUG] [sway/config.c:818] Read line 206:     # When the status_command prints a new line to stdout, swaybar updates.
00:00:00.088 [DEBUG] [sway/config.c:818] Read line 207:     # The default just shows the current date and time.
00:00:00.088 [DEBUG] [sway/config.c:818] Read line 208:     status_command while date +'%Y-%m-%d %l:%M:%S %p'; do sleep 1; done
00:00:00.088 [INFO] [sway/commands.c:377] Config command: bar status_command while date +'%Y-%m-%d %l:%M:%S %p'; do sleep 1; done
00:00:00.089 [INFO] [sway/commands.c:397] After replacement: bar status_command while date +'%Y-%m-%d %l:%M:%S %p'; do sleep 1; done
00:00:00.089 [DEBUG] [sway/commands.c:428] Subcommand: status_command while date +'%Y-%m-%d %l:%M:%S %p'; do sleep 1; done
00:00:00.089 [DEBUG] [sway/commands/bar/status_command.c:17] Feeding bar with status command: while date +'%Y-%m-%d %l:%M:%S %p'; do sleep 1; done
00:00:00.089 [DEBUG] [sway/config.c:818] Read line 209: 
00:00:00.089 [DEBUG] [sway/config.c:818] Read line 210:     colors {
00:00:00.089 [DEBUG] [sway/config.c:872] Entering block 'bar colors'
00:00:00.089 [DEBUG] [sway/config.c:818] Read line 211:         statusline #ffffff
00:00:00.089 [INFO] [sway/commands.c:377] Config command: bar colors statusline #ffffff
00:00:00.089 [INFO] [sway/commands.c:397] After replacement: bar colors statusline #ffffff
00:00:00.089 [DEBUG] [sway/commands.c:428] Subcommand: colors statusline #ffffff
00:00:00.089 [DEBUG] [sway/commands.c:428] Subcommand: statusline #ffffff
00:00:00.089 [DEBUG] [sway/config.c:818] Read line 212:         background #323232
00:00:00.089 [INFO] [sway/commands.c:377] Config command: bar colors background #323232
00:00:00.089 [INFO] [sway/commands.c:397] After replacement: bar colors background #323232
00:00:00.089 [DEBUG] [sway/commands.c:428] Subcommand: colors background #323232
00:00:00.089 [DEBUG] [sway/commands.c:428] Subcommand: background #323232
00:00:00.089 [DEBUG] [sway/config.c:818] Read line 213:         inactive_workspace #32323200 #32323200 #5c5c5c
00:00:00.089 [INFO] [sway/commands.c:377] Config command: bar colors inactive_workspace #32323200 #32323200 #5c5c5c
00:00:00.089 [INFO] [sway/commands.c:397] After replacement: bar colors inactive_workspace #32323200 #32323200 #5c5c5c
00:00:00.089 [DEBUG] [sway/commands.c:428] Subcommand: colors inactive_workspace #32323200 #32323200 #5c5c5c
00:00:00.089 [DEBUG] [sway/commands.c:428] Subcommand: inactive_workspace #32323200 #32323200 #5c5c5c
00:00:00.089 [DEBUG] [sway/config.c:818] Read line 214:     }
00:00:00.089 [DEBUG] [sway/config.c:889] Exiting block 'bar colors'
00:00:00.089 [DEBUG] [sway/config.c:818] Read line 215: }
00:00:00.089 [DEBUG] [sway/config.c:889] Exiting block 'bar'
00:00:00.089 [DEBUG] [sway/config.c:818] Read line 216: 
00:00:00.089 [DEBUG] [sway/config.c:818] Read line 217: include /etc/sway/config.d/*
00:00:00.089 [INFO] [sway/commands.c:377] Config command: include /etc/sway/config.d/*
00:00:00.089 [INFO] [sway/commands.c:397] After replacement: include /etc/sway/config.d/*
00:00:00.089 [INFO] [sway/config.c:404] Loading config from /etc/sway/config.d/50-systemd-user.conf
00:00:00.089 [DEBUG] [sway/config.c:818] Read line 1: # sway does not set DISPLAY/WAYLAND_DISPLAY in the systemd user environment
00:00:00.089 [DEBUG] [sway/config.c:818] Read line 2: # See FS#63021
00:00:00.089 [DEBUG] [sway/config.c:818] Read line 3: # Adapted from xorg's 50-systemd-user.sh, which achieves a similar goal.
00:00:00.089 [DEBUG] [sway/config.c:818] Read line 4: 
00:00:00.089 [DEBUG] [sway/config.c:818] Read line 5: exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK
00:00:00.089 [INFO] [sway/commands.c:377] Config command: exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK
00:00:00.089 [INFO] [sway/commands.c:397] After replacement: exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK
00:00:00.089 [DEBUG] [sway/config.c:862] Deferring command `exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK'
00:00:00.089 [DEBUG] [sway/config.c:818] Read line 7: exec hash dbus-update-activation-environment 2>/dev/null &&      dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK
00:00:00.089 [INFO] [sway/commands.c:377] Config command: exec hash dbus-update-activation-environment 2>/dev/null &&      dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK
00:00:00.089 [INFO] [sway/commands.c:397] After replacement: exec hash dbus-update-activation-environment 2>/dev/null && dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK
00:00:00.089 [DEBUG] [sway/config.c:862] Deferring command `exec hash dbus-update-activation-environment 2>/dev/null &&      dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK'
00:00:00.089 [DEBUG] [sway/server.c:218] Initializing Xwayland (lazy=1)
00:00:00.089 [INFO] [sway/server.c:241] Starting backend on wayland display 'wayland-2'
00:00:00.089 [DEBUG] [wlr] [backend/libinput/backend.c:87] Initializing libinput
00:00:01.036 [DEBUG] [wlr] [backend/libinput/events.c:94] Added Power Button [0:1]
00:00:01.036 [DEBUG] [sway/input/input-manager.c:234] adding device: '0:1:Power_Button'
00:00:01.036 [DEBUG] [sway/input/input-manager.c:184] no fallback seat config - creating default
00:00:01.036 [DEBUG] [sway/config/seat.c:66] Adding non-wildcard seat config
00:00:01.036 [DEBUG] [sway/config/seat.c:83] Config stored for seat seat0
00:00:01.036 [DEBUG] [sway/input/input-manager.c:585] applying seat config for seat seat0
00:00:01.036 [DEBUG] [sway/input/seat.c:930] adding device 0:1:Power_Button to seat seat0
00:00:01.047 [DEBUG] [sway/input/keyboard.c:937] Created keyboard group 0x5617720348b0
00:00:01.047 [DEBUG] [sway/input/keyboard.c:960] Adding keyboard 0:1:Power_Button to group 0x5617720348b0
00:00:01.066 [DEBUG] [wlr] [backend/libinput/events.c:94] Added Power Button [0:1]
00:00:01.066 [DEBUG] [sway/input/input-manager.c:234] adding device: '0:1:Power_Button'
00:00:01.066 [DEBUG] [sway/input/seat.c:930] adding device 0:1:Power_Button to seat seat0
00:00:01.079 [DEBUG] [sway/input/keyboard.c:912] Adding keyboard 0:1:Power_Button to group 0x5617720348b0
00:00:01.083 [DEBUG] [wlr] [backend/libinput/events.c:94] Added Logitech USB Optical Mouse [1133:49271]
00:00:01.083 [DEBUG] [sway/input/input-manager.c:234] adding device: '1133:49271:Logitech_USB_Optical_Mouse'
00:00:01.083 [DEBUG] [sway/input/seat.c:930] adding device 1133:49271:Logitech_USB_Optical_Mouse to seat seat0
00:00:01.111 [DEBUG] [wlr] [xcursor/wlr_xcursor.c:243] Loaded cursor theme 'default' at size 24 (124 available cursors)
00:00:01.111 [DEBUG] [sway/input/seat.c:709] Applying input config to 1133:49271:Logitech_USB_Optical_Mouse
00:00:01.111 [DEBUG] [wlr] [backend/libinput/events.c:94] Added Logitech Logi USB Headset [1133:2661]
00:00:01.111 [DEBUG] [sway/input/input-manager.c:234] adding device: '1133:2661:Logitech_Logi_USB_Headset'
00:00:01.111 [DEBUG] [sway/input/seat.c:930] adding device 1133:2661:Logitech_Logi_USB_Headset to seat seat0
00:00:01.120 [DEBUG] [sway/input/keyboard.c:912] Adding keyboard 1133:2661:Logitech_Logi_USB_Headset to group 0x5617720348b0
00:00:01.122 [DEBUG] [wlr] [backend/libinput/events.c:94] Added AT Translated Set 2 keyboard [1:1]
00:00:01.122 [DEBUG] [sway/input/input-manager.c:234] adding device: '1:1:AT_Translated_Set_2_keyboard'
00:00:01.122 [DEBUG] [sway/input/seat.c:930] adding device 1:1:AT_Translated_Set_2_keyboard to seat seat0
00:00:01.127 [DEBUG] [sway/input/keyboard.c:912] Adding keyboard 1:1:AT_Translated_Set_2_keyboard to group 0x5617720348b0
00:00:01.129 [DEBUG] [wlr] [backend/libinput/backend.c:133] libinput successfully initialized
00:00:01.129 [INFO] [wlr] [backend/drm/drm.c:1297] Scanning DRM connectors on /dev/dri/card0
00:00:01.129 [INFO] [wlr] [backend/drm/drm.c:1355] Found connector 'DP-1'
00:00:01.130 [INFO] [wlr] [backend/drm/drm.c:1355] Found connector 'DP-2'
00:00:01.130 [INFO] [wlr] [backend/drm/drm.c:1391] 'DP-2' connected
00:00:01.130 [DEBUG] [wlr] [backend/drm/drm.c:1392] Current CRTC: 53
00:00:01.130 [INFO] [wlr] [backend/drm/drm.c:1403] Physical size: 480x270
00:00:01.130 [INFO] [wlr] [backend/drm/drm.c:1434] Detected modes:
00:00:01.130 [INFO] [wlr] [backend/drm/drm.c:1456]   1920x1080@60000 (preferred)
00:00:01.130 [INFO] [wlr] [backend/drm/drm.c:1456]   1680x1050@60000 
00:00:01.130 [INFO] [wlr] [backend/drm/drm.c:1456]   1600x900@60000 
00:00:01.130 [INFO] [wlr] [backend/drm/drm.c:1456]   1280x1024@75025 
00:00:01.130 [INFO] [wlr] [backend/drm/drm.c:1456]   1280x1024@60020 
00:00:01.130 [INFO] [wlr] [backend/drm/drm.c:1456]   1440x900@60000 
00:00:01.130 [INFO] [wlr] [backend/drm/drm.c:1456]   1280x800@60000 
00:00:01.130 [INFO] [wlr] [backend/drm/drm.c:1456]   1152x864@75000 
00:00:01.130 [INFO] [wlr] [backend/drm/drm.c:1456]   1280x720@60000 
00:00:01.130 [INFO] [wlr] [backend/drm/drm.c:1456]   1024x768@75029 
00:00:01.130 [INFO] [wlr] [backend/drm/drm.c:1456]   1024x768@60004 
00:00:01.130 [INFO] [wlr] [backend/drm/drm.c:1456]   800x600@75000 
00:00:01.130 [INFO] [wlr] [backend/drm/drm.c:1456]   800x600@60317 
00:00:01.130 [INFO] [wlr] [backend/drm/drm.c:1456]   640x480@75000 
00:00:01.130 [INFO] [wlr] [backend/drm/drm.c:1456]   640x480@59940 
00:00:01.130 [INFO] [wlr] [backend/drm/drm.c:1456]   720x400@70082 
00:00:01.130 [INFO] [wlr] [backend/drm/drm.c:1355] Found connector 'HDMI-A-1'
00:00:01.130 [INFO] [wlr] [backend/drm/drm.c:1355] Found connector 'HDMI-A-2'
00:00:01.130 [INFO] [wlr] [backend/drm/drm.c:1355] Found connector 'DVI-D-1'
00:00:01.130 [DEBUG] [wlr] [backend/drm/drm.c:1151] Reallocating CRTCs
00:00:01.130 [DEBUG] [wlr] [backend/drm/drm.c:1162] State before reallocation:
00:00:01.130 [DEBUG] [wlr] [backend/drm/drm.c:1168]   'DP-1' crtc=-1 state=0 desired_enabled=0
00:00:01.130 [DEBUG] [wlr] [backend/drm/drm.c:1168]   'DP-2' crtc=0 state=1 desired_enabled=1
00:00:01.130 [DEBUG] [wlr] [backend/drm/drm.c:1168]   'HDMI-A-1' crtc=-1 state=0 desired_enabled=0
00:00:01.130 [DEBUG] [wlr] [backend/drm/drm.c:1168]   'HDMI-A-2' crtc=-1 state=0 desired_enabled=0
00:00:01.130 [DEBUG] [wlr] [backend/drm/drm.c:1168]   'DVI-D-1' crtc=-1 state=0 desired_enabled=0
00:00:01.130 [DEBUG] [wlr] [backend/drm/drm.c:1219] State after reallocation:
00:00:01.130 [DEBUG] [wlr] [backend/drm/drm.c:1226]   'DP-1' crtc=-1 state=0 desired_enabled=0
00:00:01.130 [DEBUG] [wlr] [backend/drm/drm.c:1226]   'DP-2' crtc=0 state=1 desired_enabled=1
00:00:01.130 [DEBUG] [wlr] [backend/drm/drm.c:1226]   'HDMI-A-1' crtc=-1 state=0 desired_enabled=0
00:00:01.130 [DEBUG] [wlr] [backend/drm/drm.c:1226]   'HDMI-A-2' crtc=-1 state=0 desired_enabled=0
00:00:01.130 [DEBUG] [wlr] [backend/drm/drm.c:1226]   'DVI-D-1' crtc=-1 state=0 desired_enabled=0
00:00:01.130 [INFO] [wlr] [backend/drm/drm.c:1508] connector DP-2: Requesting modeset
00:00:01.130 [DEBUG] [sway/desktop/output.c:880] New output 0x5617721994a0: DP-2
00:00:01.130 [DEBUG] [sway/config/output.c:351] Turning on output DP-2
00:00:01.130 [DEBUG] [sway/config/output.c:382] Auto-detected output scale: 1.000000
00:00:01.130 [DEBUG] [sway/config/output.c:412] Committing output DP-2
00:00:01.130 [INFO] [wlr] [backend/drm/drm.c:808] connector DP-2: Modesetting with '1920x1080@60000mHz'
00:00:01.130 [DEBUG] [wlr] [backend/drm/drm.c:697] connector DP-2: Initializing renderer
00:00:01.130 [DEBUG] [wlr] [render/swapchain.c:105] Allocating new swapchain buffer
00:00:01.130 [DEBUG] [wlr] [render/gbm_allocator.c:127] Allocated 1920x1080 GBM buffer (format 0x34325241, modifier 0xFFFFFFFFFFFFFF)
00:00:01.130 [DEBUG] [wlr] [render/gles2/renderer.c:136] Created GL FBO for buffer 1920x1080
00:00:01.132 [DEBUG] [wlr] [GLES2] Shader Stats: SGPRS: 16 VGPRS: 8 Code Size: 208 LDS: 0 Scratch: 0 Max Waves: 8 Spilled SGPRs: 0 Spilled VGPRs: 0 PrivMem VGPRs: 0
00:00:01.133 [DEBUG] [wlr] [GLES2] Shader Stats: SGPRS: 8 VGPRS: 28 Code Size: 48 LDS: 0 Scratch: 0 Max Waves: 8 Spilled SGPRs: 0 Spilled VGPRs: 0 PrivMem VGPRs: 0
00:00:01.133 [DEBUG] [wlr] [GLES2] Shader Stats: SGPRS: 16 VGPRS: 8 Code Size: 84 LDS: 0 Scratch: 0 Max Waves: 8 Spilled SGPRs: 0 Spilled VGPRs: 0 PrivMem VGPRs: 0
00:00:01.134 [DEBUG] [wlr] [GLES2] Shader Stats: SGPRS: 8 VGPRS: 28 Code Size: 20 LDS: 0 Scratch: 0 Max Waves: 8 Spilled SGPRs: 0 Spilled VGPRs: 0 PrivMem VGPRs: 0
00:00:01.150 [DEBUG] [sway/tree/workspace.c:283] Workspace: Generating new workspace name for output DP-2
00:00:01.150 [DEBUG] [sway/tree/workspace.c:218] Got valid workspace command for target: 'number 1'
00:00:01.150 [DEBUG] [sway/tree/workspace.c:245] Isolated name from workspace number: '1'
00:00:01.150 [DEBUG] [sway/tree/workspace.c:274] Workspace: Found free name 1
00:00:01.150 [DEBUG] [sway/tree/workspace.c:218] Got valid workspace command for target: 'number 2'
00:00:01.150 [DEBUG] [sway/tree/workspace.c:245] Isolated name from workspace number: '2'
00:00:01.150 [DEBUG] [sway/tree/workspace.c:218] Got valid workspace command for target: 'number 3'
00:00:01.150 [DEBUG] [sway/tree/workspace.c:245] Isolated name from workspace number: '3'
00:00:01.150 [DEBUG] [sway/tree/workspace.c:218] Got valid workspace command for target: 'number 4'
00:00:01.150 [DEBUG] [sway/tree/workspace.c:245] Isolated name from workspace number: '4'
00:00:01.150 [DEBUG] [sway/tree/workspace.c:218] Got valid workspace command for target: 'number 5'
00:00:01.150 [DEBUG] [sway/tree/workspace.c:245] Isolated name from workspace number: '5'
00:00:01.150 [DEBUG] [sway/tree/workspace.c:218] Got valid workspace command for target: 'number 6'
00:00:01.150 [DEBUG] [sway/tree/workspace.c:245] Isolated name from workspace number: '6'
00:00:01.150 [DEBUG] [sway/tree/workspace.c:218] Got valid workspace command for target: 'number 7'
00:00:01.150 [DEBUG] [sway/tree/workspace.c:245] Isolated name from workspace number: '7'
00:00:01.150 [DEBUG] [sway/tree/workspace.c:218] Got valid workspace command for target: 'number 8'
00:00:01.150 [DEBUG] [sway/tree/workspace.c:245] Isolated name from workspace number: '8'
00:00:01.150 [DEBUG] [sway/tree/workspace.c:218] Got valid workspace command for target: 'number 9'
00:00:01.150 [DEBUG] [sway/tree/workspace.c:245] Isolated name from workspace number: '9'
00:00:01.150 [DEBUG] [sway/tree/workspace.c:218] Got valid workspace command for target: 'number 10'
00:00:01.150 [DEBUG] [sway/tree/workspace.c:245] Isolated name from workspace number: '10'
00:00:01.150 [DEBUG] [sway/tree/output.c:127] Creating default workspace 1
00:00:01.150 [DEBUG] [sway/tree/workspace.c:63] Adding workspace 1 for output DP-2
00:00:01.161 [DEBUG] [wlr] [xcursor/wlr_xcursor.c:243] Loaded cursor theme 'default' at size 24 (124 available cursors)
00:00:01.163 [DEBUG] [wlr] [GLES2] Shader Stats: SGPRS: 24 VGPRS: 8 Code Size: 152 LDS: 0 Scratch: 0 Max Waves: 8 Spilled SGPRs: 0 Spilled VGPRs: 0 PrivMem VGPRs: 0
00:00:01.164 [DEBUG] [wlr] [render/allocator.c:30] Trying to create gbm allocator
00:00:01.167 [DEBUG] [wlr] [render/gbm_allocator.c:196] Created GBM allocator with backend drm
00:00:01.167 [DEBUG] [wlr] [render/gbm_allocator.c:199] Using DRM node /dev/dri/card0
00:00:01.167 [DEBUG] [wlr] [render/swapchain.c:105] Allocating new swapchain buffer
00:00:01.167 [DEBUG] [wlr] [render/gbm_allocator.c:127] Allocated 128x128 GBM buffer (format 0x34325241, modifier 0xFFFFFFFFFFFFFF)
00:00:01.167 [DEBUG] [wlr] [render/gles2/renderer.c:136] Created GL FBO for buffer 128x128
00:00:01.169 [DEBUG] [sway/desktop/layer_shell.c:197] Usable area changed, rearranging output
00:00:01.169 [DEBUG] [sway/tree/arrange.c:263] Usable area for ws: 1920x1080@0,0
00:00:01.169 [DEBUG] [sway/tree/arrange.c:293] Arranging workspace '1' at 0.000000, 0.000000
00:00:01.169 [DEBUG] [sway/tree/arrange.c:263] Usable area for ws: 1920x1080@0,0
00:00:01.169 [DEBUG] [sway/tree/arrange.c:293] Arranging workspace '1' at 0.000000, 0.000000
00:00:01.181 [DEBUG] [sway/input/seat.c:709] Applying input config to 1133:49271:Logitech_USB_Optical_Mouse
00:00:01.193 [DEBUG] [wlr] [render/swapchain.c:105] Allocating new swapchain buffer
00:00:01.193 [DEBUG] [wlr] [render/gbm_allocator.c:127] Allocated 128x128 GBM buffer (format 0x34325241, modifier 0xFFFFFFFFFFFFFF)
00:00:01.193 [DEBUG] [wlr] [render/gles2/renderer.c:136] Created GL FBO for buffer 128x128
00:00:01.193 [DEBUG] [sway/desktop/transaction.c:398] Transaction 0x561772434a40 committing with 2 instructions
00:00:01.193 [DEBUG] [sway/desktop/transaction.c:294] Applying transaction 0x561772434a40
00:00:01.193 [INFO] [wlr] [backend/headless/backend.c:28] Starting headless backend
00:00:01.193 [DEBUG] [sway/config/bar.c:263] Invoking swaybar for bar id 'bar-0'
00:00:01.196 [DEBUG] [sway/config/bar.c:255] Spawned swaybar bar-0
00:00:01.196 [DEBUG] [sway/config.c:667] Running deferred commands
00:00:01.196 [INFO] [sway/commands.c:257] Handling command 'exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK'
00:00:01.196 [DEBUG] [sway/commands/exec_always.c:50] Executing systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK
00:00:01.198 [DEBUG] [sway/commands/exec_always.c:91] Child process created with pid 5485
00:00:01.199 [DEBUG] [sway/tree/root.c:299] Recording workspace for process 5485
00:00:01.199 [INFO] [sway/commands.c:257] Handling command 'exec hash dbus-update-activation-environment 2>/dev/null &&      dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK'
00:00:01.199 [DEBUG] [sway/commands/exec_always.c:50] Executing hash dbus-update-activation-environment 2>/dev/null && dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK
00:00:01.202 [DEBUG] [sway/commands/exec_always.c:91] Child process created with pid 5487
00:00:01.202 [DEBUG] [sway/tree/root.c:299] Recording workspace for process 5487
00:00:01.202 [INFO] [sway/server.c:252] Running compositor on wayland display 'wayland-2'
00:00:01.202 [DEBUG] [wlr] [render/swapchain.c:105] Allocating new swapchain buffer
00:00:01.202 [DEBUG] [wlr] [render/gbm_allocator.c:127] Allocated 1920x1080 GBM buffer (format 0x34325241, modifier 0xFFFFFFFFFFFFFF)
00:00:01.203 [DEBUG] [wlr] [render/gles2/renderer.c:136] Created GL FBO for buffer 1920x1080
00:00:01.203 [DEBUG] [sway/ipc-server.c:153] Event on IPC listening socket
00:00:01.203 [DEBUG] [sway/ipc-server.c:199] New client: fd 51
00:00:01.203 [DEBUG] [sway/ipc-server.c:153] Event on IPC listening socket
00:00:01.203 [DEBUG] [sway/ipc-server.c:199] New client: fd 53
00:00:01.203 [DEBUG] [sway/ipc-server.c:219] Client 51 readable
00:00:01.203 [DEBUG] [sway/ipc-server.c:958] Added IPC reply of type 0x6 to client 51 queue: { "id": "bar-0", "mode": "dock", "hidden_state": "hide", "position": "top", "status_command": "while date +'%Y-%m-%d %l:%M:%S %p'; do sleep 1; done", "font": "monospace 10", "gaps": { "top": 0, "right": 0, "bottom": 0, "left": 0 }, "bar_height": 0, "status_padding": 1, "status_edge_padding": 3, "wrap_scroll": false, "workspace_buttons": true, "strip_workspace_numbers": false, "strip_workspace_name": false, "workspace_min_width": 0, "binding_mode_indicator": true, "verbose": false, "pango_markup": false, "colors": { "background": "#323232ff", "statusline": "#ffffffff", "separator": "#666666ff", "focused_background": "#323232ff", "focused_statusline": "#ffffffff", "focused_separator": "#666666ff", "focused_workspace_border": "#4c7899ff", "focused_workspace_bg": "#285577ff", "focused_workspace_text": "#ffffffff", "inactive_workspace_border": "#32323200", "inactive_workspace_bg": "#32323200", "inactive_workspace_text": "#5c5c5cff", "active_workspace_border": "#333333ff", "active_workspace_bg": "#5f676aff", "active_workspace_text": "#ffffffff", "urgent_workspace_border": "#2f343aff", "urgent_workspace_bg": "#900000ff", "urgent_workspace_text": "#ffffffff", "binding_mode_border": "#2f343aff", "binding_mode_bg": "#900000ff", "binding_mode_text": "#ffffffff" }, "tray_padding": 2 }
00:00:01.203 [DEBUG] [sway/ipc-server.c:535] Client 51 writable
00:00:01.203 [DEBUG] [sway/ipc-server.c:219] Client 53 readable
00:00:01.203 [DEBUG] [sway/ipc-server.c:958] Added IPC reply of type 0x2 to client 53 queue: {"success": true}
00:00:01.203 [DEBUG] [sway/ipc-server.c:535] Client 53 writable
2021-09-18 22:37:52 - [swaybg-1.1/main.c:321] Found config * for output DP-2 (Dell Inc. DELL P2219H 5Q98ZX2)
00:00:01.203 [DEBUG] [wlr] [types/wlr_surface.c:743] New wlr_surface 0x56177246b1a0 (res 0x5617721fa7f0)
00:00:01.203 [DEBUG] [wlr] [types/wlr_layer_shell_v1.c:471] new layer_surface 0x561772491180 (res 0x561772441000)
00:00:01.203 [DEBUG] [sway/desktop/layer_shell.c:598] new layer surface: namespace wallpaper layer 0 anchor 15 size 0x0 margin 0,0,0,0,
00:00:01.250 [DEBUG] [sway/ipc-server.c:219] Client 51 readable
00:00:01.250 [DEBUG] [sway/ipc-server.c:958] Added IPC reply of type 0x1 to client 51 queue: [ { "id": 4, "type": "workspace", "orientation": "horizontal", "percent": null, "urgent": false, "marks": [ ], "layout": "splith", "border": "none", "current_border_width": 0, "rect": { "x": 0, "y": 0, "width": 1920, "height": 1080 }, "deco_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "window_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "geometry": { "x": 0, "y": 0, "width": 0, "height": 0 }, "name": "1", "window": null, "nodes": [ ], "floating_nodes": [ ], "focus": [ ], "fullscreen_mode": 1, "sticky": false, "num": 1, "output": "DP-2", "representation": null, "focused": true, "visible": true } ]
00:00:01.250 [DEBUG] [sway/ipc-server.c:535] Client 51 writable
00:00:01.258 [DEBUG] [wlr] [types/wlr_surface.c:743] New wlr_surface 0x561772446b10 (res 0x561772440260)
00:00:01.258 [DEBUG] [wlr] [types/wlr_layer_shell_v1.c:471] new layer_surface 0x5617724446a0 (res 0x5617724abce0)
00:00:01.258 [DEBUG] [sway/desktop/layer_shell.c:598] new layer surface: namespace panel layer 1 anchor 13 size 0x22 margin 0,0,0,0,
00:00:01.258 [DEBUG] [sway/desktop/layer_shell.c:197] Usable area changed, rearranging output
00:00:01.258 [DEBUG] [sway/tree/arrange.c:263] Usable area for ws: 1920x1058@0,22
00:00:01.258 [DEBUG] [sway/tree/arrange.c:293] Arranging workspace '1' at 0.000000, 22.000000
00:00:01.258 [DEBUG] [sway/desktop/transaction.c:398] Transaction 0x5617722ff180 committing with 1 instructions
00:00:01.258 [DEBUG] [sway/desktop/transaction.c:294] Applying transaction 0x5617722ff180
00:00:01.258 [DEBUG] [wlr] [types/wlr_surface.c:743] New wlr_surface 0x56177248d680 (res 0x5617723d9270)
00:00:01.291 [DEBUG] [wlr] [GLES2] Shader Stats: SGPRS: 16 VGPRS: 28 Code Size: 60 LDS: 0 Scratch: 0 Max Waves: 8 Spilled SGPRs: 0 Spilled VGPRs: 0 PrivMem VGPRs: 0
00:00:01.291 [DEBUG] [wlr] [GLES2] Shader Stats: SGPRS: 16 VGPRS: 8 Code Size: 112 LDS: 0 Scratch: 0 Max Waves: 8 Spilled SGPRs: 0 Spilled VGPRs: 0 PrivMem VGPRs: 0
00:00:03.262 [DEBUG] [wlr] [GLES2] Shader Stats: SGPRS: 8 VGPRS: 28 Code Size: 20 LDS: 0 Scratch: 0 Max Waves: 8 Spilled SGPRs: 0 Spilled VGPRs: 0 PrivMem VGPRs: 0
00:00:03.262 [DEBUG] [wlr] [GLES2] Shader Stats: SGPRS: 16 VGPRS: 8 Code Size: 60 LDS: 0 Scratch: 0 Max Waves: 8 Spilled SGPRs: 0 Spilled VGPRs: 0 PrivMem VGPRs: 0
00:00:03.903 [DEBUG] [sway/commands/bind.c:617] running command for binding: exec dmenu_path | dmenu | xargs swaymsg exec --
00:00:03.903 [INFO] [sway/commands.c:257] Handling command 'exec dmenu_path | dmenu | xargs swaymsg exec --'
00:00:03.903 [DEBUG] [sway/commands/exec_always.c:50] Executing dmenu_path | dmenu | xargs swaymsg exec --
00:00:03.909 [DEBUG] [sway/commands/exec_always.c:91] Child process created with pid 5507
00:00:03.909 [DEBUG] [sway/tree/root.c:299] Recording workspace for process 5507
00:00:03.920 [INFO] [wlr] [xwayland/server.c:99] WAYLAND_SOCKET=33 Xwayland :1 -rootless -terminate -core -listenfd 30 -listenfd 32 -wm 56
glamor: No eglstream capable devices found
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Could not resolve keysym XF86BrightnessAuto
> Warning:          Could not resolve keysym XF86DisplayOff
> Warning:          Could not resolve keysym XF86Info
> Warning:          Could not resolve keysym XF86AspectRatio
> Warning:          Could not resolve keysym XF86DVD
> Warning:          Could not resolve keysym XF86Audio
> Warning:          Could not resolve keysym XF86ChannelUp
> Warning:          Could not resolve keysym XF86ChannelDown
> Warning:          Could not resolve keysym XF86Break
> Warning:          Could not resolve keysym XF86VideoPhone
> Warning:          Could not resolve keysym XF86ZoomReset
> Warning:          Could not resolve keysym XF86Editor
> Warning:          Could not resolve keysym XF86GraphicsEditor
> Warning:          Could not resolve keysym XF86Presentation
> Warning:          Could not resolve keysym XF86Database
> Warning:          Could not resolve keysym XF86Voicemail
> Warning:          Could not resolve keysym XF86Addressbook
> Warning:          Could not resolve keysym XF86DisplayToggle
> Warning:          Could not resolve keysym XF86SpellCheck
> Warning:          Could not resolve keysym XF86ContextMenu
> Warning:          Could not resolve keysym XF86MediaRepeat
> Warning:          Could not resolve keysym XF8610ChannelsUp
> Warning:          Could not resolve keysym XF8610ChannelsDown
> Warning:          Could not resolve keysym XF86Images
> Warning:          Could not resolve keysym XF86NotificationCenter
> Warning:          Could not resolve keysym XF86PickupPhone
> Warning:          Could not resolve keysym XF86HangupPhone
> Warning:          Could not resolve keysym XF86Fn
> Warning:          Could not resolve keysym XF86Fn_Esc
> Warning:          Could not resolve keysym XF86FnRightShift
> Warning:          Could not resolve keysym XF86Numeric0
> Warning:          Could not resolve keysym XF86Numeric1
> Warning:          Could not resolve keysym XF86Numeric2
> Warning:          Could not resolve keysym XF86Numeric3
> Warning:          Could not resolve keysym XF86Numeric4
> Warning:          Could not resolve keysym XF86Numeric5
> Warning:          Could not resolve keysym XF86Numeric6
> Warning:          Could not resolve keysym XF86Numeric7
> Warning:          Could not resolve keysym XF86Numeric8
> Warning:          Could not resolve keysym XF86Numeric9
> Warning:          Could not resolve keysym XF86NumericStar
> Warning:          Could not resolve keysym XF86NumericPound
> Warning:          Could not resolve keysym XF86NumericA
> Warning:          Could not resolve keysym XF86NumericB
> Warning:          Could not resolve keysym XF86NumericC
> Warning:          Could not resolve keysym XF86NumericD
> Warning:          Could not resolve keysym XF86CameraFocus
> Warning:          Could not resolve keysym XF86WPSButton
> Warning:          Could not resolve keysym XF86CameraZoomIn
> Warning:          Could not resolve keysym XF86CameraZoomOut
> Warning:          Could not resolve keysym XF86CameraUp
> Warning:          Could not resolve keysym XF86CameraDown
> Warning:          Could not resolve keysym XF86CameraLeft
> Warning:          Could not resolve keysym XF86CameraRight
> Warning:          Could not resolve keysym XF86AttendantOn
> Warning:          Could not resolve keysym XF86AttendantOff
> Warning:          Could not resolve keysym XF86AttendantToggle
> Warning:          Could not resolve keysym XF86LightsToggle
> Warning:          Could not resolve keysym XF86ALSToggle
> Warning:          Could not resolve keysym XF86Buttonconfig
> Warning:          Could not resolve keysym XF86Taskmanager
> Warning:          Could not resolve keysym XF86Journal
> Warning:          Could not resolve keysym XF86ControlPanel
> Warning:          Could not resolve keysym XF86AppSelect
> Warning:          Could not resolve keysym XF86Screensaver
> Warning:          Could not resolve keysym XF86VoiceCommand
> Warning:          Could not resolve keysym XF86Assistant
> Warning:          Could not resolve keysym XF86BrightnessMin
> Warning:          Could not resolve keysym XF86BrightnessMax
> Warning:          Could not resolve keysym XF86KbdInputAssistPrev
> Warning:          Could not resolve keysym XF86KbdInputAssistNext
> Warning:          Could not resolve keysym XF86KbdInputAssistPrevgroup
> Warning:          Could not resolve keysym XF86KbdInputAssistNextgroup
> Warning:          Could not resolve keysym XF86KbdInputAssistAccept
> Warning:          Could not resolve keysym XF86KbdInputAssistCancel
> Warning:          Could not resolve keysym XF86RightUp
> Warning:          Could not resolve keysym XF86RightDown
> Warning:          Could not resolve keysym XF86LeftUp
> Warning:          Could not resolve keysym XF86LeftDown
> Warning:          Could not resolve keysym XF86RootMenu
> Warning:          Could not resolve keysym XF86MediaTopMenu
> Warning:          Could not resolve keysym XF86Numeric11
> Warning:          Could not resolve keysym XF86Numeric12
> Warning:          Could not resolve keysym XF86AudioDesc
> Warning:          Could not resolve keysym XF863DMode
> Warning:          Could not resolve keysym XF86NextFavorite
> Warning:          Could not resolve keysym XF86StopRecord
> Warning:          Could not resolve keysym XF86PauseRecord
> Warning:          Could not resolve keysym XF86VOD
> Warning:          Could not resolve keysym XF86Unmute
> Warning:          Could not resolve keysym XF86FastReverse
> Warning:          Could not resolve keysym XF86SlowReverse
> Warning:          Could not resolve keysym XF86Data
> Warning:          Could not resolve keysym XF86OnScreenKeyboard
> Warning:          Could not resolve keysym XF86PrivacyScreenToggle
> Warning:          Could not resolve keysym XF86SelectiveScreenshot
> Warning:          Could not resolve keysym XF86Macro1
> Warning:          Could not resolve keysym XF86Macro2
> Warning:          Could not resolve keysym XF86Macro3
> Warning:          Could not resolve keysym XF86Macro4
> Warning:          Could not resolve keysym XF86Macro5
> Warning:          Could not resolve keysym XF86Macro6
> Warning:          Could not resolve keysym XF86Macro7
> Warning:          Could not resolve keysym XF86Macro8
> Warning:          Could not resolve keysym XF86Macro9
> Warning:          Could not resolve keysym XF86Macro10
> Warning:          Could not resolve keysym XF86Macro11
> Warning:          Could not resolve keysym XF86Macro12
> Warning:          Could not resolve keysym XF86Macro13
> Warning:          Could not resolve keysym XF86Macro14
> Warning:          Could not resolve keysym XF86Macro15
> Warning:          Could not resolve keysym XF86Macro16
> Warning:          Could not resolve keysym XF86Macro17
> Warning:          Could not resolve keysym XF86Macro18
> Warning:          Could not resolve keysym XF86Macro19
> Warning:          Could not resolve keysym XF86Macro20
> Warning:          Could not resolve keysym XF86Macro21
> Warning:          Could not resolve keysym XF86Macro22
> Warning:          Could not resolve keysym XF86Macro23
> Warning:          Could not resolve keysym XF86Macro24
> Warning:          Could not resolve keysym XF86Macro25
> Warning:          Could not resolve keysym XF86Macro26
> Warning:          Could not resolve keysym XF86Macro27
> Warning:          Could not resolve keysym XF86Macro28
> Warning:          Could not resolve keysym XF86Macro29
> Warning:          Could not resolve keysym XF86Macro30
> Warning:          Could not resolve keysym XF86MacroRecordStart
> Warning:          Could not resolve keysym XF86MacroRecordStop
> Warning:          Could not resolve keysym XF86MacroPresetCycle
> Warning:          Could not resolve keysym XF86MacroPreset1
> Warning:          Could not resolve keysym XF86MacroPreset2
> Warning:          Could not resolve keysym XF86MacroPreset3
> Warning:          Could not resolve keysym XF86KbdLcdMenu1
> Warning:          Could not resolve keysym XF86KbdLcdMenu2
> Warning:          Could not resolve keysym XF86KbdLcdMenu3
> Warning:          Could not resolve keysym XF86KbdLcdMenu4
> Warning:          Could not resolve keysym XF86KbdLcdMenu5
Errors from xkbcomp are not fatal to the X server
00:00:04.036 [DEBUG] [wlr] [types/wlr_surface.c:743] New wlr_surface 0x5617723d9830 (res 0x5617724c3ab0)
00:00:04.037 [DEBUG] [sway/input/cursor.c:900] denying request to set cursor from unfocused client
00:00:04.037 [DEBUG] [wlr] [types/wlr_relative_pointer_v1.c:145] relative_pointer_v1 0x561772492ce0 created for client 0x561771fc6030
00:00:04.039 [DEBUG] [wlr] [xwayland/server.c:259] Xserver is ready
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Unsupported maximum keycode 708, clipping.
>                   X11 cannot support keycodes above 255.
> Warning:          Could not resolve keysym XF86BrightnessAuto
> Warning:          Could not resolve keysym XF86DisplayOff
> Warning:          Could not resolve keysym XF86Info
> Warning:          Could not resolve keysym XF86AspectRatio
> Warning:          Could not resolve keysym XF86DVD
> Warning:          Could not resolve keysym XF86Audio
> Warning:          Could not resolve keysym XF86ChannelUp
> Warning:          Could not resolve keysym XF86ChannelDown
> Warning:          Could not resolve keysym XF86Break
> Warning:          Could not resolve keysym XF86VideoPhone
> Warning:          Could not resolve keysym XF86ZoomReset
> Warning:          Could not resolve keysym XF86Editor
> Warning:          Could not resolve keysym XF86GraphicsEditor
> Warning:          Could not resolve keysym XF86Presentation
> Warning:          Could not resolve keysym XF86Database
> Warning:          Could not resolve keysym XF86Voicemail
> Warning:          Could not resolve keysym XF86Addressbook
> Warning:          Could not resolve keysym XF86DisplayToggle
> Warning:          Could not resolve keysym XF86SpellCheck
> Warning:          Could not resolve keysym XF86ContextMenu
> Warning:          Could not resolve keysym XF86MediaRepeat
> Warning:          Could not resolve keysym XF8610ChannelsUp
> Warning:          Could not resolve keysym XF8610ChannelsDown
> Warning:          Could not resolve keysym XF86Images
> Warning:          Could not resolve keysym XF86NotificationCenter
> Warning:          Could not resolve keysym XF86PickupPhone
> Warning:          Could not resolve keysym XF86HangupPhone
> Warning:          Could not resolve keysym XF86Fn
> Warning:          Could not resolve keysym XF86Fn_Esc
> Warning:          Could not resolve keysym XF86FnRightShift
> Warning:          Could not resolve keysym XF86Numeric0
> Warning:          Could not resolve keysym XF86Numeric1
> Warning:          Could not resolve keysym XF86Numeric2
> Warning:          Could not resolve keysym XF86Numeric3
> Warning:          Could not resolve keysym XF86Numeric4
> Warning:          Could not resolve keysym XF86Numeric5
> Warning:          Could not resolve keysym XF86Numeric6
> Warning:          Could not resolve keysym XF86Numeric7
> Warning:          Could not resolve keysym XF86Numeric8
> Warning:          Could not resolve keysym XF86Numeric9
> Warning:          Could not resolve keysym XF86NumericStar
> Warning:          Could not resolve keysym XF86NumericPound
> Warning:          Could not resolve keysym XF86NumericA
> Warning:          Could not resolve keysym XF86NumericB
> Warning:          Could not resolve keysym XF86NumericC
> Warning:          Could not resolve keysym XF86NumericD
> Warning:          Could not resolve keysym XF86CameraFocus
> Warning:          Could not resolve keysym XF86WPSButton
> Warning:          Could not resolve keysym XF86CameraZoomIn
> Warning:          Could not resolve keysym XF86CameraZoomOut
> Warning:          Could not resolve keysym XF86CameraUp
> Warning:          Could not resolve keysym XF86CameraDown
> Warning:          Could not resolve keysym XF86CameraLeft
> Warning:          Could not resolve keysym XF86CameraRight
> Warning:          Could not resolve keysym XF86AttendantOn
> Warning:          Could not resolve keysym XF86AttendantOff
> Warning:          Could not resolve keysym XF86AttendantToggle
> Warning:          Could not resolve keysym XF86LightsToggle
> Warning:          Could not resolve keysym XF86ALSToggle
> Warning:          Could not resolve keysym XF86Buttonconfig
> Warning:          Could not resolve keysym XF86Taskmanager
> Warning:          Could not resolve keysym XF86Journal
> Warning:          Could not resolve keysym XF86ControlPanel
> Warning:          Could not resolve keysym XF86AppSelect
> Warning:          Could not resolve keysym XF86Screensaver
> Warning:          Could not resolve keysym XF86VoiceCommand
> Warning:          Could not resolve keysym XF86Assistant
> Warning:          Could not resolve keysym XF86BrightnessMin
> Warning:          Could not resolve keysym XF86BrightnessMax
> Warning:          Could not resolve keysym XF86KbdInputAssistPrev
> Warning:          Could not resolve keysym XF86KbdInputAssistNext
> Warning:          Could not resolve keysym XF86KbdInputAssistPrevgroup
> Warning:          Could not resolve keysym XF86KbdInputAssistNextgroup
> Warning:          Could not resolve keysym XF86KbdInputAssistAccept
> Warning:          Could not resolve keysym XF86KbdInputAssistCancel
> Warning:          Could not resolve keysym XF86RightUp
> Warning:          Could not resolve keysym XF86RightDown
> Warning:          Could not resolve keysym XF86LeftUp
> Warning:          Could not resolve keysym XF86LeftDown
> Warning:          Could not resolve keysym XF86RootMenu
> Warning:          Could not resolve keysym XF86MediaTopMenu
> Warning:          Could not resolve keysym XF86Numeric11
> Warning:          Could not resolve keysym XF86Numeric12
> Warning:          Could not resolve keysym XF86AudioDesc
> Warning:          Could not resolve keysym XF863DMode
> Warning:          Could not resolve keysym XF86NextFavorite
> Warning:          Could not resolve keysym XF86StopRecord
> Warning:          Could not resolve keysym XF86PauseRecord
> Warning:          Could not resolve keysym XF86VOD
> Warning:          Could not resolve keysym XF86Unmute
> Warning:          Could not resolve keysym XF86FastReverse
> Warning:          Could not resolve keysym XF86SlowReverse
> Warning:          Could not resolve keysym XF86Data
> Warning:          Could not resolve keysym XF86OnScreenKeyboard
> Warning:          Could not resolve keysym XF86PrivacyScreenToggle
> Warning:          Could not resolve keysym XF86SelectiveScreenshot
> Warning:          Could not resolve keysym XF86Macro1
> Warning:          Could not resolve keysym XF86Macro2
> Warning:          Could not resolve keysym XF86Macro3
> Warning:          Could not resolve keysym XF86Macro4
> Warning:          Could not resolve keysym XF86Macro5
> Warning:          Could not resolve keysym XF86Macro6
> Warning:          Could not resolve keysym XF86Macro7
> Warning:          Could not resolve keysym XF86Macro8
> Warning:          Could not resolve keysym XF86Macro9
> Warning:          Could not resolve keysym XF86Macro10
> Warning:          Could not resolve keysym XF86Macro11
> Warning:          Could not resolve keysym XF86Macro12
> Warning:          Could not resolve keysym XF86Macro13
> Warning:          Could not resolve keysym XF86Macro14
> Warning:          Could not resolve keysym XF86Macro15
> Warning:          Could not resolve keysym XF86Macro16
> Warning:          Could not resolve keysym XF86Macro17
> Warning:          Could not resolve keysym XF86Macro18
> Warning:          Could not resolve keysym XF86Macro19
> Warning:          Could not resolve keysym XF86Macro20
> Warning:          Could not resolve keysym XF86Macro21
> Warning:          Could not resolve keysym XF86Macro22
> Warning:          Could not resolve keysym XF86Macro23
> Warning:          Could not resolve keysym XF86Macro24
> Warning:          Could not resolve keysym XF86Macro25
> Warning:          Could not resolve keysym XF86Macro26
> Warning:          Could not resolve keysym XF86Macro27
> Warning:          Could not resolve keysym XF86Macro28
> Warning:          Could not resolve keysym XF86Macro29
> Warning:          Could not resolve keysym XF86Macro30
> Warning:          Could not resolve keysym XF86MacroRecordStart
> Warning:          Could not resolve keysym XF86MacroRecordStop
> Warning:          Could not resolve keysym XF86MacroPresetCycle
> Warning:          Could not resolve keysym XF86MacroPreset1
> Warning:          Could not resolve keysym XF86MacroPreset2
> Warning:          Could not resolve keysym XF86MacroPreset3
> Warning:          Could not resolve keysym XF86KbdLcdMenu1
> Warning:          Could not resolve keysym XF86KbdLcdMenu2
> Warning:          Could not resolve keysym XF86KbdLcdMenu3
> Warning:          Could not resolve keysym XF86KbdLcdMenu4
> Warning:          Could not resolve keysym XF86KbdLcdMenu5
Errors from xkbcomp are not fatal to the X server
00:00:04.051 [DEBUG] [wlr] [xwayland/xwm.c:1740] xfixes version: 5.0
00:00:04.052 [DEBUG] [wlr] [xwayland/xwm.c:1760] xres version: 1.2
00:00:04.053 [DEBUG] [wlr] [xwayland/selection/selection.c:147] not handling selection events: no seat assigned to xwayland
00:00:04.053 [DEBUG] [wlr] [xwayland/selection/selection.c:147] not handling selection events: no seat assigned to xwayland
00:00:04.053 [DEBUG] [wlr] [xwayland/selection/selection.c:147] not handling selection events: no seat assigned to xwayland
00:00:04.053 [DEBUG] [wlr] [xwayland/selection/selection.c:147] not handling selection events: no seat assigned to xwayland
00:00:04.053 [DEBUG] [wlr] [xwayland/selection/selection.c:147] not handling selection events: no seat assigned to xwayland
00:00:04.053 [DEBUG] [wlr] [xwayland/selection/selection.c:147] not handling selection events: no seat assigned to xwayland
00:00:04.053 [DEBUG] [wlr] [xwayland/selection/selection.c:147] not handling selection events: no seat assigned to xwayland
00:00:04.053 [DEBUG] [wlr] [xwayland/selection/selection.c:147] not handling selection events: no seat assigned to xwayland
00:00:04.088 [DEBUG] [wlr] [xwayland/selection/selection.c:147] not handling selection events: no seat assigned to xwayland
00:00:04.088 [DEBUG] [sway/desktop/xwayland.c:761] New xwayland unmanaged surface
00:00:04.088 [DEBUG] [wlr] [xwayland/selection/selection.c:147] not handling selection events: no seat assigned to xwayland
00:00:04.088 [DEBUG] [wlr] [types/wlr_surface.c:743] New wlr_surface 0x56177243ec10 (res 0x56177229f7d0)
00:00:04.088 [DEBUG] [wlr] [xwayland/xwm.c:1566] New xwayland surface: 0x56177243ec10
00:00:04.088 [DEBUG] [wlr] [xwayland/selection/selection.c:147] not handling selection events: no seat assigned to xwayland
00:00:05.304 [DEBUG] [wlr] [xwayland/xwm.c:1475] unhandled X11 event: MappingNotify (34)
00:00:05.304 [DEBUG] [wlr] [xwayland/xwm.c:1475] unhandled X11 event: MappingNotify (34)
00:00:12.437 [ERROR] [wlr] [xwayland/xwm.c:1448] xcb error: op ChangeProperty (no minor), code Window (no extension), sequence 146, value 4194308
00:00:12.438 [DEBUG] [sway/ipc-server.c:153] Event on IPC listening socket
00:00:12.438 [DEBUG] [sway/ipc-server.c:199] New client: fd 56
00:00:12.438 [DEBUG] [sway/ipc-server.c:219] Client 56 readable
00:00:12.438 [INFO] [sway/commands.c:257] Handling command 'exec chromium'
00:00:12.438 [DEBUG] [sway/commands/exec_always.c:50] Executing chromium
00:00:12.442 [DEBUG] [sway/commands/exec_always.c:91] Child process created with pid 5577
00:00:12.442 [DEBUG] [sway/tree/root.c:299] Recording workspace for process 5577
00:00:12.443 [DEBUG] [sway/desktop/transaction.c:398] Transaction 0x56177229fb40 committing with 2 instructions
00:00:12.443 [DEBUG] [sway/desktop/transaction.c:294] Applying transaction 0x56177229fb40
00:00:12.443 [DEBUG] [sway/ipc-server.c:958] Added IPC reply of type 0x0 to client 56 queue: [ { "success": true } ]
00:00:12.443 [DEBUG] [sway/ipc-server.c:535] Client 56 writable
00:00:12.443 [DEBUG] [sway/ipc-server.c:214] Client 56 hung up
00:00:12.443 [INFO] [sway/ipc-server.c:565] IPC Client 56 disconnected
00:00:18.964 [DEBUG] [sway/desktop/xwayland.c:683] New xwayland surface title='(null)' class='(null)'
00:00:18.965 [DEBUG] [wlr] [xwayland/xwm.c:796] unhandled X11 property 34 (WM_COMMAND) for window 6291457
00:00:18.965 [DEBUG] [wlr] [xwayland/xwm.c:796] unhandled X11 property 36 (WM_CLIENT_MACHINE) for window 6291457
00:00:18.965 [DEBUG] [wlr] [xwayland/xwm.c:796] unhandled X11 property 412 (WM_LOCALE_NAME) for window 6291457
00:00:18.993 [DEBUG] [sway/desktop/xwayland.c:683] New xwayland surface title='(null)' class='(null)'
00:00:18.993 [DEBUG] [wlr] [xwayland/xwm.c:796] unhandled X11 property 377 (_NET_WM_OPAQUE_REGION) for window 6291459
00:00:19.202 [DEBUG] [sway/desktop/xwayland.c:683] New xwayland surface title='(null)' class='(null)'
00:00:19.203 [DEBUG] [wlr] [xwayland/xwm.c:796] unhandled X11 property 36 (WM_CLIENT_MACHINE) for window 4194306
00:00:19.209 [DEBUG] [wlr] [xwayland/xwm.c:796] unhandled X11 property 374 (_NET_WM_BYPASS_COMPOSITOR) for window 4194306
00:00:19.209 [DEBUG] [wlr] [xwayland/xwm.c:796] unhandled X11 property 376 (_NET_WM_ICON) for window 4194306
00:00:19.257 [DEBUG] [wlr] [xwayland/xwm.c:796] unhandled X11 property 297 (XdndAware) for window 4194306
00:00:19.257 [DEBUG] [sway/tree/view.c:403] View 0x56177243da30 updated CSD to 0
00:00:19.271 [DEBUG] [sway/desktop/xwayland.c:761] New xwayland unmanaged surface
00:00:19.271 [DEBUG] [wlr] [xwayland/xwm.c:796] unhandled X11 property 383 (_NET_WM_USER_TIME) for window 4194306
00:00:19.272 [DEBUG] [wlr] [xwayland/xwm.c:796] unhandled X11 property 338 (CHROMIUM_TIMESTAMP) for window 4194307
00:00:19.272 [DEBUG] [wlr] [xwayland/xwm.c:796] unhandled X11 property 277 (WM_STATE) for window 4194306
00:00:19.272 [DEBUG] [wlr] [types/wlr_surface.c:743] New wlr_surface 0x56177243ec10 (res 0x5617722e8a30)
00:00:19.272 [DEBUG] [wlr] [xwayland/xwm.c:1566] New xwayland surface: 0x56177243ec10
00:00:19.272 [DEBUG] [sway/tree/view.c:403] View 0x56177243da30 updated CSD to 0
00:00:19.272 [DEBUG] [sway/tree/root.c:249] Looking up workspace for pid 5577
00:00:19.272 [DEBUG] [sway/tree/root.c:256] found pid_workspace for pid 5577, workspace 1
00:00:19.302 [DEBUG] [sway/tree/arrange.c:263] Usable area for ws: 1920x1058@0,22
00:00:19.302 [DEBUG] [sway/tree/arrange.c:293] Arranging workspace '1' at 0.000000, 22.000000
00:00:19.303 [DEBUG] [sway/tree/arrange.c:77] Arranging 0x7ffd2b3e36b0 horizontally
00:00:19.303 [DEBUG] [sway/desktop/transaction.c:398] Transaction 0x5617724afd30 committing with 3 instructions
00:00:19.304 [DEBUG] [sway/desktop/transaction.c:494] Transaction 0x5617724afd30 is ready
00:00:19.304 [DEBUG] [sway/desktop/transaction.c:294] Applying transaction 0x5617724afd30
00:00:19.304 [DEBUG] [sway/tree/container.c:1255] Container 0x561772449060 entered output 0x5617721413c0
00:00:19.466 [DEBUG] [wlr] [xwayland/xwm.c:796] unhandled X11 property 297 (XdndAware) for window 6291459
00:00:19.469 [DEBUG] [wlr] [xwayland/xwm.c:796] unhandled X11 property 338 (CHROMIUM_TIMESTAMP) for window 4194307
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[5642:5642:0918/223811.024560:ERROR:sandbox_linux.cc(374)] InitializeSandbox() called with multiple threads in process gpu-process.
00:00:19.977 [DEBUG] [sway/desktop/xwayland.c:761] New xwayland unmanaged surface
00:00:19.977 [DEBUG] [wlr] [xwayland/xwm.c:796] unhandled X11 property 36 (WM_CLIENT_MACHINE) for window 4194313
00:00:19.977 [DEBUG] [wlr] [xwayland/xwm.c:796] unhandled X11 property 374 (_NET_WM_BYPASS_COMPOSITOR) for window 4194313
00:00:19.977 [DEBUG] [wlr] [xwayland/xwm.c:796] unhandled X11 property 376 (_NET_WM_ICON) for window 4194313
00:00:19.977 [DEBUG] [wlr] [xwayland/xwm.c:796] unhandled X11 property 297 (XdndAware) for window 4194313
00:00:19.978 [DEBUG] [wlr] [xwayland/xwm.c:796] unhandled X11 property 383 (_NET_WM_USER_TIME) for window 4194313
00:00:19.978 [DEBUG] [wlr] [types/wlr_surface.c:743] New wlr_surface 0x56177250c2f0 (res 0x561772503a30)
00:00:19.978 [DEBUG] [wlr] [xwayland/xwm.c:1566] New xwayland surface: 0x56177250c2f0
00:00:20.250 [DEBUG] [wlr] [types/wlr_surface.c:743] New wlr_surface 0x5617724d9900 (res 0x561772445ba0)
00:00:20.250 [DEBUG] [wlr] [types/wlr_surface.c:743] New wlr_surface 0x5617724d9d30 (res 0x5617724ef400)
00:00:20.874 [DEBUG] [wlr] [xwayland/xwm.c:796] unhandled X11 property 277 (WM_STATE) for window 4194313
00:00:20.874 [DEBUG] [wlr] [xwayland/xwm.c:796] unhandled X11 property 277 (WM_STATE) for window 4194313
00:00:20.961 [DEBUG] [wlr] [render/swapchain.c:105] Allocating new swapchain buffer
00:00:20.961 [DEBUG] [wlr] [render/gbm_allocator.c:127] Allocated 128x128 GBM buffer (format 0x34325241, modifier 0xFFFFFFFFFFFFFF)
00:00:20.961 [DEBUG] [wlr] [render/gles2/renderer.c:136] Created GL FBO for buffer 128x128
00:00:22.506 [DEBUG] [wlr] [xwayland/xwm.c:796] unhandled X11 property 383 (_NET_WM_USER_TIME) for window 4194306
00:00:22.578 [DEBUG] [wlr] [xwayland/xwm.c:796] unhandled X11 property 338 (CHROMIUM_TIMESTAMP) for window 4194307
00:00:22.579 [DEBUG] [wlr] [xwayland/xwm.c:796] unhandled X11 property 338 (CHROMIUM_TIMESTAMP) for window 4194307
00:00:26.146 [DEBUG] [wlr] [xwayland/xwm.c:796] unhandled X11 property 383 (_NET_WM_USER_TIME) for window 4194306
00:00:28.675 [DEBUG] [wlr] [xwayland/xwm.c:796] unhandled X11 property 383 (_NET_WM_USER_TIME) for window 4194306
00:00:29.471 [DEBUG] [wlr] [xwayland/xwm.c:796] unhandled X11 property 383 (_NET_WM_USER_TIME) for window 4194306
00:00:29.471 [DEBUG] [sway/desktop/xwayland.c:761] New xwayland unmanaged surface
00:00:29.472 [DEBUG] [wlr] [xwayland/xwm.c:796] unhandled X11 property 36 (WM_CLIENT_MACHINE) for window 4194329
00:00:29.472 [DEBUG] [wlr] [xwayland/xwm.c:796] unhandled X11 property 374 (_NET_WM_BYPASS_COMPOSITOR) for window 4194329
00:00:29.472 [DEBUG] [wlr] [xwayland/xwm.c:796] unhandled X11 property 376 (_NET_WM_ICON) for window 4194329
00:00:29.474 [DEBUG] [wlr] [xwayland/xwm.c:796] unhandled X11 property 297 (XdndAware) for window 4194329
00:00:29.474 [DEBUG] [wlr] [xwayland/xwm.c:796] unhandled X11 property 383 (_NET_WM_USER_TIME) for window 4194329
00:00:29.474 [DEBUG] [wlr] [types/wlr_surface.c:743] New wlr_surface 0x561772444e80 (res 0x5617725538e0)
00:00:29.474 [DEBUG] [wlr] [xwayland/xwm.c:1566] New xwayland surface: 0x561772444e80
00:00:30.836 [DEBUG] [sway/desktop/xwayland.c:761] New xwayland unmanaged surface
00:00:30.836 [DEBUG] [wlr] [xwayland/xwm.c:796] unhandled X11 property 36 (WM_CLIENT_MACHINE) for window 4194330
00:00:30.837 [DEBUG] [wlr] [xwayland/xwm.c:796] unhandled X11 property 374 (_NET_WM_BYPASS_COMPOSITOR) for window 4194330
00:00:30.837 [DEBUG] [wlr] [xwayland/xwm.c:796] unhandled X11 property 376 (_NET_WM_ICON) for window 4194330
00:00:30.837 [DEBUG] [wlr] [xwayland/xwm.c:796] unhandled X11 property 297 (XdndAware) for window 4194330
00:00:30.837 [DEBUG] [wlr] [xwayland/xwm.c:796] unhandled X11 property 383 (_NET_WM_USER_TIME) for window 4194330
00:00:30.838 [DEBUG] [wlr] [types/wlr_surface.c:743] New wlr_surface 0x5617724452b0 (res 0x5617724c0e00)
00:00:30.838 [DEBUG] [wlr] [xwayland/xwm.c:1566] New xwayland surface: 0x5617724452b0
00:00:33.779 [DEBUG] [wlr] [xwayland/xwm.c:796] unhandled X11 property 277 (WM_STATE) for window 4194329
00:00:33.779 [DEBUG] [wlr] [xwayland/xwm.c:796] unhandled X11 property 277 (WM_STATE) for window 4194329
00:00:33.779 [DEBUG] [wlr] [xwayland/xwm.c:796] unhandled X11 property 277 (WM_STATE) for window 4194330
00:00:33.779 [DEBUG] [wlr] [xwayland/xwm.c:796] unhandled X11 property 277 (WM_STATE) for window 4194330
00:00:44.460 [DEBUG] [wlr] [xwayland/xwm.c:796] unhandled X11 property 383 (_NET_WM_USER_TIME) for window 4194306
00:00:44.620 [DEBUG] [sway/commands/bind.c:617] running command for binding: exec dmenu_path | dmenu | xargs swaymsg exec --
00:00:44.620 [INFO] [sway/commands.c:257] Handling command 'exec dmenu_path | dmenu | xargs swaymsg exec --'
00:00:44.620 [DEBUG] [sway/commands/exec_always.c:50] Executing dmenu_path | dmenu | xargs swaymsg exec --
00:00:44.626 [DEBUG] [sway/commands/exec_always.c:91] Child process created with pid 6052
00:00:44.626 [DEBUG] [sway/tree/root.c:299] Recording workspace for process 6052
00:00:44.679 [DEBUG] [wlr] [xwayland/xwm.c:1475] unhandled X11 event: FocusOut (10)
00:00:44.690 [DEBUG] [sway/desktop/xwayland.c:761] New xwayland unmanaged surface
00:00:44.690 [DEBUG] [wlr] [types/wlr_surface.c:743] New wlr_surface 0x561772444e80 (res 0x5617724e7a00)
00:00:44.690 [DEBUG] [wlr] [xwayland/xwm.c:1566] New xwayland surface: 0x561772444e80
00:00:46.737 [DEBUG] [wlr] [xwayland/xwm.c:1475] unhandled X11 event: FocusOut (10)
00:00:46.738 [ERROR] [wlr] [xwayland/xwm.c:1448] xcb error: op ChangeProperty (no minor), code Window (no extension), sequence 383, value 14680068
00:00:46.739 [DEBUG] [sway/ipc-server.c:153] Event on IPC listening socket
00:00:46.739 [DEBUG] [sway/ipc-server.c:199] New client: fd 59
00:00:46.739 [DEBUG] [sway/ipc-server.c:219] Client 59 readable
00:00:46.739 [INFO] [sway/commands.c:257] Handling command 'exec st'
00:00:46.739 [DEBUG] [sway/commands/exec_always.c:50] Executing st
00:00:46.744 [DEBUG] [sway/commands/exec_always.c:91] Child process created with pid 6064
00:00:46.744 [DEBUG] [sway/tree/root.c:299] Recording workspace for process 6064
00:00:46.744 [DEBUG] [sway/desktop/transaction.c:398] Transaction 0x56177250c720 committing with 3 instructions
00:00:46.744 [DEBUG] [sway/desktop/transaction.c:294] Applying transaction 0x56177250c720
00:00:46.744 [DEBUG] [sway/ipc-server.c:958] Added IPC reply of type 0x0 to client 59 queue: [ { "success": true } ]
00:00:46.744 [DEBUG] [sway/ipc-server.c:535] Client 59 writable
00:00:46.744 [DEBUG] [sway/ipc-server.c:214] Client 59 hung up
00:00:46.744 [INFO] [sway/ipc-server.c:565] IPC Client 59 disconnected
00:00:46.892 [DEBUG] [sway/desktop/xwayland.c:683] New xwayland surface title='(null)' class='(null)'
00:00:46.894 [DEBUG] [wlr] [xwayland/xwm.c:796] unhandled X11 property 36 (WM_CLIENT_MACHINE) for window 14680069
00:00:46.894 [DEBUG] [wlr] [xwayland/xwm.c:796] unhandled X11 property 412 (WM_LOCALE_NAME) for window 14680069
00:00:46.894 [DEBUG] [wlr] [xwayland/xwm.c:796] unhandled X11 property 277 (WM_STATE) for window 14680069
00:00:46.895 [DEBUG] [wlr] [types/wlr_surface.c:743] New wlr_surface 0x561772444e80 (res 0x5617724e7a00)
00:00:46.895 [DEBUG] [wlr] [xwayland/xwm.c:1566] New xwayland surface: 0x561772444e80
00:00:46.895 [DEBUG] [sway/tree/root.c:249] Looking up workspace for pid 6064
00:00:46.895 [DEBUG] [sway/tree/root.c:256] found pid_workspace for pid 6064, workspace 1
00:00:46.896 [DEBUG] [sway/tree/arrange.c:263] Usable area for ws: 1920x1058@0,22
00:00:46.896 [DEBUG] [sway/tree/arrange.c:293] Arranging workspace '1' at 0.000000, 22.000000
00:00:46.896 [DEBUG] [sway/tree/arrange.c:77] Arranging 0x7ffd2b3e36b0 horizontally
00:00:46.896 [DEBUG] [sway/desktop/transaction.c:398] Transaction 0x5617724f4b70 committing with 4 instructions
00:00:46.897 [DEBUG] [wlr] [xwayland/xwm.c:1475] unhandled X11 event: FocusOut (10)
00:00:46.898 [DEBUG] [sway/desktop/transaction.c:494] Transaction 0x5617724f4b70 is ready
00:00:46.898 [DEBUG] [sway/desktop/transaction.c:294] Applying transaction 0x5617724f4b70
00:00:46.898 [DEBUG] [sway/tree/container.c:1255] Container 0x5617724daec0 entered output 0x5617721413c0
00:00:55.163 [DEBUG] [wlr] [xwayland/selection/incoming.c:486] XCB_XFIXES_SELECTION_NOTIFY (selection=1, owner=14680069)
00:00:55.163 [DEBUG] [wlr] [xwayland/selection/incoming.c:451] XCB_SELECTION_NOTIFY (selection=1, property=279, target=280)
00:00:55.419 [DEBUG] [sway/desktop/transaction.c:398] Transaction 0x5617724f5610 committing with 4 instructions
00:00:55.419 [DEBUG] [sway/desktop/transaction.c:294] Applying transaction 0x5617724f5610
00:00:55.419 [DEBUG] [wlr] [xwayland/xwm.c:1475] unhandled X11 event: FocusOut (10)
00:00:55.948 [DEBUG] [wlr] [xwayland/xwm.c:796] unhandled X11 property 383 (_NET_WM_USER_TIME) for window 4194306
00:00:55.948 [DEBUG] [sway/desktop/xwayland.c:761] New xwayland unmanaged surface
00:00:55.948 [DEBUG] [wlr] [xwayland/xwm.c:796] unhandled X11 property 336 (CHROME_SELECTION) for window 4194331
00:00:55.948 [DEBUG] [wlr] [xwayland/xwm.c:796] unhandled X11 property 336 (CHROME_SELECTION) for window 4194331
00:00:55.959 [DEBUG] [wlr] [xwayland/xwm.c:796] unhandled X11 property 336 (CHROME_SELECTION) for window 4194331
00:00:56.227 [DEBUG] [sway/desktop/transaction.c:398] Transaction 0x5617724ede50 committing with 4 instructions
00:00:56.227 [DEBUG] [sway/desktop/transaction.c:294] Applying transaction 0x5617724ede50
00:00:56.227 [DEBUG] [wlr] [xwayland/xwm.c:1475] unhandled X11 event: FocusOut (10)
00:00:56.899 [DEBUG] [wlr] [xwayland/selection/incoming.c:486] XCB_XFIXES_SELECTION_NOTIFY (selection=1, owner=0)
00:00:56.899 [DEBUG] [sway/tree/arrange.c:263] Usable area for ws: 1920x1058@0,22
00:00:56.899 [DEBUG] [sway/tree/arrange.c:293] Arranging workspace '1' at 0.000000, 22.000000
00:00:56.899 [DEBUG] [sway/tree/arrange.c:77] Arranging 0x7ffd2b3e3af0 horizontally
00:00:56.899 [DEBUG] [sway/desktop/transaction.c:398] Transaction 0x5617724f17c0 committing with 4 instructions
00:00:56.899 [DEBUG] [wlr] [xwayland/xwm.c:1475] unhandled X11 event: FocusOut (10)
00:00:56.899 [ERROR] [wlr] [xwayland/xwm.c:1448] xcb error: op ChangeProperty (no minor), code Window (no extension), sequence 503, value 14680069
00:00:56.900 [ERROR] [wlr] [xwayland/xwm.c:1448] xcb error: op ChangeProperty (no minor), code Window (no extension), sequence 513, value 14680069
00:00:56.900 [DEBUG] [sway/input/cursor.c:900] denying request to set cursor from unfocused client
00:00:56.901 [DEBUG] [sway/desktop/transaction.c:494] Transaction 0x5617724f17c0 is ready
00:00:56.901 [DEBUG] [sway/desktop/transaction.c:294] Applying transaction 0x5617724f17c0
00:00:58.132 [DEBUG] [wlr] [xwayland/xwm.c:796] unhandled X11 property 383 (_NET_WM_USER_TIME) for window 4194306
sway: render/wlr_texture.c:29: wlr_texture_from_pixels: Assertion `data' failed.
(EE)00:00:58.313  [ERROR] failed to read Wayland events: Connection reset by peer
[common/ipc-client.c:87] Unable to receive IPC response
X connection to :1 broken (explicit kill or server shutdown).
date: write error: Broken pipe
  • Configuration File:

    • default configuration (/etc/sway/config)
  • Stack Trace:

#0  0x00007f538a9aad22 in raise () at /usr/lib/libc.so.6
#1  0x00007f538a994862 in abort () at /usr/lib/libc.so.6
#2  0x00007f538a994747 in _nl_load_domain.cold () at /usr/lib/libc.so.6
#3  0x00007f538a9a3616 in  () at /usr/lib/libc.so.6
#4  0x00007f538abe5443 in wlr_texture_from_pixels () at /usr/lib/libwlroots.so.9
#5  0x00005617705c5885 in  ()
#6  0x00005617705c8d0e in  ()
#7  0x00005617705d4c8f in  ()
#8  0x00005617705d5db2 in  ()
#9  0x00007f538ac311ee in wlr_signal_emit_safe () at /usr/lib/libwlroots.so.9
#10 0x00007f538ac32e65 in  () at /usr/lib/libwlroots.so.9
#11 0x00007f538ac378e1 in  () at /usr/lib/libwlroots.so.9
#12 0x00007f538ac8207a in wl_event_loop_dispatch () at /usr/lib/libwayland-server.so.0
#13 0x00007f538ac7fbe7 in wl_display_run () at /usr/lib/libwayland-server.so.0
#14 0x000056177058397b in  ()
#15 0x00007f538a995b25 in __libc_start_main () at /usr/lib/libc.so.6
#16 0x0000561770583cee in  ()
@augustofg augustofg added the bug Not working as intended label Sep 19, 2021
FlexW pushed a commit to FlexW/sway that referenced this issue Sep 26, 2021
cairo_image_surface_create() return CAIRO_STATUS_INVALID_SIZE on too
long window titles and creates then no surface. Therefore it makes
sense to limit the window title length to a reasonable length. In the
future it would make sense to limit the length of the window title to
the length that can actually be drawn.

Fix: swaywm#6531

Signed-off-by: Felix Weilbach <felix.weilbach@t-online.de>
FlexW pushed a commit to FlexW/sway that referenced this issue Oct 10, 2021
cairo_image_surface_create() return CAIRO_STATUS_INVALID_SIZE on too
long window titles and creates then no surface. Therefore it makes
sense to limit the window title length to a reasonable length.

Fix: swaywm#6531

Signed-off-by: Felix Weilbach <felix.weilbach@t-online.de>
FlexW pushed a commit to FlexW/sway that referenced this issue Oct 10, 2021
cairo_image_surface_create() return CAIRO_STATUS_INVALID_SIZE on too
long window titles and creates then no surface. Therefore it makes
sense to limit the window title length to a reasonable length.

Fix: swaywm#6531

Signed-off-by: Felix Weilbach <felix.weilbach@t-online.de>
@akselaase
Copy link

This also happens for Wayland windows with long titles. I encounter this crash when using Firefox with its wayland backend, and sometimes tabs have very long titles due to the URL (hundreds or thousands or chars) being set as title while the page is loading.

@MarSoft
Copy link

MarSoft commented Oct 27, 2021

I keep bumping into this issue with Chromium when I try to authenticate on local government portal. Seems like it is caused by URL in title too. Very annoying. Hope it can be fixed.

FlexW pushed a commit to FlexW/sway that referenced this issue Dec 5, 2021
cairo_image_surface_create() return CAIRO_STATUS_INVALID_SIZE on too
long window titles and creates then no surface. Therefore it makes
sense to limit the window title length to a reasonable length.

Fix: swaywm#6531

Signed-off-by: Felix Weilbach <felix.weilbach@t-online.de>
emersion added a commit to emersion/sway that referenced this issue Dec 21, 2021
cairo_image_surface_create can fail, e.g. when running out of
memory or when the size is too big. Avoid crashing in this case.

Closes: swaywm#6531
@emersion emersion added this to the 1.7 milestone Dec 21, 2021
rpigott pushed a commit that referenced this issue Dec 21, 2021
cairo_image_surface_create can fail, e.g. when running out of
memory or when the size is too big. Avoid crashing in this case.

Closes: #6531
emersion added a commit to emersion/sway that referenced this issue Dec 23, 2021
cairo_image_surface_create can fail, e.g. when running out of
memory or when the size is too big. Avoid crashing in this case.

Closes: swaywm#6531
(cherry picked from commit 59aebaa)
GorrillaRibs pushed a commit to GorrillaRibs/sway-borders that referenced this issue Jan 11, 2022
cairo_image_surface_create can fail, e.g. when running out of
memory or when the size is too big. Avoid crashing in this case.

Closes: swaywm#6531
GorrillaRibs pushed a commit to GorrillaRibs/sway-borders that referenced this issue Jan 18, 2022
cairo_image_surface_create can fail, e.g. when running out of
memory or when the size is too big. Avoid crashing in this case.

Closes: swaywm#6531
RagnarGrootKoerkamp pushed a commit to RagnarGrootKoerkamp/sway that referenced this issue Mar 29, 2022
cairo_image_surface_create can fail, e.g. when running out of
memory or when the size is too big. Avoid crashing in this case.

Closes: swaywm#6531
WillPower3309 pushed a commit to WillPower3309/swayfx that referenced this issue Jan 4, 2023
* build: bump wlroots dependency to 0.16.0

* swaymsg: replace if with switch in pretty_print

* swaymsg: add GET_TREE pretty-printing

* swaybar: fix errno handling in status_handle_readable

If getline fails once, it was not reset before the next getline
call. errno is only overwritten by getline on error.

* Add cairo_image_surface_create error handling

cairo_image_surface_create can fail, e.g. when running out of
memory or when the size is too big. Avoid crashing in this case.

Closes: swaywm/sway#6531

* build: bump version to 1.8-dev

Historically we've been sticking with the last release number in
the master branch. However that's a bit confusing, people can't
easily figure out whether they're using a release or a work-in-progress
snapshot. Only the commit hash appended to the version number may
help, but that's not very explicit and disappears when using a
tarball.

We could bump the version in master to the next release number.
However during the RC cycle there would be a downgrade from 1.8 to
1.8-rc1. Also it would be hard to tell the difference between a
stable release and an old snapshot.

This patch introduces a new pre-release identifier, "dev". It's
alphabetically before "rc" so it should be correctly sorted by
semver comparisons. "dev" is upgraded to "rc" (and then to stable)
when doing a release. The master branch always uses a "dev"
version, only release branches use "rc" or stable versions.

* [IPC] Add repeat delay/rate info to keyboard

Closes #6735

wlroots already has the info in the struct so let's access it and print it out.

* input/seat: unset has_focus when focus_stack becomes empty

We currently track the focus of a seat in two ways: we use a list called
focus_stack to track the order in which nodes have been focused, with
the first node representing what's currently focused, and we use a
variable called has_focus to indicate whether anything has focus--i.e.
whether we should actually treat that first node as focused at any given
time.

In a number of places, we treat has_focus as implying that a focused
node exists. If it's true, we attempt to dereference the return value of
seat_get_focus(), our helper function for getting the first node in
focus_list, with no further checks. But this isn't quite correct with
the current implementation of seat_get_focus(): not only does it return
NULL when has_focus is false, it also returns NULL when focus_stack
contains no items.

In most cases, focus_stack never becomes empty and so this doesn't
matter at all. Since focus_stack stores a history of focused nodes, we
rarely remove nodes from it. The exception to this is when a node itself
goes away. In that case, we call seat_node_destroy() to remove it from
focus_stack and free it. But we don't unset has_focus if we've removed
the final node! This lets us get into a state where has_focus is true
but seat_get_focus() returns NULL, leading to a segfault when we try to
dereference it.

Fix the issue both by updating has_focus in seat_node_destroy() and by
adding an assertion in seat_get_focus() that ensures focus_stack and
has_focus are in sync, which will make it easier to track down similar
issues in the future.

Fixes #6395.

[1] There's some discussion in #1585 from when this was implemented
about whether has_focus is actually necessary; it's possible we could
remove it entirely, but for the moment this is the architecture we have.

* swaybar: fix tray_padding vs min-height re: scale

Co-authored-by: xdavidwu <xdavidwuph@gmail.com>

* swaybar: fix tray item icon scaling, positioning

* container: Fix crash when view unmaps + maps quickly

Followup on 4e4898e.

If a view quickly maps and unmaps repeatedly, there will be multiple
destroyed containers with same view in a single transaction. Each of
these containers will then try to destroy this view, resulting in use
after free.
The container should only destroy the view if the view still belongs
to the container.

Simple reproducer: couple XMapWindow + XUnmapWindow in a loop followed
by XDestroyWindow.

See #6605

* commands/move: Fix crash when pos_y is omitted

Fixes #6737

* Destroy sub-surfaces with parent layer-shell surface

Closes: swaywm/sway#6337

* Add safety assert in parse_movement_unit

Let's add this just in case a caller passes argc == 0.

References: swaywm/sway#6737 (comment)

* meson: check: false on run_command

Future meson releases will change the default and warns when the
implicit default is used, breaking builds.

Explicitly set check: false to maintain behavior and silence warnings.

* Print deprecation notice when running SUID

SUID privilege drop is needed for the "builtin"-backend of libseat,
which copied our old "direct" backend behavior for the sake of
compatibility and ease of transition.

libseat now has a better alternative in the form of seatd-launch. It
uses the normal seatd daemon and libseat backend and takes care of SUID
for us.

Add a soft deprecation warning to highlight our future intent of
removing this code. The deprecation cycle is needed to avoid surprises
when sway no longer drops privileges.

* xdg-shell: use toplevel geometry to adjust the popup box

`popup_unconstrain` uses view coordinates to init the output box for
popups. However wlroots expects the box to be set in a toplevel surface
coordinate system, which is not always equal to view. The difference
between those is a window geometry set via xdg-shell.

GTK4 reserves some space for client-side decoration and thus has a
window with top left corner not matching to (0, 0) of a surface. The box
calculated without taking that into account was slightly shifted
compared to the actual output and allowed to position part of the popup
off screen.

* build: fix building with basu

02b412a introduced the use of list for sdbus deps, however
it was assuming that all packages which were in a list has a version
higher than 239. That is true for libsystemd and libelogind, since they
use the same versions, however basu is using version numbers which are
way lower than what libsystemd/libelogind are using, so basu only build
is failing.

* Upgrade for wlroots surface refactoring

See [1] for details.

[1]: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3412

* commands/focus: drop trailing whitespace

* input/cursor: count pointer gestures as idle activity

Fixes swaywm/sway#6765.

* input/cursor: treat swipe begin as idle activity too

Accidentally overlooked in fd53f80.

* treat fullscreen windows as 'tiled' for commands/focus

* transaction: destroying nodes aren't hidden

Commit 37d7bc6 ("transaction: Only wait for ack from visible
views") introduced a check which uses view_is_visible() to check if a view
is still visible on the screen. However view_is_visible() will early
return in case the node is in the destroying state. This is incorrect
for transactions, since a destroying view which is visible will trigger
configure events for other clients. This bug was visible when repeatedly
opening and closing two views side by side, since we ignore the
destroying node we get a frame where the still open view is shown with
the old configure values and the rest is the desktop background. The
next frame is than correct again.

Fix this by considering destroying views as visible, we correctly wait
for them and send the configure events to other views in time, fixing
the background flicker.

Fixes #6473

* build: execute wlroots subproject before finding deps

wlroots often requires dependencies more recent than Sway's.
Executing the wlroots subproject first will give Meson a chance to
find these newer dependencies, possibly via subprojects.

The subproject will override the "wlroots" dependency when executed,
so we don't need to use get_variable anymore.

References: swaywm/sway#6498 (comment)

* tray: do not render passive items

https://www.freedesktop.org/wiki/Specifications/StatusNotifierItem/StatusNotifierItem/#org.freedesktop.statusnotifieritem.status

* cmd/swap: error on swapping a container with itself

* input/cursor: pass through pointer hold gestures

This just follows swaywm/wlroots#3047, so `wl_pointer_gestures_v1`
clients can be notified of these events.

* swaynag: remove buffer destruction condition

An address of a variable can never be NULL, so checking it doesn't make
sense; and `destroy_buffer()` can operate on already destroyed buffers
anyway.

Fixes #6780

* Use bools for CLI flags

* xwayland: listen to `request_activate` event

When REAPER submenu is closed `XCB_CLIENT_MESSAGE` with type
`NET_ACTIVE_WINDOW` is sent to set focus to parent menu.

Closes: swaywm/sway#6324

* chore: chase wlr_output_layout_get_box() update

https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3439

* Chase wlroots xdg-shell refactor

* Minor update to focus_on_window_activation

Removed xwayland limitation since wayland clients are supported via xdg-activation.

* Translated README into Italian

* readme: add link to Italian translation

* readme: sort language list alphabetically

* readme: use relative links for translations

* xdg-shell: use wlr_xdg_toplevel in sway_view

Improved type safety.

Closes: swaywm/sway#6813

* xdg-shell: use wlr_xdg_popup in sway_xdg_popup

Improved type safety.

* Fix snprintf compiler warning

* Remove all sprintf calls

Replace them with snprintf, which ensures buffer overflows won't
happen.

* sway/commands: add missing wlr_keyboard interface include in xkb_switch_layout

* sway/input: use wlr_input_device from input device base

* Remove some erroneous apostrophes in comments

* Don't enter seatop_move_floating when fullscreen

Currently, a floating window that's been fullscreened can send us
xdg_toplevel::move, and we'll enter seatop_move_floating, which lets us
drag the surface around while it's fullscreen. We don't want
this--fullscreen surfaces should always be aligned to the screen--so add
the same check that seatop_default already does when entering this mode.

Tested with Weston's weston-fullscreen demo, which sends a move request
if you click anywhere on its surface.

* swaynag: die on all allocation failures

* sway/input: don't pass possibly invalid modifiers pointer

active_keyboard may be NULL, in which case an invalid pointer could be
passed to wlr_input_method_keyboard_grab_v2_send_modifiers. This
procedure call is unnecessary since wlroots commit 372a52ec "input
method: send modifiers in set_keyboard", so the call can simply be
removed.

Fixes #6836.

* sway/input: destroy sway_switch properly

Fix: #6861
Added seat_device_destroy function to seat_device_destroy function.

* commands/focus: fix segfault when no container is already focused.

Fixes #6690.

* Remove WLR_SWITCH_STATE_TOGGLE usage

Ref [1].

[1]: https://gitlab.freedesktop.org/wlroots/wlroots/-/commit/4792446ee8f50104bd207d9ccd8558a7e4eb4514

* Replace pcre with pcre2

Closes: swaywm/sway#6838

* swaybar: remove swaybar_output.input_region

No need to keep the region around, we can immediately destroy it
after the wl_surface.set_input_region request.

* swaybar: set opaque region

When the background color is fully opaque, set the surface's opaque
region to the whole surface.

* Updating criteria checking with PCRE2

* swaynag: allocate button_details with details

They are used together, so it doesn't make sense to allocate them
separately.

* swaynag: statically allocate button_close, and move declaration

Every swaynag has a close button, so it doesn't make sense to
allocate it dynamically. The declaration is moved later to when
it is actually needed.

* swaynag: remove unnecessary zero of swaynag struct

Global variables are initialized to 0.

* swaynag: remove redundant status variables in main

Instead, we just use `status` for all failures.

* remove unnecessary strlen call

* sway/input/cursor: take device mm size from wlr_tablet

* sway/input/seat: take output name from specialized input device

* sway/input: follow up wlroots input device events renaming

* sway/input: fix bad position of wlr_drag

* sway/input: wlr_seat_keyboard() now takes wlr_keyboard

* bash-completion: localize variables

* sway/main: move constants off the stack

This makes stack traces from gdb slightly easier to read.

* Fix farsi label

* Avoid format-truncation warning

The existing code gives this error when compiled with GCC 12:

../sway/server.c: In function ‘server_init’:
../sway/server.c:217:75: error: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size 8 [-Werror=format-truncation=]
  217 |                 snprintf(name_candidate, sizeof(name_candidate), "wayland-%d", i);
      |                                                                           ^~
../sway/server.c:217:66: note: directive argument in the range [-2147483647, 32]
  217 |                 snprintf(name_candidate, sizeof(name_candidate), "wayland-%d", i);
      |                                                                  ^~~~~~~~~~~~
../sway/server.c:217:17: note: ‘snprintf’ output between 10 and 20 bytes into a destination of size 16
  217 |                 snprintf(name_candidate, sizeof(name_candidate), "wayland-%d", i);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Because i is never negative, this is a false positive, but it is easy to
change i to unsigned to silence the error.

* Shuffle variables to satisfy -Werror=restrict

This also fixes an invalid strlen invocation on uninitialized memory.

* layer_shell: keep output non-NULL wherever possible

Our layer shell implementation assigns every layer surface to an output
on creation. It tracks this output using the output field on the
underlying wlr_layer_surface_v1 structure. As such, much of the existing
code assumes that output is always non-NULL and omits NULL checks
accordingly.

However, there are currently two cases where we destroy a
sway_layer_surface and output is NULL. The first is when we can't find
an output to assign the surface to and destroy it immediately after
creation. The second is when we destroy a surface in response to its
output getting destroyed, as we set output to NULL in
handle_output_destroy() before we call wlr_layer_surface_v1_destroy(),
which is what calls the appropriate unmap and destroy callbacks.

The former case doesn't cause any problems, since we haven't even
allocated a sway_layer_surface at that point or registered any
callbacks. The latter case, however, currently triggers a crash (#6120)
if a popup is visible, since our popup_handle_unmap() implementation
can't handle a NULL output.

To fix this issue, keep output set until right before we free the
sway_layer_surface. All we need to do is remove some of the cleanup
logic from handle_output_destroy(), since as of commit c9060bc
("layer-shell: replace close() with destroy()") that same logic is
guaranteed to be happen later when wlroots calls handle_destroy() as
part of wlr_layer_surface_v1_destroy().

This lets us remove some NULL checks from other unmap/destroy callbacks,
which is nice. We also don't need to check that the wlr_output points to
a valid sway_output anymore, since we unset that pointer after disabling
the output as of commit a0bbe67 ("Address emersions comments on
output re-enabling") Just to be safe, I've added assertions that the
wlr_output is non-NULL wherever we use it.

Fixes #6120.

* Chase wlroots X11 hints update

* Add Swedish README

* Support cursor capture in grimshot

Refactor argument parser

Bring back `sh` compatibility

Default to NOTIFY=no

* Update grimshot.1.scd

Fixed typo. The object is **files**, which is plural. **image** modifies files; it's not countable.

* xkb_switch_layout: fix relative layout switches

Fixes #6011

* Implement ext-session-lock-v1

* Avoid inspecting a NULL view in seat_set_focus

Fixes #6968

* swaynag: do error checking and rename read_from_stdin

read_from_stdin not only read from stdin, but trimming trailing
newlines, so rename it to reflect this.

* swaynag: improve robustness when loading config

* swaynag: combine consecutive declaration/assignments

* config: Remove unused mouse binding structure

Mouse bindings are handled alongside normal bindings. Remove the unused
separate data structure definition to avoid confusion.

Signed-off-by: Michael Weiser <michael.weiser@gmx.de>

* Replace strncpy with memcpy

strncpy is useless here, is dangerous because it doesn't guarantee
that the string is NUL-terminated and causes the following warning:

    ../sway/criteria.c: In function ‘criteria_parse’:
    ../sway/criteria.c:712:25: error: ‘strncpy’ destination unchanged after copying no bytes [-Werror=stringop-truncation]
      712 |                         strncpy(value, valuestart, head - valuestart);
          |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

* Add descriptions for `stacking` and `tabbed` layouts

Resolves #5918

* man: Fix trailing spaces

* server: request xdg-shell v2

Wlroots does not yet support the newer xdg-shell versions and now
requires the compositor to set the supported xdg-shell version during
creation. Set this to v2 for sway as well.

Fixes swaywm/sway#7001

* realtime: request SCHED_RR using CAP_SYS_NICE

Try to gain SCHED_RR (round-robin) realtime scheduling privileges before
starting the server. This requires CAP_SYS_NICE on Linux systems.
We additionally register a pthread_atfork callback which resets the
scheduling class back to SCHED_OTHER (the Linux system default).

Due to CAP_SYS_NICE, setting RLIMIT_RTPRIO has no effect on the process
as documented within man 7 sched (from Linux):

  Privileged (CAP_SYS_NICE) threads ignore the RLIMIT_RTPRIO limit;
  as with older kernels, they can make arbitrary changes to
  scheduling policy and priority. See getrlimit(2) for further
  information on RLIMIT_RTPRIO

Note that this requires the sway distribution packagers to set the
CAP_SYS_NICE capability on the sway binary.

Supersedes #6992

* ext-session-lock: disable direct scan-out when locked

* Polish the language in README.zh-CN.md & sync with English one

Co-Authored-By: Urey. Xue <urey.s.knowledge@gmail.com>

* De-duplicate IPC output descriptions

* Handle NULL output make/model/serial

* chore: chase wlroots xdg-shell update

* xdg-shell: schedule a configure on maximize request

This commit reverts 03879290dbee26127f6867ef60bc2a7f9a6c8c5f and
fc84bcb7fb0ffa29b1f9bed287762241a3473803.

* Add a Hindi (हिन्दी) translation to the README

Hindi is one of the most prominent languages of the Indian Subcontinent.
This commit adds the translation of the README into the Hindi language.
Some of the words are still written in English because there wasn't an
appropriate technical term of the word in the language.

Co-authored-by: Surendrajat <surendrajat@protonmail.com>

* sway: add bindgesture command

Co-authored-by: Michael Weiser <michael.weiser@gmx.de>

* build: link with -pthread

Fixes the following FreeBSD error:

    ld: error: undefined symbol: pthread_getschedparam
    >>> referenced by realtime.c:25 (../sway/realtime.c:25)
    >>>               sway/sway.p/realtime.c.o:(set_rr_scheduling)

Fixes: a3a82ef ("realtime: request SCHED_RR using CAP_SYS_NICE")

* ipc: remove chatty debug log messages

These aren't particularly useful, and clobber the debug logs.

* Refuse to start when SUID is detected

This ensures that those surprised by the deprecation of SUID operation
receive an error rather than accidentally having sway run as root.

This detection will be removed in a future release.

* swaynag: move close_button up to fix SIGSEGV

When swaynag_parse_options encounters '--dismiss-button' (or its
shorthand '-s'), it sets the text of the first button in the
swaynag.buttons list, which is expected to exist and to be the dismiss
button, to the one passed by the user.

Commit 4780afb ("swaynag: statically
allocate button_close, and move declaration") moved the list
initialization to after swaynag_parse_options is called which made that
code fail.

For example, the command 'swaynag --dismiss-button Dismiss' crashes and
'swaynag --message Message --button Yes "" --dismiss-button Dismiss'
shows the wrong buttons.

Move it back to before swaynag_parse_options is called.

* config/output: use wlr_output_commit_state

This makes the code more robust because we don't potentially leave
bad state in wlr_output.pending behind anymore. This also fixes a
bug.

Closes: swaywm/sway#7043
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3610

* Allocate enough space for `cmd_results->error`

* Remove access to wlr_input_device union

References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3626
Closes: swaywm/sway#7077

* Rename dpms output command to power

The "dpms" command refers to VESA Display Power Management
Signaling, a deprecated standard. It's superseded by VESA DPM.

Instead of tying out command name to a particular standard, use the
neutral term "power".

* Strip quotes in bindsym --input-device=...

If the input device is quoted, which is common when using variables in the
config file, those quotes must be ignored here, or the input device will be
ignored.

Fixes #7029.

* Avoid unecessary string copy

* Reject font values that are invalid for pango

Use pango to parse font configuration early, and reject the command as
invalid if the value is invalid for pango. Since we're already parsing
the font into a `PangoFontDescription`, keep that instance around and
avoid re-parsing the font each time we render text.

Fixes: swaywm/sway#6805

* Reuse parsed PangoFontDescription

Avoids parsing the configured font each time text is rendered.

* ipc: add "power" to output reply

* config.in: switch to `output power`

* Remove internal references to DPMS

While at it, use an int for the config field, just like we do for
all other fields.

* fix: remove redundant empty statement in main.c

This semi-colon looks like a typo. Luckily, it has no effect on the code as it's treated as an empty statement leading the switch case.

Really straightforward nitpick change, was just something I was confused by when reading over the code.

* input: chase delta_discrete semantics change

* swaymsg: fix floating_nodes being ignored

Fix floating_nodes being ignored in pretty_print_tree.

* ipc: make get_deco_rect check config->hide_lone_tab

Without this, the `IPC_GET_TREE` ipc call would return false information
about the container's `deco_rect` and `rect` properties if
`hide_edge_borders --i3` was in effect.

* grimshot: fix tilde expansion within quotes

* Enable single-pixel-buffer-v1

References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3428

* sway-output.5: improve display of parameter

Since "width" and "height" are separate parameters, show them as such.

* man: sway(5) move fixes

* ipc: drop WLR_OUTPUT_ADAPTIVE_SYNC_UNKNOWN case

This has been removed from wlroots.

* config/output: test adaptive sync

Required for [1].

[1]: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3637

* Fix crash in xdg_activation_v1.c

wlr_xdg_surface_from_wlr_surface() can return a NULL pointer, so check for NULL before dereferencing it.

* sway: Add non-desktop-output type

Currently, when encountering a non-desktop display, sway offers the
output for leasing and returns without storing it in a sway specific
output type like `struct sway_output`.  Additionally, running
`swaymsg -t get_outputs` doesn't show non-desktop outputs.

This commit stores the non-desktop outputs into a struct called
`sway_output_non_desktop`, and adds them to a list on `sway_root`

* sway: add non-desktop outputs to json when running `swaymsg -t get_outputs`

* swaymsg: show non-desktop property when pretty printing outputs

* man: Add XWayland information

* ipc: expose mode picture aspect ratio

* swaymsg: show mode picture aspect ratio

* build: simplify protocol paths

No need for arrays here.

* sway/commands/output: Add command for unplugging non-physical outputs

* Improve Japanese translation

* allow pointer_constraints on layer_shell surfaces

* check for NULL

* use seat directly

* Use keyboard_state.focused_surface directly

* input: focus floating container when clicked on border

Fixes #7209.

* input: focus container when scrolling on titlebar

Fixes #6503.

* Fix leaks in criteria_destroy()

* Avoid double free in criteria_destroy()

* Add support for ext-idle-notify-v1

References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3753

* input: tweak focus behavior to allow focusing parent containers

Sway focuses the inactive child when focusing split containers. However,
there is currently no way to focus the parent container itself by mouse.
A user must use the keyboard to do so.

This commit maintains the current behavior, but makes it such that a
second click on the split container titlebar (i.e., after its children
are visible) focuses the split container itself.

* Fix keymap being NULL and segfaulting on dev add

Moved `libinput_config` to the callers of
`sway_input_configure_libinput_device` so that we send the event after
the added event.

* Rework session lock keyboard focus handling

When removing outputs, it is possible to end up in a situation where
none of the session lock client's surfaces have keyboard focus,
resulting in it not receiving keyboard events.  Track the focused
surface and update it as needed on surface destroy.

* Fix focus tracking when session lock is active

Remove the incorrect attempt to block focus changes when an input grab
is present and replace it with the same logic used for layer_shell-based
screen lockers: restore the focus after changing it.

This fixes a use-after-free of seat->workspace if outputs are destroyed
while a screen lock is enabled.

* container_floating_set_default_size: Store workspace size box on the stack

* Support libinput's 1.21 new dwtp option

Support the new dwtp (disable while trackpointing) option introduced in
libinput 1.21, allowing users to control whether the trackpoint (like
those in Thinkpads, but not only) should be disabled while using the
keyboard/touchpad.

See: https://gitlab.freedesktop.org/libinput/libinput/-/issues/731

* tree: support formatting null titles

Any windows that have never had a title set visually behave closer to
that of an empty title, but are unformattable, as the code bails out
early on a NULL title.

* criteria: allow matching on empty (NULL) titles

* criteria: allow matching for NULL string criteria

* ci: install hwdata

* Use wl_signal_emit_mutable()

This function fixes segfaults when emitting a signal potentially
removes arbitrary listeners.

* Use wlr_damage_ring

wlr_output_damage is to be replaced with wlr_damage_ring, so use that.

* lock: fix crash on output destroy

Closes: swaywm/sway#7120

* container_get_siblings: handle NULL workspace

* ci: checkout wlroots 0.16.0

* workspace_create: Don't allow NULL name

(cherry picked from commit 34933bb)

* output: set damage ring bounds to pixel values

Fixes: swaywm/sway#7254
(cherry picked from commit 85005b5)

* Use shm_open instead of mkstemp

shm_open is more reliable because it does not require
a writeable filesystem folder, unlike mkstemp.

(cherry picked from commit e2bc886)

* build: drop wayland-scanner fallback

(cherry picked from commit 366f6ef)

* build: unify server & client protocol generation

No need to make a difference here, let's just generate header
files for both.

(cherry picked from commit 5be5a03)

* build: drop "server" from target name for protocol code

(cherry picked from commit e5475d9)

* build: drop intermediate libraries for protocols

(cherry picked from commit af8a5a8)

* root: move the workspace matching code to its own file

This removes the pid_workspace bits from tree/root before it gets
too interesting.

No functional change.

(cherry picked from commit eb5021e)

* node: prettify node type names

(cherry picked from commit 1c4b94a)

* launcher: track workspaces by node

This removes the need to rename the pid_workspaces when a workspace
is renamed.

It also opens the possibility of tracking other node types. Tracking
containers would allow application to be placed correctly in the
container tree even if the user has moved their focus elsewhere since
it was launched.

(cherry picked from commit 3b49f27)

* launcher: use xdga tokens

This reuses wlroots token tracking for workspace matching. It doesn't
export any xdga tokens for clients yet.

(cherry picked from commit bd66f49)

* launcher: rename pid_workspace to launcher_ctx

Soon we will match views with more than just a pid.

(cherry picked from commit d75c9f9)

* view: associate launch contexts with views

Views now maintain a reference to a launch context which, as a last
resort, is populated at map time with a context associated with its pid.
This opens the possibility of populating it before map via another
source, e.g. xdga-tokens or configuration.

(cherry picked from commit 864b3a9)

* launcher: initialize launcher_ctxs once on startup

(cherry picked from commit 6656850)

* launcher: fudge the interface a bit

We want to create a context before knowing the pid it will match with.

(cherry picked from commit bdeb9f9)

* launcher: export xdga tokens and use them for workspace matching

(cherry picked from commit 30ad4dc)

* launcher: export X startup ids and use them for workspace matching

(cherry picked from commit 28fda4c)

* swaybar: Prioritize hotspot events to bar bindings

This is consistent with i3bar's behaviour, and for example, allows binding a
command to button1, while still being able to click on tray icons or other
zones on the bar's status line which may have their own bindings.

E.g., in Sway, without this commit, this config. makes tray icons unclickable:

    bar {
        # ...
        bindsym button1 exec swaynag -m You_clicked_the_tray._Want_some_help?
    }

But the same configuration in i3 (with i3-nagbar) keeps tray items clickable.

Signed-off-by: Joan Bruguera <joanbrugueram@gmail.com>
(cherry picked from commit 53f9dbd)

* swaybar: Make hotspots block bar release bindings

The previous commit prioritized hotspots before bar bindings for press events,
which matches i3's behaviour. However, since hotspots don't need to do any
processing on release events, those were not handled, and simply fell through
to `bindsym --release` bar bindings (if any).

This is counter-intuitive, and doesn't match i3's behaviour. Instead in case
a hotspot handles the press event, it should also handle the release event,
doing nothing, but blocking the event from triggering a --release bar binding.

E.g., in Sway, without this commit, this config. shows a text on tray clicks:

    bar {
        # ...
        bindsym --release button1 exec swaynag -m I_got_the_release_event.
    }

But the same configuration in i3 (with i3-nagbar) doesn't show the text.

Signed-off-by: Joan Bruguera <joanbrugueram@gmail.com>
(cherry picked from commit 94b69ac)

* build: drop unused wayland-egl dependency

(cherry picked from commit 37e4a3d)

* build: bump version to 1.8-rc1

* Fix build on Debian Stable

(cherry picked from commit dca0bb5)

* build: fix have_xwayland when xcb-icccm is not found

xcb-icccm is required to build Xwayland support.

Backported from commit d41f11e.

* build: bump version to 1.8-rc2

* seat: Avoid sending redundant keymaps on reload

When we reload the config, we reset every input device and re-apply
configuration from the config file. This means that the keyboard keymap
is updated at least once during config reload, more if the config file
contains keyboard configuration.

When they keyboard keymap changes and is updated through wlr_seat, the
keymap ends up sent to every keyboard bound in every client, seemingly
multiple times. On an x230 of mine with a keyboard layout set in the
config file, I see 42 keymap events sent to foot on config reload.

Reduce events from keyboard configurations by skipping all but the
currently active keyboard for the seat, and by clearing the active
keyboard during input manager device reset. After this change, I only
see a single just-in-time keymap event.

Fixes: swaywm/sway#6654

* criteria: be lenient on window_role and instance too

* build: bump version to 1.8-rc3

* commands/move: Warp cursor after moving workspace to another output

This makes sway's behavior consistent with i3 when `mouse_warping` is
set to any value besides `none`.

Fixes #7027.

(cherry picked from commit e3c63bf)

* seat: Set keyboard if seat keyboard is NULL

sway sends wl_keyboard.enter on seat focus change and when a keyboard
active on a seat is configured. If all keyboards are removed and a
keyboard is added back without changing the focused client, no new
notify event would be sent despite having keyboard focus. This could
lead to key events without notify, which is a protocol violation.

As a quick fix, when configuring a keyboard on a seat where no keyboard
is currently active, activate the keyboard so that a focused surface
will receive a notify event.

Regressed by: e1b268a
Closes: swaywm/sway#7330

(cherry picked from commit 1ade0ce)

* build: bump version to 1.8-rc4

* swaynag: fix NULL font description

The font description was only set if provided on the CLI. It was
left NULL for the defaults and when reading from the config file.

Closes: swaywm/sway#7186
(cherry picked from commit fd0af78)

* build: bump version to 1.8

* Removed other README languages

* Fixed build issues

* Removed alpha from render_data struct

* Updated PKGBUILDs and COPR spec

* Update sway/desktop/render.c

Co-authored-by: Alexis Tacnet <alexistacnet@gmail.com>

* Fixed deco_data not being initialized properly

* Replaced wlr_egl_(make|unset)_current with eglMakeCurrent

* Added matrix_projection into fx_renderer

Signed-off-by: Michael Weiser <michael.weiser@gmx.de>
Co-authored-by: Sefa Eyeoglu <contact@scrumplex.net>
Co-authored-by: Simon Ser <contact@emersion.fr>
Co-authored-by: Seth Barberee <seth.barberee@gmail.com>
Co-authored-by: Thomas Hebb <tommyhebb@gmail.com>
Co-authored-by: Nathan Schulte <nmschulte@gmail.com>
Co-authored-by: xdavidwu <xdavidwuph@gmail.com>
Co-authored-by: David Rosca <nowrep@gmail.com>
Co-authored-by: David96 <david@hameipe.de>
Co-authored-by: Kenny Levinsen <kl@kl.wtf>
Co-authored-by: Aleksei Bavshin <alebastr89@gmail.com>
Co-authored-by: Kirill Chibisov <contact@kchibisov.com>
Co-authored-by: Tudor Brindus <me@tbrindus.ca>
Co-authored-by: Patrick Hilhorst <git@hilhorst.be>
Co-authored-by: Rouven Czerwinski <rouven@czerwinskis.de>
Co-authored-by: Tobias Bengfort <tobias.bengfort@posteo.de>
Co-authored-by: Ronan Pigott <rpigott@berkeley.edu>
Co-authored-by: Kirill Primak <vyivel@eclair.cafe>
Co-authored-by: Tuomas Yrjölä <mail@yrhki.fi>
Co-authored-by: Kirill Primak <vyivel@posteo.net>
Co-authored-by: Alexander Browne <elcste@users.noreply.github.com>
Co-authored-by: Marco Rubin <20150305+Rubo3@users.noreply.github.com>
Co-authored-by: Muhamed Hobi <woohoomoo2u@gmail.com>
Co-authored-by: Simon Zeni <simon@bl4ckb0ne.ca>
Co-authored-by: Nihal Jere <nihal@nihaljere.xyz>
Co-authored-by: Alexander Gramiak <agrambot@gmail.com>
Co-authored-by: Moon Sungjoon <sumoon@seoulsaram.org>
Co-authored-by: Nicolas Avrutin <nicolas@avrutin.net>
Co-authored-by: ndren <andreien@ctemplar.com>
Co-authored-by: Bill Li <billli11hkb@gmail.com>
Co-authored-by: Leonardo Hernández Hernández <leohdz172@protonmail.com>
Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Co-authored-by: Manuel Stoeckl <code@mstoeckl.com>
Co-authored-by: Yasin Silavi <59373143+sttatusx@users.noreply.github.com>
Co-authored-by: Daniel De Graaf <code@danieldg.net>
Co-authored-by: kraftwerk28 <kefirchik3@gmail.com>
Co-authored-by: Eskil <67291226+eschillus@users.noreply.github.com>
Co-authored-by: Alice Carroll <git@alice-carroll.pet>
Co-authored-by: Alan <51193876+Pound-Hash@users.noreply.github.com>
Co-authored-by: Victor Makarov <vitja.makarov@gmail.com>
Co-authored-by: Michael Weiser <michael.weiser@gmx.de>
Co-authored-by: -k <slowdive@me.com>
Co-authored-by: Hongyi <61831273+FrozenArcher@users.noreply.github.com>
Co-authored-by: Urey. Xue <urey.s.knowledge@gmail.com>
Co-authored-by: LordRishav <75823494+LordRishav@users.noreply.github.com>
Co-authored-by: Surendrajat <surendrajat@protonmail.com>
Co-authored-by: Florian Franzen <Florian.Franzen@gmail.com>
Co-authored-by: Greg Depoire--Ferrer <greg@gregdf.com>
Co-authored-by: Thomas Jost <schnouki@schnouki.net>
Co-authored-by: Hugo Osvaldo Barrera <hugo@barrera.io>
Co-authored-by: zkldi <ktchidev@gmail.com>
Co-authored-by: llyyr <llyyr.public@gmail.com>
Co-authored-by: Baltazár Radics <baltazar.radics@gmail.com>
Co-authored-by: Martin Michlmayr <tbm@cyrius.com>
Co-authored-by: Filip Szczepański <jazz2rulez@gmail.com>
Co-authored-by: Alex Maese <memaese@hotmail.com>
Co-authored-by: マリウス <marius@xn--gckvb8fzb.com>
Co-authored-by: Andri Yngvason <andri@yngvason.is>
Co-authored-by: ohno418 <yutaro.ono.418@gmail.com>
Co-authored-by: Ferdinand Schober <ferdinand.schober@fau.de>
Co-authored-by: cparm <armelcadetpetit@gmail.com>
Co-authored-by: Yaroslav de la Peña Smirnov <yps@yaroslavps.com>
Co-authored-by: Alexander Orzechowski <orzechowski.alexander@gmail.com>
Co-authored-by: pudiva chip líquida <pudiva@skylittlesystem.org>
Co-authored-by: Puck Meerburg <puck@puckipedia.com>
Co-authored-by: Callum Andrew <calcium@mailbox.org>
Co-authored-by: Ronan Pigott <ronan@rjp.ie>
Co-authored-by: Joan Bruguera <joanbrugueram@gmail.com>
Co-authored-by: nerdopolis <bluescreen_avenger@verizon.net>
Co-authored-by: Ankit Pandey <anpandey@protonmail.com>
Co-authored-by: Alexis Tacnet <alexistacnet@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Not working as intended
4 participants