Commit Graph

15 Commits

Author SHA1 Message Date
Brandon Schaefer
9527c93a1c Move to the new MirEvent 2.0 + 0.14/0.15 changes
Closes #568.
2015-07-30 20:35:55 +02:00
Camilla Berglund
d493a82f9e Various error fixes.
Fixed incorrect error types.  Added missing error string prefixes.
Removed some invalid or superfluous error emissions.  Clarified some
error strings.  Joined error string lines to aid grep.  Replaced some
generic error strings with specific ones.  Documentation work.

Fixes #450.
2015-03-15 15:52:27 +01:00
Camilla Berglund
ead3937394 Mir string fixes. 2015-01-06 02:38:00 +01:00
BrandonSchaefer
d300aa3255 Fix the found issue. Found needs to be 1.
This is needed for realloc, while index should be 0.  So using i for the
index, and found for the count.
2014-12-01 21:12:19 +01:00
BrandonSchaefer
0a5d57eade Fixed realloc, should be monitors.
Moved found to the end of the loop, otherwise found = 1 causing index 0 to
crash.

HACK: Retrieve video modes from platform-specific code.
2014-12-01 21:08:25 +01:00
Camilla Berglund
916371e04c Formatting. 2014-11-10 02:04:43 +01:00
Camilla Berglund
13ac6e9a82 Fixed platform code writing to shared members. 2014-11-10 02:00:14 +01:00
Camilla Berglund
10a74924e3 Removed function duplicating _glfwAllocMonitor. 2014-11-10 02:00:14 +01:00
BrandonSchaefer
4674ed367d Fix some memory leaks.
One in wl_init.c, need to clean up Joysticks.
Finish getting the monitor modes set up.
Finish adding Unsupported error messages.
2014-11-10 02:00:14 +01:00
BrandonSchaefer
f4f525549c Finish up the monitor work. 2014-11-10 02:00:14 +01:00
BrandonSchaefer
cb4ccc59c2 Realloc the monitor size for each IN USE monitor. 2014-11-10 02:00:14 +01:00
BrandonSchaefer
d76d56ce74 Add the start of size of each monitor and modes. 2014-11-10 02:00:14 +01:00
BrandonSchaefer
50cf4cfda3 Add Mir file licenses. 2014-11-10 02:00:14 +01:00
BrandonSchaefer
4295b77582 Set up the Mir connection.
Set up the first of the Mir surface.
2014-11-10 02:00:14 +01:00
BrandonSchaefer
46c9663ed7 I should add the actual mir_* source files :). 2014-11-10 02:00:14 +01:00