mirror of
https://github.com/labwc/labwc.git
synced 2026-04-03 07:15:34 -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
|
|
@ -227,7 +227,7 @@ update_popup_position(struct input_method_popup *popup)
|
|||
}
|
||||
struct wlr_box output_box;
|
||||
wlr_output_layout_get_box(
|
||||
g_server.output_layout, output->wlr_output, &output_box);
|
||||
server.output_layout, output->wlr_output, &output_box);
|
||||
|
||||
/* Use xdg-positioner utilities to position popup */
|
||||
struct wlr_xdg_positioner_rules rules = {
|
||||
|
|
@ -582,14 +582,14 @@ input_method_relay_create(struct seat *seat)
|
|||
relay->seat = seat;
|
||||
wl_list_init(&relay->text_inputs);
|
||||
wl_list_init(&relay->popups);
|
||||
relay->popup_tree = lab_wlr_scene_tree_create(&g_server.scene->tree);
|
||||
relay->popup_tree = lab_wlr_scene_tree_create(&server.scene->tree);
|
||||
|
||||
relay->new_text_input.notify = handle_new_text_input;
|
||||
wl_signal_add(&g_server.text_input_manager->events.text_input,
|
||||
wl_signal_add(&server.text_input_manager->events.text_input,
|
||||
&relay->new_text_input);
|
||||
|
||||
relay->new_input_method.notify = handle_new_input_method;
|
||||
wl_signal_add(&g_server.input_method_manager->events.input_method,
|
||||
wl_signal_add(&server.input_method_manager->events.input_method,
|
||||
&relay->new_input_method);
|
||||
|
||||
relay->focused_surface_destroy.notify = handle_focused_surface_destroy;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue