astrand / xclip

Command line interface to the X11 clipboard
GNU General Public License v2.0
1.04k stars 75 forks source link

Revise the error message #55

Closed hwangcc23 closed 3 years ago

hwangcc23 commented 5 years ago

Fix the issue #38 (https://github.com/astrand/xclip/issues/38).

Add a prefix "xclip::Error" with the error message so that the user can know what program is causing the error. Print the id of the owner of the selection in the verbose mode so that the developer can know what program cannot fulfill the request of ConvertSelection.

hwangcc23 commented 5 years ago

@astrand Thanks for reviews. I sent the PR again according to your comments and requests. Please help review it again. Thanks.

hwangcc23 commented 5 years ago

@astrand Changes are completed. Could you review the code again and merge the patch?