X11:如何让应用程序置顶

发布于 2024-09-24 11:08:33 字数 102 浏览 2 评论 0原文

我正在使用火柴盒键盘,它是基于 X11 的应用程序。当任何应用程序处于全屏模式时,火柴盒键盘将不可见,因为全屏应用程序位于顶部。那么有没有办法在全屏应用程序上启动基于 X11 的应用程序呢?

Situation I'm using matchbox keyboard which is X11 based application. When any application is in full screen mode matchbox keyboard cannot be visible as the full screened application is on TOP. So is there a way to launch X11 based application over full screened applictions ?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

冷︶言冷语的世界 2024-10-01 11:08:33

您可以查看这些 GTK 函数的源代码,看看它们是如何在 X11 后端实现的:

gtk_window_set_keep_above()
gtk_window_set_keep_below()
gtk_window_set_transient_for()

我认为这是了解如何做到这一点的最佳方法,当然 GTK 采用的解决方案应该是可移植的。

You can look at the source of those GTK functions and see how they are implemented for the X11 backend:

gtk_window_set_keep_above()
gtk_window_set_keep_below()
gtk_window_set_transient_for()

I think it is the best way to know how you can do that, surely the solution GTK adopted should be portable.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文