4 ms·
There is no reason why window managers can't share functionality via libraries. In fact, some do (wlroots). X11 and its separation of graphic server and window
by diegocg 6y ago
There is no reason why window managers can't share functionality via libraries. In fact, some do (wlroots).
X11 and its separation of graphic server and window manager encouraged code reuse by placing it in the server, but with Wayland that separation (and the extra context switches) are gone so there is less incentive to share code.
- p_l 6y agoWhich would be fine if we had something like COM to enable portable interfacing between libraries and certain level of separation, especially when a library plonks something breaking your runtime by messing with global resources (for example, threads and signals). But we don't, and the libraries push other issues into your design as you often are forced to follow their specific idiosyncracies.