Skip to content

Commit 90be696

Browse files
Remove some commented out code
This was kind of a TODO, to try to implement the reply side of these hooks, however it turns out to be really tricky, the only sensible thing seems to be to stache the sequence numbers returned then override replies using those sequence numbers. very annoying to do anyways, and it's not needed for now for Ruffle, so not bothering.
1 parent 374af51 commit 90be696

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/library/xcb/xcbrequests.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,6 @@ static void handleRawRequest(xcb_connection_t* c, struct iovec* vector, std::fun
321321
case XCB_QUERY_KEYMAP:
322322
{
323323
LOG(LL_TRACE, LCF_KEYBOARD, "XCB_QUERY_KEYMAP raw request call");
324-
//send_request(vector);
325324
break;
326325
}
327326

@@ -352,7 +351,6 @@ static void handleRawRequest(xcb_connection_t* c, struct iovec* vector, std::fun
352351
case XCB_QUERY_POINTER:
353352
{
354353
LOG(LL_TRACE, LCF_MOUSE, "XCB_QUERY_POINTER raw request call");
355-
//send_request(vector);
356354
break;
357355
}
358356

@@ -548,7 +546,6 @@ static void handleRawRequest(xcb_connection_t* c, struct iovec* vector, std::fun
548546
case XCB_INPUT_XI_QUERY_DEVICE:
549547
{
550548
LOG(LL_TRACE, LCF_WINDOW, "XCB_INPUT_XI_QUERY_DEVICE raw request call");
551-
//send_request(vector);
552549
return;
553550
}
554551
}

0 commit comments

Comments
 (0)