NekoWM
A gfxprim proxy backend tiling window manager
Loading...
Searching...
No Matches
Functions | Variables
neko_view_app.h File Reference

A running application. More...

Go to the source code of this file.

Functions

neko_view_slotneko_view_app_init (gp_proxy_cli *cli)
 Creates a slot content for a running application.
 
enum gp_poll_event_ret neko_view_app_event (gp_fd *self)
 A poll handler for the app slot.
 
gp_proxy_cli * neko_view_app_cli (neko_view_slot *self)
 Returns a proxy cli handle for a neko_view_app.
 
void neko_view_app_exit (gp_proxy_cli *cli)
 Requests an client exit.
 

Variables

neko_view_slot ** neko_apps
 A gp_vec of running applications.
 

Detailed Description

A running application.

Definition in file neko_view_app.h.

Function Documentation

◆ neko_view_app_cli()

gp_proxy_cli * neko_view_app_cli ( neko_view_slot self)

Returns a proxy cli handle for a neko_view_app.

This is supposed to be used on the pointers in the neko_apps array.

Parameters
selfA neko_view_slot with an app.
Returns
A proxy cli handle.

◆ neko_view_app_event()

enum gp_poll_event_ret neko_view_app_event ( gp_fd *  self)

A poll handler for the app slot.

Parameters
selfA gfxprim poll fd. The priv pointer must point to the application slot returned from neko_view_app_init().

◆ neko_view_app_exit()

void neko_view_app_exit ( gp_proxy_cli *  cli)

Requests an client exit.

Parameters
cliA client to request exit.

◆ neko_view_app_init()

neko_view_slot * neko_view_app_init ( gp_proxy_cli *  cli)

Creates a slot content for a running application.

Parameters
cliA proxy backend client handle.

Displays an application.