compositor: Send out more detailed output events
diff --git a/clients/window.c b/clients/window.c
index 612e5b3..4ef7b9e 100644
--- a/clients/window.c
+++ b/clients/window.c
@@ -1573,19 +1573,37 @@
 
 static void
 display_handle_geometry(void *data,
-			struct wl_output *output,
-			int32_t x, int32_t y, int32_t width, int32_t height)
+			struct wl_output *wl_output,
+			int x, int y,
+			int physical_width,
+			int physical_height,
+			int subpixel,
+			const char *make,
+			const char *model)
 {
 	struct display *display = data;
 
 	display->screen_allocation.x = x;
 	display->screen_allocation.y = y;
+}
+
+static void
+display_handle_mode(void *data,
+		    struct wl_output *wl_output,
+		    uint32_t flags,
+		    int width,
+		    int height,
+		    int refresh)
+{
+	struct display *display = data;
+
 	display->screen_allocation.width = width;
 	display->screen_allocation.height = height;
 }
 
 static const struct wl_output_listener output_listener = {
 	display_handle_geometry,
+	display_handle_mode
 };
 
 static void