-
Hey, I'm making a tiling window manager plugin for wayfire intended to imitate sway/i3 more closely than simple-tile. I'm having some trouble implementing interactive resizing using the mouse. The views seem to lag behind when their geometry is set it doesn't apply it right away and so getting their geometry with get_wm_geometry is unreliable as well. Using set_resize helps in certain simple cases when there is only one view resizing, but it doesn't fully solve the issue when resizing multiple views at the same time when they are tiled together. Using set_resize also gets very complicated in a more complex interactive resize motion. I didn't file this as a bug since it seems to be semi-documented behaviour that you seem to account for in the simple-tile plugin here: Lines 260 to 301 in 8481e87 Is this workaround still the best way to get around this issue? Is there maybe some way that a plugin can cause a commit manually so that the geometries are in sync? The plugin is over here: https://github.com/Javyre/swayfire |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
(Solved in a follow up I only noticed too late: Javyre/swayfire#1) |
Beta Was this translation helpful? Give feedback.
(Solved in a follow up I only noticed too late: Javyre/swayfire#1)