picom: explain what _GTK_FRAME_EXTENTS is

Short story: i3 does not support them, so GTK shouldn't use them.
This commit is contained in:
Vincent Bernat 2022-01-03 20:04:58 +01:00
parent ccf4306ba9
commit eaa0480d9f

View file

@ -11,6 +11,7 @@ use-ewmh-active-win = true;
# https://github.com/yshui/picom/issues/625 # https://github.com/yshui/picom/issues/625
opacity-rule = [ opacity-rule = [
"0:_NET_WM_STATE@[*]:32a = '_NET_WM_STATE_HIDDEN'", "0:_NET_WM_STATE@[*]:32a = '_NET_WM_STATE_HIDDEN'",
# GTK frame extents are used for client-side shadows, we shouldn't have that as i3 does not support them.
"100:_GTK_FRAME_EXTENTS@:c", "100:_GTK_FRAME_EXTENTS@:c",
"100:fullscreen", "100:fullscreen",
"100:name = 'Zoom Meeting'", "100:name = 'Zoom Meeting'",
@ -61,6 +62,7 @@ wintypes:
}; };
shadow-exclude = [ shadow-exclude = [
"_NET_WM_STATE@[*]:32a = '_NET_WM_STATE_HIDDEN'", "_NET_WM_STATE@[*]:32a = '_NET_WM_STATE_HIDDEN'",
# GTK frame extents are used for client-side shadows, we shouldn't have that.
"_GTK_FRAME_EXTENTS@:c", "_GTK_FRAME_EXTENTS@:c",
"class_i = 'xss-dimmer'", "class_i = 'xss-dimmer'",
"class_i = 'i3-frame'", "class_i = 'i3-frame'",