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

"Enrico Weigelt, metux IT consult" <[email protected]> Wed, 19 Oct 2022 17:49:51 +0200
Newsgroups gmane.comp.desktop.xfce.devel.version4,gmane.comp.xfce.user
Message-ID <[email protected]>
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
[email protected] -- +49-151-27565287
_______________________________________________
Xfce4-dev mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce4-dev