From 7019665cfd1ef999ab06328a9991b5c70ccdacac Mon Sep 17 00:00:00 2001 From: Amine Djeghri <32715913+AmineDjeghri@users.noreply.github.com> Date: Mon, 18 Dec 2023 16:05:18 +0100 Subject: [PATCH 1/4] Update README.md --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index d50f7e45f..c97aeec8e 100644 --- a/README.md +++ b/README.md @@ -494,6 +494,14 @@ window_rules: - command: "ignore" match_process_name: "notepad" ``` +#### Picture in Picture mode : +Change the `match_title` to the appropriate window's name +``` +# Do not manage Picture-in-picture windows + - command: "ignore" + match_title: "[Pp]icture.in.[Pp]icture" + match_class_name: "Chrome_WidgetWin_1|MozillaDialogClass" +``` # Available commands From 3a05b59189f1ff4f854a15080652619219e99e35 Mon Sep 17 00:00:00 2001 From: Amine Djeghri <32715913+AmineDjeghri@users.noreply.github.com> Date: Mon, 18 Dec 2023 18:12:49 +0100 Subject: [PATCH 2/4] Update sample-config.yaml --- GlazeWM.App/Resources/sample-config.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/GlazeWM.App/Resources/sample-config.yaml b/GlazeWM.App/Resources/sample-config.yaml index 73d469519..70d7a5811 100644 --- a/GlazeWM.App/Resources/sample-config.yaml +++ b/GlazeWM.App/Resources/sample-config.yaml @@ -95,6 +95,11 @@ window_rules: - command: "set floating" match_class_name: "#32770" +# Do not manage Picture-in-picture windows. Default is for english, change the match_title to the appropriate window's name if you use another language. + - command: "ignore" + match_title: "[Pp]icture.in.[Pp]icture" + match_class_name: "Chrome_WidgetWin_1|MozillaDialogClass" + # Some applications (eg. Steam) have borders that extend past the normal border size. - command: "resize borders 0px -7px -7px -7px" match_process_name: "steam" From 66c4f5cf806efe0106190fb2f87c0e08a834b7d6 Mon Sep 17 00:00:00 2001 From: Amine Djeghri <32715913+AmineDjeghri@users.noreply.github.com> Date: Mon, 18 Dec 2023 21:02:24 +0100 Subject: [PATCH 3/4] Update README.md --- README.md | 8 -------- 1 file changed, 8 deletions(-) diff --git a/README.md b/README.md index c97aeec8e..d50f7e45f 100644 --- a/README.md +++ b/README.md @@ -494,14 +494,6 @@ window_rules: - command: "ignore" match_process_name: "notepad" ``` -#### Picture in Picture mode : -Change the `match_title` to the appropriate window's name -``` -# Do not manage Picture-in-picture windows - - command: "ignore" - match_title: "[Pp]icture.in.[Pp]icture" - match_class_name: "Chrome_WidgetWin_1|MozillaDialogClass" -``` # Available commands From 35ec81743b6597b89bd192197224f0eae2070c7c Mon Sep 17 00:00:00 2001 From: lars-berger Date: Tue, 19 Dec 2023 05:47:35 +0800 Subject: [PATCH 4/4] Update sample-config.yaml --- GlazeWM.App/Resources/sample-config.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/GlazeWM.App/Resources/sample-config.yaml b/GlazeWM.App/Resources/sample-config.yaml index 70d7a5811..5dc5860f2 100644 --- a/GlazeWM.App/Resources/sample-config.yaml +++ b/GlazeWM.App/Resources/sample-config.yaml @@ -95,7 +95,8 @@ window_rules: - command: "set floating" match_class_name: "#32770" -# Do not manage Picture-in-picture windows. Default is for english, change the match_title to the appropriate window's name if you use another language. + # Do not manage picture-in-picture windows for browsers. Note that the default is for + # English; change `match_title` to the window's title if you use another language. - command: "ignore" match_title: "[Pp]icture.in.[Pp]icture" match_class_name: "Chrome_WidgetWin_1|MozillaDialogClass"