summaryrefslogtreecommitdiff
path: root/Kernel/Time/PIT.cpp
diff options
context:
space:
mode:
authorAndrew January <ajanuary@evertz.com>2021-07-08 00:24:06 +0100
committerGunnar Beutner <gunnar@beutner.name>2021-07-08 09:13:24 +0200
commit5598f63d0fbe9784f4b0a8af16a71a252c9c386a (patch)
tree51c44f0af9932e70041a18d985ef9e65ecbc474f /Kernel/Time/PIT.cpp
parenteeb4c1eec93e78105850c6aeb3d0846454e34f59 (diff)
downloadserenity-5598f63d0fbe9784f4b0a8af16a71a252c9c386a.zip
WindowServer: Make descending into submenu make the submenu current
This fixes a bug with menu keyboard navigation. If you pressed the right arrow to enter a submenu, then the left arrow to exit the submenu, then right and left again it would leave no menu item selected. Because descending into the submenu wasn't making it the current menu, when you press the left arrow it couldn't find the "current menu" in the stack, so didn't know what menu to pop back to. It was an accident that it worked the first time you navigated into the menu. Selecting the parent item also opened the submenu, and opening an already open menu sets it as the current menu. After closing the submenu with the left arrow, it is no longer already open, so it wasn't getting set as the current menu.
Diffstat (limited to 'Kernel/Time/PIT.cpp')
0 files changed, 0 insertions, 0 deletions