You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This has been bothering me for a while, but when you open and close an image in telegram, xidlehook will still detect it's Media viewer as fullscreen window preventing sleep.
Here's xprop output (omitting icon) before opening an image even once, xidlehook works normally.
_NET_WM_ICON_NAME(UTF8_STRING) =
_NET_WM_ICON(CARDINAL) = ...
XdndAware(ATOM) = BITMAP
WM_NAME(STRING) = "Media viewer"
_NET_WM_NAME(UTF8_STRING) = "Media viewer"
_MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x2, 0x1, 0x0, 0x0, 0x0
_NET_WM_WINDOW_TYPE(ATOM) = _KDE_NET_WM_WINDOW_TYPE_OVERRIDE, _NET_WM_WINDOW_TYPE_NORMAL
_XEMBED_INFO(_XEMBED_INFO) = 0x0, 0x1
WM_CLIENT_LEADER(WINDOW): window id # 0x2000008
WM_HINTS(WM_HINTS):
Client accepts input or input focus: True
Initial state is Normal State.
window id # of group leader: 0x2000008
WM_CLIENT_MACHINE(STRING) = "widpc"
_NET_WM_PID(CARDINAL) = 2901314
_NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 33554447
WM_CLASS(STRING) = "telegram-desktop", "TelegramDesktop"
WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING, _NET_WM_SYNC_REQUEST
WM_NORMAL_HINTS(WM_SIZE_HINTS):
user specified size: 640 by 480
window gravity: Static
Here's diff with an xprop taken while media viewer is open. xidlehook doesn't work (even though media viewer isn't fullscreen, it's floating).
0a1,6> _NET_WM_DESKTOP(CARDINAL) = 0> WM_STATE(WM_STATE):> window state: Normal> icon window: 0x0> _NET_WM_USER_TIME(CARDINAL) = 26633789> _NET_WM_STATE(ATOM) = _NET_WM_STATE_FULLSCREEN, _NET_WM_STATE_MODAL102c108,109< user specified size: 640 by 480---> user specified location: 0, 0> user specified size: 1920 by 1080
Here's diff with previous one and xpropafter media viewer has been closed. bspc doesn't show that window as present anymore upon query.
Perhaps either fix (if possible, I don't know anything about X) or feature to blacklist apps or any kind of workaround would be nice. WM is bspwm, if that matters
The text was updated successfully, but these errors were encountered:
Widowan
changed the title
Telegram's Media viewer interrupts --not-when-fullscreen while being withdrawn
Withdrawn windows interrupting --not-when-fullscreen if having _NET_WM_STATE_FULLSCREEN property
Sep 15, 2021
This has been bothering me for a while, but when you open and close an image in telegram,
xidlehook
will still detect it's Media viewer as fullscreen window preventing sleep.Here's
xprop
output (omitting icon) before opening an image even once,xidlehook
works normally.Here's diff with an
xprop
taken while media viewer is open.xidlehook
doesn't work (even though media viewer isn't fullscreen, it's floating).Here's diff with previous one and
xprop
after media viewer has been closed.bspc
doesn't show that window as present anymore upon query.Perhaps either fix (if possible, I don't know anything about X) or feature to blacklist apps or any kind of workaround would be nice. WM is
bspwm
, if that mattersThe text was updated successfully, but these errors were encountered: