Skip to content
Snippets Groups Projects
Commit b5e94bec authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

X11 uses unsigned long int for window IDs (see X11/X.h)

parent 4956bba4
No related branches found
No related tags found
No related merge requests found
......@@ -835,7 +835,7 @@ static void feh_parse_option_array(int argc, char **argv, int finalrun)
opt.use_conversion_cache = 0;
break;
case 251:
opt.x11_windowid = atoi(optarg);
opt.x11_windowid = atol(optarg);
break;
default:
break;
......
......@@ -130,7 +130,7 @@ struct __fehoptions {
unsigned char adjust_reload;
int xinerama_index;
char *x11_class;
unsigned int *x11_windowid;
unsigned long int x11_windowid;
/* signed in case someone wants to invert scrolling real quick */
int scroll_step;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment