artemsen / swaykbdd

Keyboard layout switcher for Sway
MIT License
72 stars 5 forks source link

Bug with floating window #4

Closed timsofteng closed 2 years ago

timsofteng commented 2 years ago

Hello. I've faced up with bug with floating window.

Imagine I have two window. One window is stacked and another is floated. They have different layouts. I put focus to stacked window and try to change layout. But it doesnt changes. Instead focus move to float window.

Here is screencast:

https://user-images.githubusercontent.com/51912173/166425145-aedb81f0-16c6-4311-bd02-0d53321b94e4.mp4

artemsen commented 2 years ago

Hi @timsofteng,

To be honest, I have no idea why you are getting a focus change instead of a layout switch =) swaykbdd subscribes to Sway events and can send only one command: input * xkb_switch_layout N.

Are you sure this problem is related to swaykbdd? Do you have any layout rules in your ~/.config/sway/config? Can you reproduce the problem with minimal Sway config?

timsofteng commented 2 years ago

@artemsen Looks like I have conflict keybindings. Sorry for noise. Closed.