=== modified file 'src/native-state-wayland.cpp'
@@ -38,7 +38,9 @@
const struct wl_output_listener NativeStateWayland::output_listener_ = {
NativeStateWayland::output_handle_geometry,
- NativeStateWayland::output_handle_mode
+ NativeStateWayland::output_handle_mode,
+ NativeStateWayland::output_handle_done,
+ NativeStateWayland::output_handle_scale
};
volatile bool NativeStateWayland::should_quit_ = false;
@@ -103,7 +105,7 @@
my_output->output =
static_cast<struct wl_output *>(
wl_registry_bind(registry,
- id, &wl_output_interface, 1));
+ id, &wl_output_interface, 2));
that->display_->outputs.push_back(my_output);
wl_output_add_listener(my_output->output, &output_listener_, my_output);
@@ -143,6 +145,17 @@
}
void
+NativeStateWayland::output_handle_done(void * /*data*/, struct wl_output * /*wl_output*/)
+{
+}
+
+void
+NativeStateWayland::output_handle_scale(void * /*data*/, struct wl_output * /*wl_output*/,
+ int32_t /*factor*/)
+{
+}
+
+void
NativeStateWayland::shell_surface_handle_ping(void * /*data*/, struct wl_shell_surface *shell_surface,
uint32_t serial)
{
=== modified file 'src/native-state-wayland.h'
@@ -70,6 +70,12 @@
int32_t width, int32_t height, int32_t refresh);
static void
+ output_handle_done(void *data, struct wl_output *wl_output);
+
+ static void
+ output_handle_scale(void *data, struct wl_output *wl_output, int32_t factor);
+
+ static void
shell_surface_handle_ping(void *data, struct wl_shell_surface *shell_surface,
uint32_t serial);
static void