diff --git a/src/wayland/meta-wayland-gtk-shell.c b/src/wayland/meta-wayland-gtk-shell.c index cbbe9d5f9..6c6652884 100644 --- a/src/wayland/meta-wayland-gtk-shell.c +++ b/src/wayland/meta-wayland-gtk-shell.c @@ -172,7 +172,8 @@ gtk_surface_request_focus (struct wl_client *client, if (sequence) { - uint32_t timestamp, workspace_idx; + uint32_t timestamp; + int32_t workspace_idx; workspace_idx = meta_startup_sequence_get_workspace (sequence); timestamp = meta_startup_sequence_get_timestamp (sequence);