Light was supplied via a dome (schukhsheikha) in the roof as the windows were covered by ornate wooden covers.
The light came in the dome.
The roof was covered while light poured in through the windows.