mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 15:21:56 -05:00
Changed the comment where reduz yells at the X11 API to a less explicitive one
This commit is contained in:
@@ -1995,15 +1995,9 @@ void OS_X11::process_xevents() {
|
|||||||
} break;
|
} break;
|
||||||
case MotionNotify: {
|
case MotionNotify: {
|
||||||
|
|
||||||
// FUCK YOU X11 API YOU SERIOUSLY GROSS ME OUT
|
// The X11 API requires filtering one-by-one through the motion
|
||||||
// YOU ARE AS GROSS AS LOOKING AT A PUTRID PILE
|
// notify events, in order to figure out which event is the one
|
||||||
// OF POOP STICKING OUT OF A CLOGGED TOILET
|
// generated by warping the mouse pointer.
|
||||||
// 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.
|
|
||||||
|
|
||||||
while (true) {
|
while (true) {
|
||||||
if (mouse_mode == MOUSE_MODE_CAPTURED && event.xmotion.x == current_videomode.width / 2 && event.xmotion.y == current_videomode.height / 2) {
|
if (mouse_mode == MOUSE_MODE_CAPTURED && event.xmotion.x == current_videomode.width / 2 && event.xmotion.y == current_videomode.height / 2) {
|
||||||
|
|||||||
Reference in New Issue
Block a user