<div dir="ltr">So it turns out I got a chance to iron out (hopefully) my own recent issue (Mint changed how it launches Mate's window manager, which left me without one until I hacked up the new program they run that isn't properly extensible, sigh), and poked at this.<div><br></div><div>Which is going to be a problem, because it's managed by a systray program and gets annoyed if the window manager actually manages it, but fails to set any of the ICCCM or EWMH flags that tells the window manager this. You probably need to explicitly doIgnore it. (What they do will "just work" in non-tiling window managers, /usually/. Until it doesn't, and they'll have lots of weird bugs against any window manager that in any way actually manages a window. Which may include compiz's fancy 3D stuff.)</div><div><br></div><div>You might be able to get it to behave semi-normally by disabling "close when unfocused" and "open on current screen" in general options, then manage it with NamedScratchpads. I wouldn't get my hopes too up, though.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jul 21, 2019 at 8:28 AM Brandon Allbery <<a href="mailto:allbery.b@gmail.com" target="_blank">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_-7594677722021874488gmail-m_-319998994611111032gmail_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><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail-m_-7594677722021874488gmail_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>