Skip to content

tabwin: New tweak to only show on the primary monitor

Submitted by Dridi

Assigned to Olivier Fourdan @olivier

Link to original bug (#15942)

Description

Created attachment 9012 common: Add a xfwm_monitor_is_primary function

This adds a new boolean entry in the tweaks dialog that defaults to false to maintain existing behavior without user intervention. The new setting is called cycle_primary_monitor and currently lacks translations (although I could help with the French translation once the exact wording is decided).

The rationale behind this new tweak is that when I'm presenting with my laptop a mix of slides and demos in a terminal for example, I want the alt+tab window to only show up on my primary screen. Especially when the other screen or projector is recorded.

The attached patches achieve that, and I have tested it to the best of my abilities in a dual screen setup in a Fedora 30 VM, compiled for both gtk >= 3.22 or not (although runtime was always gtk 3.24).

Patch 9012, "common: Add a xfwm_monitor_is_primary function":
0001-common-Add-a-xfwm_monitor_is_primary-function.patch

Version: GIT Master