display: Replace set_grab_op_cursor with update_cursor

Now that we don't have to regrab to change the cursor, since it's
simply the cursor on the root window, all we have to do is update
the cursor on the screen.
This commit is contained in:
Jasper St. Pierre
2014-05-14 09:16:20 -04:00
parent c8f3820956
commit 71544fbf4e
3 changed files with 11 additions and 22 deletions

View File

@ -7057,11 +7057,7 @@ meta_window_update_keyboard_resize (MetaWindow *window,
&x, &y);
if (update_cursor)
{
meta_display_set_grab_op_cursor (window->display,
window->display->grab_op,
window->display->grab_timestamp);
}
meta_display_update_cursor (window->display);
}
void