View | Details | Raw Unified | Return to bug 24601
Collapse All | Expand All

(-)xbindkeys.c.orig (-1 / +2 lines)
Lines 201-207 Link Here
201
static void
201
static void
202
adjust_display (XAnyEvent * xany)
202
adjust_display (XAnyEvent * xany)
203
{
203
{
204
  size_t envstr_size = strlen(DisplayString(xany->display)) + 8 + 1;
204
  // Ugly hack. Seems like DisplayString(xany->display) not always returns :0
205
  size_t envstr_size = strlen(DisplayString(xany->display)) + 2 + 8 + 1;
205
  char* envstr = malloc (envstr_size);
206
  char* envstr = malloc (envstr_size);
206
  XWindowAttributes attr;
207
  XWindowAttributes attr;
207
  char* ptr;
208
  char* ptr;

Return to bug 24601