2 Minor alteration to this patch to get it to cleanly apply at 1.26.0,
3 changed "int pkexec_uid;" to "unsigned int pkexec_uid;" in chunk #2.
5 --- mate-control-center-1.18.1/capplets/display/xrandr-capplet.c.~1~ 2017-04-05 23:22:53.000000000 +0300
6 +++ mate-control-center-1.18.1/capplets/display/xrandr-capplet.c 2017-05-24 09:08:24.255471398 +0300
9 source_filename = mate_rr_config_get_intended_filename ();
12 + command_line = g_strdup_printf ("/usr/bin/gksu -u root %s/mate-display-properties-install-systemwide %s %s",
14 command_line = g_strdup_printf ("pkexec %s/mate-display-properties-install-systemwide %s %s",
19 --- mate-control-center-1.14.0/capplets/display/mate-display-properties-install-systemwide.c.~1~ 2016-01-30 21:03:48.000000000 +0300
20 +++ mate-control-center-1.14.0/capplets/display/mate-display-properties-install-systemwide.c 2016-07-28 13:37:44.255108119 +0300
23 const char *source_filename;
24 const char *dest_name;
26 const char *pkexec_uid_str;
27 unsigned int pkexec_uid;
37 /* We only copy files that are really owned by the calling user */
39 pkexec_uid_str = g_getenv ("PKEXEC_UID");
41 g_print (_("%s must be owned by you\n"), source_filename);
46 /* We only accept basenames for the destination */