mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:07:47 +00:00
WindowServer: Rename WSMessage* => WSEvent*.
Since I'm on a roll here, I'll just rename WSMessageFoo to WSEventFoo now that these inherit from CEventFoo anyway.
This commit is contained in:
parent
de184d0999
commit
94a5e08faf
17 changed files with 191 additions and 191 deletions
|
@ -1,6 +1,6 @@
|
|||
#include <WindowServer/WSWindowSwitcher.h>
|
||||
#include <WindowServer/WSWindowManager.h>
|
||||
#include <WindowServer/WSMessage.h>
|
||||
#include <WindowServer/WSEvent.h>
|
||||
#include <SharedGraphics/Font.h>
|
||||
|
||||
WSWindowSwitcher::WSWindowSwitcher()
|
||||
|
@ -32,7 +32,7 @@ WSWindow* WSWindowSwitcher::selected_window()
|
|||
|
||||
void WSWindowSwitcher::on_key_event(const WSKeyEvent& event)
|
||||
{
|
||||
if (event.type() == WSMessage::KeyUp) {
|
||||
if (event.type() == WSEvent::KeyUp) {
|
||||
if (event.key() == Key_Logo) {
|
||||
if (auto* window = selected_window())
|
||||
WSWindowManager::the().move_to_front_and_make_active(*window);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue