开发者

How to move application window to current workspace?

开发者 https://www.devze.com 2023-02-06 15:29 出处:网络
My application has \"Bring to current desktop\" option in indicator menu. Now, moving开发者_如何学编程 windows across workspaces is nice and easy if you are not using Compiz.

My application has "Bring to current desktop" option in indicator menu. Now, moving开发者_如何学编程 windows across workspaces is nice and easy if you are not using Compiz.

My question is how could I bring application window to current desktop. Application is written in Python and GTK+. I tried using Present method of gtk.Window but then window grabs focus and nothing else happens (window is not actually presented to user). I also tried playing with wnck, but that method works only when Compiz is not running.

Any idea?

0

精彩评论

暂无评论...
验证码 换一张
取 消