Lines Matching defs:singleton
188 Atom singleton;
1985 printf(" -S disable use of a singleton and launch a fresh intel-virtual-output process\n");
2800 ctx->singleton = XInternAtom(display->dpy, "intel-virtual-output-singleton", False);
2802 XGetWindowProperty(display->dpy, display->root, ctx->singleton,
2804 DBG(X11, ("%s: singleton registered? %d\n", DisplayString(display->dpy), type != None));
2838 if (cme->message_type != ctx->singleton)
2889 msg.message_type = ctx->singleton;
2916 msg.message_type = ctx->singleton;
2967 XChangeProperty(display->dpy, display->root, ctx->singleton,
2977 fprintf(stderr, "Failed to register as singleton\n");
2988 ((XPropertyEvent *)&e)->atom == ctx->singleton)
3166 if (ctx->singleton)
3167 XDeleteProperty(dpy, ctx->display->root, ctx->singleton);
3183 int daemonize = 1, bumblebee = 0, siblings = 0, singleton = 1;
3203 singleton = 0;
3240 if (singleton) {
3243 DBG(X11, ("%s: pinging singleton\n", DisplayString(ctx.display->dpy)));
3250 DBG(X11, ("No reply from singleton; assuming control\n"));
3252 DBG(X11, ("%s: singleton active, sending open commands\n", DisplayString(ctx.display->dpy)));
3402 if (pe->atom == ctx.singleton) {
3403 DBG(X11, ("lost control of singleton\n"));
3413 if (cme->message_type != ctx.singleton)