mirror of
https://github.com/swaywm/sway.git
synced 2025-10-29 05:40:18 -04:00
seatop_default: Call seatop_rebase with proper timestamp
This commit is contained in:
parent
4b15b3427f
commit
25ea1a0af2
1 changed files with 4 additions and 1 deletions
|
|
@ -16,6 +16,7 @@
|
||||||
#include "sway/tree/view.h"
|
#include "sway/tree/view.h"
|
||||||
#include "sway/tree/workspace.h"
|
#include "sway/tree/workspace.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
|
#include "util.h"
|
||||||
#if WLR_HAS_XWAYLAND
|
#if WLR_HAS_XWAYLAND
|
||||||
#include "sway/xwayland.h"
|
#include "sway/xwayland.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
@ -1148,5 +1149,7 @@ void seatop_begin_default(struct sway_seat *seat) {
|
||||||
|
|
||||||
seat->seatop_impl = &seatop_impl;
|
seat->seatop_impl = &seatop_impl;
|
||||||
seat->seatop_data = e;
|
seat->seatop_data = e;
|
||||||
seatop_rebase(seat, 0);
|
|
||||||
|
uint32_t time_msec = get_current_time_in_msec();
|
||||||
|
seatop_rebase(seat, time_msec);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue