Skip to content

Commit

Permalink
Label monitors as such.
Browse files Browse the repository at this point in the history
  • Loading branch information
H-M-H committed Jun 10, 2020
1 parent 4f4df67 commit 04cf3c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/linux/xhelper.c
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ int create_capturables(Display* disp, Capturable** capturables, int size, Error*
c->disp = disp;
c->screen = ScreenOfDisplay(disp, screen);
char* name = XGetAtomName(disp, m->name);
strncpy(c->name, name, sizeof(c->name) - 1);
snprintf(c->name, sizeof(c->name) - 1, "Monitor: %s", name);
XFree(name);
c->type = RECT;
c->c.rinfo.x = m->x;
Expand Down

0 comments on commit 04cf3c2

Please sign in to comment.