mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 05:27:20 +00:00
[client] displayservers: add name field
This commit is contained in:
parent
97c5b8c3a7
commit
0dabfdc432
@ -154,6 +154,7 @@ static bool waylandGetProp(LG_DSProperty prop, void * ret)
|
|||||||
|
|
||||||
struct LG_DisplayServerOps LGDS_Wayland =
|
struct LG_DisplayServerOps LGDS_Wayland =
|
||||||
{
|
{
|
||||||
|
.name = "Wayland",
|
||||||
.setup = waylandSetup,
|
.setup = waylandSetup,
|
||||||
.probe = waylandProbe,
|
.probe = waylandProbe,
|
||||||
.earlyInit = waylandEarlyInit,
|
.earlyInit = waylandEarlyInit,
|
||||||
|
@ -1922,6 +1922,7 @@ static void x11Minimize(void)
|
|||||||
|
|
||||||
struct LG_DisplayServerOps LGDS_X11 =
|
struct LG_DisplayServerOps LGDS_X11 =
|
||||||
{
|
{
|
||||||
|
.name = "X11",
|
||||||
.setup = x11Setup,
|
.setup = x11Setup,
|
||||||
.probe = x11Probe,
|
.probe = x11Probe,
|
||||||
.earlyInit = x11EarlyInit,
|
.earlyInit = x11EarlyInit,
|
||||||
|
@ -110,6 +110,8 @@ typedef struct LGEvent LGEvent;
|
|||||||
|
|
||||||
struct LG_DisplayServerOps
|
struct LG_DisplayServerOps
|
||||||
{
|
{
|
||||||
|
const char * name;
|
||||||
|
|
||||||
/* called before options are parsed, useful for registering options */
|
/* called before options are parsed, useful for registering options */
|
||||||
void (*setup)(void);
|
void (*setup)(void);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user