Georges Basile Stavracas Neto
20176d0395
wayland: Check if state and size changed before calling move_resize()
...
The current implementation of the XdgSurface v6 protocol does not check
if the window changed before calling meta_window_wayland_move_resize().
The problem with this approach is that calling this function is a costly
operation since we enter the compositor side. In GNOME Shell case, it is
in JavaScript, which triggers a GJS trampoline. Calling this function on
every mouse movement is naturally as terrible as it could be - and is
exactly what happens now.
This commit adds the necessary checks to only call move_resize() when
the window actually changed, or when it needs to be updated.
https://bugzilla.gnome.org/show_bug.cgi?id=780292
Issue: #78
2018-04-25 23:33:41 -03:00
..
2018-01-18 16:20:45 +01:00
2018-04-23 21:31:19 +02:00
2016-02-16 19:02:48 +08:00
2016-02-16 19:02:48 +08:00
2016-02-16 19:02:48 +08:00
2018-04-23 21:31:19 +02:00
2018-04-23 21:31:19 +02:00
2017-08-16 13:33:17 +08:00
2017-08-01 19:05:50 +08:00
2016-02-26 19:51:32 +01:00
2018-04-23 12:24:46 +02:00
2017-03-07 08:28:36 +08:00
2017-10-05 10:51:06 -04:00
2017-08-01 19:05:50 +08:00
2017-01-03 17:50:03 +08:00
2016-11-23 18:03:59 +01:00
2017-10-03 19:38:32 -03:00
2016-08-25 12:19:40 +08:00
2017-09-14 09:32:26 +02:00
2017-09-14 09:32:26 +02:00
2018-02-05 09:06:49 +00:00
2017-08-02 11:58:55 +02:00
2016-10-11 22:51:50 +08:00
2016-10-11 22:51:50 +08:00
2018-03-16 16:59:14 +01:00
2017-11-16 14:14:31 +01:00
2018-04-25 23:33:41 -03:00
2018-02-23 18:57:53 +08:00
2018-01-15 10:41:01 +01:00
2017-12-15 14:18:14 +01:00
2016-10-13 12:59:41 +08:00
2016-03-09 14:26:53 +08:00
2016-11-04 16:28:30 +01:00
2015-08-10 17:23:23 +02:00
2016-11-04 16:28:30 +01:00
2015-08-10 17:23:23 +02:00
2016-07-20 14:23:48 +08:00
2015-08-10 17:30:12 +02:00
2017-07-24 17:57:31 +02:00
2017-06-01 12:46:32 +08:00
2016-10-12 10:08:59 +08:00
2016-05-01 21:11:27 +08:00
2018-04-23 21:31:19 +02:00
2014-10-07 20:44:19 -07:00
2014-10-07 20:44:19 -07:00
2018-04-24 23:48:01 +02:00
2018-01-18 16:20:45 +01:00
2018-02-23 19:07:49 +08:00
2018-02-23 18:57:50 +08:00
2018-04-23 12:24:46 +02:00
2018-02-23 18:57:47 +08:00
2018-03-23 15:12:37 +01:00
2016-07-22 13:31:09 +02:00
2016-07-22 13:31:09 +02:00
2016-07-22 13:31:09 +02:00
2018-04-23 21:31:19 +02:00
2018-04-23 21:31:19 +02:00
2016-07-22 13:31:09 +02:00
2016-05-03 18:17:01 +02:00
2017-02-10 20:11:19 +01:00
2016-07-22 13:31:09 +02:00
2017-02-07 14:04:52 +01:00
2016-07-22 13:31:09 +02:00
2017-02-07 14:04:52 +01:00
2016-07-22 13:31:09 +02:00
2018-02-09 13:39:15 +01:00
2016-07-22 13:31:09 +02:00
2017-03-13 19:34:10 +01:00
2016-07-22 13:31:09 +02:00
2018-04-23 12:24:46 +02:00
2017-07-14 20:54:27 +08:00
2018-02-09 13:39:15 +01:00
2016-05-10 17:45:04 +02:00
2018-02-12 14:44:30 +01:00
2018-01-18 16:20:45 +01:00
2017-12-21 12:37:20 +01:00
2016-09-15 09:55:34 +08:00
2016-09-15 09:54:55 +08:00
2018-02-23 18:57:53 +08:00
2018-02-23 18:57:50 +08:00
2018-02-23 18:57:40 +08:00
2018-03-12 17:15:07 +00:00
2016-08-22 21:03:41 +08:00
2018-04-25 23:33:41 -03:00
2018-02-23 18:57:53 +08:00
2018-04-23 21:31:19 +02:00
2018-04-23 21:31:19 +02:00
2018-04-25 21:55:05 -03:00
2018-04-25 21:55:05 -03:00
2017-12-18 13:15:13 +01:00
2017-12-18 13:15:09 +01:00
2017-12-18 13:15:20 +01:00
2017-12-18 13:15:20 +01:00
2015-05-29 11:27:53 +02:00
2015-06-30 11:23:40 +08:00
2018-03-21 13:22:35 +08:00
2018-04-23 21:31:19 +02:00
2018-04-23 21:31:19 +02:00