mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-28 07:45:00 +00:00
Prevent setting user time if the WM doesn't support it
* src/xterm.c (x_update_frame_user_time_window): Don't set _NET_WM_USER_TIME if it's not supported by the window manager.
This commit is contained in:
parent
25dd4f169d
commit
c0ced4e499
@ -7117,7 +7117,8 @@ x_update_frame_user_time_window (struct frame *f)
|
||||
output = FRAME_X_OUTPUT (f);
|
||||
dpyinfo = FRAME_DISPLAY_INFO (f);
|
||||
|
||||
if (!NILP (Vx_no_window_manager))
|
||||
if (!NILP (Vx_no_window_manager)
|
||||
|| !x_wm_supports (f, dpyinfo->Xatom_net_wm_user_time))
|
||||
{
|
||||
if (output->user_time_window != None
|
||||
&& output->user_time_window != FRAME_OUTER_WINDOW (f))
|
||||
|
Loading…
Reference in New Issue
Block a user