summaryrefslogtreecommitdiff
path: root/src/xterm.h
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2022-09-06 19:39:05 +0800
committerPo Lu <luangruo@yahoo.com>2022-09-06 19:39:24 +0800
commita3d7332d758aca4583a0a6b953a4b383679a6f20 (patch)
tree818fe8efcfdc51a5950e651a47a8f9d4a27094ff /src/xterm.h
parentae963e80a79f5a9184daabfc8197f211a39b136d (diff)
downloademacs-a3d7332d758aca4583a0a6b953a4b383679a6f20.tar.gz
Correctly handle frame synchronization on fullscreen KWin
* src/xfns.c (x_set_use_frame_synchronization): Announce that we do not want the compositor to unredirect the frame while fullscreen. * src/xterm.c (x_atom_refs): New atom `_NET_WM_BYPASS_COMPOSITOR'. * src/xterm.h (struct x_display_info): Likewise.
Diffstat (limited to 'src/xterm.h')
-rw-r--r--src/xterm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xterm.h b/src/xterm.h
index 7c5a889af30..d6ff15e40f7 100644
--- a/src/xterm.h
+++ b/src/xterm.h
@@ -656,7 +656,8 @@ struct x_display_info
Xatom_net_wm_sync_request, Xatom_net_wm_sync_request_counter,
Xatom_net_wm_sync_fences, Xatom_net_wm_frame_drawn, Xatom_net_wm_frame_timings,
Xatom_net_wm_user_time, Xatom_net_wm_user_time_window,
- Xatom_net_client_list_stacking, Xatom_net_wm_pid;
+ Xatom_net_client_list_stacking, Xatom_net_wm_pid,
+ Xatom_net_wm_bypass_compositor;
/* XSettings atoms and windows. */
Atom Xatom_xsettings_sel, Xatom_xsettings_prop, Xatom_xsettings_mgr;