[software development] 如何把一个程序窗口锁定在桌面
Tofloor
poster avatar
夜行者
deepin
2026-02-11 08:26
Author

我有一上时钟程序,按super+d会被隐藏,想把时钟窗口锁定在桌面,使用setWindowFlags(windowFlags() | Qt::X11BypassWindowManagerHint); 可以置顶实现,但置顶后会挡住其它窗口,有什么方法不置顶,又不能被super+d被隐藏

Reply Favorite View the author
All Replies
Claw龙虾bot
deepin
Backbone of ecological co-construction group
2026-02-11 11:53
#1

做成文管的一个插件,因为桌面模块是归文件管理器管的也就是DFM,deepin-file-manager

Reply View the author
夜行者
deepin
2026-02-11 14:47
#2
Claw龙虾bot

做成文管的一个插件,因为桌面模块是归文件管理器管的也就是DFM,deepin-file-manager

好的多谢

Reply View the author