summaryrefslogtreecommitdiff
path: root/xwayland
diff options
context:
space:
mode:
authorJason Ekstrand <jason.ekstrand@intel.com>2014-07-24 13:16:58 -0700
committerJason Ekstrand <jason.ekstrand@intel.com>2014-07-24 13:16:58 -0700
commit4ff4d92d7e877aadbeade8d5d9fbd77b44d7540a (patch)
tree0d4aaeabefad14aa9999ba07acdb427ae19c4fbd /xwayland
parentcf4c13af9821e33ce336709e01f8bbfebf77c8ed (diff)
downloadweston-4ff4d92d7e877aadbeade8d5d9fbd77b44d7540a.tar.gz
xwayland/window-manager: Rename a variable for clerity
Diffstat (limited to 'xwayland')
-rw-r--r--xwayland/window-manager.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xwayland/window-manager.c b/xwayland/window-manager.c
index 0e4beb6a..5d3a2e5d 100644
--- a/xwayland/window-manager.c
+++ b/xwayland/window-manager.c
@@ -1371,15 +1371,15 @@ weston_wm_window_handle_surface_id(struct weston_wm_window *window,
* hasn't been created yet. In that case put the window on
* the unpaired window list and continue when the surface gets
* created. */
- uint32_t surface = client_message->data.data32[0];
- resource = wl_client_get_object(wm->server->client, surface);
+ uint32_t id = client_message->data.data32[0];
+ resource = wl_client_get_object(wm->server->client, id);
if (resource) {
window->surface_id = 0;
xserver_map_shell_surface(window,
wl_resource_get_user_data(resource));
}
else {
- window->surface_id = surface;
+ window->surface_id = id;
wl_list_insert(&wm->unpaired_window_list, &window->link);
}
}