]> git.eshelyaron.com Git - emacs.git/commit
Update alpha frame parameter when the window manager changes it
authorPo Lu <luangruo@yahoo.com>
Tue, 10 May 2022 01:32:59 +0000 (09:32 +0800)
committerPo Lu <luangruo@yahoo.com>
Tue, 10 May 2022 01:32:59 +0000 (09:32 +0800)
commitb299f173490f5c51476ad3c8436b19bb091c1b00
tree44b63675a726a6cb13854b4c20222e84b6062b11
parentb7167ba8d14ad722452c297e33ae5e496f17f72c
Update alpha frame parameter when the window manager changes it

* src/xfns.c (x_set_alpha): New function.  Set
`alpha_identical_p' flag.
(x_frame_parm_handlers): Use it to handle `alpha' instead.

* src/xterm.c (x_set_frame_alpha): Make tests against current
alpha safer.
(handle_one_xevent): Set frame alpha when alpha property
changes.
* src/xterm.h (struct x_output): New flag `alpha_identical_p'.
src/xfns.c
src/xterm.c
src/xterm.h