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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
+1 −1
Original line number Diff line number Diff line
@@ -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;