mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
desktop.c: make topmost_mapped_view() private
This commit is contained in:
parent
74e1d6e45c
commit
e4b51fc5e8
2 changed files with 1 additions and 2 deletions
|
|
@ -337,7 +337,6 @@ void desktop_focus_view(struct seat *seat, struct view *view);
|
||||||
* Note: If !current, the server->views second focusable view is returned
|
* Note: If !current, the server->views second focusable view is returned
|
||||||
*/
|
*/
|
||||||
struct view *desktop_cycle_view(struct server *server, struct view *current);
|
struct view *desktop_cycle_view(struct server *server, struct view *current);
|
||||||
struct view *topmost_mapped_view(struct server *server);
|
|
||||||
struct view *focused_view(struct server *server);
|
struct view *focused_view(struct server *server);
|
||||||
void desktop_focus_topmost_mapped_view(struct server *server);
|
void desktop_focus_topmost_mapped_view(struct server *server);
|
||||||
bool isfocusable(struct view *view);
|
bool isfocusable(struct view *view);
|
||||||
|
|
|
||||||
|
|
@ -197,7 +197,7 @@ has_mapped_view(struct wl_list *wl_list)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
struct view *
|
static struct view *
|
||||||
topmost_mapped_view(struct server *server)
|
topmost_mapped_view(struct server *server)
|
||||||
{
|
{
|
||||||
if (!has_mapped_view(&server->views)) {
|
if (!has_mapped_view(&server->views)) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue