mirror of
https://github.com/swaywm/sway.git
synced 2026-04-26 06:46:26 -04:00
JetBrains IDEs really keep providing the most pathological cases for Xwayland... The "Search everywhere" dialog can be resized, but it responds to a configure request with a configure notify including double the growth in width. So, if the user drags the left edge by 5px, we send Xwayland a configure request based off the current geometry, -5px on the x axis, and +5px width. JetBrains IDEs then respond with -5px on the x axis, and +10px width. Presumably they do this to keep the dialog symmetric. Still, it breaks Sway because we match commits to transactions by geometry, so any resizes of the "Search everywhere" dialog will cause Sway's transactions to time out. Instead, we can just assume that the first commit following a transaction is in response to that transaction. This is obviously race-y, but I don't think we can do anything particularly smarter in the face of crazy applications. |
||
|---|---|---|
| .. | ||
| sway | ||
| swaybar | ||
| swaynag | ||
| background-image.h | ||
| cairo.h | ||
| ipc-client.h | ||
| ipc.h | ||
| list.h | ||
| log.h | ||
| loop.h | ||
| meson.build | ||
| pango.h | ||
| pool-buffer.h | ||
| stringop.h | ||
| util.h | ||