| 133 | } |
| 134 | |
| 135 | void WindowController::windowPosCallback(GLFWwindow* callbackWindow, int x, int y) { |
| 136 | if (callbackWindow != window || isFullscreen || windowedWasMaximized) { |
| 137 | return; |
| 138 | } |
| 139 | |
| 140 | windowedX = x; |
| 141 | windowedY = y; |
| 142 | windowedMonitorIndex = monitorIndex(currentMonitor()); |
| 143 | } |
| 144 | |
| 145 | void WindowController::windowSizeCallback(GLFWwindow* callbackWindow, int width, int height) { |
| 146 | if (callbackWindow != window || isFullscreen || windowedWasMaximized || width <= 0 || height <= 0) { |
nothing calls this directly
no outgoing calls
no test coverage detected