about user time in X domain

_NET_WM_USER_TIME属性用于存储最后一次用户输入事件的时间戳。此属性由GDK自动更新,并可用于窗口管理器根据新窗口是由用户操作创建还是由定时器或其他事件激活的“弹出”窗口来调整窗口的焦点、堆叠顺序和放置行为。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

_NET_WM_USER_TIME property:  this property stores an Xserver time which represents the time of the last user input event received for this window(gdk_x11_set_user_time(GdkWindow *window, guint32 timestamp)).
This property may be used by the window manager to alter the focus, stacking, and/or placement behavior of windows when they are mapped depending on whether the new window was created by a user action or is a "pop-up" window activated by a timer or some other event.

Note that this property is automatically updated by GDK, so gdk_x11_set_user_time should only be used by applications which hanle input events bypassing GDK.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值