Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • libxcb libxcb
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 39
    • Issues 39
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • xorgxorg
  • lib
  • libxcblibxcb
  • Issues
  • #53
Closed
Open
Issue created Dec 02, 2020 by Thomas Anderson@thomasandersonContributor

xcb_request_check hangs when making a request after a flush

Minimal repro:

#include <xcb/xcb.h>
int main() {
  xcb_connection_t *connection = xcb_connect(NULL, NULL);
  xcb_void_cookie_t cookie = xcb_set_input_focus_checked(connection, 0, 0, 0);
  xcb_flush(connection);
  xcb_get_input_focus(connection);
  xcb_request_check(connection, cookie);
  return 0;
}

The xcb_request_check() hangs indefinitely because libxcb doesn't flush the get_input_focus request.

Assignee
Assign to
Time tracking