Little test that I made to figure out how use the Present extension of X11 with XCB.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
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