A window element, comprising a switching element which is electrically switchable and operable in an optically transparent state and a scattering state and which comprises a switching layer, wherein the switching layer is arranged between two substrates and comprises a liquid-crystalline medium exhibiting a clearing point of 98°C or more and comprising - one or more mesogenic compounds of formula I wherein R 1 and R 2 denote, independently of one another, a group selected from F, Cl, CF 3 , OCF 3 , and straight-chain or branched alkyl or alkoxy having 1 to 15 carbon atoms or straight-chain or branched alkenyl having 2 to 15 carbon atoms which is unsubstituted, monosubstituted by CN or CF 3 or mono- or polysubstituted by halogen and wherein one or more CH 2 groups may be, in each case independently of one another, replaced by -O- , -S-, -CO-, -COO-, -OCO-, -OCOO- or -C≡C- in such a manner that oxygen atoms are not linked directly to one another, denotes n denotes 0 or 1, and denote, independently of one another, wherein L is on each occurrence, identically or differently, halogen selected from F, Cl and Br, - one or more chiral compounds, and - one or more polymerisable compounds, wherein the one or more compounds of formula I are contained in the medium in an amount, based on the overall contents of the medium, of at least 15% by weight, and wherein the one or more polymerisable compounds are contained in the medium in an amount, based on the overall contents of the medium, of 10% by weight or less. - one or more mesogenic compounds of formula I wherein R 1 and R 2 denote, independently of one another, a group selected from F, Cl, CF 3 , OCF 3 , and straight-chain or branched alkyl or alkoxy having 1 to 15 carbon atoms or straight-chain or branched alkenyl having 2 to 15 carbon atoms which is unsubstituted, monosubstituted by CN or CF 3 or mono- or polysubstituted by halogen and wherein one or more CH 2 groups may be, in each case independently of one another, replaced by -O- , -S-, -CO-, -COO-, -OCO-, -OCOO- or -C≡C- in such a manner that oxygen atoms are not linked directly to one another, denotes n denotes 0 or 1, and denote, independently of one another, wherein L is on each occurrence, identically or differently, halogen selected from F, Cl and Br, R 1 and R 2 denote, independently of one another, a group selected from F, Cl, CF 3 , OCF 3 , and straight-chain or branched alkyl or alkoxy having 1 to 15 carbon atoms or straight-chain or branched alkenyl having 2 to 15 carbon atoms which is unsubstituted, monosubstituted by CN or CF 3 or mono- or polysubstituted by halogen and wherein one or more CH 2 groups may be, in each case independently of one another, replaced by -O- , -S-, -CO-, -COO-, -OCO-, -OCOO- or -C≡C- in such a manner that oxygen atoms are not linked directly to one another, denotes n denotes 0 or 1, and denote, independently of one another, - one or more chiral compounds, and - one or more polymerisable compounds, wherein the one or more compounds of formula I are contained in the medium in an amount, based on the overall contents of the medium, of at least 15% by weight, and wherein the one or more polymerisable compounds are contained in the medium in an amount, based on the overall contents of the medium, of 10% by weight or less. <EOS>