mirror of
https://github.com/labwc/labwc.git
synced 2026-04-12 08:21:13 -04:00
[fixup] s/overlay_show/overlay_update/
This commit is contained in:
parent
2d5aaf29ba
commit
e18218c5a2
4 changed files with 4 additions and 4 deletions
|
|
@ -29,7 +29,7 @@ struct overlay {
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Calls overlay_hide() internally if there's no overlay to show */
|
/* Calls overlay_hide() internally if there's no overlay to show */
|
||||||
void overlay_show(struct seat *seat);
|
void overlay_update(struct seat *seat);
|
||||||
/* This function must be called when server->grabbed_view is destroyed */
|
/* This function must be called when server->grabbed_view is destroyed */
|
||||||
void overlay_hide(struct seat *seat);
|
void overlay_hide(struct seat *seat);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -225,7 +225,7 @@ process_cursor_move(struct server *server, uint32_t time)
|
||||||
resistance_move_apply(view, &dx, &dy);
|
resistance_move_apply(view, &dx, &dy);
|
||||||
view_move(view, dx, dy);
|
view_move(view, dx, dy);
|
||||||
|
|
||||||
overlay_show(&server->seat);
|
overlay_update(&server->seat);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
|
||||||
|
|
@ -81,7 +81,7 @@ keyboard_modifiers_notify(struct wl_listener *listener, void *data)
|
||||||
/* Any change to the modifier state re-enable region snap */
|
/* Any change to the modifier state re-enable region snap */
|
||||||
seat->region_prevent_snap = false;
|
seat->region_prevent_snap = false;
|
||||||
/* Pressing/releasing modifier key may show/hide region overlay */
|
/* Pressing/releasing modifier key may show/hide region overlay */
|
||||||
overlay_show(seat);
|
overlay_update(seat);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (server->osd_state.cycle_view
|
if (server->osd_state.cycle_view
|
||||||
|
|
|
||||||
|
|
@ -174,7 +174,7 @@ show_edge_overlay(struct seat *seat, enum view_edge edge,
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
overlay_show(struct seat *seat)
|
overlay_update(struct seat *seat)
|
||||||
{
|
{
|
||||||
struct server *server = seat->server;
|
struct server *server = seat->server;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue