# Tech Talk: How Electron went Wayland-native, and what it means for your apps

DevFeed: [Tech Talk: How Electron went Wayland-native, and what it means for your apps](<https://devfeed.tech/articles/tech-talk-how-electron-went-wayland-native-and-what-it-means-for-your-apps-48155.md>)

Original publisher: [Read original article](<https://electronjs.org/blog/tech-talk-wayland>)

Author: mitchchn

Published: 2026-03-17T00:00:00Z

Content type: article

Language: en

Sources: [Electron Blog](<https://devfeed.tech/sources/electron-blog.md>)

Topics: [Electron](<https://devfeed.tech/topics/electron.md>), [Wayland](<https://devfeed.tech/topics/wayland.md>), [Visual Studio Code](<https://devfeed.tech/topics/visual-studio-code.md>)

Tags: [apis](<https://devfeed.tech/tags/apis.md>), [area](<https://devfeed.tech/tags/area.md>), [chromium](<https://devfeed.tech/tags/chromium.md>), [code](<https://devfeed.tech/tags/code.md>), [colors](<https://devfeed.tech/tags/colors.md>), [compositor](<https://devfeed.tech/tags/compositor.md>), [cross-platform](<https://devfeed.tech/tags/cross-platform.md>), [desktop-apps](<https://devfeed.tech/tags/desktop-apps.md>), [developers](<https://devfeed.tech/tags/developers.md>), [discord](<https://devfeed.tech/tags/discord.md>), [electron](<https://devfeed.tech/tags/electron.md>), [electron-internals](<https://devfeed.tech/tags/electron-internals.md>), [linux](<https://devfeed.tech/tags/linux.md>), [tech-talk](<https://devfeed.tech/tags/tech-talk.md>), [tech-talk-electron-internals](<https://devfeed.tech/tags/tech-talk-electron-internals.md>), [wayland](<https://devfeed.tech/tags/wayland.md>)

## AI overview

Electron 38.2 and newer defaults to Wayland on Linux, following Chromium's change, so current apps generally need no special launch flags. Running directly on Wayland reduces compatibility-layer overhead, strengthens app isolation, and enables newer display features, while restricting familiar powers: apps cannot freely move, resize, or focus windows, and APIs such as `win.setPosition` and `screen.getCursorScreenPoint` are unavailable. Screen capture and global shortcuts depend more on compositor and portal support, which can vary between GNOME and KDE. Electron 41 adds client-side decorations across window configurations, including frameless windows, but apps may still need Wayland testing and adjustments. The article recommends testing with Electron 41+ on a modern Linux distribution and across multiple desktop environments.

## Source excerpt

Electron recently switched to Wayland by default on Linux, bringing dozens of popular desktop apps along with it. Here's what changed and how it affects developers and users.