diff --git a/repos/os/src/server/nitpicker/view.h b/repos/os/src/server/nitpicker/view.h index 469c4b2cee..7af4ecf4c4 100644 --- a/repos/os/src/server/nitpicker/view.h +++ b/repos/os/src/server/nitpicker/view.h @@ -273,7 +273,7 @@ class View : public Same_buffer_list_elem, return false; /* if view uses an alpha channel, check the input mask */ - if (mode.flat() && session().uses_alpha()) + if ((mode.flat() || _session.xray_no()) && session().uses_alpha()) return session().input_mask_at(p - view_rect.p1() + _buffer_off); return true;