Michael Sloan
c9f2c2792c
Improve error handling and resource cleanup in linux/x11/window.rs ( #21079 )
...
* Fixes registration of event handler for xinput-2 device changes,
revealed by this improvement.
* Pushes `.unwrap()` panic-ing outwards to callers.
* Includes a description of what the X11 call was doing when a failure
was encountered.
* Fixes a variety of places where the X11 reply wasn't being inspected
for failures.
* Destroys windows on failure during setup. New structure makes it
possible for the caller of `open_window` to carry on despite failures,
and so partially initialized window should be removed (though all calls
I looked at also panic currently).
Considered pushing this through `linux/x11/client.rs` too but figured
it'd be nice to minimize merge conflicts with #20853 .
Release Notes:
- N/A
2024-11-22 16:03:46 -07:00
..
2024-11-11 10:18:38 +01:00
2024-11-15 07:37:31 +01:00
2024-09-13 17:44:16 -04:00
2024-11-21 19:21:18 -07:00
2024-11-13 14:34:58 -05:00
2024-09-04 14:32:20 -04:00
2024-09-16 21:55:32 -06:00
2024-11-21 14:11:57 -05:00
2024-11-21 14:11:57 -05:00
2024-09-27 11:06:48 +02:00
2024-11-18 11:43:53 +02:00
2024-11-19 08:23:12 -07:00
2024-11-11 18:39:05 +01:00
2024-11-20 15:34:24 -07:00
2024-11-19 08:23:12 -07:00
2024-11-22 13:01:00 +01:00
2024-11-21 15:48:35 -05:00
2024-11-21 13:37:34 -05:00
2024-11-13 13:55:06 -08:00
2024-11-20 16:52:38 -08:00
2024-11-21 19:21:18 -07:00
2024-10-07 01:29:58 +02:00
2024-11-21 19:57:09 +02:00
2024-08-26 11:43:13 -04:00
2024-11-22 13:01:00 +01:00
2024-11-20 16:52:38 -08:00
2024-11-22 13:21:30 -05:00
2024-11-14 12:44:10 -05:00
2024-11-01 13:20:30 -04:00
2024-11-22 13:21:30 -05:00
2024-11-22 13:21:30 -05:00
2024-10-29 11:30:07 -07:00
2024-11-21 15:24:04 -05:00
2024-11-22 17:45:03 -05:00
2024-11-21 19:21:18 -07:00
2024-11-20 16:52:38 -08:00
2024-10-30 11:16:44 -04:00
2024-11-05 03:49:37 +02:00
2024-11-15 07:37:31 +01:00
2024-11-22 16:03:46 -07:00
2024-09-13 17:44:16 -04:00
2024-09-06 11:58:39 +02:00
2024-11-18 11:43:53 +02:00
2024-11-21 19:57:09 +02:00
2024-11-14 20:44:57 -05:00
2024-11-20 16:51:13 -05:00
2024-11-20 16:19:20 -05:00
2024-09-06 11:58:39 +02:00
2024-11-22 14:49:26 -08:00
2024-11-20 18:49:34 -05:00
2024-11-20 18:49:34 -05:00
2024-11-11 14:35:01 +01:00
2024-11-11 23:04:15 -07:00
2024-11-22 17:50:25 -05:00
2024-11-18 11:43:53 +02:00
2024-10-11 14:58:58 -07:00
2024-11-20 16:52:38 -08:00
2024-11-11 18:39:05 +01:00
2024-11-22 14:49:26 -08:00
2024-11-18 11:43:53 +02:00
2024-11-18 10:30:08 -08:00
2024-11-20 16:52:38 -08:00
2024-11-22 14:49:26 -08:00
2024-11-22 10:10:01 -05:00
2024-11-15 07:37:31 +01:00
2024-11-19 00:24:48 -05:00
2024-11-19 09:41:44 +01:00
2024-11-11 18:39:05 +01:00
2024-11-21 15:57:22 +01:00
2024-11-16 13:20:52 +02:00
2024-11-22 13:45:42 -05:00
2024-11-22 12:59:04 +02:00
2024-09-16 16:20:17 -06:00
2024-11-21 13:27:25 +01:00
2024-11-20 19:21:09 -07:00
2024-09-06 11:58:39 +02:00
2024-11-21 14:50:38 -07:00
2024-11-20 19:21:09 -07:00
2024-11-22 14:49:26 -08:00
2024-11-15 07:37:31 +01:00
2024-11-22 14:49:26 -08:00
2024-11-21 08:48:13 +01:00
2024-10-27 15:50:54 -07:00
2024-11-21 19:57:09 +02:00
2024-11-21 19:21:18 -07:00
2024-10-07 01:29:58 +02:00
2024-11-21 10:18:54 -07:00
2024-11-01 15:34:20 -04:00
2024-11-18 22:56:34 +01:00
2024-10-07 01:29:58 +02:00
2024-10-02 13:27:16 +02:00
2024-11-11 18:39:05 +01:00
2024-11-11 18:39:05 +01:00
2024-09-06 11:58:39 +02:00
2024-11-08 22:53:15 -05:00
2024-10-30 10:59:03 +01:00
2024-11-20 16:52:38 -08:00
2024-09-06 11:58:39 +02:00
2024-10-04 10:37:41 -04:00
2024-11-22 13:45:42 -05:00
2024-11-21 01:07:14 +01:00
2024-11-15 12:58:00 -07:00
2024-11-22 13:45:42 -05:00
2024-11-21 19:57:09 +02:00
2024-11-07 09:17:43 -07:00
2024-11-19 00:24:48 -05:00
2024-09-07 02:36:55 +02:00
2024-11-21 14:33:58 -05:00
2024-09-06 11:58:39 +02:00
2024-11-21 15:24:04 -05:00
2024-11-21 15:57:22 +01:00
2024-11-18 12:44:49 -03:00
2024-11-11 12:58:39 -05:00
2024-11-22 17:50:25 -05:00
2024-11-21 14:56:02 -05:00
2024-11-21 16:24:38 -05:00
2024-11-21 16:24:38 -05:00
2024-11-21 17:50:22 -05:00
2024-11-22 14:59:40 -08:00
2024-11-21 19:21:18 -07:00
2024-11-21 18:47:44 -05:00
2024-11-21 15:24:04 -05:00