X11: Improve performance of Window::set_cursor_icon (#1116)

* X11: Fix performance issue with rapidly resetting cursor icon

* When setting cursor icon, if the new icon value is the same as the
  current value, no messages are sent the X server.

* X11: Cache cursor objects in XConnection

* Add changelog entry
This commit is contained in:
Murarth 2019-08-26 19:06:59 -07:00 committed by Osspial
parent f085b7349c
commit 0b497b62d8
5 changed files with 143 additions and 126 deletions

View file

@ -3,6 +3,7 @@
mod atom;
mod client_msg;
mod cursor;
mod format;
mod geometry;
mod hint;