William Hua
57a11ca28d
mir: fix compile-time warnings
2017-01-09 17:55:31 -05:00
William Hua
3efbb75619
mir: fix build failures
2016-11-27 21:31:21 -05:00
Benjamin Otte
d2c26c471c
gdk: Remove attributes_mask from gdk_window_new()
...
The only remaining values were always treated as 0, so we just hardcode
them to 0.
2016-11-07 01:33:43 +01:00
Benjamin Otte
77a9e90cb9
mir: Remove all mentions of visuals
2016-11-04 00:15:52 +01:00
Benjamin Otte
4585af5719
gdk: Remove visual APIs from GdkScreen
...
gdk_screen_list_visuals(), gdk_screen_get_system_visual() and
gdk_screen_get_rgba_visual() are gone now.
2016-11-04 00:02:37 +01:00
Benjamin Otte
d249e77bcb
API: screen: Remove gdk_screen_is_composited()
...
Switch code to use gdk_display_is_composited() instead.
The new code also doesn't use a vfunc to query the property but rather
requires the backend to call set_composited()/set_rgba() to change the
value.
2016-10-29 04:49:47 +02:00
Benjamin Otte
45c0379f87
API: gdk: Remove visual querying APIs
...
They are unused, only work on the default display anyway and visuals are
on their way out.
2016-10-28 05:22:50 +02:00
Benjamin Otte
8d54c641f1
screen: Remove unused vfunc
...
GdkScreenClass.broadcast_client_message was unused, but a bunch of
backends still had functions (not) implementing it.
2016-10-16 18:17:21 +02:00
Benjamin Otte
9be9e00a0e
API: screen: Remove gdk_screen_make_display_name()
...
It's identical to gdk_display_get_name().
2016-10-16 18:17:21 +02:00
Benjamin Otte
6b9e481e38
API: screen: Remove gdk_screen_get_active_window()
...
... and gdk_screen_get_window_stack().
Those functions were originally added in
5afb4f0f11
but do not seem to be used as
they are not implemented anywhere but in X.
As GDK is not meant to fulfill window management functionality I'm going
to remove these functions without replacements.
2016-10-16 18:17:21 +02:00
Benjamin Otte
26f9b584be
API: gdk: Remove gdk_screen_get_number()
...
It's useless everywhere but in internal X11 code.
2016-10-16 18:17:21 +02:00
Andreas Pokorny
5a8af1af75
Rework window construction - only recreate surface when necessary
...
Signed-off-by: Andreas Pokorny <andreas.pokorny@canonical.com>
2016-08-10 13:36:38 -04:00
Andreas Pokorny
097ed2b40a
Fix warning on newer version so mir 0.22 and newer
...
Signed-off-by: Andreas Pokorny <andreas.pokorny@canonical.com>
2016-08-10 13:36:38 -04:00
William Hua
b32899b98a
mir: add more default settings under mir
2015-07-15 07:43:55 -04:00
William Hua
2374a1b50b
mir: remove non-useful logging
2015-06-23 13:17:28 -04:00
Marco Trevisan (Treviño)
737e598a17
mir: use monitor plug names more similar to the ones used in Xmir
2015-02-05 17:26:18 +01:00
Marco Trevisan (Treviño)
8bc523ef59
mir: fix compilation in mirscreen
2014-11-14 23:19:15 +01:00
Marco Trevisan (Treviño)
4e4ccb76cd
mir: implement screen get_plug_name
2014-11-13 02:26:38 +01:00
Marco Trevisan (Treviño)
a77571c42e
mir: clear screen objects correctly
2014-11-13 02:19:29 +01:00
Marco Trevisan (Treviño)
0d024c2df8
mir: don't crash when querying infos for an invalid monitor
2014-11-13 02:07:46 +01:00
Marco Trevisan (Treviño)
c8826ba8c7
mir: clear screen data
2014-11-13 01:59:21 +01:00
Marco Trevisan (Treviño)
98a8c66970
mir: correctly get screen mm sizes
2014-11-13 01:47:56 +01:00
Marco Trevisan (Treviño)
c6de20496c
mir: unset config change callback on finalize
2014-11-13 01:34:10 +01:00
Marco Trevisan (Treviño)
92c2e99dda
mir: actually pass the GdkMirScreen to display config change cb
2014-11-13 01:30:10 +01:00
Robert Ancell
0f26b26f1d
Gdk: add an experimental backend for mir
...
This is disabled by default. Enable with --enable-mir-backend.
This backend is a combined work of Robert Ancell and Ryan Lortie.
2014-10-22 11:17:15 -05:00