|
wlmaker
|
#include <libbase/libbase.h>#include <libbase/signal.h>#include <stdbool.h>#include "wlclient/wlclient.h"

Go to the source code of this file.
Classes | |
| struct | wlmdock_toplevel_tracker_events |
Variables | |
| const bs_test_set_t | wlmdock_toplevel_test_set |
Maintains handles for listing and manipulating toplevels, as provided by the relevant Wayland protocols. Namely:
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.
| struct wlmdock_toplevel_handle * wlmdock_toplevel_handle_create | ( | struct wlmdock_toplevel_tracker * | tracker_ptr | ) |
Creates a toplevel handle.
| tracker_ptr |
| void wlmdock_toplevel_handle_destroy | ( | struct wlmdock_toplevel_handle * | handle_ptr | ) |
Destroys the toplevel handle.
| handle_ptr |
| bool wlmdock_toplevel_handle_set_app_id | ( | struct wlmdock_toplevel_handle * | handle_ptr, |
| const char * | app_id_ptr | ||
| ) |
Sets (or clears) the app id of the toplevel.
| handle_ptr | |
| app_id_ptr | May be NULL. |
| bool wlmdock_toplevel_handle_set_identifier | ( | struct wlmdock_toplevel_handle * | handle_ptr, |
| const char * | identifier_ptr | ||
| ) |
Sets (or clears) the identifier of the toplevel.
| handle_ptr | |
| identifier_ptr | Once set, the identifier must not be changed. |
| bool wlmdock_toplevel_handle_set_title | ( | struct wlmdock_toplevel_handle * | handle_ptr, |
| const char * | title_ptr | ||
| ) |
Sets (or clears) the title of the toplevel.
| handle_ptr | |
| title_ptr | May be NULL. |
| bool wlmdock_toplevel_register_ext_foreign_toplevel_list | ( | wlmcl_client_t * | client_ptr, |
| struct wlmdock_toplevel_tracker * | tracker_ptr | ||
| ) |
Registers an ext-foreign-toplevel-list-v1 interface for the tracker.
| client_ptr | |
| tracker_ptr |
| bs_dllist_t * wlmdock_toplevel_tracker_app_id_handles | ( | struct wlmdock_toplevel_tracker * | tracker_ptr, |
| const char * | app_id_ptr | ||
| ) |
Returns wlmdock_toplevel_app_ids::toplevel_handles for app_id_ptr.
| tracker_ptr | |
| app_id_ptr |
| struct wlmdock_toplevel_tracker * wlmdock_toplevel_tracker_create | ( | void | ) |
Creates the toplevel tracker.
| void wlmdock_toplevel_tracker_destroy | ( | struct wlmdock_toplevel_tracker * | tracker_ptr | ) |
Destroys the toplevel tracker.
| tracker_ptr |
| struct wlmdock_toplevel_tracker_events * wlmdock_toplevel_tracker_events | ( | struct wlmdock_toplevel_tracker * | tracker_ptr | ) |
| bool wlmdock_toplevel_tracker_register_app_id | ( | struct wlmdock_toplevel_tracker * | tracker_ptr, |
| struct wlmdock_toplevel_handle * | handle_ptr | ||
| ) |
Registers the handle for the app_id tracker.
| tracker_ptr | |
| handle_ptr | Requires wlmdock_toplevel_handle::app_id_ptr to be set. |
| void wlmdock_toplevel_tracker_unregister_app_id | ( | struct wlmdock_toplevel_tracker * | tracker_ptr, |
| struct wlmdock_toplevel_handle * | handle_ptr | ||
| ) |
Unregisters the handle from the app_id tracker.
| tracker_ptr | |
| handle_ptr | Requires wlmdock_toplevel_handle::app_id_ptr to be set. |
|
extern |
Unit test set for toplevel.