Rename creation_iid to creation_id for clarity

This commit is contained in:
Maik Broemme 2025-12-08 14:33:32 +01:00
parent 314713f369
commit eecba25242
No known key found for this signature in database
GPG key ID: 27BE1125704B8B02
5 changed files with 5 additions and 5 deletions

View file

@ -188,7 +188,7 @@ struct server {
struct wl_listener xdg_toplevel_icon_set_icon;
struct wl_list views;
uint64_t next_view_creation_iid;
uint64_t next_view_creation_id;
struct wl_list unmanaged_surfaces;
struct seat seat;

View file

@ -174,7 +174,7 @@ struct view {
bool mapped;
bool been_mapped;
uint64_t creation_iid;
uint64_t creation_id;
enum lab_ssd_mode ssd_mode;
enum ssd_preference ssd_preference;
bool shaded;

View file

@ -282,7 +282,7 @@ insert_view_ordered_by_age(struct wl_list *views, struct view *new_view)
struct wl_list *link = views;
struct view *view;
wl_list_for_each(view, views, cycle_link) {
if (view->creation_iid >= new_view->creation_iid) {
if (view->creation_id >= new_view->creation_id) {
break;
}
link = &view->cycle_link;

View file

@ -1085,7 +1085,7 @@ handle_new_xdg_toplevel(struct wl_listener *listener, void *data)
CONNECT_SIGNAL(xdg_surface, xdg_toplevel_view, new_popup);
wl_list_insert(&server->views, &view->link);
view->creation_iid = server->next_view_creation_iid++;
view->creation_id = server->next_view_creation_id++;
}
static void

View file

@ -1036,7 +1036,7 @@ xwayland_view_create(struct server *server,
CONNECT_SIGNAL(xsurface, xwayland_view, map_request);
wl_list_insert(&view->server->views, &view->link);
view->creation_iid = view->server->next_view_creation_iid++;
view->creation_id = view->server->next_view_creation_id++;
if (xsurface->surface) {
handle_associate(&xwayland_view->associate, NULL);