(long window)
| 308 | if (a != null) a.windowClose(window); |
| 309 | }; |
| 310 | |
| 311 | if (checkThread()) r.run(); |
| 312 | else { |
| 313 | events.addLast(r); |
| 314 | RunLoop.main.shouldSleep.add(Windows.this); |
| 315 | RunLoop.main.interrupt(); |
| 316 | } |
| 317 | return true; |
| 318 | } |
| 319 | |
| 320 | @Override |
| 321 | public void windowPos(long window, int x, int y) { |
| 322 | Runnable r = () -> { |
| 323 | checkClassLoader(); |
| 324 | GlfwCallback a = adaptors.get(window); |
| 325 | if (a != null) |
| 326 | a.windowPos(window, x, y); |
| 327 | }; |
| 328 |
nothing calls this directly
no test coverage detected