File tree Expand file tree Collapse file tree
jme3-core/src/main/java/com/jme3/system Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -189,17 +189,6 @@ public static Platform getPlatform() {
189189 checkDelegate ();
190190 return systemDelegate .getPlatform ();
191191 }
192-
193- /**
194- * Detects if you are in a Wayland session.
195- *
196- * @return {@code true} if you are in a Wayland session, otherwise it will
197- * be {@code false}
198- */
199- public static boolean isWaylandSession () {
200- checkDelegate ();
201- return systemDelegate .isWaylandSession ();
202- }
203192
204193 public static JmeContext newContext (AppSettings settings , JmeContext .Type contextType ) {
205194 checkDelegate ();
Original file line number Diff line number Diff line change @@ -308,14 +308,6 @@ public Platform getPlatform() {
308308 throw new UnsupportedOperationException ("The specified platform: " + os + " is not supported." );
309309 }
310310 }
311-
312- public boolean isWaylandSession () {
313- // The following matches the test GLFW does to enable the Wayland backend.
314- if ("wayland" .equalsIgnoreCase (System .getenv ("XDG_SESSION_TYPE" )) && System .getenv ("WAYLAND_DISPLAY" ) != null ) {
315- return true ;
316- }
317- return false ;
318- }
319311
320312 public String getBuildInfo () {
321313 StringBuilder sb = new StringBuilder ();
You can’t perform that action at this time.
0 commit comments