<p>I have started to use Geany 1.25 as IDE for pygame, so i am not quit sure whether this i a geany bug or i am doing something wrong. I tested the following and the problem is that by clicking on the close button nothing happens and the pygame window dosn't close (which actually should happen!). Can anyone help me with this? I am on an ubuntu 15.10 machine and have installed geany from its software center.</p>

<p>import pygame<br>
from pygame.locals import *</p>

<p>pygame.init()</p>

<p>RED=(100,0,0)</p>

<p>screen=pygame.display.set_mode([500,500])</p>

<p>screen.fill(RED)</p>

<p>runs=True</p>

<p>while runs:<br>
    for e in pygame.event.get():<br>
        if e.type==QUIT:<br>
            runs==False<br>
    pygame.display.flip()</p>

<p>pygame.quit()</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly or <a href="https://github.com/geany/geany/issues/1005">view it on GitHub</a><img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJx7fi9-n-4SeZpTwnY5kHlWX_FSzks5p6mywgaJpZM4IOQFY.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany/issues/1005"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>