diff options
author | Thomas Adam <thomas@xteddy.org> | 2023-06-30 16:01:10 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2023-06-30 16:01:10 +0100 |
commit | 237ee6f2311b351b8a3bb3b46e17622f6e3b6bb9 (patch) | |
tree | b9c4298a78b4a85dfcb517a6648570a331ae5d17 /notify.c | |
parent | 8c9fbbf4f3baae95c0ec437108f39483ced815cb (diff) | |
parent | 4e57894e8506f27844fc0e6353475a0b61fd7807 (diff) |
Merge branch 'obsd-master'
Diffstat (limited to 'notify.c')
-rw-r--r-- | notify.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -193,7 +193,7 @@ notify_add(const char *name, struct cmd_find_state *fs, struct client *c, ne->client = c; ne->session = s; ne->window = w; - ne->pane = (wp != NULL ? wp->id : -1); + ne->pane = (wp != NULL ? (int)wp->id : -1); ne->pbname = (pbname != NULL ? xstrdup(pbname) : NULL); ne->formats = format_create(NULL, NULL, 0, FORMAT_NOJOBS); @@ -240,7 +240,7 @@ notify_hook(struct cmdq_item *item, const char *name) ne.client = cmdq_get_client(item); ne.session = target->s; ne.window = target->w; - ne.pane = (target->wp != NULL ? target->wp->id : -1); + ne.pane = (target->wp != NULL ? (int)target->wp->id : -1); ne.formats = format_create(NULL, NULL, 0, FORMAT_NOJOBS); format_add(ne.formats, "hook", "%s", name); |