commit | 51c6f631c0100be32b41c407c89167d2f6d88a6e | [log] [tgz] |
---|---|---|
author | Benoit Gschwind <gschwind@gnu-log.net> | Wed May 18 21:32:12 2016 +0200 |
committer | Quentin Glidic <sardemff7+git@sardemff7.net> | Mon Aug 15 17:45:08 2016 +0200 |
tree | 5e6d4710c0bcaf799c0d85e6b4b8fe5414fd7991 | |
parent | 4ddc4cc4fae83c48fc9d40ec4bd0cbb38ba183ff [diff] |
compositor-x11: remove redundant state arg of x11_backend_deliver_button_event The "state" variable in x11_backend_deliver_button_event is basically the same as (event->response_type == XCB_BUTTON_PRESS), thus update the code to use the last one. Signed-off-by: Benoit Gschwind <gschwind@gnu-log.net> Reviewed-by: Daniel Stone <daniels@collabora.com> Reviewed-by: Quentin Glidic <sardemff7+git@sardemff7.net>