Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 42699 | Differences between
and this patch

Collapse All | Expand All

(-)goban-1.0/src/goban.c~ (-4 / +4 lines)
Lines 127-137 Link Here
127
  }
127
  }
128
128
129
  if (cg->screensaver) {
129
  if (cg->screensaver) {
130
    g->win->isroot = clp_getBool(cg->clp, "root");
131
    sscanf(clp_getStr(cg->clp, "window-id"), "%x", &g->win->window_id);
130
    sscanf(clp_getStr(cg->clp, "window-id"), "%x", &g->win->window_id);
132
    if (g->win->isroot && g->win->window_id) {
131
    if (!g->win->window_id) {
133
      fprintf(stderr, "cannot set both -root and -window-id\n");
132
      g->win->isroot = clp_getBool(cg->clp, "root");
134
      exit(1);
133
    } else {
134
      g->win->isroot = 0;
135
    }
135
    }
136
    butWin_setX(g->win, 0);
136
    butWin_setX(g->win, 0);
137
    butWin_setY(g->win, 0);
137
    butWin_setY(g->win, 0);

Return to bug 42699