#pragma once #include #include "common.hpp" namespace xpp { template class...> class gcontext; template class...> class pixmap; template class...> class drawable; template class...> class colormap; template class...> class atom; template class...> class font; template class...> class cursor; namespace event { template class sink; } } POLYBAR_NS class connection; class registry; using gcontext = xpp::gcontext; using pixmap = xpp::pixmap; using drawable = xpp::drawable; using colormap = xpp::colormap; using atom = xpp::atom; using font = xpp::font; using cursor = xpp::cursor; namespace evt { // window focus events using focus_in = xpp::x::event::focus_in; using focus_out = xpp::x::event::focus_out; // cursor events using enter_notify = xpp::x::event::enter_notify; using leave_notify = xpp::x::event::leave_notify; using motion_notify = xpp::x::event::motion_notify; // keyboard events using button_press = xpp::x::event::button_press; using button_release = xpp::x::event::button_release; using key_press = xpp::x::event::key_press; using key_release = xpp::x::event::key_release; using keymap_notify = xpp::x::event::keymap_notify; // render events using circulate_notify = xpp::x::event::circulate_notify; using circulate_request = xpp::x::event::circulate_request; using colormap_notify = xpp::x::event::colormap_notify; using configure_notify = xpp::x::event::configure_notify; using configure_request = xpp::x::event::configure_request; using create_notify = xpp::x::event::create_notify; using destroy_notify = xpp::x::event::destroy_notify; using expose = xpp::x::event::expose; using graphics_exposure = xpp::x::event::graphics_exposure; using gravity_notify = xpp::x::event::gravity_notify; using map_notify = xpp::x::event::map_notify; using map_request = xpp::x::event::map_request; using mapping_notify = xpp::x::event::mapping_notify; using no_exposure = xpp::x::event::no_exposure; using reparent_notify = xpp::x::event::reparent_notify; using resize_request = xpp::x::event::resize_request; using unmap_notify = xpp::x::event::unmap_notify; using visibility_notify = xpp::x::event::visibility_notify; // data events using client_message = xpp::x::event::client_message; using ge_generic = xpp::x::event::ge_generic; using property_notify = xpp::x::event::property_notify; // selection events using selection_clear = xpp::x::event::selection_clear; using selection_notify = xpp::x::event::selection_notify; using selection_request = xpp::x::event::selection_request; } POLYBAR_NS_END