Thomas Hindoe Paaboel Andersen
7c036c5896
cogl: fix a compile warning
...
In find_onscreen_for_xid() we want to loop over the framebuffers
and skip any that is not onscreen.
The code today does this by negating the framebuffer type variable
and skipping if that equals COGL_FRAMEBUFFER_TYPE_ONSCREEN. This
actually works as the enum used will function as a boolean:
typedef enum _CoglFramebufferType {
COGL_FRAMEBUFFER_TYPE_ONSCREEN,
COGL_FRAMEBUFFER_TYPE_OFFSCREEN
} CoglFramebufferType;
But it is a bit weird logic and fragile if more types are added.
(not that I can think of any different type...)
To simplify this, and to silence a warning in clang this patch just
changes it to a != test.
https://gitlab.gnome.org/GNOME/mutter/merge_requests/905
2019-10-30 16:02:45 +00:00
..
2019-10-29 15:59:53 -04:00
2019-10-29 16:00:01 -04:00
2019-10-21 21:43:08 +00:00
2019-10-30 16:02:45 +00:00
2019-10-24 16:52:51 -04:00
2019-02-15 16:35:46 +01:00
2019-10-21 21:43:08 +00:00
2019-06-20 18:25:04 +02:00
2019-10-21 16:32:46 -04:00
2019-02-15 16:35:46 +01:00
2016-04-22 16:44:31 +02:00
2019-06-20 18:25:04 +02:00
2019-02-15 16:35:46 +01:00
2019-02-15 16:35:46 +01:00
2019-10-21 16:32:46 -04:00
2019-02-15 16:35:46 +01:00
2019-06-20 18:25:04 +02:00
2016-04-22 16:44:31 +02:00
2019-06-20 18:25:04 +02:00
2019-10-21 16:32:46 -04:00
2019-10-21 16:32:46 -04:00
2019-06-20 18:25:04 +02:00
2019-02-15 16:35:46 +01:00
2019-02-15 16:35:46 +01:00
2019-10-21 21:43:08 +00:00
2019-06-20 18:25:04 +02:00
2019-10-15 16:35:16 +00:00
2019-02-15 16:35:46 +01:00
2019-02-15 16:35:46 +01:00
2019-02-28 09:31:01 +01:00
2019-06-20 18:25:04 +02:00
2019-10-21 21:43:08 +00:00
2019-06-20 18:25:04 +02:00
2019-10-21 16:32:46 -04:00
2019-02-15 16:35:46 +01:00
2016-04-22 16:44:31 +02:00
2016-07-20 14:23:48 +08:00
2016-04-22 16:44:31 +02:00
2019-06-19 21:46:22 +02:00
2019-02-15 16:35:46 +01:00
2019-10-24 16:52:43 -04:00
2019-10-29 19:25:37 +00:00
2019-10-21 21:43:08 +00:00
2019-10-21 21:43:08 +00:00
2019-10-21 21:43:08 +00:00
2019-10-21 21:43:08 +00:00
2018-11-06 17:17:36 +01:00
2018-11-06 18:51:44 +01:00
2016-04-22 16:44:31 +02:00
2019-06-19 21:46:22 +02:00
2019-10-21 21:43:08 +00:00
2019-02-15 16:35:46 +01:00
2019-06-20 18:25:04 +02:00
2019-06-20 18:25:04 +02:00
2019-06-20 18:25:04 +02:00
2016-04-22 16:44:31 +02:00
2016-07-20 14:23:48 +08:00
2019-10-24 16:53:03 -04:00
2019-10-21 21:43:08 +00:00
2019-10-21 21:43:08 +00:00
2018-11-06 17:17:36 +01:00
2019-02-15 16:35:46 +01:00
2016-04-22 16:44:31 +02:00
2018-11-23 08:55:43 +01:00
2016-07-20 14:23:48 +08:00
2018-11-06 17:17:36 +01:00
2019-02-15 16:35:46 +01:00
2019-10-21 21:43:08 +00:00
2019-10-21 21:43:08 +00:00
2019-10-21 21:43:08 +00:00
2016-07-20 14:23:48 +08:00
2019-02-15 16:35:46 +01:00
2016-04-22 16:44:31 +02:00
2016-04-22 16:44:31 +02:00
2016-04-22 16:44:31 +02:00
2019-04-18 01:26:32 +00:00
2019-02-15 16:35:46 +01:00
2019-10-21 21:43:08 +00:00
2019-10-24 16:53:01 -04:00
2018-12-19 19:21:51 +00:00
2019-02-15 16:35:46 +01:00
2016-07-20 14:23:48 +08:00
2016-04-22 16:44:31 +02:00
2016-04-22 16:44:31 +02:00
2016-04-22 16:44:31 +02:00
2018-11-06 17:17:36 +01:00
2019-02-15 16:35:46 +01:00
2016-04-22 16:44:31 +02:00
2019-06-20 18:25:04 +02:00
2019-02-15 16:35:46 +01:00
2019-10-16 16:25:08 +02:00
2019-10-21 21:43:08 +00:00
2018-11-06 17:17:36 +01:00
2016-04-22 16:44:31 +02:00
2018-11-06 17:17:36 +01:00
2016-04-22 16:44:31 +02:00
2018-11-06 17:17:36 +01:00
2018-11-23 08:55:43 +01:00
2019-10-22 19:44:54 +00:00
2019-10-22 19:44:54 +00:00
2019-10-16 11:38:13 +00:00
2019-10-16 11:38:13 +00:00
2019-10-16 11:38:13 +00:00
2016-04-22 16:44:31 +02:00
2018-11-06 17:17:36 +01:00
2019-04-18 12:53:16 -04:00
2019-04-18 01:26:32 +00:00
2019-06-20 18:25:04 +02:00
2019-02-15 16:35:46 +01:00
2019-06-19 21:36:19 +02:00
2019-10-14 17:05:28 +00:00
2019-10-14 17:05:28 +00:00
2018-11-23 08:55:43 +01:00
2019-06-20 18:25:04 +02:00
2019-10-24 16:52:57 -04:00
2016-04-22 16:44:31 +02:00
2019-02-15 16:35:46 +01:00
2019-02-15 16:35:46 +01:00
2019-10-24 16:52:57 -04:00
2019-10-24 16:52:57 -04:00
2019-02-15 16:35:46 +01:00
2018-11-06 17:17:36 +01:00
2019-02-28 09:31:01 +01:00
2018-11-06 17:17:36 +01:00
2016-04-22 16:44:31 +02:00
2019-02-15 16:35:46 +01:00
2019-02-15 16:35:46 +01:00
2016-04-22 16:44:31 +02:00
2019-04-18 12:53:17 -04:00
2019-04-18 12:53:17 -04:00
2019-10-21 21:43:08 +00:00
2019-10-21 21:43:08 +00:00
2019-06-19 21:46:22 +02:00
2019-10-29 16:00:02 -04:00
2019-02-15 16:35:46 +01:00
2019-02-15 16:35:46 +01:00
2019-10-29 16:00:01 -04:00
2019-10-29 16:00:01 -04:00
2019-10-29 15:59:59 -04:00
2019-10-29 16:00:02 -04:00
2019-02-15 16:35:46 +01:00
2018-11-23 08:55:43 +01:00
2019-06-20 18:25:04 +02:00
2019-02-15 16:35:46 +01:00
2019-10-15 16:35:16 +00:00
2019-10-15 16:35:16 +00:00
2018-11-23 08:55:43 +01:00
2018-11-06 17:17:36 +01:00
2016-04-22 16:44:31 +02:00
2019-06-19 21:46:22 +02:00
2018-11-23 08:55:43 +01:00
2016-04-22 16:44:31 +02:00
2019-06-19 21:36:19 +02:00
2019-04-18 12:53:16 -04:00
2019-06-19 21:46:22 +02:00
2019-04-18 12:53:16 -04:00
2019-02-15 16:35:46 +01:00
2019-10-21 16:32:46 -04:00
2019-02-15 16:35:46 +01:00
2019-10-21 21:43:08 +00:00
2019-02-15 16:35:46 +01:00
2019-01-22 18:31:52 +01:00
2019-06-19 21:46:22 +02:00
2019-02-15 16:35:46 +01:00
2019-09-02 18:12:10 +08:00
2019-10-29 19:25:37 +00:00
2019-10-21 16:32:46 -04:00
2016-04-22 16:44:31 +02:00
2019-02-15 16:35:46 +01:00
2019-02-15 16:35:46 +01:00
2019-06-19 21:46:22 +02:00
2019-10-21 21:43:08 +00:00
2019-06-19 21:36:19 +02:00
2019-02-15 16:35:46 +01:00
2016-04-22 16:44:31 +02:00
2019-06-20 18:25:04 +02:00
2019-02-15 16:35:46 +01:00
2019-02-15 16:35:46 +01:00
2019-02-15 16:35:46 +01:00
2019-02-15 16:35:46 +01:00
2018-11-23 08:55:43 +01:00
2019-07-18 14:09:22 +00:00
2019-02-15 16:35:46 +01:00
2019-10-21 16:32:46 -04:00
2019-06-20 18:25:04 +02:00
2019-10-21 16:32:46 -04:00
2019-07-18 14:09:22 +00:00
2019-09-28 14:50:07 +00:00
2019-07-18 14:09:22 +00:00
2019-10-21 21:43:08 +00:00
2019-06-20 18:25:04 +02:00
2019-06-26 16:36:05 +00:00
2019-05-31 11:57:09 -03:00
2019-10-21 21:43:08 +00:00
2019-02-15 16:35:46 +01:00
2019-06-19 21:46:22 +02:00
2018-11-06 17:17:36 +01:00
2019-06-18 09:54:04 +02:00
2016-04-22 16:44:31 +02:00
2019-10-24 16:52:46 -04:00
2019-10-24 16:52:53 -04:00
2019-10-24 16:52:59 -04:00
2019-10-24 16:52:59 -04:00
2019-10-24 16:52:47 -04:00
2019-10-29 19:25:37 +00:00
2019-10-30 02:28:40 +00:00
2019-10-29 15:59:59 -04:00
2019-10-15 16:35:16 +00:00
2019-10-30 02:28:40 +00:00
2018-11-07 14:29:30 +01:00