2023-02-19 11:01:09 -05:00
|
|
|
# XCB-Present-test
|
|
|
|
|
2023-02-19 11:07:08 -05:00
|
|
|
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
|
2023-02-19 11:08:15 -05:00
|
|
|
`make`
|
2023-02-19 11:07:08 -05:00
|
|
|
|
|
|
|
Dependencies :
|
2023-02-19 11:08:15 -05:00
|
|
|
* C99 + posix
|
|
|
|
* libxcb
|
|
|
|
* libxcb-present
|
|
|
|
* libxcb-util
|
|
|
|
* libcairo
|
2023-02-19 11:07:08 -05:00
|
|
|
|
|
|
|
Controls:
|
2023-02-19 11:08:15 -05:00
|
|
|
* any mouse input to stop/resume the animation
|
|
|
|
* any keyboard input to exit the program
|