render: discard hardware cursor on gfx context change
This commit is contained in:
parent
a04870388f
commit
777fb010ca
1 changed files with 1 additions and 0 deletions
|
|
@ -352,6 +352,7 @@ impl State {
|
||||||
fn visit_output(&mut self, node: &Rc<OutputNode>) {
|
fn visit_output(&mut self, node: &Rc<OutputNode>) {
|
||||||
node.render_data.borrow_mut().titles.clear();
|
node.render_data.borrow_mut().titles.clear();
|
||||||
node.render_data.borrow_mut().status.take();
|
node.render_data.borrow_mut().status.take();
|
||||||
|
node.hardware_cursor.set(None);
|
||||||
node.node_visit_children(self);
|
node.node_visit_children(self);
|
||||||
}
|
}
|
||||||
fn visit_float(&mut self, node: &Rc<FloatNode>) {
|
fn visit_float(&mut self, node: &Rc<FloatNode>) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue