wlmaker
|
#include "dock.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_output.h>
#include <wlr/types/wlr_output_layout.h>
#include <wlr/types/wlr_scene.h>
#include <wlr/util/edges.h>
#include "backend/backend.h"
#include "backend/output_config.h"
#include "config.h"
#include "default_state.h"
#include "launcher.h"
#include "toolkit/toolkit.h"
Classes | |
struct | _wlmaker_dock_t |
struct | parse_args |
Functions | |
static bool | _wlmaker_dock_decode_launchers (bspl_object_t *object_ptr, void *dest_ptr) |
static void | _wlmaker_dock_handle_workspace_changed (struct wl_listener *listener_ptr, void *data_ptr) |
static void | _wlmaker_dock_handle_output_layout_change (struct wl_listener *listener_ptr, void *data_ptr) |
wlmaker_dock_t * | wlmaker_dock_create (wlmaker_server_t *server_ptr, bspl_dict_t *state_dict_ptr, const wlmaker_config_style_t *style_ptr) |
void | wlmaker_dock_destroy (wlmaker_dock_t *dock_ptr) |
static void | test_create_destroy (bs_test_t *test_ptr) |
Variables | |
static const bspl_enum_desc_t | _wlmaker_dock_edges [] |
const bspl_desc_t | _wlmaker_dock_desc [] |
const bs_test_case_t | wlmaker_dock_test_cases [] |
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 |
Decoder for the "Launchers" array. Currently just stores a reference.
|
static |
Handles when output layout changes; Re-computes the output to attach.
|
static |
Re-attaches the dock to the new "current" workspace.
|
static |
Tests ctor and dtor; to help fix leaks.
wlmaker_dock_t * wlmaker_dock_create | ( | wlmaker_server_t * | server_ptr, |
bspl_dict_t * | state_dict_ptr, | ||
const wlmaker_config_style_t * | style_ptr | ||
) |
Creates the Dock handle. Needs the server to be up with workspaces running.
server_ptr | |
state_dict_ptr | |
style_ptr |
void wlmaker_dock_destroy | ( | wlmaker_dock_t * | dock_ptr | ) |
Destroys the Dock handle.
dock_ptr |
const bspl_desc_t _wlmaker_dock_desc[] |
Descriptor for the dock's plist.
|
static |
Enum descriptor for enum wlr_edges
.
const bs_test_case_t wlmaker_dock_test_cases[] |
Unit test cases.