]> git.eshelyaron.com Git - emacs.git/commit
Fix bug 7013, only do send event if wanted state != current state.
authorJan D <jan.h.d@swipnet.se>
Sun, 12 Sep 2010 13:23:59 +0000 (15:23 +0200)
committerJan D <jan.h.d@swipnet.se>
Sun, 12 Sep 2010 13:23:59 +0000 (15:23 +0200)
commit5f61a25c8a76b1bd2fc16872f4160956c3bd0cb5
treef5a8763c9e7e73e9dea40fecc9f4a41686f82b9e
parent65c92e318dc297f65e2819664a22ab505be43274
Fix bug 7013, only do send event if wanted state != current state.

* xterm.c (get_current_vm_state): New function.
(do_ewmh_fullscreen): Call get_current_vm_state and compare with
want_fullscreen so set_wm_state calls are few (Bug#7013).
(x_handle_net_wm_state): Move code to get_current_vm_state and
call that function.
src/ChangeLog
src/xterm.c