wlmaker
|
#include "xwl_toplevel.h"
#include <libbase/libbase.h>
#include <stdlib.h>
#include <wayland-server-core.h>
#include <wayland-util.h>
#include "config.h"
#include "tl_menu.h"
Classes | |
struct | _wlmaker_xwl_toplevel_t |
Functions | |
static void | _xwl_toplevel_handle_surface_map (struct wl_listener *listener_ptr, void *data_ptr) |
static void | _xwl_toplevel_handle_surface_unmap (struct wl_listener *listener_ptr, void *data_ptr) |
wlmaker_xwl_toplevel_t * | wlmaker_xwl_toplevel_create (wlmaker_xwl_content_t *content_ptr, wlmaker_server_t *server_ptr) |
void | wlmaker_xwl_toplevel_destroy (wlmaker_xwl_toplevel_t *xwl_toplevel_ptr) |
void | wlmaker_xwl_toplevel_set_decorations (wlmaker_xwl_toplevel_t *xwl_toplevel_ptr, bool decorated) |
wlmtk_window_t * | wlmtk_window_from_xwl_toplevel (wlmaker_xwl_toplevel_t *xwl_toplevel_ptr) |
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.
|
static |
Surface map handler: also indicates the window can be mapped.
|
static |
Surface unmap: indicates the window should be unmapped.
wlmaker_xwl_toplevel_t * wlmaker_xwl_toplevel_create | ( | wlmaker_xwl_content_t * | content_ptr, |
wlmaker_server_t * | server_ptr | ||
) |
Creates a toplevel XWayland window.
content_ptr | |
server_ptr |
void wlmaker_xwl_toplevel_destroy | ( | wlmaker_xwl_toplevel_t * | xwl_toplevel_ptr | ) |
Destroys the toplevel XWayland window.
xwl_toplevel_ptr |
void wlmaker_xwl_toplevel_set_decorations | ( | wlmaker_xwl_toplevel_t * | xwl_toplevel_ptr, |
bool | decorated | ||
) |
Sets decoration for the toplevel window.
xwl_toplevel_ptr | |
decorated |
wlmtk_window_t * wlmtk_window_from_xwl_toplevel | ( | wlmaker_xwl_toplevel_t * | xwl_toplevel_ptr | ) |
Accessor: Exposes wlmtk_window_t.