By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: SDL Merges Wayland Multi-Seat Support
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > Computing > SDL Merges Wayland Multi-Seat Support
Computing

SDL Merges Wayland Multi-Seat Support

News Room
Last updated: 2025/04/12 at 8:34 PM
News Room Published 12 April 2025
Share
SHARE

An interesting merge this weekend to the Simple DirectMedia Library (SDL) that is widely-used by cross-platform games and other applications for software/hardware abstractions is Wayland multi-seat support. This addition also comes with a developer working on Valve’s Linux graphics efforts.

Merged on Saturday to mainline SDL3 Git is multi-seat support for allowing multiple keyboard/pointer inputs simultaneously for different concurrent users. Frank Praznik, who is involved with Valve’s Linux graphics efforts, authored this multi-seat support. He summed up in the commit:

“Wayland environments can expose more than one seat for multiple collections of input devices, which can include multiple, simultaneously active, desktop pointers and keyboards with independent layouts. The Wayland input backend previously presumed that only one seat could exist, which caused broken behavior if the compositor exposed more than one, which is possible on wlroots based compositors such as Sway. This introduces support for handling multiple seats, including proper handling of dynamically added and removed seats and capabilities at run time.

The SDL Wayland input system was accreted over time, and the assumption that only one seat will ever exist resulted in state and related objects not always being tied to their most appropriate owner in a multi-seat scenario, so refactoring was required to manage several bits of state per-seat, instead of per-window or globally.

As Wayland keyboards can have per-seat layouts, fast keymap switching is required when multiplexing input from multiple seats to the global SDL keyboard device. A parameter was added to the keymap creation function to specify if the keymap lifetime should be externally managed to facilitate keymap reuse, and some layout info was moved from the global keyboard state to the keymap state to avoid unnecessarily redetermining it whenever a reused keymap is bound. This reduces the overhead of switching keymaps to setting a single pointer.

Multiple seats also means that multiple windows can have keyboard and/or mouse focus at the same time on some compositors, but this is not currently a well-handled case in SDL, and will require more work to support, if necessary.”

In the pull request it’s noted this Wayland multi-seat support was tested with the Sway compositor while using two sets of keyboards and mice.

Multiple mice

This Wayland multi-seat support for SDL could be useful for split-screen multi-player games and similar purposes.

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article Harman Kardon’s Onyx Studio 8 is 74 percent off at Woot, and I honestly can’t believe this price
Next Article Cancel Your Microsoft 365 Sub and Own Your Apps With This Office 2019 Deal
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

How You Can Bring the Volume Bar Back to Your iPhone's Lock Screen
News
Top 10 Best Practices for Effective Data Protection
Computing
The Best Android Phones, Tested and Reviewed
Gadget
Britain’s creaking energy grid risks short-circuiting UK growth – UKTN
News

You Might also Like

Computing

Top 10 Best Practices for Effective Data Protection

13 Min Read
Computing

AMD Ryzen AI Max+ “Strix Halo” Delivers Best Performance On Linux Over Windows 11 – Even With Gaming

3 Min Read
Computing

Alibaba shares fall after Q4 earnings miss expectations despite AI and e-commerce growth · TechNode

1 Min Read
Computing

AURA, SA-founded platform, raises $14.6 million to expand to U.S

5 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?