Commit Graph

37 Commits

Author SHA1 Message Date
acbb0c4bdd mir: fix warnings 2016-02-24 13:24:14 -05:00
594ba3071b mir: fix GdkSeat-related deprecations 2016-02-24 13:23:18 -05:00
1760ada1ff mir: emulate pointer for all touch events 2015-10-27 16:37:21 -04:00
aefa1ba611 gdk: Deprecate gdk_display_get_screen 2015-10-27 14:17:52 +13:00
027b02a371 mir: send touch events 2015-10-16 10:51:36 +01:00
1e6c7e3af0 mir: fix mir pointer event to gdk translation 2015-07-03 13:48:13 -04:00
da14dbe4e5 mir: fix toggling between maximized and restored 2015-06-23 13:17:28 -04:00
e083eb42e9 mir: fix wheel scrolling in both directions 2015-06-23 13:17:28 -04:00
8fac1f688e mir: emit GDK_ENTER_NOTIFY on pointer enter 2015-06-23 13:17:28 -04:00
2374a1b50b mir: remove non-useful logging 2015-06-23 13:17:28 -04:00
d37f94a524 mir: keep reference on queued events 2015-06-02 15:14:27 -04:00
a43efc6655 mir: Update cursor position 2015-06-02 15:14:26 -04:00
d43f5258ff mir: Remove child window rendering hack 2015-06-02 15:14:26 -04:00
6a51ac59f0 mir: handle generic input events 2015-05-06 10:27:03 -04:00
ea190a339a mir: fix build failure due to changed api 2015-04-30 12:41:33 -04:00
5eacc92ba7 mir: fix issues with mouse over parent menu
Mouse over a parent menu[bar] didn't work while the menu was open.
The fix was to correct the behaviour of pointer crossing events so that
the pointer appears to be only inside one window at a time.

See: http://tronche.com/gui/x/xlib/events/window-entry-exit/normal.html
2015-02-05 17:26:19 +01:00
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
38d46aacae mir: use old scrolling system if we get simple integer values 2015-02-05 17:26:18 +01:00
9abf990656 mir: handle new MirCloseSurfaceEvent 2015-02-05 17:26:18 +01:00
4f19be1c82 mir: skip windows that aren't visible 2015-02-05 17:26:18 +01:00
345140008e mir: check the log events env variable just once 2015-02-05 17:26:18 +01:00
7e5b216511 mir: set event source device as well 2015-02-05 17:26:18 +01:00
7c2e3a812a mir: fix time conversion macro 2015-02-05 17:26:17 +01:00
54f9263f19 mir: implement stub _gdk_mir_keymap_key_is_modifier
Using IsModifierKey for now
2015-02-05 17:26:17 +01:00
a8b1e81816 mir: check (using simple keycode checking) if we're handling a modifier key 2015-02-05 17:26:17 +01:00
9e2eb5d2f6 mir: compute the modifiers using the saved button_state on key events 2015-02-05 17:26:17 +01:00
7d4066de41 mir: add a NANO_TO_MILLI conversion macro 2015-02-05 17:26:17 +01:00
6b6af59b9b mir: properly converts mir nanoseconds timestamps to milliseconds 2015-02-05 17:26:17 +01:00
cb19fd50cb mir: use actual events time 2015-02-05 17:26:17 +01:00
948afc68f6 mir: add timestamps to generated GdkEvents
We need this because it fixes menu activation. The menu activation code
looks at the time between events to determine if mouse clicks happen too
quickly.
2015-02-05 17:26:17 +01:00
f1cfd23cd2 mir: pass motion events down to transient children 2015-02-05 17:26:17 +01:00
e0e46a4f6b mir: update surface type based on events 2014-11-17 17:23:36 +01:00
acfc4f8910 mir: invert scrolling delta 2014-11-17 14:02:22 +01:00
053b65a21a mir: Handle pointer up/down events without a button mask set (i.e. touch events)
The Mir backend was checking for button mask changes to generate the appropriate
GDK event. When Mir generates a touch event it has no button mask. In this case
we'll just generate a primary button event.
2014-11-06 11:15:52 +13:00
c41231cc0f mir: Don't assert on unknown Mir events.
If we get a Mir event we don't understand generate a warning instead of an assert.
2014-11-05 15:50:55 +13: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