mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
Remove src/common/log.c
Use wlr_log() instead
This commit is contained in:
parent
20fd8f59a7
commit
82e47ac1f5
20 changed files with 28 additions and 65 deletions
|
|
@ -75,12 +75,11 @@ static void
|
|||
process_cursor_move(struct server *server, uint32_t time)
|
||||
{
|
||||
damage_all_outputs(server);
|
||||
/* Move the grabbed view to the new position. */
|
||||
double dx = server->seat.cursor->x - server->grab_x;
|
||||
double dy = server->seat.cursor->y - server->grab_y;
|
||||
|
||||
struct view *view = server->grabbed_view;
|
||||
assert(view);
|
||||
|
||||
/* Move the grabbed view to the new position. */
|
||||
view->impl->move(view, server->grab_box.x + dx, server->grab_box.y + dy);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue