Package Details: sway-hidpi-git r6891.3dffe7f3-1

Git Clone URL: https://aur.archlinux.org/sway-hidpi-git.git (read-only, click to copy)
Package Base: sway-hidpi-git
Description: Tiling Wayland compositor and replacement for the i3 window manager, with XWayland HiDPI (git version)
Upstream URL: https://swaywm.org
Licenses: MIT
Conflicts: sway, sway-git
Provides: sway, sway-git
Submitter: Rucikir
Maintainer: None
Last Packager: Rucikir
Votes: 11
Popularity: 0.012075
First Submitted: 2020-05-02 16:53 (UTC)
Last Updated: 2022-03-15 07:53 (UTC)

Dependencies (25)

Required by (36)

Sources (3)

Pinned Comments

Rucikir commented on 2021-04-25 21:17 (UTC) (edited on 2021-09-22 07:56 (UTC) by Rucikir)

Configuration instructions are at swayvm/wlroots: xwayland: hidpi support #2064 .

If you get a invalid checksum on xwayland_hidpi.diff, remember to clean the cache of your AUR helper first.

Latest Comments

1 2 Next › Last »

Rucikir commented on 2022-12-01 15:03 (UTC) (edited on 2022-12-01 15:03 (UTC) by Rucikir)

Hi everyone,
I've stopped using this package and mostly xwayland software, so I've given up interest. I'm hoping they'll be support in upstream Wayland and compositors soon, or that we'll switch to a complete Wayland-compatible soon.
As a reminder, this package uses a set of experimental patches on xorg-xwayland, wlroots, and sway to enable HiDPI Xorg apps on Wayland. There might be a newer approach for this problem.
I'll orphan and stop rebasing the patches, feel free to pick them up from my fork and switch to yours.
Ciao!

kyckl1ng commented on 2022-12-01 11:02 (UTC)

Is there any way making it work with fractional scaling? All I want is to let xwayland run at my native resolution when I'm running wayland with scale 1.5

taba commented on 2022-11-24 13:33 (UTC) (edited on 2022-11-24 13:33 (UTC) by taba)

Along with https://aur.archlinux.org/packages/sway-hidpi-git#comment-882559, having the following in ~/.config/sway/config and running x programs with XCURSOR_SIZE=48 helped.

xwayland force
exec 'echo "*.dpi: 192" | xrdb -merge'

zayatura commented on 2022-09-22 12:44 (UTC)

In case someone's in a similar shoe and wondering how they can have recent wlroots build with xwayland apps having HiDPI support (exactly what this package was doing until it broke): I managed to have the same functionality with another set of packages:

The above work with the simple "sway-git" package and don't seem to need a specific package (such as this package).

These also need an X11 property that can be set by adding to sway config:

exec_always 'xprop -root -f _XWAYLAND_GLOBAL_OUTPUT_SCALE 32c -set _XWAYLAND_GLOBAL_OUTPUT_SCALE 2'

C_Schmidpeter commented on 2022-06-22 21:11 (UTC)

@Rucikir PR #7079 has been merged now and it compiles fine again.

'makepkg -i' does not work, but 'pacman -U'. Is that expected / how come the latter works, but the former results in an error?

C_Schmidpeter commented on 2022-06-22 20:32 (UTC)

@Rucikir Thanks for the info

Rucikir commented on 2022-06-22 07:28 (UTC)

@C_Schmidpeter Pull request pending at https://github.com/swaywm/sway/pull/7079.

C_Schmidpeter commented on 2022-06-21 19:22 (UTC)

The package used to build fine for me. However, now it fails to compile with:

../sway/sway/ipc-json.c:982:67: error: ‘struct wlr_input_device’ has no member named ‘keyboard’ 982 | struct wlr_keyboard *keyboard = device->wlr_device->keyboard;

Rucikir commented on 2022-01-08 13:57 (UTC)

@wildwestrom User @the_nightman referred the issue they reported in the previous message, not about HiDPI support. I personally enjoy HiDPI support, but with more and more apps supporting Wayland natively, this package will become less relevant.

wildwestrom commented on 2022-01-05 17:06 (UTC) (edited on 2022-01-05 17:36 (UTC) by wildwestrom)

@the_nightman commented on 2021-12-18 06:15 According to this github issue, it was fixed with this PR.

So is this package relevant anymore? Or should we just use the sway or sway-git package? @Rucikir please comment.