mirror of
https://github.com/labwc/labwc.git
synced 2026-04-06 07:15:40 -04:00
Rename creation_iid to creation_id for clarity
This commit is contained in:
parent
314713f369
commit
eecba25242
5 changed files with 5 additions and 5 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue