Skip to content

Commit

Permalink
OnScreenKeyboard: enable transparency on non-Windows platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
bwRavencl committed Sep 3, 2024
1 parent 0e26dde commit 17ba1cd
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,8 @@ public final class OnScreenKeyboard extends JFrame {
setTitle(OnScreenKeyboard.class.getSimpleName());
setType(JFrame.Type.POPUP);
setFocusableWindowState(false);
if (Main.isWindows) {
setBackground(Main.TRANSPARENT);
}
setBackground(Main.TRANSPARENT);
rootPane.setBackground(Main.TRANSPARENT);
setAlwaysOnTop(true);
setDefaultCloseOperation(DO_NOTHING_ON_CLOSE);

Expand Down

0 comments on commit 17ba1cd

Please sign in to comment.