Minor Xlib refactor

This commit is contained in:
Jack Andersen
2016-01-02 13:10:35 -10:00
parent 6ee5e9011b
commit 7eeebce37c
2 changed files with 29 additions and 34 deletions

View File

@@ -4,6 +4,7 @@
#include "System.hpp"
#include <memory>
#include <algorithm>
#include <cstring>
#undef min
#undef max
@@ -35,7 +36,7 @@ struct SWindowRect
int location[2];
int size[2];
SWindowRect() {memset(this, 0, sizeof(SWindowRect));}
SWindowRect() {std::memset(this, 0, sizeof(SWindowRect));}
SWindowRect(int x, int y, int w, int h)
{