Ho lokolloa ha tikoloho ea Sway 1.5 ho sebelisa Wayland

Lokisitsoe tokollo ea mookameli ea kopaneng Tsela 1.5, e hahiloeng ho sebelisoa protocol ea Wayland mme e lumellana ka botlalo le mookameli oa fensetere ea lithaele i3 le phanele i3bar. Khoutu ea morero e ngotsoe ka C le ajoa ke tlas'a laesense ea MIT. Morero o reretsoe ho sebelisoa Linux le FreeBSD.

Tšebelisano ea i3 e fanoa ka taelo, faele ea tlhophiso le boemo ba IPC, e lumellang Sway hore e sebelisoe e le phetoho e hlakileng ea i3 e sebelisang Wayland ho e-na le X11. Sway e u lumella ho beha lifensetere skrineng eseng ka sebaka, empa ka mokhoa o utloahalang. Windows e hlophisitsoe ka grid e sebelisang sebaka sa skrine hantle 'me e u lumella ho laola ka potlako lifensetere u sebelisa keyboard feela.

Ho theha tikoloho e felletseng ea basebelisi, likarolo tse latelang li fanoa: re jele (mokhoa oa morao-rao o kenya tšebetsong protocol e sa sebetseng ea KDE), swaylock (screen saver), makoa (mookameli oa litsebiso), e bohale (ho nka linepe), bohlasoa (ho khetha sebaka skrineng), wf-rekhota (ts'ebetso ea video), waybar (bar ea kopo), virtboard (keyboard ea skrineng), wl-clipboard (ho sebetsa le clipboard), mabota (taolo ea pampiri ea desktop).

Sway e ntse e ntlafatsoa joalo ka projeke ea modular e hahiloeng holim'a laeborari wlroots, e nang le li-primitives tsohle tsa motheo tsa ho hlophisa mosebetsi oa mookameli oa lihlopha. Wlroots kenyeletsa backends bakeng sa
ho tlosoa ha phihlello skrineng, lisebelisoa tsa ho kenya, ho fana ntle le phihlello e tobileng ho OpenGL, tšebelisano le KMS/DRM, libinput, Wayland le X11 (ho fanoe ka lera bakeng sa ho tsamaisa lits'ebetso tsa X11 tse thehiloeng ho Xwayland). Ntle le Sway, laebrari ea wlroots e sebelisoa ka mafolofolo ho merero e mengho kenyelletsa Librem5 и Cage. Ho phaella ho C / C ++, litlamo li entsoe bakeng sa Scheme, Common Lisp, Go, Haskell, OCaml, Python le Rust.

Tokollong e ncha:

  • E kenyellelitse bokhoni ba ho hlophisa sephetho sa lits'ebetso ntle le sebatli (se se nang hlooho) u sebelisa taelo ea create_output (e ka sebelisoa ho hlophisa phihlello e hole ho mosebeletsi ka WayVNC).
  • Ka Liprothokholo tsa Wayland Mokhoa oa ho kenya le ho kenya mongolo bakeng sa bahlophisi ba mokhoa oa ho kenya (IME) o kentsoe tšebetsong.
  • Hoa khonahala ho lumella khokahano e feto-fetohang (VRR, Variable Refresh Rate) ho fokotsa jitter ea litšoantšo lipapaling.
  • Ts'ehetso e ekelitsoeng bakeng sa protocol ea viewporter, e ntlafatsang ts'ebetso le boleng ba lipapali tsa khale.
  • Lisebelisoa tsa Virtualization le li-desktop tse hole li na le bokhoni ba ho thibela likheo tsa keyboard.
  • Ts'ehetso ea protocol e ekelitsoeng wlr-foreign-toplevel-tsamaiso, e u lumellang ho hokela liphanele tsa hau le li-switches tsa lifensetere.

Source: opennet.ru

Eketsa ka tlhaloso