Commit Graph

16764 Commits

Author SHA1 Message Date
Chris Michael 6e72cb0573 By default, set buffer size to 0 on creation.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-25 08:50:47 +01:00
Chris Michael 2a94274a99 Tell ecore_wayland to run in "server mode" so we do not stall during
startup.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-25 08:41:49 +01:00
Chris Michael 98ddf4d05c Update desktop shell for recent Wayland 1.2 changes (wl_global,
wl_resource, etc).

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-16 12:18:25 +01:00
Chris Michael 1d8b816819 Update e_output for recent Wayland 1.2 changes
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-16 11:05:26 +01:00
Chris Michael b422f31451 Update e_input for recent Wayland 1.2 changes:
- Use wl_resource_create and wl_global_add functions

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-16 10:38:47 +01:00
Chris Michael 098c5c5ca0 Update e_wayland for recent Wayland 1.2 changes
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-16 07:40:57 +01:00
Chris Michael 101a1f7bea Update shell for recent wl_resource and wl_client changes
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-25 09:00:44 +01:00
Chris Michael b8081e7c05 Update e_wayland for recent wl_resource and wl_client changes
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-25 09:00:15 +01:00
Chris Michael 11054d55e5 Update e_wayland to use our own E_Buffer structure
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-24 11:40:40 +01:00
Chris Michael ba0b2a339b Implement our own E_Buffer structure.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-24 11:40:22 +01:00
Chris Michael bf2ab8d933 Update for recent changes in wayland core protocol
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-24 10:51:21 +01:00
Chris Michael fc2c2344a5 Update e_wayland surface and renderer for changes in wayland protocol.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-24 10:29:56 +01:00
Chris Michael 016793098e More work to get elm apps working properly
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-18 21:09:02 +01:00
Chris Michael cc6e76384c Shell work for elm apps
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-18 21:08:50 +01:00
Chris Michael d6b51b7b4c Big giant push to get elm apps working properly
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-18 21:08:07 +01:00
Chris Michael 46fad2b716 Just grab the return window directly from e_canvas.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-14 10:03:06 +01:00
Chris Michael 6705ad95df More fixes to try and get menus to function properly
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-14 10:02:45 +01:00
Chris Michael 29b736fe37 Fix pointer grab fields.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-14 10:02:18 +01:00
Chris Michael 2093443237 Shell work to get popup menus functional
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-14 10:01:55 +01:00
Chris Michael b0678e5152 Add pointer_grab_start and end functions
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-14 07:30:21 +01:00
Chris Michael 188f472a0d Start on getting menus to show.
Add map_popup function

Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-13 18:37:58 +01:00
Chris Michael e37f590619 Use E_Input for popup seat.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-13 18:37:39 +01:00
Chris Michael 274120f4c4 Send mouse move and mouse up/down events.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-13 18:13:11 +01:00
Chris Michael f541032c3d Handle passing along pointer button events
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-13 18:12:45 +01:00
Chris Michael cf495efaf3 Add grab fields to pointer structure
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-13 18:12:27 +01:00
Chris Michael 248bbf22b5 Remove mouse_move_send function
NB: This is really only needed (for now) in the X11 compositor

Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-13 17:03:42 +01:00
Chris Michael 448af16831 Add e_order to build order.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-13 16:46:48 +01:00
Chris Michael df8c0a6533 Comment out unused variable
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-13 16:46:48 +01:00
Chris Michael e353385acb Initialize variables.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-13 16:46:48 +01:00
Chris Michael c322573793 Start to process mouse down & up events ... Prelude to working menus ;)
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-13 15:02:24 +01:00
Chris Michael be68f0e840 Add event handler for mouse_move (from X) so we can pass this along to
wayland

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-13 14:51:07 +01:00
Chris Michael caeae50db3 Set surface's resource client to NULL initially
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-13 14:50:38 +01:00
Chris Michael eadce5e382 Don't init e_scale and e_theme until we have our interfaces bound
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-13 14:50:15 +01:00
Chris Michael 390dd4a7e2 More work on getting input to function
Setup pointer grabs and the grab interface
Add functions to set pointer focus and to send mouse move events

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-13 14:49:22 +01:00
Chris Michael e8aba44ff7 Add function to find a surface based on x/y
Use wl_display_terminate instead of destroy

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-13 14:48:44 +01:00
Chris Michael 1e24d7e730 Intialize input on the compositor
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-13 12:04:38 +01:00
Chris Michael 8c20469d34 Add a seat to the compositor for input
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-13 12:04:22 +01:00
Chris Michael 3bd70f214e Add e_input files
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-13 12:04:01 +01:00
Chris Michael 2350671766 Add e_input to build order.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-13 12:03:45 +01:00
Chris Michael cdcf01fe4e Add e_input to includes
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-13 12:03:37 +01:00
Chris Michael 194b10c2ff Setup data_device for compositor.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-13 12:03:19 +01:00
Chris Michael 5c2d03b3aa Destroy the renderer on output creation failure.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-13 07:08:55 +01:00
Chris Michael ee2e852673 Add renderer destroy function
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-13 07:07:31 +01:00
Chris Michael c351ba68eb if we have already loaded the comp module, get out.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-11 16:43:09 +01:00
Chris Michael a47f3ba8fd Better trapping for already loaded comp module.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-11 16:42:47 +01:00
Chris Michael 245cc2164a Remove debug messages.
Fix creating output image with proper depth

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-11 14:55:38 +01:00
Chris Michael 49ba7f2157 Big giant "e18-wayland-only starting to work" commit so I can continue
from home.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-11 14:54:50 +01:00
Chris Michael 90eb77b42e Remove unused code.
Fix creation of hardware surface

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-11 09:22:11 +01:00
Chris Michael 2946f63664 Remove unused fields from output structure
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-11 09:21:54 +01:00
Chris Michael 9841131e1c Assign an output to a surface when we map it
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-11 09:21:31 +01:00