SDL: Revert "x11: get x1/x2 button state in GetGlobalMouseState"

From 57130b75a9b1386ce6652b0d0d626ab9ffcfe9c1 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Thu, 19 May 2022 00:31:20 -0700
Subject: [PATCH] Revert "x11: get x1/x2 button state in GetGlobalMouseState"

This reverts commit 3fcc2cb500a752698687ad0c8bb14778e6cb84c3.

Button4 and Button5 are for the scrollwheel, not the extended buttons.
I don't know of a way to query the state of the extended buttons using X11.
---
 src/video/x11/SDL_x11mouse.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/video/x11/SDL_x11mouse.c b/src/video/x11/SDL_x11mouse.c
index 5803a39a387..ecc6c7cdcc2 100644
--- a/src/video/x11/SDL_x11mouse.c
+++ b/src/video/x11/SDL_x11mouse.c
@@ -406,8 +406,6 @@ X11_GetGlobalMouseState(int *x, int *y)
                     buttons |= (mask & Button1Mask) ? SDL_BUTTON_LMASK : 0;
                     buttons |= (mask & Button2Mask) ? SDL_BUTTON_MMASK : 0;
                     buttons |= (mask & Button3Mask) ? SDL_BUTTON_RMASK : 0;
-                    buttons |= (mask & Button4Mask) ? SDL_BUTTON_X1MASK : 0;
-                    buttons |= (mask & Button5Mask) ? SDL_BUTTON_X2MASK : 0;
                     /* SDL_DisplayData->x,y point to screen origin, and adding them to mouse coordinates relative to root window doesn't do the right thing
                      * (observed on dual monitor setup with primary display being the rightmost one - mouse was offset to the right).
                      *