Wlroots: Proposal: remove rootston

Created on 2 Aug 2019  路  8Comments  路  Source: swaywm/wlroots

  • It's basically unmaintained
  • It's bad
  • It has served its purpose

It would be nice to have other compositors exist which exercise some wlroots features which are currently only implemented in rootston:

  • [ ] Drawing tablet protocol
  • [ ] Text input protocol
  • [ ] Input method protocol

Most helpful comment

While I agree rootston's code wasn't great (especially the input code), I think it was still useful. I'll maintain a fork of rootston here: https://github.com/emersion/rootston

Making it nicer is on my TODO-list.

All 8 comments

Just to put what I said on IRC in a more permanent place:

I'm not opposed to this.

If someone is interested in doing it, it could be rewritten to truly be simple, yet be a complete compositor. It would live in a separate repository and wouldn't be "blessed" like rootston currently is; it would just be like any other wlroots compositor.

I would say just move rootston to its own repository, I never understood why it is together with wlroots.

However, if we remove rootston completely, then I would say we should have another simple compositor as a test bed. Rootston has been very helpful to me when implementing pointer-constraints and tablet tool support for Wayfire, as I could go straight to the code and figure out what is necessary for those protocols.

Oh and drawing tablet is almost supported in Wayfire, except for tablet pad support (but I gather tablet pads are pretty rare?)

Tablet Pads are on pretty much every tablet out there :)

@Ongy but do they support the stuff like rings, pad buttons and what not?

Plus you are forgetting all the touchscreen laptops with stylus support :)

Ha, found my shitty old drawing :)
^ That's my intuous3 (old somewhat entry level wacom) It has strip support.
The current Intuous Pro have a ring.

Outside entry level tablets, you'll have them :) And even entry level tablets (and signing pads) have buttons.

If you only support the tool, you should probably "market" it as stylus support, not full tablet.
And yes, I did forget about them^^

I've filter-branched it into its own project here:

https://github.com/swaywm/rootston

I'll push a commit removing it from the wlroots tree shortly.

While I agree rootston's code wasn't great (especially the input code), I think it was still useful. I'll maintain a fork of rootston here: https://github.com/emersion/rootston

Making it nicer is on my TODO-list.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

J0nnyMak0 picture J0nnyMak0  路  5Comments

RPigott picture RPigott  路  4Comments

ddevault picture ddevault  路  5Comments

emersion picture emersion  路  5Comments

ddevault picture ddevault  路  5Comments