mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-21 00:23:16 +00:00
pointer: show default pointer on empty shape report
This commit is contained in:
@ -260,7 +260,8 @@ void Pointer::Main::_update_pointer()
|
||||
|
||||
shape_module.read_content(*this, (char*)&shape_report, sizeof(shape_report));
|
||||
|
||||
if (shape_report.visible &&
|
||||
/* show default pointer on invisible/empty/invalid shape report */
|
||||
if (!shape_report.visible ||
|
||||
((shape_report.width == 0) ||
|
||||
(shape_report.height == 0) ||
|
||||
(shape_report.width > MAX_WIDTH) ||
|
||||
|
Reference in New Issue
Block a user