Skip to content

Commit

Permalink
refactor(window): provide window index to bridge
Browse files Browse the repository at this point in the history
  • Loading branch information
jwerle committed Nov 22, 2024
1 parent 5225910 commit fed80cb
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/window/android.cc
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ namespace SSC {
: options(options),
core(core),
bridge(core, IPC::Bridge::Options {
options.index,
options.userConfig,
options.as<IPC::Preload::Options>()
}),
Expand Down
1 change: 1 addition & 0 deletions src/window/apple.mm
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ - (void) scrollViewDidScroll: (UIScrollView*) scrollView {
: core(core),
options(options),
bridge(core, IPC::Bridge::Options {
options.index,
options.userConfig,
options.as<IPC::Preload::Options>()
}),
Expand Down
3 changes: 2 additions & 1 deletion src/window/linux.cc
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,9 @@ namespace SSC {
: core(core),
options(options),
bridge(core, IPC::Bridge::Options {
options.index,
options.userConfig,
options.as<IPC::Preload::Options>()
options.as<IPC::Preload::Options>(),
}),
hotkey(this),
dialog(this)
Expand Down
1 change: 1 addition & 0 deletions src/window/win.cc
Original file line number Diff line number Diff line change
Expand Up @@ -599,6 +599,7 @@ namespace SSC {
: core(core),
options(options),
bridge(core, IPC::Bridge::Options {
options.index,
options.userConfig,
options.as<IPC::Preload::Options>()
}),
Expand Down

0 comments on commit fed80cb

Please sign in to comment.