wlmaker
|
#include "xdg_decoration.h"
#include <libbase/libbase.h>
#include <libbase/plist.h>
#include <stdbool.h>
#include <stdlib.h>
#include <wayland-server-core.h>
#include <wayland-util.h>
#include <wlr/types/wlr_xdg_decoration_v1.h>
#include "config.h"
#include "server.h"
#include "toolkit/toolkit.h"
#include "xdg_shell.h"
Classes | |
struct | _wlmaker_xdg_decoration_manager_t |
struct | wlmaker_xdg_decoration_t |
Functions | |
static void | handle_new_toplevel_decoration (struct wl_listener *listener_ptr, void *data_ptr) |
static void | handle_destroy (struct wl_listener *listener_ptr, void *data_ptr) |
static wlmaker_xdg_decoration_t * | wlmaker_xdg_decoration_create (wlmaker_xdg_decoration_manager_t *decoration_manager_ptr, struct wlr_xdg_toplevel_decoration_v1 *wlr_xdg_toplevel_decoration_v1_ptr) |
static void | wlmaker_xdg_decoration_destroy (wlmaker_xdg_decoration_t *decoration_ptr) |
static void | handle_decoration_request_mode (struct wl_listener *listener_ptr, void *data_ptr) |
static void | handle_decoration_destroy (struct wl_listener *listener_ptr, void *data_ptr) |
wlmaker_xdg_decoration_manager_t * | wlmaker_xdg_decoration_manager_create (wlmaker_server_t *server_ptr) |
void | wlmaker_xdg_decoration_manager_destroy (wlmaker_xdg_decoration_manager_t *decoration_manager_ptr) |
Variables | |
static const bspl_enum_desc_t | _wlmaker_config_decoration_desc [] |
static const bspl_desc_t | _wlmaker_xdg_decoration_config_desc [] |
static const char * | _wlmaker_xdg_decoration_dict_name = "Decoration" |
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 |
Handler for the destroy
signal of wlr_xdg_toplevel_decoration_v1
.
listener_ptr | |
data_ptr |
|
static |
Handler for the request_mode
signal of wlr_xdg_toplevel_decoration_v1
.
listener_ptr | |
data_ptr |
|
static |
Handler for the destroy
signal of wlr_xdg_decoration_manager_v1
.
listener_ptr | |
data_ptr |
|
static |
Handler for the new_toplevel_decoration
signal of wlr_xdg_decoration_manager_v1
.
listener_ptr | |
data_ptr | Points to wlr_xdg_toplevel_decoration_v1 . |
|
static |
Creates a decoration handle.
decoration_manager_ptr | |
wlr_xdg_toplevel_decoration_v1_ptr |
|
static |
Destroys the decoration handle.
decoration_ptr |
wlmaker_xdg_decoration_manager_t * wlmaker_xdg_decoration_manager_create | ( | wlmaker_server_t * | server_ptr | ) |
Creates a new XDG decoration manager.
server_ptr |
void wlmaker_xdg_decoration_manager_destroy | ( | wlmaker_xdg_decoration_manager_t * | decoration_manager_ptr | ) |
Destroys the XDG decoration manager.
decoration_manager_ptr |
|
static |
Plist descriptor of decoration mode.
|
static |
Plist descriptor of the 'Decoration' dict contents.
|
static |
Name of the top-level dict holding the decoration manager's config.