Commit Graph

  • 6cdb3179c8 Consistently deliver a Resumed event on all platforms Robert Bragg 2022-07-26 14:03:12 +01:00
  • 4fd52af682 Fix type hint reference for xlib hook Kirill Chibisov 2022-07-26 16:02:09 +03:00
  • 5a0bad130d Bump ndk and ndk-glue dependencies to stable 0.7.0 release (#2392) Marijn Suijten 2022-07-25 15:20:31 +02:00
  • 08d025968e Fix hiding a maximized window On Windows (#2336) Amr Bashir 2022-07-23 14:23:58 +02:00
  • 1cd0e94c26 Windows: apply skip taskbar state when taskbar is restarted (#2380) Amr Bashir 2022-07-22 19:33:22 +02:00
  • 1ec976f95e Add method to hook xlib error handler Kirill Chibisov 2022-07-22 20:21:28 +03:00
  • f10ef5f331 On macOS, fix confirmed character inserted Kirill Chibisov 2022-07-21 22:23:22 +03:00
  • 653bc59813 Update raw-window-handle to v0.5.0 Kirill Chibisov 2022-07-21 22:22:36 +03:00
  • 3e991e13dc Android: avoid deadlocks while handling UserEvent (#2343) Rodrigo Batista de Moraes 2022-07-20 14:52:36 -03:00
  • 5397b53e04 Tidy up "platform-specifc" doc sections (#2356) Markus Røyset 2022-07-20 13:45:12 +02:00
  • f09259f6de Bump sctk-adwaita to 0.4.1 Kirill Chibisov 2022-07-20 11:50:49 +03:00
  • 430a49ebc2 Fix typos (#2375) Josh Groves 2022-07-15 14:02:12 -02:30
  • 1091a8ba1a Make winit focus take activity into account on Windows (#2159) Steve Wooster 2022-07-15 01:27:27 -07:00
  • 9116b6c8cd windows: Use correct value for mouse wheel delta (#2374) Josh Groves 2022-07-14 17:30:22 -02:30
  • 990e34a129 web: add with_prevent_default, with_focusable (#2365) Josh Groves 2022-07-14 13:22:31 -02:30
  • 472d7b9376 android: Hold NativeWindow lock until after notifying the user with Event::Suspended (#2307) Marijn Suijten 2022-07-14 12:35:49 +02:00
  • 50dd7881b1 Fix changelog entry for EventLoopExtWebSys (#2372) Markus Røyset 2022-07-13 17:54:06 +02:00
  • aa8f8db305 web: Add EventLoop::spawn (#2208) Liam Murphy 2022-07-14 01:17:18 +10:00
  • cdd9b1e1eb web: Manually emit focused event on mouse click (#2202) Lucas Kent 2022-07-13 08:46:15 +10:00
  • 2d2ce70edc On Wayland, drop wl_surface on window close Kirill Chibisov 2022-07-09 21:41:18 +03:00
  • 78f1d1df38 On Wayland send Focused(false) for new window Kirill Chibisov 2022-07-09 18:17:41 +03:00
  • a06bb3f992 Add refresh_rate_millihertz for MonitorHandle Kirill Chibisov 2022-07-08 13:25:56 +03:00
  • e289f30e5d Add 'WindowEvent::Occluded(bool)' trimental 2022-07-06 18:46:25 +00:00
  • 4b10993970 Fix infinite recursion in WindowId conversion methods Shinichi Tanaka 2022-07-06 02:09:40 +09:00
  • d78a870e66 examples/multiwindow.rs: ignore synthetic key press events Diggory Hardy 2022-07-03 20:25:08 +01:00
  • cb41c58f21 Implement From<u64> for WindowId and vise-versa Kirill Chibisov 2022-07-02 14:27:19 +03:00
  • c55d97183d Less redundancy and improve fullscreen in examples Diggory Hardy 2022-07-01 12:07:10 +01:00
  • 8646cbc9f5 Map XK_Caps_Lock to VirtualKeyCode::Capital (#1864) Aaron Hill 2022-06-23 10:59:04 -05:00
  • 64c1d4c5bb Fix conflict in WindowFlags on Windows Amr Bashir 2022-06-22 19:44:00 +02:00
  • 76b949c196 Disallow multiple EventLoop creation MarcusGrass 2022-06-22 19:43:25 +02:00
  • c93ef47b9b Bump smithay-client-toolkit to v0.16.0 Kirill Chibisov 2022-06-20 10:19:49 +03:00
  • 2b414cd825 ci: Disallow warnings in rustdoc and test private items (#2341) Marijn Suijten 2022-06-17 14:19:09 +02:00
  • ac42447459 macOS: disallow_highdpi will set explicity the value to avoid the SO value by default (#2339) Nazarí González 2022-06-17 00:12:05 +01:00
  • 401d20fa1f Fix doubled device events on X11 Markus Røyset 2022-06-13 18:24:56 +02:00
  • 6b5b570b45 examples/window_run_return: Enable on Android (#2321) Marijn Suijten 2022-06-13 16:40:21 +02:00
  • 9e6f666616 Refine Window::set_cursor_grab API Kirill Chibisov 2022-06-13 09:43:14 +03:00
  • 8ef9fe44c7 Add WindowBuilder::transparent Kirill Chibisov 2022-06-12 09:53:28 +03:00
  • 3e0a544eb8 Documentation cleanup (#2328) Mads Marquart 2022-06-11 18:57:19 +02:00
  • 6474891f1e Fix macOS 32bit (#2327) Mads Marquart 2022-06-11 03:43:51 +02:00
  • 40abb526cc Remove core-video-sys dependency (#2326) Mads Marquart 2022-06-11 02:37:46 +02:00
  • c532d910c0 Build docs on docs.rs for iOS and Android as well (#2324) Mads Marquart 2022-06-11 00:45:24 +02:00
  • 44288f6280 Make WindowAttributes private (#2134) Mads Marquart 2022-06-10 19:05:28 +02:00
  • eec84ade86 Make set_device_event_filter non-mut Kirill Chibisov 2022-06-10 15:39:02 +03:00
  • 10419ff441 Run clippy on CI Kirill Chibisov 2022-06-10 13:43:33 +03:00
  • 57981b533d On Android, use HasRawWindowHandle directly from the ndk crate (#2318) Marijn Suijten 2022-06-10 11:37:06 +02:00
  • c5eaa0ab69 macOS: Emit LoopDestroyed on CMD+Q (#2073) tinaun 2022-06-09 10:08:52 -04:00
  • 2c01e9e747 Migrate from lazy_static to once_cell James Liu 2022-06-08 11:50:26 -07:00
  • 4c39b3188c Remove old dialog fix that is superseded by #2027 (#2292) Kevin King 2022-06-08 08:22:54 -07:00
  • 224872ce03 Prevent null dereference on X11 with bad locale Kirill Chibisov 2022-06-08 01:04:33 +03:00
  • f10a984ba3 Add X11 opt-in function for device events Christian Duerr 2022-06-07 23:17:45 +02:00
  • c7f7181388 Set WindowBuilder to must_use Lucas Kent 2022-06-08 06:55:57 +10:00
  • 92530299eb Revert "On Wayland, fix resize not propagating properly" Kirill Chibisov 2022-06-05 22:19:27 +03:00
  • 58cd23d1ac On Windows, fix reported cursor position. (#2311) Markus Siglreithmaier 2022-06-02 19:08:54 +02:00
  • 5d85c10a2c [Windows] Avoid GetModuleHandle(NULL) (#2301) Aron Parker 2022-05-29 17:12:46 +02:00
  • f11270dac0 Reorganize EventLoopBuilder::build() platform documentation Kevin Reid 2022-05-29 04:51:27 -07:00
  • bcd76d4718 On macOS, emit resize event on frame_did_change Phillip Hellewell 2022-05-23 13:53:07 -06:00
  • 4dd2b66aaa Fix warnings on nightly rust (#2295) Liam Murphy 2022-05-21 01:03:35 +10:00
  • 829a140d9b On Wayland, provide option for better CSD Bartłomiej Maryńczak 2022-05-20 02:09:23 +02:00
  • f04fa5d54f Add new Ime event for desktop platforms Kirill Chibisov 2022-05-07 05:29:25 +03:00
  • b4175c1454 Bump windows-sys version to 0.36 (#2277) Markus Siglreithmaier 2022-05-03 12:39:29 +02:00
  • 0728105b2b On Wayland, fix hiding cursors on GNOME Tobias Menzi 2022-05-01 15:21:34 +02:00
  • ea09d1d10e Fix embedded NULs in C wide strings returned from Windows API (#2264) Kas 2022-04-30 13:58:51 +02:00
  • e7f88588bf Fix assigning the wrong monitor when receiving Windows move events (#2266) Kas 2022-04-30 13:21:08 +02:00
  • ce890c3455 Unify behavior of resizable across platforms Kirill Chibisov 2022-04-24 23:35:18 +03:00
  • cbba00d360 Unify with_app_id and with_class methods Kirill Chibisov 2022-04-20 01:56:56 +03:00
  • bf366cb99d Add cursor hittest window functionality (#2232) Markus Siglreithmaier 2022-04-12 19:10:46 +02:00
  • 142d55ff24 Always send RedrawEventsCleared on iOS Dusty DeWeese 2022-04-11 10:51:21 -07:00
  • a58400a82c Fix TouchPhase::Ended reporting on Wayland Simon Hausmann 2022-04-11 19:13:28 +02:00
  • aac28d24ac Force SCTK version to prevent pointer leaking Kirill Chibisov 2022-04-10 13:42:05 +03:00
  • d624a3e648 Add methods to set ControlFlow operation Steve Wooster 2022-04-09 18:32:02 -07:00
  • c57294b41a On Wayland commit after setting all startup props Kirill Chibisov 2022-04-10 03:56:01 +03:00
  • 485e82dcb1 Add getters for visible, resizeable, etc on X11 Kirill Chibisov 2022-04-10 01:51:54 +03:00
  • e8d910ffd3 Add is_resizable and is_decorated on Wayland Kirill Chibisov 2022-04-07 03:05:11 +03:00
  • ab1f636960 feat(Windows): add skip taskbar methods (#2177) Amr Bashir 2022-04-01 20:21:09 +02:00
  • 52c4670237 android: Add mapping from NDK Keycode to VirtualKeyCode (#2226) TÖRÖK Attila 2022-04-01 18:16:59 +02:00
  • 2ae12fb0a0 Discourage use of WaitUntil to implement VSync (#2230) Benjamin Saunders 2022-03-31 13:38:02 -07:00
  • 6c1d3c4fd8 Fix scale factor calculation when the only monitor is reconnected Daniel Müller 2022-03-31 07:43:48 -07:00
  • 08de2b3fc4 feat(Windows): add with_msg_hook (#2213) Amr Bashir 2022-03-30 10:30:45 +02:00
  • 945a9e3122 Windows: Remove owned DC context per window (#1910) Markus Siglreithmaier 2022-03-26 22:59:13 +01:00
  • 6e28ba8927 Fix fullscreen window messaging race on Windows (#2225) Johan Andersson 2022-03-26 16:43:13 +01:00
  • 7369551c02 Clippy fixes for windows platform (#2131) Lucas Kent 2022-03-24 05:08:04 +11:00
  • e22c76b3ac macOS set_ime_position fixes (#2180) Mads Marquart 2022-03-18 14:50:24 +01:00
  • a438091266 Rename internal structs for consistency (#2149) Mads Marquart 2022-03-18 14:09:39 +01:00
  • 85baf79d17 Reverse horizontal scroll direction (#2105) Emil Ernerfeldt 2022-03-13 14:22:02 +01:00
  • 1c68be0631 On Wayland, fix consecutive run_return not polling Kirill Chibisov 2022-03-11 18:15:33 +03:00
  • b222dde835 Adopt windows-sys (#2057) Clemens Wasser 2022-03-07 22:58:12 +01:00
  • 78e5a395da On Wayland, fix resize not propagating properly Kirill Chibisov 2022-02-28 11:47:38 +03:00
  • 7846e6a31e Update Window::is_maximized doc about X11/Wayland Chris Copeland 2022-02-28 00:19:16 -08:00
  • b7e7755edd Improve web example (#2115) Lucas Kent 2022-02-25 22:57:46 +11:00
  • 40f48cbeb4 Fix unsafe_op_in_unsafe_fn warning on nightly (#2207) Markus Røyset 2022-02-25 12:27:52 +01:00
  • fb8313aa97 Fix typo in deprecation message (#2199) Nikolai Kuklin 2022-02-19 20:21:37 +05:00
  • f9643917d3 feat: add Window::is_visible (#2169) Amr Bashir 2022-02-17 20:44:14 +02:00
  • ac1c9b1218 Fix Android CI (#2197) Mads Marquart 2022-02-17 18:50:18 +01:00
  • daf0d6b9a7 feat: add Window::is_resizable (#2171) Amr Bashir 2022-02-17 17:03:17 +02:00
  • fa14863284 feat: add Window::is_decorated (#2172) Amr Bashir 2022-02-17 15:31:13 +02:00
  • cd9ec0afc7 Bump dev-dependencies (#2181) Mads Marquart 2022-02-17 14:13:32 +01:00
  • f3f6f1008a Add EventLoopBuilder Mads Marquart 2022-02-16 22:09:03 +01:00
  • 0e52672f4a On X11, Fix for repeated event loop iteration when ControlFlow was Wait (#2155) Artúr Kovács 2022-02-04 12:13:04 +01:00
  • bc1dc1fd63 On Wayland, report unaccelerated mouse deltas in DeviceEvent::MouseMotion Lassi Pulkkinen 2022-02-03 12:46:29 +02:00
  • f93f2c158b Bump versions of ndk to 0.6, ndk-sys to 0.3, ndk-glue to 0.6 (#2163) David Ackerman 2022-02-01 05:14:36 +06:00