Little test that I made to figure out how use the Present extension of X11 with XCB.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
bricks 08e918f771 Update 'README.md' пре 1 година
LICENSE Initial commit пре 1 година
README.md Update 'README.md' пре 1 година
makefile Upload files to '' пре 1 година
test.c Upload files to '' пре 1 година

README.md

XCB-Present-test-2

Little test that I made to figure out how use the Present extension of X11 with XCB. It animates a bar going from left to right. That's it. I didn't put in any code to manage its size so don't resize its window.

To compile, just run make

Dependencies :

  • C99 + posix
  • libxcb
  • libxcb-present
  • libxcb-util
  • libcairo

Controls:

  • any mouse input to stop/resume the animation
  • any keyboard input to exit the program