Philip Withnall
276c462553
mir: Fix potential use of NULL GDBusConnection
...
If we fail to connect to the session bus, it would be a bit silly to
immediately try and use that NULL connection.
Signed-off-by: Philip Withnall <withnall@endlessm.com>
https://bugzilla.gnome.org/show_bug.cgi?id=668590
2017-12-08 09:55:27 +00:00
Benjamin Otte
4c4e914806
gdk: Replace GDK_NONE with NULL
2017-11-15 19:07:17 +01:00
Benjamin Otte
4e7a056777
gdk: Cursors are created generically
...
There are no longer subclasses for cursors now.
2017-11-04 00:07:13 +01:00
Matthias Clasen
2d6bd1ae6d
Drop gdk_window_get_screen
...
This includes removing the GdkScreen argument from the
create_window_impl display vfunc.
2017-10-31 17:25:01 -04:00
Matthias Clasen
a9ea420b65
mir: Implement the GdkDisplay get_setting vfunc
...
Just call the corresponding screen vfunc.
2017-10-30 16:41:59 -04:00
William Hua
94db94a78b
mir: set application name when creating connection
2017-04-01 11:05:27 -04:00
William Hua
0c1cbcfe60
mir: try mir before x11
2017-03-12 22:40:04 -04:00
William Hua
f98e3dd09a
mir: delete commented debug output
2017-03-01 02:15:56 -05:00
William Hua
bdf559c623
mir: migrate away from deprecated mir api
2017-03-01 02:15:56 -05:00
William Hua
a50a98f38b
mir: properly handle empty clipboard
...
https://bugzilla.gnome.org/show_bug.cgi?id=775732
2017-01-09 12:04:48 -05:00
William Hua
384fe52e96
mir: paste clipboard data from content-hub
...
https://bugzilla.gnome.org/show_bug.cgi?id=775732
2017-01-05 17:57:36 -05:00
William Hua
516c0a2aab
mir: copy clipboard data to content-hub
...
https://bugzilla.gnome.org/show_bug.cgi?id=775732
2017-01-05 17:57:36 -05:00
William Hua
dcda372c15
mir: connect to content-hub
...
https://bugzilla.gnome.org/show_bug.cgi?id=775732
2017-01-05 17:57:36 -05:00
William Hua
440e80c832
mir: track focused window
...
https://bugzilla.gnome.org/show_bug.cgi?id=775732
2017-01-05 17:57:36 -05:00
William Hua
3c2aefddd4
mir: fix type warning
2016-12-05 11:06:32 -05:00
William Hua
32b3928eda
mir: fix build failures
2016-12-05 10:28:48 -05:00
William Hua
e27e8e6e1c
mir: implement display monitor vfuncs
2016-12-05 09:17:44 -05:00
Benjamin Otte
e87b472143
glcontext: Make begin/end_draw() paired
...
This way, we can query the GL context's state via
gdk_gl_context_is_drawing().
Use this function to make GL contexts as attached and grant them access
to the front/backbuffer for rendering.
All of this is still unused because GL drawing is still disabled.
2016-12-05 15:02:47 +01:00
Benjamin Otte
2a27b7ecc6
API: Remove gdk_window_process_all_updates()
...
It's completely unused since we have a frame clock.
2016-11-23 19:10:34 +01: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
89f2e17f91
API: Remove gdk_window_set_composited()
...
And the related call gdk_display_supports_composite().
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
Rico Tzschichholz
1e27fe83ea
mir: display->list_devices vfunc was dropped
...
See 4a6f8a065a
https://bugzilla.gnome.org/show_bug.cgi?id=762891
2016-03-02 10:24:44 +01:00
William Hua
af5792f141
mir: support more pixel formats
2015-10-14 09:21:41 +01:00
William Hua
2374a1b50b
mir: remove non-useful logging
2015-06-23 13:17:28 -04:00
William Hua
e2320678ae
mir: use parent_window's impl for GDK_INPUT_ONLY windows
...
Fixes a crash that occurs when the user selects text.
2015-02-05 17:26:17 +01:00
Marco Trevisan (Treviño)
cf64f8a76a
mir: don't initialize the display if the required pixel formats aren't available
2014-12-01 18:05:30 +01:00
Marco Trevisan (Treviño)
b8925253b6
mir: clear screen, keymap and event source when disposing dpy
2014-11-27 19:25:55 +01:00
Marco Trevisan (Treviño)
6e9db05601
mir: add OpenGL support
...
Implement GdkGLContext using EGL and use hardware mir surfaces
when a GdkWindow uses gl rendering.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=740346
2014-11-20 04:33:38 +01:00
Ryan Lortie
ec729d0649
mir: rework cursors a bit
...
Store the cursor name on the cursor (rather than always using its type).
Use this when setting a cursor on a surface.
The mir server will fallback to using standard cursors from the cursor
theme if the name used is not one of those defined by mir, which is more
or less what we want to happen here in case of creating a cursor by
name.
2014-11-06 16:18:53 -05:00
William Hua
2fdb266c0d
mir: set cursor
2014-11-06 16:18:53 -05:00
Jasper St. Pierre
887b7356c3
gdkdisplay: Provide a default event_data_copy / event_data_free
...
Every single implementation but Quartz is a no-op for this, so just
provide it once rather than in every backend.
2014-10-27 22:13:23 -07: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