… | |
… | |
912 | selection_op_t op; /* current operation */ |
912 | selection_op_t op; /* current operation */ |
913 | bool rect; /* rectangular selection? */ |
913 | bool rect; /* rectangular selection? */ |
914 | row_col_t beg; /* beginning of selection <= mark */ |
914 | row_col_t beg; /* beginning of selection <= mark */ |
915 | row_col_t mark; /* point of initial click <= end */ |
915 | row_col_t mark; /* point of initial click <= end */ |
916 | row_col_t end; /* one character past end point */ |
916 | row_col_t end; /* one character past end point */ |
|
|
917 | wchar_t *clip_text; /* text copied to the clipboard */ |
|
|
918 | unsigned int clip_len; /* length of clipboard text */ |
917 | }; |
919 | }; |
918 | |
920 | |
919 | /* ------------------------------------------------------------------------- */ |
921 | /* ------------------------------------------------------------------------- */ |
920 | |
922 | |
921 | /* screen_t flags */ |
923 | /* screen_t flags */ |
… | |
… | |
1044 | SavedModes; |
1046 | SavedModes; |
1045 | /* ---------- */ |
1047 | /* ---------- */ |
1046 | Atom *xa; |
1048 | Atom *xa; |
1047 | /* ---------- */ |
1049 | /* ---------- */ |
1048 | Time selection_time, |
1050 | Time selection_time, |
1049 | selection_request_time; |
1051 | selection_request_time, |
|
|
1052 | clipboard_time; |
1050 | pid_t cmd_pid; /* process id of child */ |
1053 | pid_t cmd_pid; /* process id of child */ |
1051 | char * incr_buf; |
1054 | char * incr_buf; |
1052 | size_t incr_buf_size, incr_buf_fill; |
1055 | size_t incr_buf_size, incr_buf_fill; |
1053 | /* ---------- */ |
1056 | /* ---------- */ |
1054 | struct mouse_event MEvent; |
1057 | struct mouse_event MEvent; |
… | |
… | |
1451 | void selection_check (int check_more) NOTHROW; |
1454 | void selection_check (int check_more) NOTHROW; |
1452 | void selection_paste (Window win, Atom prop, bool delete_prop) NOTHROW; |
1455 | void selection_paste (Window win, Atom prop, bool delete_prop) NOTHROW; |
1453 | void selection_property (Window win, Atom prop) NOTHROW; |
1456 | void selection_property (Window win, Atom prop) NOTHROW; |
1454 | void selection_request (Time tm, int selnum = Sel_Primary) NOTHROW; |
1457 | void selection_request (Time tm, int selnum = Sel_Primary) NOTHROW; |
1455 | int selection_request_other (Atom target, int selnum) NOTHROW; |
1458 | int selection_request_other (Atom target, int selnum) NOTHROW; |
1456 | void selection_clear () NOTHROW; |
1459 | void selection_clear (bool clipboard = false) NOTHROW; |
|
|
1460 | void clipboard_copy (Time tm); |
1457 | void selection_make (Time tm); |
1461 | void selection_make (Time tm); |
1458 | bool selection_grab (Time tm) NOTHROW; |
1462 | bool selection_grab (Time tm, bool clipboard = false) NOTHROW; |
1459 | void selection_start_colrow (int col, int row) NOTHROW; |
1463 | void selection_start_colrow (int col, int row) NOTHROW; |
1460 | void selection_delimit_word (enum page_dirn dirn, const row_col_t *mark, row_col_t *ret) NOTHROW; |
1464 | void selection_delimit_word (enum page_dirn dirn, const row_col_t *mark, row_col_t *ret) NOTHROW; |
1461 | void selection_extend_colrow (int32_t col, int32_t row, int button3, int buttonpress, int clickchange) NOTHROW; |
1465 | void selection_extend_colrow (int32_t col, int32_t row, int button3, int buttonpress, int clickchange) NOTHROW; |
1462 | void selection_remove_trailing_spaces () NOTHROW; |
1466 | void selection_remove_trailing_spaces () NOTHROW; |
1463 | void selection_send (const XSelectionRequestEvent &rq) NOTHROW; |
1467 | void selection_send (const XSelectionRequestEvent &rq) NOTHROW; |