]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/videomode.cpp
Initial XRandR support
[libs/gui.git] / source / graphics / videomode.cpp
index 5c9e821449c14b966b75562da13417fdcea615e8..888cad824d318a4a3a22f783cce88054745440a8 100644 (file)
@@ -10,6 +10,7 @@ unsupported_video_mode::unsupported_video_mode(const VideoMode &mode):
 
 
 VideoMode::VideoMode():
+       index(0),
        monitor(0),
        width(0),
        height(0),
@@ -17,6 +18,7 @@ VideoMode::VideoMode():
 { }
 
 VideoMode::VideoMode(unsigned w, unsigned h):
+       index(0),
        monitor(0),
        width(w),
        height(h),