(long window, int x, int y)
| 325 | if (a != null) |
| 326 | a.windowPos(window, x, y); |
| 327 | }; |
| 328 | |
| 329 | if (checkThread()) r.run(); |
| 330 | else { |
| 331 | events.addLast(r); |
| 332 | RunLoop.main.shouldSleep.add(Windows.this); |
| 333 | RunLoop.main.interrupt(); |
| 334 | } |
| 335 | } |
| 336 | |
| 337 | @Override |
| 338 | public void windowSize(long window, int w, int h) { |
| 339 | Runnable r = () -> { |
| 340 | checkClassLoader(); |
| 341 | GlfwCallback a = adaptors.get(window); |
| 342 | if (a != null) |
| 343 | a.windowSize(window, w, h); |
| 344 | }; |
| 345 |
nothing calls this directly
no test coverage detected