Commit 28ac1a2c authored by Dorota Czaplejewicz's avatar Dorota Czaplejewicz
Browse files

imwayland.c: fix formatting

parent 3d651032
...@@ -619,7 +619,7 @@ registry_handle_global (void *data, ...@@ -619,7 +619,7 @@ registry_handle_global (void *data,
&zwp_text_input_manager_v3_interface, 1); &zwp_text_input_manager_v3_interface, 1);
global->text_input = global->text_input =
zwp_text_input_manager_v3_get_text_input (global->text_input_manager, zwp_text_input_manager_v3_get_text_input (global->text_input_manager,
gdk_wayland_seat_get_wl_seat (seat)); gdk_wayland_seat_get_wl_seat (seat));
global->serial = 0; global->serial = 0;
zwp_text_input_v3_add_listener (global->text_input, zwp_text_input_v3_add_listener (global->text_input,
&text_input_listener, global); &text_input_listener, global);
...@@ -636,8 +636,8 @@ registry_handle_global_remove (void *data, ...@@ -636,8 +636,8 @@ registry_handle_global_remove (void *data,
if (id != global->text_input_manager_wl_id) if (id != global->text_input_manager_wl_id)
return; return;
g_clear_pointer(&global->text_input, zwp_text_input_v3_destroy); g_clear_pointer (&global->text_input, zwp_text_input_v3_destroy);
g_clear_pointer(&global->text_input_manager, zwp_text_input_manager_v3_destroy); g_clear_pointer (&global->text_input_manager, zwp_text_input_manager_v3_destroy);
} }
static const struct wl_registry_listener registry_listener = { static const struct wl_registry_listener registry_listener = {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment