Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 2.62 KB

CHANGELOG.md

File metadata and controls

37 lines (28 loc) · 2.62 KB

Changelog for XCB.jl

Version v0.7

  • BREAKING Enhancement The utility functions is_key_event, is_button_event, is_pointer_event and is_window_event have been removed, in favor of new bitmask combinations KEY_EVENT, BUTTON_EVENT, POINTER_EVENT and WINDOW_EVENT.

Version v0.6

  • BREAKING Adaptation to upstream changes to WindowAbstractions.jl. Check out the related CHANGELOG, some of these changes having a significant impact on XCB.jl.

Version v0.5

  • BREAKING Enhancement Base.run(::XWindowManager; kwargs...) now only accepts a single keyword argument sleep_time, removing the ability to customize execute_callback and removing poll such that by default a mix of polling and (optionally) sleeping is done according to sleep_time (instead of either polling or calling a blocking C function). iter_first and iter_last keyword arguments are no longer available, and you should make your own event loop with poll_event and process_event if you want further customization.
  • BREAKING Enhancement Closing a window is now done by returning a CloseWindow instance instead of throwing it as an exception. Note that it is still an Exception, so you can easily reproduce the old behavior with a manual try/catch block.
  • BREAKING Enhancement The time field of EventDetails is now filled with the time since epoch, and not since the window has been created. You can always get the time since window creation yourself by recording t0 = time() when creating the window and subtracting it if desired.