<div dir="ltr">Thank you Brandon; here is:<div><br></div><div>xwininfo: Window id: 0xa00006 "xwininfo - CopyQ"<br><br>  Absolute upper-left X:  0<br>  Absolute upper-left Y:  0<br>  Relative upper-left X:  0<br>  Relative upper-left Y:  0<br>  Width: 1918<br>  Height: 538<br>  Depth: 24<br>  Visual: 0xde<br>  Visual Class: TrueColor<br>  Border width: 1<br>  Class: InputOutput<br>  Colormap: 0xa00005 (not installed)<br>  Bit Gravity State: NorthWestGravity<br>  Window Gravity State: NorthWestGravity<br>  Backing Store State: NotUseful<br>  Save Under State: no<br>  Map State: IsViewable<br>  Override Redirect State: no<br>  Corners:  +0+0  -0+0  -0-540  +0-540<br>  -geometry 1918x538+0+0<br><br></div><div><br></div><div>xprop<br>WM_STATE(WM_STATE):<br>            window state: Normal<br>          icon window: 0x0<br>_NET_WM_USER_TIME(CARDINAL) = 875255286<br>_NET_WM_ICON(CARDINAL) =     Icon (16 x 16): <edited><br>        Icon (32 x 32): <edited><br>        Icon (64 x 64):<edited><br> Icon (128 x 128): <edited><br><br>_NET_WM_ICON_NAME(UTF8_STRING) = <br>XdndAware(ATOM) = BITMAP<br>WM_NAME(STRING) = "xprop - CopyQ"<br>_NET_WM_NAME(UTF8_STRING) = "xprop - CopyQ"<br>_MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x3, 0x3e, 0x7e, 0x0, 0x0<br>_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_NORMAL<br>_XEMBED_INFO(_XEMBED_INFO) = 0x0, 0x1<br>WM_CLIENT_LEADER(WINDOW): window id # 0xa00008<br>WM_HINTS(WM_HINTS):<br>         Client accepts input or input focus: True<br>             Initial state is Normal State.<br>_NET_WM_PID(CARDINAL) = 16725<br>_NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 10485767<br>WM_CLASS(STRING) = "copyq", "copyq"<br>WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING, _NET_WM_SYNC_REQUEST<br>WM_NORMAL_HINTS(WM_SIZE_HINTS):<br>               user specified location: 0, 0<br>         user specified size: 958 by 1078<br>              program specified minimum size: 108 by 88<br>             window gravity: NorthWest<br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 21 Jul 2019 at 14:28, Brandon Allbery <<a href="mailto:allbery.b@gmail.com">allbery.b@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I can't currently install or experiment with it (maybe in a day or so), but it would help if you could report the output of xwininfo and xprop on this window. Both programs let you click on a window to select it, so even if the program is badly behaved you can run them with a "sleep" to pop up the window during the sleep period and then wait for the cursor to change to a crosshair.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jul 20, 2019 at 6:04 PM Jean-Baptiste Mestelan <<a href="mailto:mestelan@gmail.com" target="_blank">mestelan@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello, <div><br><div>I have been struggling to integrate the CopyQ clipboard manager into my configuration, because its main window cannot be closed: killing the window has no effect, and in the context of a scratchpad, the toggle does not work (the window appears but does not disappear).<br>Minimizing the window does work; but then, it can only be maximized from the same workspace, which is not ideal for this use case.</div><div><br></div><div>I have come up with a so-so solution: summon the window from a named scratchpad, and get rid of it by sending it to a NSP workspace:</div><div><i>("M-a",                     shiftTo Next (WSIs nsp))<br></i></div><div><i>...</i></div><div><i>where nsp = return $ ("NSP" ==) . W.tag</i></div><div>But it is cumbersome to have to manipulate two distinct keybindings (plus the latter might send an innocent window into a void).</div><div><br></div><div>Is there an obvious solution that I am missing?</div><div><br></div><div>PS: to be clear, I am only speaking about the window displayed by the CopyQ command `<i>copyq toggle</i>` (or `<i>copyq show</i>`). The smaller floating window displayed by the CopyQ command `<i>copyq menu</i>` does not have this issue; but is is also limited in functionalities and history length.</div></div><div><br></div><div>PPS: I guess an improvement would be to integrate the above `<i>shiftTo</i>` function into a custom kill function, which would have two cases, depending of the name of the window. I do not know how to write this however, and would appreciate any pointers or suggestions.</div><div><br></div><div>Thank you for attention.</div></div>
_______________________________________________<br>
xmonad mailing list<br>
<a href="mailto:xmonad@haskell.org" target="_blank">xmonad@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail-m_-927440665962523929gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>brandon s allbery kf8nh</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a></div></div></div></div></div>
</blockquote></div>