Make ESC key leave fullscreen

BUG: 366276, 417337, 269677
2 jobs for master in 10 minutes and 26 seconds (queued for 5 minutes and 34 seconds)
Status Job ID Name Coverage
  Build
passed #91265
clang_format

00:01:20

passed #91264
linux kf5-qt5 qt5.15

00:09:06

45.0%