mirror of
https://github.com/labwc/labwc.git
synced 2026-04-08 08:21:09 -04:00
tree-wide: rename g_server to just server
This commit is contained in:
parent
8d46da9db1
commit
4f72e6775e
61 changed files with 955 additions and 955 deletions
|
|
@ -16,7 +16,7 @@ static void
|
|||
show_overlay(struct seat *seat, struct theme_snapping_overlay *overlay_theme,
|
||||
struct wlr_box *box)
|
||||
{
|
||||
struct view *view = g_server.grabbed_view;
|
||||
struct view *view = server.grabbed_view;
|
||||
assert(view);
|
||||
assert(!seat->overlay.rect);
|
||||
|
||||
|
|
@ -93,7 +93,7 @@ edge_has_adjacent_output_from_cursor(struct seat *seat, struct output *output,
|
|||
}
|
||||
/* Cast from enum lab_edge to enum wlr_direction is safe */
|
||||
return wlr_output_layout_adjacent_output(
|
||||
g_server.output_layout, (enum wlr_direction)edge,
|
||||
server.output_layout, (enum wlr_direction)edge,
|
||||
output->wlr_output, seat->cursor->x, seat->cursor->y);
|
||||
}
|
||||
|
||||
|
|
@ -123,7 +123,7 @@ show_edge_overlay(struct seat *seat, enum lab_edge edge1, enum lab_edge edge2,
|
|||
if (delay > 0) {
|
||||
if (!seat->overlay.timer) {
|
||||
seat->overlay.timer = wl_event_loop_add_timer(
|
||||
g_server.wl_event_loop,
|
||||
server.wl_event_loop,
|
||||
handle_edge_overlay_timeout, seat);
|
||||
}
|
||||
/* Show overlay <snapping><preview><delay>ms later */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue