Commit Graph

70 Commits

Author SHA1 Message Date
c2afa674e2 mir: stop forwarding motion events to subwindows 2015-02-05 17:26:19 +01:00
901bc2957d mir: generate leave events for transient children 2015-02-05 17:26:19 +01:00
9a84c3e0f5 mir: only paint background if window has one 2015-02-05 17:26:18 +01:00
e843d94405 mir: only render non-top-level transients. 2015-02-05 17:26:18 +01:00
5ac5f6f81a mir: reset cursor_inside on hide/withdraw
Without this, we generate incorrect crossing events for transient
windows.
2015-02-05 17:26:18 +01:00
8e0abb4bac mir: disable some debug output 2015-02-05 17:26:18 +01:00
4f19be1c82 mir: skip windows that aren't visible 2015-02-05 17:26:18 +01:00
f1cfd23cd2 mir: pass motion events down to transient children 2015-02-05 17:26:17 +01:00
8976e84ded gdkwindow: Don't pass the region to the impl when beginning a paint
It's unused. At the same time, rename "begin_paint_region" to
"begin_paint". This will help us clean up how GDK painting works
in the future to allow more creative use of double-buffering.
2014-11-22 08:08:34 -08:00
1730bb0e81 mir: initialize surface name with program name 2014-11-21 04:46:47 +01:00
f5d96f7110 mir: use proper naming for mir window type checking macro 2014-11-20 05:51:12 +01:00
99d849412b mir: add public getter for the internal MirSurface 2014-11-20 04:41:45 +01:00
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
e0e46a4f6b mir: update surface type based on events 2014-11-17 17:23:36 +01:00
f5c5e9385e mir: handle more surface types 2014-11-14 23:19:15 +01:00
c42146d88c mir: get/set window surface type 2014-11-13 04:42:48 +01:00
c7e7e35083 mir: don't request more surface formats than the supported ones 2014-11-13 03:59:29 +01:00
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
2fdb266c0d mir: set cursor 2014-11-06 16:18:53 -05:00
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