I wasn't completely sure what to do with the registry key. Keeping "Wine/X11 Driver" is a bit odd, but it also makes sure we stay backward compatible. Changing it would require more changes elsewhere and maybe it could be done later, if / when more options are moved.
--
v2: win32u: Move fullscreen window cursor clipping from winex11.
winex11: Move clip_fullscreen_window foreground check inside it.
win32u: Add a clipping_cursor member to user_thread_info.
win32u: Add a clipping_reset member to user_thread_info.
win32u: Move grab_pointer registry option from winex11.
winex11: Remove now unnecessary WM_X11DRV_CLIP_CURSOR_NOTIFY.
https://gitlab.winehq.org/wine/wine/-/merge_requests/3021
I wasn't completely sure what to do with the registry key. Keeping "Wine/X11 Driver" is a bit odd, but it also makes sure we stay backward compatible. Changing it would require more changes elsewhere and maybe it could be done later, if / when more options are moved.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/3021
Huw Davies (@huw) commented about dlls/sapi/uuid.c:
> + * version 2.1 of the License, or (at your option) any later version.
> + *
> + * This library is distributed in the hope that it will be useful,
> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
> + * Lesser General Public License for more details.
> + *
> + * You should have received a copy of the GNU Lesser General Public
> + * License along with this library; if not, write to the Free Software
> + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
> + */
> +
> +#include "initguid.h"
> +
> +DEFINE_GUID(SPDFID_Text, 0x7ceef9f9, 0x3d13, 0x11d2, 0x9e, 0xe7, 0x00, 0xc0, 0x4f, 0x79, 0x73, 0x96);
> +DEFINE_GUID(SPDFID_WaveFormatEx, 0xc31adbae, 0x527f, 0x4ff5, 0xa2, 0x30, 0xf6, 0x2b, 0xb6, 0x1f, 0xf7, 0x0c);
Adding a new source file just for the guids seems a bit of an overkill. Can't we just add these to another file?
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/2992#note_35072