I was using Safari and I moved the cursor to the top right-hand corner. It shows the "switch screen" fine:
(sample cropped image; whiteboxes-censor)
At that moment, the keyboard is dead. The mouse/trackpad is able to move fine, yet can't click above the task bar. When I click items in the menu bar, it is able to respond (icon color changes) but nothing happens.
When I right-click items in the menubar, it shows the right-click menu, but I can't do anything with that menu since it's above the taskbar. I tried a USB keyboard—doesn't work too.
Any ideas? (Details)
(MacOS Sierra 10.12.5; Macbookpro 15inch 2017 1TB 2.9GHz)
I've already forced a restart. Thus separately, anyone knows what logs I can look into to see what has been causing this problem?