Derek Foreman
497b9c045e
ecore-wl2: cache the registry
...
wl_get_registry() returns a new object that we must destroy, so
we should cache one at connect and never call that again.
Signed-off-by: Derek Foreman <derekf@osg.samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
c5dba8cd32
ecore-wl2: Free internal mouse down info when we delete an input
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
f3e5800d58
ecore-wl2: Add API function to issue an ungrab on an input
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
a084891013
ecore-wl2: Cleanup dnd drag and selection sources when we delete an
...
input
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
84a01216e7
ecore-wl2: Provide internal function to stop any cursor update timers
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
324a7e545a
ecore-wl2: Update input serial when we get a mouse button event
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
4b0aaca962
ecore-wl2: Set window input on pointer enter/leave events
...
Summary: This is so that we can still change mouse cursor (to indicate resize)
even when the window does not have focus
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
9cc1ba045c
ecore-wl2: Fix issue of never getting keyboard focus
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
7b383e267d
ecore-wl2: Add support for setting cursor images to input code
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
2758d6fcba
ecore-wl2: Add event and structure for dnd motion events
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
05856a0ebf
ecore-wl2: Add calls to dnd functions for drag listener
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
dfdac191ff
ecore-wl2: Add TODO notes for dnd
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
d2816fa45f
ecore-wl2: Assign an input to a window when the window gets focus
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
df670ae859
ecore-wl2: Finish up touch support. Record touch motion coordinates
...
into input->pointer.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
28fafc0ea7
ecore-wl2: Add support for double/triple click in mouse events
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
08c804f5bb
ecore-wl2: Send key press/release events when we get wayland event
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
7918f40fcc
ecore-wl2: Raise focus in/out events when we get wayland events for
...
keyboard enter/leave
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
5254b1a327
ecore-wl2: Call input ungrab when window operations occur
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
6d3e8a8558
ecore-wl2: Finish send ecore events for any wayland touch related events
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
68b36dfde3
ecore-wl2: Send mouse up event when we ungrab input
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
16864aa2c4
ecore-wl2: Send mouse button down/up events when we get a wayland
...
pointer button event
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
32838d1db4
ecore-wl2: Add internal functions for sending mouse button down/up
...
events
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
8360fcaa58
ecore-wl2: Set display serial during keyboard events
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
c0e03359e5
ecore-wl2: Add code to send mouse wheel events
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
ed7429f62d
ecore-wl2: Issue input grab/ungrab during pointer button events
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
8a2b8ed76a
ecore-wl2: Add code to send mouse move events
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
52996b1cf4
ecore-wl2: Add functions to send mouse in/out events and call them
...
during pointer enter/leave
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
22c069ef82
ecore-wl2: Add internal input functions to initiate/release a grab
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
31b014de6b
ecore-wl2: Add prototype functions to support data listener
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
7eabcd955e
ecore-wl2: Add placeholders for touch listener functions
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
6062fa4f68
ecore-wl2: Add initial support for keyboard events
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
debc8c5aba
ecore-wl2: Add placeholders for functions of the keyboard listener
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
df1032676a
ecore-wl2: Add TODO note for handling mouse wheel event
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
4731bb6eed
ecore-wl2: Add start of code for pointer button event
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
1f4b386664
ecore-wl2: Start on code for pointer motion event
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
bb0c94d04a
ecore-wl2: Start on code for pointer leave event
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
1fd5a0f9b9
ecore-wl2: Destroy cursor theme when input is destroyed
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
08594f2b3c
ecore-wl2: Add start of pointer handling code
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
9009367421
ecore-wl2: Add placeholder touch listener structure and setup touch
...
listener
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
6869782c27
ecore-wl2: Add placeholder keyboard listener structure and setup
...
keyboard listener
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
1e7be23084
ecore-wl2: Add placeholder pointer listener structure and setup
...
pointer listener
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
330ac83004
ecore-wl2: Add support for initial setup of pointer cursor
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00
Chris Michael
bcd949fa03
ecore-wl2: Add start of Ecore_Wl2_Input code
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 12:02:40 -05:00