You are not logged in.

#1 2019-06-30 08:25:27

dewid2
Member
Registered: 2019-05-04
Posts: 7

sway with SDL does not update window automatically

Hello! I have written a simple SDL programm that draws an Object, and moves it when pressing a key or automatically during an infinite loop.
On Ubuntu with X this works as expected. On my Arch with wayland only and sway, the program draws the first screen, but ONLY updates when I "refresh" the workspace (e.g. 2) by pressing SUPER+2.
I have to do this after any change, otherwise the window stays static. Everythings up to date and I have tried SDL_VIDEODRIVER=wayland with no effect.
Does someone know a solution?

Offline

#2 2019-06-30 08:33:53

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: sway with SDL does not update window automatically

Please post or link to your code.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

Board footer

Powered by FluxBB