title: Pygame display.info giving wrong resolution size
body: <p>I'm building a small game with pygame. I want the window of the game to be size of the monitors resolution. My computers screen's resolution is 1920x1080 and display.info says the window size is also 1920x1080 but when I run it, it creates a window roughly one and half times the size of my screen.</p>
  
  <pre><code>import pygame, sys
  
  def main():
      #set up pygame, main clock
      pygame.init()
      clock = pygame.time.Clock()
  
      #creates an object with the computers display information
      #current_h, current_w gives the monitors height and width
      displayInfo = pygame.display.Info()
  
      #set up the window
      windowWidth = displayInfo.current_w
      windowHeight = displayInfo.current_h
      window = pygame.display.set_mode ((windowWidth, windowHeight), 0, 32)
      pygame.display.set_caption('game')
  
      #gameLoop
      while True:
          window.fill((0,0,0))
          for event in pygame.event.get():
              if event.type == pygame.QUIT:
                  pygame.quit()
                  sys.exit()
  
          #draw the window onto the screen
          pygame.display.flip()
          clock.tick(60)
  
  main()
  </code></pre>