2008-10-14 05:38:03 +04:00
|
|
|
|
|
|
|
void check_x_event(IxpConn*);
|
|
|
|
void dispatch_event(XEvent*);
|
|
|
|
uint flushenterevents(void);
|
|
|
|
uint flushevents(long, bool);
|
2009-05-23 07:33:25 +04:00
|
|
|
void xtime_kludge(void);
|
|
|
|
|
|
|
|
/* caret.c */
|
|
|
|
void caret_delete(int, int);
|
|
|
|
char* caret_find(int, int);
|
|
|
|
void caret_insert(char*, bool);
|
|
|
|
void caret_move(int, int);
|
|
|
|
void caret_set(int, int);
|
|
|
|
|
|
|
|
/* history.c */
|
2008-10-16 07:15:42 +04:00
|
|
|
void history_dump(const char*, int);
|
|
|
|
char* history_search(int, char*, int);
|
2009-05-23 07:33:25 +04:00
|
|
|
|
|
|
|
/* main.c */
|
|
|
|
void debug(int, const char*, ...);
|
|
|
|
Item* filter_list(Item*, char*);
|
2009-03-30 07:11:32 +04:00
|
|
|
void init_screens(int);
|
2009-05-30 02:54:38 +04:00
|
|
|
void update_filter(bool);
|
2009-09-17 17:27:11 +04:00
|
|
|
void update_input(void);
|
2009-05-23 07:33:25 +04:00
|
|
|
|
|
|
|
/* menu.c */
|
2009-05-23 07:58:56 +04:00
|
|
|
void menu_draw(void);
|
2008-10-14 05:38:03 +04:00
|
|
|
void menu_init(void);
|
|
|
|
void menu_show(void);
|
|
|
|
|
2009-05-14 07:30:20 +04:00
|
|
|
/* keys.c */
|
|
|
|
void parse_keys(char*);
|
|
|
|
char** find_key(char*, long);
|
|
|
|
int getsym(char*);
|
|
|
|
|
2008-10-14 05:38:03 +04:00
|
|
|
/* geom.c */
|
|
|
|
Align get_sticky(Rectangle src, Rectangle dst);
|
|
|
|
Cursor quad_cursor(Align);
|
|
|
|
Align quadrant(Rectangle, Point);
|
|
|
|
bool rect_contains_p(Rectangle, Rectangle);
|
|
|
|
bool rect_haspoint_p(Point, Rectangle);
|
|
|
|
bool rect_intersect_p(Rectangle, Rectangle);
|
|
|
|
Rectangle rect_intersection(Rectangle, Rectangle);
|
|
|
|
|
|
|
|
/* xext.c */
|
|
|
|
void randr_event(XEvent*);
|
|
|
|
bool render_argb_p(Visual*);
|
|
|
|
void xext_event(XEvent*);
|
|
|
|
void xext_init(void);
|
|
|
|
Rectangle* xinerama_screens(int*);
|
|
|
|
|