mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
...to increase xwayland and xdg-shell encapsulation and to avoid passing a function pointer as an argument in `xwayland_move_sub_views_to_front()` which is inconsistent with labwc design patterns. Rename view-impl.c to view-impl-common.c Move function declarations that are common to view-implementations from view.h into view-impl-common.h
14 lines
409 B
C
14 lines
409 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
#ifndef __LABWC_VIEW_IMPL_COMMON_H
|
|
#define __LABWC_VIEW_IMPL_COMMON_H
|
|
/*
|
|
* Common code for view->impl functions
|
|
*
|
|
* Please note: only xdg-shell-toplevel-view and xwayland-view view_impl
|
|
* functions should call these functions.
|
|
*/
|
|
|
|
void view_impl_move_to_front(struct view *view);
|
|
void view_impl_map(struct view *view);
|
|
|
|
#endif /* __LABWC_VIEW_IMPL_COMMON_H */
|