BurntSushi / pytyle3

An updated (and much faster) version of pytyle that uses xpybutil and is compatible with Openbox Multihead.
Do What The F*ck You Want To Public License
180 stars 19 forks source link

Unable to remove windows from master #16

Closed kylethebaker closed 7 years ago

kylethebaker commented 11 years ago

After adding windows to master, using the default hotkey (mod+.) I am usually unable to remove them (using mod+,). this results in a window being permanently stuck in master until I must eventually kill and restart pytyle3. Sometimes it will work fine, but more often then not, it will not recognize the hotkey. If I am trying to remove a window from master that is looking for text-input for example (a terminal, irc, etc) it will print the comma character, meaning the hotkey isn't being detected. I have checked for hotkey conflicts and don't see any. I'm trying to notice actions that cause this, maybe certrain programs, but I can't find any. Sometimes I can open 4 terminals, send some to master and remove them just fine, sometimes it will stop working later one, sometimes even after the I add the first terminal to master I'm unable to move it back.

BurntSushi commented 11 years ago

pytyle is no longer actively developed by me since I no longer use it (I've moved to my own window manager Wingo that I like to describe as "Openbox meets Xmonad").

With that said, if you press Mod1-, and the comma is registered by the client (say, by a comma showing up in your terminal), then that means pytyle is not seeing it at all. There are two possible reasons. One is that another program has bound it before pytyle. The other is that the key combination isn't specified correctly in your config. You might want to check the output of pytyle by running it in a terminal.

The fact that it sometimes works is pretty gnarly though. If the key binding is firing and removing from master isn't working, then there is probably a state transition bug somewhere in the pytyle3 code. But I doubt I'll ever get around to investigating.

You might try hitting the Mod1-, key multiple times and see if that works.