1# Window Manager 2 3## Introduction 4 5The Window Manager subsystem provides basic capabilities of window and display management. It is the basis for UI display. The following figure shows the architecture of the Window Manager subsystem. 6 7**Figure 1** Architecture of the Window Manager subsystem 8 9![WindowManager-subsystem-architecture](./figures/WindowManager.png) 10 11Components of the Window Manager subsystem are described as follows: 12 13- **Window Manager Client** 14 15 Provides window object abstraction and window management interfaces, and connects to the ability and UI framework. 16 17- **Display Manager Client** 18 19 Provides display information abstraction and display management interfaces. 20 21- **Window Manager Server** 22 23 Provides capabilities such as window layout, Z-order control, window tree structure, window dragging, and window snapshot, and offers the window layout and focus window for multimodal input. 24 25- **Display Manager Server** 26 27 Provides display information, screenshot, screen on/off, and brightness processing control, and processes the mapping between the display and screen. 28 29## Directory Structure 30 31```text 32foundation/window/window_manager/ 33├── dm # Implementation code of Display Manager Client 34├── dmserver # Implementation code of Display Manager Server 35├── interfaces # External APIs 36│ ├── innerkits # Native APIs 37│ └── kits # JS APIs and native APIs 38├── resources # Resource files used by the framework 39├── sa_profile # System service configuration files 40├── snapshot # Implementation code of the screenshot command line tool 41├── utils # Utilities 42├── wm # Implementation code of Window Manager Client 43├── wmserver # Implementation code of Window Manager Server 44``` 45 46## Constraints 47 48Programming language version: C++ 11 or later 49 50## Available APIs 51 52- [@ohos.window (Window)](../application-dev/reference/apis-arkui/js-apis-window.md) 53- [@ohos.window (Window) (System API)](../application-dev/reference/apis-arkui/js-apis-window-sys.md) 54- [@ohos.display (Display)](../application-dev/reference/apis-arkui/js-apis-display.md) 55- [@ohos.display (Display) (System API)](../application-dev/reference/apis-arkui/js-apis-display-sys.md) 56 57## Repositories Involved 58 59- [graphic_graphic_2d](https://gitee.com/openharmony/graphic_graphic_2d) 60- [arkui_ace_engine](https://gitee.com/openharmony/arkui_ace_engine) 61- [ability_ability_runtime](https://gitee.com/openharmony/ability_ability_runtime) 62- [multimodalinput_input](https://gitee.com/openharmony/multimodalinput_input) 63