mirror of
https://github.com/polybar/polybar.git
synced 2025-04-14 17:33:17 -04:00
xpp: Type aliases
This commit is contained in:
parent
52335d4f63
commit
ee1c980be1
1 changed files with 11 additions and 2 deletions
|
@ -11,13 +11,22 @@
|
|||
#include <xcb/randr.h>
|
||||
|
||||
#include <xpp.hpp>
|
||||
#include <proto/randr.hpp>
|
||||
|
||||
namespace x
|
||||
{
|
||||
typedef xpp::connection<> connection;
|
||||
typedef xpp::event::registry<connection &> registry;
|
||||
typedef xpp::connection<xpp::randr::extension> connection;
|
||||
typedef xpp::event::registry<connection &, xpp::randr::extension> registry;
|
||||
|
||||
typedef xpp::window<connection &> window;
|
||||
typedef xpp::window<xcb_connection_t *> xcb_window;
|
||||
|
||||
typedef xpp::x::event::key_press<connection &> key_press;
|
||||
typedef xpp::x::event::key_release<connection &> key_release;
|
||||
typedef xpp::x::event::button_press<connection &> button_press;
|
||||
|
||||
typedef xpp::randr::event::notify<connection &> randr_notify;
|
||||
typedef xpp::randr::event::screen_change_notify<connection &> randr_screen_change_notify;
|
||||
}
|
||||
|
||||
namespace xcb
|
||||
|
|
Loading…
Add table
Reference in a new issue