mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 06:14:58 +00:00

Some keymaps will bind key presses with the alt modifier to characters other than the unmodified one, in which case you couldn't activate the alt shortcuts in the menu bar before. We now ask the current keymap for the code point that is mapped to the pressed (unmodified) key instead.
49 lines
1.1 KiB
CMake
49 lines
1.1 KiB
CMake
serenity_component(
|
|
WindowServer
|
|
REQUIRED
|
|
TARGETS WindowServer
|
|
)
|
|
|
|
compile_ipc(WindowServer.ipc WindowServerEndpoint.h)
|
|
compile_ipc(WindowClient.ipc WindowClientEndpoint.h)
|
|
compile_ipc(WindowManagerServer.ipc WindowManagerServerEndpoint.h)
|
|
compile_ipc(WindowManagerClient.ipc WindowManagerClientEndpoint.h)
|
|
|
|
set(SOURCES
|
|
Animation.cpp
|
|
AppletManager.cpp
|
|
Button.cpp
|
|
ConnectionFromClient.cpp
|
|
Compositor.cpp
|
|
Cursor.cpp
|
|
EventLoop.cpp
|
|
main.cpp
|
|
Menu.cpp
|
|
Menubar.cpp
|
|
MenuItem.cpp
|
|
MenuManager.cpp
|
|
MultiScaleBitmaps.cpp
|
|
Overlays.cpp
|
|
Screen.cpp
|
|
HardwareScreenBackend.cpp
|
|
VirtualScreenBackend.cpp
|
|
ScreenLayout.cpp
|
|
Window.cpp
|
|
WindowFrame.cpp
|
|
WindowManager.cpp
|
|
WindowStack.cpp
|
|
WindowSwitcher.cpp
|
|
WMConnectionFromClient.cpp
|
|
KeymapSwitcher.cpp
|
|
)
|
|
|
|
set(GENERATED_SOURCES
|
|
WindowServerEndpoint.h
|
|
WindowClientEndpoint.h
|
|
WindowManagerServerEndpoint.h
|
|
WindowManagerClientEndpoint.h
|
|
)
|
|
|
|
serenity_bin(WindowServer)
|
|
target_link_libraries(WindowServer PRIVATE LibCore LibFileSystem LibKeyboard LibGfx LibThreading LibIPC LibMain)
|
|
serenity_install_headers(Services/WindowServer)
|