code: func (w *Window) SetMonitor(monitor *Monitor) {
  	if w.Monitor() != monitor {
  		if monitor != nil {
  			w.setFullscreen(monitor)
  		} else {
  			w.setWindowed()
  		}
  	}
  }
docs: // SetMonitor sets the Window fullscreen on the given Monitor. If the Monitor is nil, the Window
  // will be restored to windowed state instead.
  //
  // The Window will be automatically set to the Monitor's resolution. If you want a different
  // resolution, you will need to set it manually with SetBounds method.