Lionel Landwerlin
6d545b6d03
gdk/wayland: go through monitor to compute scale factor
...
The current code only goes through the output associated to the
window's wayland surface enter/leave events. That means that to update
the scale factor the window only looks at the outputs on which it
received enter/leave events. That doesn't include a new monitor
connected to the system on which the window might be display next.
The spirit of the existing logic seems to be to go through all the
scale factor available on the current monitors of the system and pick
the highest. So fix the current behavior by looking at the monitor on
the display.
Fixes #1144 .
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com >
2019-08-03 22:36:48 +03:00
..
2019-04-11 16:46:22 +02:00
2015-04-17 11:16:30 -05:00
2019-06-17 17:50:42 +00:00
2019-07-15 15:40:48 -05:00
2019-03-27 16:03:43 +00:00
2019-08-03 22:36:48 +03:00
2019-05-21 09:18:55 +02:00
2019-06-26 12:07:52 +03:00
2017-05-22 14:26:32 +01:00
2015-02-02 09:28:22 +01:00
2019-06-06 17:17:20 -07:00
2019-06-06 17:17:20 -07:00
2019-06-06 17:17:20 -07:00
2016-08-23 21:01:44 +02:00
2016-10-20 13:44:23 -04:00
2015-02-25 01:55:28 +01:00
2016-06-09 17:45:40 +01:00
2019-07-20 15:10:34 +08:00
2019-03-17 21:50:35 +01:00
2016-05-17 14:16:39 -04:00
2018-11-17 21:23:40 +13:00
2019-05-31 11:12:29 -07:00
2016-08-23 21:01:44 +02:00
2019-05-31 11:12:29 -07:00
2015-12-15 00:40:21 +01:00
2016-08-23 21:01:44 +02:00
2016-08-23 21:01:44 +02:00
2016-08-23 21:01:44 +02:00
2016-04-30 20:52:23 -04:00
2016-08-23 21:01:44 +02:00
2016-08-23 21:01:44 +02:00
2016-08-23 21:01:44 +02:00
2019-06-01 00:33:32 -07:00
2016-05-08 15:34:28 +02:00
2019-06-01 00:33:32 -07:00
2016-05-18 19:07:27 +02:00
2019-05-31 11:12:29 -07:00
2016-02-15 18:35:51 +01:00
2016-04-26 23:03:24 +08:00
2016-06-12 18:55:34 +01:00
2016-06-09 17:45:40 +01:00
2016-06-09 17:45:40 +01:00
2019-05-21 10:46:04 -05:00
2019-04-11 16:45:36 +02:00
2016-08-23 21:01:44 +02:00
2018-12-22 13:17:58 +01:00
2019-06-06 17:17:20 -07:00
2014-12-08 19:31:56 -05:00
2019-06-06 17:17:20 -07:00
2014-09-05 20:44:22 -04:00
2019-06-06 17:17:20 -07:00
2016-04-26 09:06:07 -04:00
2014-12-08 19:31:56 -05:00
2018-06-28 15:33:42 +08:00
2018-06-28 15:33:42 +08:00
2016-10-21 11:41:43 -04:00
2016-04-25 14:33:36 +01:00
2014-11-06 12:24:43 +01:00
2019-08-02 12:54:10 +02:00
2019-05-29 13:30:15 -07:00
2017-12-25 23:00:30 -05:00
2015-04-27 20:07:52 -03:00
2016-08-04 16:37:18 +00:00
2017-12-25 23:00:30 -05:00
2016-07-19 09:38:54 -04:00
2019-06-26 12:07:52 +03:00
2016-05-08 15:34:28 +02:00
2019-06-20 22:51:47 +01:00
2015-12-03 21:47:29 +00:00
2016-04-18 11:46:58 -04:00
2016-04-18 07:04:44 -04:00
2015-12-16 12:42:27 +00:00
2016-05-10 15:16:45 -04:00
2019-06-06 17:17:20 -07:00
2019-06-06 17:17:20 -07:00
2014-08-30 00:53:21 -04:00
2016-01-20 13:44:34 -05:00
2015-10-03 22:26:27 -04:00
2018-12-17 20:16:42 +00:00
2019-06-20 22:51:47 +01:00
2016-10-20 13:44:23 -04:00
2019-05-31 11:12:29 -07:00
2015-12-22 10:33:41 +01:00
2018-12-18 10:48:03 +10:00
2016-04-06 15:43:29 +02:00
2018-12-18 10:48:03 +10:00
2018-04-22 16:11:01 +01:00
2017-11-13 23:42:51 +01:00
2018-07-24 20:32:26 +02:00
2016-10-28 06:04:58 +02:00
2016-10-28 06:04:58 +02:00
2016-02-27 12:27:54 +01:00
2019-08-02 12:54:10 +02:00
2018-06-05 15:01:52 +02:00
2016-08-18 04:51:57 -04:00
2016-07-19 09:38:54 -04:00
2019-06-25 08:53:26 +02:00
2017-10-09 20:31:58 +02:00
2017-10-09 20:31:58 +02:00
2019-06-06 17:17:20 -07:00
2019-07-20 15:10:34 +08:00