make compile with -pedantic and use foreach in some places

This commit is contained in:
Mathias Panzenböck
2014-02-15 05:13:12 +01:00
parent 5ca0712af2
commit 80351f5504
8 changed files with 46 additions and 153 deletions

View File

@ -1,7 +1,7 @@
#include "event.h"
//this should be initialized by main.cpp as soon as the program starts.
Display* display;
Display* display = 0;
//actually creates an XWindows event :)
void sendevent( xevent e ) {