marius851000
ee9b60e60c
gpui: Fix inset being used in SSD on Wayland ( #35151 )
...
Closes #31330
Second parts of https://github.com/zed-industries/zed/pull/31335
While the initial fix set the inset during drawing, that was after the
window was resized, resulting in needing to manually resize the window
for the change to properly take effect.
I updated the code to not make the Wayland renderer rely on
`client_inset` being updated by the API user to match with the
decoration mode (given it is supposed to only be used when using CSD).
I might later try to generalize that, and eventually make the
client_inset only defined on window creation (instead of inside
`client_side_decorations`, that would need testing on X) (and maybe also
allow configuration for shadow, but it’s not something I need).
Release Notes:
- Fixed switching from client side decoration to server side decoration
on Wayland
2025-07-28 11:36:00 +03:00
..
2025-07-24 14:39:29 -03:00
2025-07-21 17:48:07 +00:00
2025-07-24 11:11:26 -04:00
2025-07-27 13:58:02 +00:00
2025-07-18 15:03:31 -03:00
2025-07-26 00:00:44 +00:00
2025-07-24 11:26:15 -03:00
2025-06-30 21:01:32 -06:00
2025-07-11 23:20:35 +00:00
2025-05-20 23:06:07 +00:00
2025-07-24 11:26:15 -03:00
2025-07-10 19:25:10 +00:00
2025-06-26 20:54:19 +02:00
2025-07-22 14:23:50 +03:00
2025-07-22 11:32:39 -04:00
2025-05-26 21:20:41 -03:00
2025-07-09 08:57:03 +08:00
2025-07-09 08:57:03 +08:00
2025-07-03 14:22:28 +00:00
2025-07-22 11:55:24 -04:00
2025-07-01 12:51:09 +03:00
2025-05-30 08:32:54 -07:00
2025-07-22 18:20:48 +02:00
2025-07-21 13:44:51 +02:00
2025-07-22 18:20:48 +02:00
2025-07-15 16:37:15 +02:00
2025-07-24 17:08:02 +00:00
2025-05-04 08:28:39 +00:00
2025-07-25 23:15:54 +00:00
2025-07-21 13:44:51 +02:00
2025-04-02 13:26:34 -07:00
2025-07-20 23:22:13 +00:00
2025-04-02 13:26:34 -07:00
2025-07-18 10:24:57 -03:00
2025-07-25 02:57:18 +00:00
2025-07-22 11:32:39 -04:00
2025-04-02 13:26:34 -07:00
2025-07-20 23:22:13 +00:00
2025-07-18 14:28:03 +00:00
2025-06-15 19:51:04 +00:00
2025-07-06 14:52:16 +02:00
2025-07-12 15:56:05 +00:00
2025-07-17 17:05:58 +00:00
2025-06-25 09:42:30 +02:00
2025-07-15 18:41:45 +03:00
2025-07-15 16:39:33 +02:00
2025-07-26 04:58:10 +05:30
2025-07-19 01:27:54 +00:00
2025-07-10 21:08:43 +02:00
2025-07-26 22:40:02 +00:00
2025-07-01 20:02:12 +00:00
2025-07-15 11:07:29 +00:00
2025-07-26 22:40:02 +00:00
2025-07-16 01:15:45 -03:00
2025-07-23 18:01:16 +00:00
2025-07-02 21:14:33 -04:00
2025-07-08 14:34:57 +00:00
2025-04-02 13:26:34 -07:00
2025-07-25 23:15:54 +00:00
2025-04-02 13:26:34 -07:00
2025-06-18 16:01:28 +05:30
2025-07-25 23:15:54 +00:00
2025-07-24 18:25:21 -04:00
2025-07-25 23:15:54 +00:00
2025-06-27 14:31:31 -06:00
2025-06-17 20:26:27 +00:00
2025-07-28 11:36:00 +03:00
2025-07-19 01:27:54 +00:00
2025-04-02 13:26:34 -07:00
2025-07-11 21:01:09 -04:00
2025-07-22 11:55:24 -04:00
2025-04-02 13:26:34 -07:00
2025-07-22 12:20:07 -03:00
2025-06-03 13:18:29 +02:00
2025-07-10 19:25:10 +00:00
2025-06-20 21:28:48 +00:00
2025-07-22 11:32:39 -04:00
2025-07-17 09:22:04 +00:00
2025-07-02 21:14:33 -04:00
2025-05-17 16:42:45 +00:00
2025-06-18 16:01:28 +05:30
2025-07-02 21:14:33 -04:00
2025-07-23 20:38:52 +05:30
2025-07-10 19:25:10 +00:00
2025-07-22 12:20:07 -03:00
2025-07-25 16:58:05 +03:00
2025-07-02 21:14:33 -04:00
2025-07-21 17:48:07 +00:00
2025-07-26 04:58:10 +05:30
2025-05-20 23:06:07 +00:00
2025-07-25 17:36:58 +00:00
2025-07-25 09:36:43 -04:00
2025-07-24 15:24:53 +00:00
2025-07-02 21:14:33 -04:00
2025-07-02 21:14:33 -04:00
2025-05-20 23:06:07 +00:00
2025-07-02 21:14:33 -04:00
2025-07-20 23:22:13 +00:00
2025-07-23 23:13:49 -04:00
2025-07-22 18:20:48 +02:00
2025-07-17 14:25:55 +00:00
2025-07-08 14:34:57 +00:00
2025-06-06 16:00:09 +00:00
2025-07-22 18:20:48 +02:00
2025-07-24 00:17:54 -04:00
2025-07-25 20:32:53 -03:00
2025-06-28 14:38:27 +02:00
2025-07-16 11:44:08 -04:00
2025-06-27 14:31:31 -06:00
2025-07-23 18:52:44 +00:00
2025-07-08 11:23:36 -03:00
2025-07-09 16:02:31 +00:00
2025-07-02 21:14:33 -04:00
2025-07-24 15:24:53 +00:00
2025-07-25 23:15:54 +00:00
2025-07-25 06:21:38 +05:30
2025-06-27 14:31:31 -06:00
2025-06-18 16:01:28 +05:30
2025-07-25 23:15:54 +00:00
2025-07-08 14:34:57 +00:00
2025-05-26 17:43:57 +00:00
2025-05-23 14:53:53 +00:00
2025-07-10 09:19:12 +00:00
2025-07-10 19:25:10 +00:00
2025-07-15 00:29:27 +03:00
2025-07-02 10:05:34 -04:00
2025-04-02 13:26:34 -07:00
2025-07-22 18:20:48 +02:00
2025-06-17 12:09:08 +02:00
2025-07-15 17:36:09 +00:00
2025-04-02 13:26:34 -07:00
2025-07-24 09:20:25 -04:00
2025-07-09 18:05:39 +00:00
2025-05-20 23:06:07 +00:00
2025-04-25 17:41:49 +03:00
2025-07-23 16:03:04 +00:00
2025-07-25 13:19:05 -04:00
2025-05-20 23:06:07 +00:00
2025-07-04 00:57:43 +00:00
2025-07-02 21:14:33 -04:00
2025-05-20 23:06:07 +00:00
2025-04-02 13:26:34 -07:00
2025-05-16 17:35:44 +02:00
2025-07-09 05:28:25 +05:30
2025-05-01 17:37:43 +02:00
2025-07-24 14:30:49 +02:00
2025-07-02 21:14:33 -04:00
2025-06-17 14:39:45 +00:00
2025-07-02 21:14:33 -04:00
2025-07-02 21:14:33 -04:00
2025-07-08 14:57:37 +00:00
2025-06-27 14:31:31 -06:00
2025-04-02 13:26:34 -07:00
2025-04-21 21:30:21 -07:00
2025-07-18 10:01:09 -04:00
2025-07-24 08:51:40 +00:00
2025-07-22 18:20:48 +02:00
2025-07-25 17:17:16 +00:00
2025-04-02 13:26:34 -07:00
2025-07-18 16:55:03 +00:00
2025-07-15 13:42:25 -06:00
2025-05-06 10:18:48 +00:00
2025-07-22 18:53:57 +00:00
2025-07-02 21:14:33 -04:00
2025-07-26 15:45:13 +00:00
2025-07-22 12:20:07 -03:00
2025-05-23 19:31:25 +00:00
2025-06-27 15:46:04 +00:00
2025-07-24 15:39:13 -04:00
2025-06-13 06:32:29 +00:00
2025-06-25 13:26:41 +00:00
2025-07-24 08:29:58 -06:00
2025-06-18 21:26:12 +00:00
2025-06-09 13:11:57 +02:00
2025-04-23 15:30:20 +00:00
2025-07-14 16:03:19 +00:00
2025-07-22 11:32:39 -04:00
2025-07-24 09:39:10 -03:00
2025-07-24 14:30:49 +02:00
2025-07-15 15:35:50 -04:00
2025-07-25 23:29:51 +00:00
2025-07-18 18:25:36 +02:00
2025-07-22 11:32:39 -04:00
2025-06-06 00:49:30 -06:00
2025-04-23 20:54:09 +00:00