Lines Matching defs:dmxScreen
99 void *(*f)(DMXScreenInfo *dmxScreen, void *),
122 static int dmxPropertyCheckOtherServers(DMXScreenInfo *dmxScreen, Atom atom)
124 Display *dpy = dmxScreen->beDisplay;
157 dmxLogOutputWarning(dmxScreen,
159 tp.value, dmxScreen->name);
174 dmxLogOutput(dmxScreen, "No Xdmx server running on backend\n");
179 * Otherwise, returns a pointer to the dmxScreen of the other windows on
181 static DMXScreenInfo *dmxPropertyCheckOtherWindows(DMXScreenInfo *dmxScreen,
184 Display *dpy = dmxScreen->beDisplay;
206 dmxScreen->name, win, tp.value);
229 int dmxPropertyDisplay(DMXScreenInfo *dmxScreen)
233 Display *dpy = dmxScreen->beDisplay;
239 if (dmxPropertyCheckOtherServers(dmxScreen, atom)) {
240 dmxScreen->shared = 1;
248 /** Returns 1 if the dmxScreen and the display in \a name are on the
253 int dmxPropertySameDisplay(DMXScreenInfo *dmxScreen, const char *name)
255 Display *dpy0 = dmxScreen->beDisplay;
270 dmxLog(dmxWarning, "No atom on %s\n", dmxScreen->name);
275 dmxLog(dmxWarning, "No text property on %s\n", dmxScreen->name);
302 /** Prints a log message if \a dmxScreen is on the same backend X server
305 * dmxScreen.
315 void dmxPropertyWindow(DMXScreenInfo *dmxScreen)
319 Display *dpy = dmxScreen->beDisplay;
320 Window win = dmxScreen->scrnWin;
330 if ((other = dmxPropertyCheckOtherWindows(dmxScreen, atom))) {
331 DMXScreenInfo *tmp = dmxScreen->next;
332 dmxScreen->next = (other->next ? other->next : other);
333 other->next = (tmp ? tmp : dmxScreen);
335 dmxScreen->index, dmxScreen->name, dmxScreen->scrnWin,
339 XmuSnprintf(buf, sizeof(buf), ".%d,%lu", dmxScreen->index,
344 XmuSnprintf(buf, sizeof(buf), "%s,%d", id, dmxScreen->index);