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