mirror of
https://github.com/swaywm/sway.git
synced 2024-11-14 14:34:07 +01:00
Add note about JetBrains IDE focus workaround (using a different JRE)
parent
d92f520417
commit
09cbd82563
10
Home.md
10
Home.md
@ -374,6 +374,16 @@ If you want to use a particular application's built-in window decorations over t
|
||||
|
||||
This seems to fix blank windows and menus that are drawn at a wrong offset to the selected menu item.
|
||||
|
||||
#### Issues with JetBrains IDE popups/menus losing focus
|
||||
|
||||
Some JetBrains IDEs (including Android Studio) ship with a Java 1.8 JRE, but there are fixes included in later JRE versions that are necessary to run properly in sway. You can instruct your IDE to use a different JRE through an invocation of the form:
|
||||
|
||||
```
|
||||
$ STUDIO_JDK=/usr/lib/jvm/java-11-openjdk-amd64/ /opt/android-studio/bin/studio.sh
|
||||
```
|
||||
|
||||
If you are running Sway 1.4, you will also need to upgrade to sway/wlroots master, as there are fixes there too.
|
||||
|
||||
### Status icon doesn't show up
|
||||
|
||||
There are two standards for status icons: XEmbed and StatusNotifierItem (SNI). XEmbed is legacy and unimplemented in Sway. SNI is supported by swaybar. If your app uses XEmbed, the status icon won't show up. You should ask them to upgrade to SNI.
|
||||
|
Loading…
Reference in New Issue
Block a user