Pass bounds in clicked event of tray
This commit is contained in:
parent
a53b1f7edf
commit
f5cf3556b1
6 changed files with 14 additions and 12 deletions
|
@ -40,8 +40,8 @@ mate::Wrappable* Tray::New(const gfx::Image& image) {
|
|||
return new Tray(image);
|
||||
}
|
||||
|
||||
void Tray::OnClicked(const gfx::Point& pos) {
|
||||
Emit("clicked", pos);
|
||||
void Tray::OnClicked(const gfx::Rect& bounds) {
|
||||
Emit("clicked", bounds);
|
||||
}
|
||||
|
||||
void Tray::OnDoubleClicked() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue