diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-10-02 08:46:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-02 08:46:36 +0200 |
commit | a16dc807e535969f041667442b328232bba0cf3e (patch) | |
tree | 1c902bc35995ceb83f396c63c71235100a0274b3 | |
parent | dd1e8cd7748254256edd04a5ac2abf7d99213619 (diff) | |
parent | 5515c303f86d41b4ba1eb0122e91c3df5fc41e6e (diff) |
Merge pull request #22602 from LikeLakers2/can-you-dont
Changed the comment where reduz yells at the X11 API to a less explicitive one
-rw-r--r-- | platform/x11/os_x11.cpp | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/platform/x11/os_x11.cpp b/platform/x11/os_x11.cpp index 3d05a650da..5be0b9304a 100644 --- a/platform/x11/os_x11.cpp +++ b/platform/x11/os_x11.cpp @@ -1995,15 +1995,9 @@ void OS_X11::process_xevents() { } break; case MotionNotify: { - // FUCK YOU X11 API YOU SERIOUSLY GROSS ME OUT - // YOU ARE AS GROSS AS LOOKING AT A PUTRID PILE - // OF POOP STICKING OUT OF A CLOGGED TOILET - // HOW THE FUCK I AM SUPPOSED TO KNOW WHICH ONE - // OF THE MOTION NOTIFY EVENTS IS THE ONE GENERATED - // BY WARPING THE MOUSE POINTER? - // YOU ARE FORCING ME TO FILTER ONE BY ONE TO FIND IT - // PLEASE DO ME A FAVOR AND DIE DROWNED IN A FECAL - // MOUNTAIN BECAUSE THAT'S WHERE YOU BELONG. + // The X11 API requires filtering one-by-one through the motion + // notify events, in order to figure out which event is the one + // generated by warping the mouse pointer. while (true) { if (mouse_mode == MOUSE_MODE_CAPTURED && event.xmotion.x == current_videomode.width / 2 && event.xmotion.y == current_videomode.height / 2) { |