wlmaker
|
Go to the source code of this file.
Typedefs | |
typedef struct _wlmaker_xwl_t | wlmaker_xwl_t |
Enumerations | |
enum | xwl_atom_identifier_t { NET_WM_WINDOW_TYPE_NORMAL , NET_WM_WINDOW_TYPE_DIALOG , NET_WM_WINDOW_TYPE_UTILITY , NET_WM_WINDOW_TYPE_TOOLBAR , NET_WM_WINDOW_TYPE_SPLASH , NET_WM_WINDOW_TYPE_MENU , NET_WM_WINDOW_TYPE_DROPDOWN_MENU , NET_WM_WINDOW_TYPE_POPUP_MENU , NET_WM_WINDOW_TYPE_TOOLTIP , NET_WM_WINDOW_TYPE_NOTIFICATION , XWL_MAX_ATOM_ID } |
Functions | |
wlmaker_xwl_t * | wlmaker_xwl_create (wlmaker_server_t *server_ptr) |
void | wlmaker_xwl_destroy (wlmaker_xwl_t *xwl_ptr) |
bool | xwl_is_window_type (wlmaker_xwl_t *xwl_ptr, struct wlr_xwayland_surface *wlr_xwayland_surface_ptr, const xwl_atom_identifier_t *atom_identifiers) |
const char * | xwl_atom_name (wlmaker_xwl_t *xwl_ptr, xcb_atom_t atom) |
Interface layer to Wlroots XWayland.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
typedef struct _wlmaker_xwl_t wlmaker_xwl_t |
Forward declaration: XWayland interface.
XCB Atom identifiers.
wlmaker_xwl_t * wlmaker_xwl_create | ( | wlmaker_server_t * | server_ptr | ) |
Creates the XWayland interface.
server_ptr |
void wlmaker_xwl_destroy | ( | wlmaker_xwl_t * | xwl_ptr | ) |
Destroys the XWayland interface.
xwl_ptr |
const char * xwl_atom_name | ( | wlmaker_xwl_t * | xwl_ptr, |
xcb_atom_t | atom | ||
) |
Returns a human-readable name for the atom.
bool xwl_is_window_type | ( | wlmaker_xwl_t * | xwl_ptr, |
struct wlr_xwayland_surface * | wlr_xwayland_surface_ptr, | ||
const xwl_atom_identifier_t * | atom_identifiers | ||
) |
Returns whether the XWayland surface has any of the window types.
xwl_ptr | |
wlr_xwayland_surface_ptr | |
atom_identifiers | NULL-terminated set of window type we're looking for. |
atom_identifiers
is in any of the window types.