Sway: Cursor changes size

Created on 21 May 2018  路  6Comments  路  Source: swaywm/sway

Problem

My cursor increases its size by 2 when focussing a program. If I move the cursor away from the window, it shrinks back to its normal size.

This happens with every Program I am using.

The problem persists when I scale my monitors using the hidpi function.

Setup

2 3840x2160 monitors
sway 0.15.2
Fedora 28

Most helpful comment

@NicholasAsimov I was able to fix it by setting the cursor size to 16 in .Xdefaults

Xcursor.size: 16

All 6 comments

What's the program you're using?

In Wayland, the cursor is always set by the app, so some apps might use a cursor size which is too large (e.g. all Weston clients).

I am using mainly urxvt, firefox, audacity, chromium and vscode and the problem persists with all of these programs.

These are all xwayland programs, so this seems like a bug in sway 0.15.

Weirdly I have the same issue on sway 1.0@0f71547. xwayland programs have much larger cursor.

I have 1 monitor with 2560x1440 resolution.

@NicholasAsimov I was able to fix it by setting the cursor size to 16 in .Xdefaults

Xcursor.size: 16

@somdoron thanks, great info!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

marcoms picture marcoms  路  3Comments

mcmfb picture mcmfb  路  3Comments

dnkl picture dnkl  路  4Comments

RyanDwyer picture RyanDwyer  路  3Comments

ddevault picture ddevault  路  4Comments