FW: xrandr and xwayland

David Deyo ddeyo at tireprofiles.com
Thu Aug 5 21:02:55 UTC 2021



On Thu, 5 Aug 2021 at 21:15, David Deyo <ddeyo at tireprofiles.com<mailto:ddeyo at tireprofiles.com>> wrote:
I was able to re-create the files of your patch and added them into my build tree.

Not having an accelerometer, I’ve had to make a few changes.
When you said, ‘It had issues’, I am also seeing some issues.

I can rotate my screen, but something about the callback (weston_rotate_rotate) is acting strange.
I have added a loop in autorotate that calls weston_rotate_rotate every 10 secs.   I am logging out to Weston_log.
It seems I only get those logs once every 15-30 minutes and when I do, it’s hundreds of logs.  What’s up with that?


  *   Sounds like you're missing wl_display_flush() in your client code, so the requests don't make it to the socket buffer until they're forced to because it's filled up.
I’ll have a look, thanks.

Also, my taskbar is the wrong length and my background is black.  Other than that, pretty cool.


  *   Yep, desktop-shell isn't designed to handle runtime rotation. It could be made to pretty easily by working on the client code. For your case though I'd assume something like kiosk-shell would be a much better bet.
Is there such a thing as kiosk-shell?  Or is that what you’re calling this effort?


  *   Cheers,

  *   Daniel

Thanks,

-dwd

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20210805/b120f5a1/attachment-0001.htm>


More information about the wayland-devel mailing list