Classes | |
| class | DefaultX11EGLGraphicsOutput |
| Default X11 EGL graphics output. More... | |
| struct | DefaultX11EGLGraphicsOutputProperties |
| Default X11 EGL graphics output properties. More... | |
| struct | X11Deleter |
| An X11 deleter functor. More... | |
| class | X11Display |
| An X11 display. More... | |
| class | X11Window |
| An X11 window. More... | |
| struct | XClientMessageData |
| X client message data. More... | |
Typedefs | |
| template<typename T > | |
| using | X11UniquePtr |
| Type alias for an X11 unique pointer. | |
Enumerations | |
| enum class | X11WMAction : long { Remove , Add , Toggle } |
| An X11 window manager action. More... | |
Functions | |
| void | hideWindow (const X11Display &display, X11Window &window) noexcept |
| Makes a window invisible and inactive on the current display monitor. | |
| template<typename T > | |
| KZ_NO_DISCARD X11UniquePtr< T > | makeX11UniquePtr (T *p) noexcept |
| Gets a unique pointer to a type of T. | |
| KZ_NO_DISCARD::XEvent | makeXClientEvent (const XClientMessageData &clientMessageData, Atom clientMessageType, const X11Window &targetWindow) noexcept |
| Makes X client event for X11 server. | |
| bool | minimizeWindow (const X11Display &display, X11Window &window) noexcept |
| Minimizes a window to the taskbar and makes it inactive on the current display monitor. | |
| void | moveWindow (const X11Display &display, X11Window &window, int x, int y) noexcept |
| Moves a window to a given position. | |
| void | resizeClientArea (const X11Display &display, X11Window &window, unsigned int width, unsigned int height) noexcept |
| Resizes the client-area of a window. | |
| void | resizeWindow (const X11Display &display, X11Window &window, unsigned int width, unsigned int height) noexcept |
| Resizes a window. | |
| void | selectWindowInputEvents (const X11Display &display, X11Window &window, long eventBitMask) noexcept |
| Selects which input events to receive for a window. | |
| bool | setWindowRegionHints (const X11Display &display, const X11Window &window, windowing::Region windowRegion) noexcept |
| Sets hints for a window to help the X11 compositor. | |
| void | showWindow (const X11Display &display, X11Window &window) noexcept |
| Sets a window to be visible and active on the current display monitor. | |
| KZ_NO_DISCARD optional< int > | tryGetWindowPositionX (const X11Display &display, const X11Window &window) noexcept |
| Tries to get the x position of a window. | |
| KZ_NO_DISCARD optional< int > | tryGetWindowPositionY (const X11Display &display, const X11Window &window) noexcept |
| Tries to get the y position of a window. | |
| KZ_NO_DISCARD optional< windowing::Size > | tryGetWindowSize (const X11Display &display, const X11Window &window) noexcept |
| Tries to get the size of a window. | |
| KZ_NO_DISCARD optional< windowing::SizeU > | tryGetWindowSizeU (const X11Display &display, const X11Window &window) noexcept |
| Tries to get the unsigned size of a window. | |
| KZ_NO_DISCARD PointerButton | x11ButtonToKanziButton (unsigned int x11Button) noexcept |
| Maps a native X11 button to a logical button used by Kanzi. | |
| KZ_NO_DISCARD KeyModifier | x11KeyToKanziModifier (unsigned int x11Key) noexcept |
| Maps a native X11 key to a key modifier used by Kanzi. | |
| KZ_NO_DISCARD LogicalKey | x11KeyToLogicalKey (unsigned int x11Key) noexcept |
| Maps a native X11 key to a logical key used by Kanzi. | |
| KZ_NO_DISCARD KeyModifier | x11ModifierToKanziModifier (unsigned int x11Modifier) noexcept |
| Maps a native X11 key modifier to a key modifier used by Kanzi. | |
Type alias for an X11 unique pointer.
|
strong |
|
noexcept |
Maps a native X11 key to a logical key used by Kanzi.
| x11Key | The native X11 key to map. |
|
noexcept |
Maps a native X11 key modifier to a key modifier used by Kanzi.
| x11Modifier | The native X11 key modifier to map. |
|
noexcept |
Maps a native X11 key to a key modifier used by Kanzi.
| x11Key | The native X11 key to map. |
|
noexcept |
Maps a native X11 button to a logical button used by Kanzi.
| x11Button | The native X11 button to map. |
|
noexcept |
Makes X client event for X11 server.
| clientMessageData | The raw message data to send to the X11 server. |
| clientMessageType | The type of message to send to the X11 server. |
| targetWindow | The X11 window to receive the event. |
|
inlinenoexcept |
Gets a unique pointer to a type of T.
| p | The pointer of type T to which to get the unique pointer. |
|
noexcept |
Moves a window to a given position.
| display | X11 display connection of the window. |
| window | Window to move. |
| x | Horizontal position of the top-left corner of the window in screen coordinates. |
| y | Vertical position of the top-left corner of the window in screen coordinates. |
|
noexcept |
Sets a window to be visible and active on the current display monitor.
| display | X11 display connection of the window. |
| window | Window to show. |
|
noexcept |
Makes a window invisible and inactive on the current display monitor.
| display | X11 display connection of the window. |
| window | Window to hide. |
|
noexcept |
Minimizes a window to the taskbar and makes it inactive on the current display monitor.
| display | X11 display connection of the window. |
| window | Window to minimize. |
|
noexcept |
Selects which input events to receive for a window.
| display | X11 display connection of the window. |
| window | Window for which to receive input events. |
| eventBitMask | Input event bits. |
|
noexcept |
Sets hints for a window to help the X11 compositor.
| display | X11 display connection of the window. |
| window | Window for which to set the hints. |
| windowRegion | Window region of the window. |
|
noexcept |
Resizes the client-area of a window.
| display | X11 display connection of the window. |
| window | Window whose client-area to resize. |
| width | Width to which to resize. |
| height | Height to which to resize. |
|
noexcept |
Resizes a window.
| display | X11 display connection of the window. |
| window | Window to resize. |
| width | Width to which to resize. |
| height | Height to which to resize. |
|
noexcept |
Tries to get the size of a window.
| display | X11 display connection of the window. |
| window | Window to get the size for. |
| nullopt | Getting the size of the window failed. |
|
noexcept |
Tries to get the unsigned size of a window.
| display | X11 display connection of the window. |
| window | Window for which to get the unsigned size. |
| nullopt | Getting the unsigned size of the window failed. |
|
noexcept |
Tries to get the x position of a window.
| display | X11 display connection of the window. |
| window | Window for which to get the x position. |
| nullopt | Getting the x position of the window failed. |
|
noexcept |
Tries to get the y position of a window.
| display | X11 display connection of the window. |
| window | Window for which to get the y position. |
| nullopt | Getting the y position of the window failed. |