display: Clean up whitespace
This commit is contained in:
parent
f0175d1234
commit
bc0f7def47
@ -1795,7 +1795,6 @@ meta_display_begin_grab_op (MetaDisplay *display,
|
|||||||
if (grab_window)
|
if (grab_window)
|
||||||
display->grab_have_keyboard =
|
display->grab_have_keyboard =
|
||||||
meta_window_grab_all_keys (grab_window, timestamp);
|
meta_window_grab_all_keys (grab_window, timestamp);
|
||||||
|
|
||||||
else
|
else
|
||||||
display->grab_have_keyboard =
|
display->grab_have_keyboard =
|
||||||
meta_screen_grab_all_keys (screen, timestamp);
|
meta_screen_grab_all_keys (screen, timestamp);
|
||||||
@ -1846,12 +1845,10 @@ meta_display_begin_grab_op (MetaDisplay *display,
|
|||||||
&display->grab_initial_window_pos);
|
&display->grab_initial_window_pos);
|
||||||
display->grab_anchor_window_pos = display->grab_initial_window_pos;
|
display->grab_anchor_window_pos = display->grab_initial_window_pos;
|
||||||
|
|
||||||
if ( meta_grab_op_is_resizing (display->grab_op) &&
|
if (meta_grab_op_is_resizing (display->grab_op) &&
|
||||||
display->grab_window->sync_request_counter != None)
|
display->grab_window->sync_request_counter != None)
|
||||||
{
|
|
||||||
meta_window_create_sync_request_alarm (display->grab_window);
|
meta_window_create_sync_request_alarm (display->grab_window);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
meta_topic (META_DEBUG_WINDOW_OPS,
|
meta_topic (META_DEBUG_WINDOW_OPS,
|
||||||
"Grab op %u on window %s successful\n",
|
"Grab op %u on window %s successful\n",
|
||||||
@ -1861,9 +1858,7 @@ meta_display_begin_grab_op (MetaDisplay *display,
|
|||||||
g_assert (display->grab_op != META_GRAB_OP_NONE);
|
g_assert (display->grab_op != META_GRAB_OP_NONE);
|
||||||
|
|
||||||
if (display->grab_window)
|
if (display->grab_window)
|
||||||
{
|
|
||||||
meta_window_refresh_resize_popup (display->grab_window);
|
meta_window_refresh_resize_popup (display->grab_window);
|
||||||
}
|
|
||||||
|
|
||||||
if (meta_is_wayland_compositor ())
|
if (meta_is_wayland_compositor ())
|
||||||
meta_display_sync_wayland_input_focus (display);
|
meta_display_sync_wayland_input_focus (display);
|
||||||
|
Loading…
Reference in New Issue
Block a user