]> git.eshelyaron.com Git - emacs.git/commit
Avoid extra sync if we didn't get the right wmstate
authorPo Lu <luangruo@yahoo.com>
Fri, 1 Apr 2022 00:47:45 +0000 (08:47 +0800)
committerPo Lu <luangruo@yahoo.com>
Fri, 1 Apr 2022 00:47:45 +0000 (08:47 +0800)
commit79b50d0f90707f28d8ce7d83e03c54c3572af782
tree63b90785619c482b50746161630955558c8bd462
parentc3ad47b7e4d6efeebee4ac1d40597700be749c88
Avoid extra sync if we didn't get the right wmstate

* src/xterm.c (x_dnd_get_wm_state_and_proto): Always set proto
version.
(x_dnd_get_target_window): Optimize accordingly.
src/xterm.c