fix: set cursor appropriately on user event hover (#3195)
This commit is contained in:
parent
79ae530bd2
commit
0b6476da32
|
@ -91,7 +91,7 @@ auto AModule::doAction(const std::string& name) -> void {
|
||||||
}
|
}
|
||||||
|
|
||||||
void AModule::setCursor(Gdk::CursorType c) {
|
void AModule::setCursor(Gdk::CursorType c) {
|
||||||
auto cursor = Gdk::Cursor::create(Gdk::HAND2);
|
auto cursor = Gdk::Cursor::create(c);
|
||||||
auto gdk_window = event_box_.get_window();
|
auto gdk_window = event_box_.get_window();
|
||||||
gdk_window->set_cursor(cursor);
|
gdk_window->set_cursor(cursor);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue