Feature: window policies (defaults and override per window/clients)

Enrico Weigelt, metux IT consult lkml at metux.net
Wed Oct 19 17:49:51 CEST 2022


On 19.10.22 17:02, Cottrell, Allin wrote:

> This sounds good! Would this include specifying the virtual desktop on
> which a program's window should appear? 

By "virtual desktop" you probably mean "workspaces".

That's actually one of the next points on my 2do list.

Just have a look at the last patch in the queue: it checks a value from
policy and sets a flag. For your case we'd just read the desired
workspace ID and call clientSetWorkspace() w/ it. In handleKeyPress()
(events.c:410) you can see how it's done based on a hotkey.

Feel free to try it on your own and send a patch to me, or open a
feature request ticket.


--mtx

-- 
---
Hinweis: unverschlüsselte E-Mails können leicht abgehört und manipuliert
werden ! Für eine vertrauliche Kommunikation senden Sie bitte ihren
GPG/PGP-Schlüssel zu.
---
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
info at metux.net -- +49-151-27565287


More information about the Xfce mailing list