chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5dbf55
)
Multigrab: Provide in initial load
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 18 Apr 2022 15:22:05 +0000
(16:22 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 18 Apr 2022 15:22:05 +0000
(16:22 +0100)
This was broken by the special refactoring.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
daemon/session.rs
patch
|
blob
|
history
diff --git
a/daemon/session.rs
b/daemon/session.rs
index b2970813de55f4157ffc84ff0b2b3d5828f9c513..0d41792c57f82fa25c0f40b73f6759c2d31676d9 100644
(file)
--- a/
daemon/session.rs
+++ b/
daemon/session.rs
@@
-53,6
+53,7
@@
struct SessionPieceLoadJson<'r> {
moveable: PieceMoveable,
cseq_loose: Option<Generation>,
rotateable: bool,
+ multigrab: bool,
occregion: Option<JsonString<&'r Region>>,
pub bbox: &'r Rect,
}
@@
-159,6
+160,7
@@
fn session_inner(form: Json<SessionForm>,
desc,
bbox: &bbox,
moveable: gpc.moveable(),
+ multigrab: ipc.special.multigrab,
cseq_loose: None,
rotateable: gpc.rotateable(),
uos: &pri.ui_operations(&ig.gs, gpc, ipc)?,