Chris Michael
531407985e
Add support for popup, fullscreen, move, resize of a wayland client.
...
Fix several bugs with regard to moving, resizing a wayland client.
Implement popup menu functionality.
Implement (but disable right now) fullscreen functionality
- NB: Disabled currently as I am hunting a potential e_border bug.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael
2683c74166
Remove unnecessary calls to evas_object_image functions.
...
Set image scale and content hints.
Record the "mouse_down" time so we can ignore spurious mouse_up events.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael
7d6f31fa85
Add a reference to the Evas of the surface.
...
Use Eina_List for border hooks (as we need more than one anyway).
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael
20c6fb53e1
Call surface configure with proper geometry.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael
a72b6d3034
Add support for transient surfaces.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael
494bcf7298
Add transient fields to the shell surface structure.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael
94d093fe32
Add code to support popups and fullscreen :)
...
Fix some unused variables.
Be sure to destroy any ping timers on surface destroy.
End any existing popup grabs when we start a new grab.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael
a719bdc39c
Add popup fields to the shell surface structure.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael
d22f3f53a5
Add support to resize wayland clients.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael
58df59aaf4
Add width & height to the grab structure.
...
Add edges (for resize) to the grab structure.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael
98f813f176
Add support for moving surfaces.
...
Add support for fullscreen/unfullscreen.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael
89782f0f4c
Add code to unset the pointer cursor image when the mouse leaves the
...
input area.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael
98bc3ae1b5
Add code to update the pointer cursor image for wayland clients.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael
a5e9fc6730
Set the border input object using the EAPI function.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael
3ba4da16b2
Set the e_border to borderless by default for wayland clients.
...
Add function to listen for the ecore_evas resize and adjust the size
of the surface smart object.
Add support for Maximize/Unmaximize of wayland clients.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael
57ca050f7c
Add e_border_input_object_set function.
...
Add missing function prototype declarations for mouse events.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael
cdc1ce9452
Add API function for setting a border input object
...
Needed for wayland client support.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:55:00 +01:00
Chris Michael
a14d7dbe2a
Remove dead comments.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:55:00 +01:00
Chris Michael
3b2072d43d
Remove dead comment.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:55:00 +01:00
Chris Michael
b1a7691b9f
Add missing EINTERN for init and shutdown functions.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:55:00 +01:00
Chris Michael
757e477275
Add support for key up/down events from the surface and pass them
...
along to the wayland client.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:55:00 +01:00
Chris Michael
cdd71b50a2
Add key up/down events for surface and raise the callbacks when they
...
happen.
Be sure to set focus on the input object else we do not get any key
events from Evas.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:54:59 +01:00
Chris Michael
c74a796e02
Initialize keyboard before initializing comp module.
...
This is needed so that setxkbmap runs before we initialize the wayland
compositor So that wayland clients can use the proper keymap.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:54:59 +01:00
Chris Michael
ebb35638f5
Actually export comp_wl_time_get and comp_wl_input_modifiers update
...
functions as they may be needed in various shell modules.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:54:59 +01:00
Chris Michael
0fc304eae5
Handle mouse up and down events from the surface.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:54:59 +01:00
Chris Michael
58d2d77977
Add support for mouse up and down events.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:54:59 +01:00
Chris Michael
a4d26ee3a8
Add support for the e_surface smart object.
...
Add code to listen for the callbacks from e_surface and pass events
along to the wayland client.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:54:59 +01:00
Chris Michael
47b6628927
Add function to support setting e_border input area
...
Add code to handle null input areas (wrt pass_events on the image).
Add mouse movement callbacks (in, out, move).
Place the input rectangle below the image object.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:54:59 +01:00
Chris Michael
9842c268c3
Add an input object to e_border structure.
...
Only setup input object callbacks once.
Use input object for mouse_in/out detection.
NB: This is needed for wayland clients to properly function with
regard to E's border pointer focus.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:54:59 +01:00
Chris Michael
5624cee73f
Add surface smart object support to the desktop shell.
...
Add code to handle shell surface requests.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:47:56 +01:00
Chris Michael
1fac56a7e4
Add code to load/unload the desktop shell module.
...
Add code to handle surface attach requests.
Add code to handle surface commit requests:
- Use the surface smart object to handle input and image updates.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:47:55 +01:00
Chris Michael
8745eadb3d
Add surface smart object to E_Wayland_Surface struture.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:47:55 +01:00
Chris Michael
ab729ae557
Add surface smart object to build
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:47:55 +01:00
Chris Michael
50f4aeb942
Add code for start of surface smart object.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:47:55 +01:00
Chris Michael
9e420a288e
Add start of desktop shell code.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:47:55 +01:00
Chris Michael
4ab6cf4611
Fix desktop shell Makefile to include the wayland client cflags
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:47:55 +01:00
Chris Michael
5a6b8e6b62
Fix pkg-config for wl_desktop_shell module.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:47:55 +01:00
Chris Michael
3560f40237
Fix module_idler variable name (damn I cannot type today) :(
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:47:55 +01:00
Chris Michael
40b5b05c05
Fix up modules directory Makefile to include desktop shell.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:47:55 +01:00
Chris Michael
38c725519b
Actually declare the idler variable so things build (Oopsie).
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:47:55 +01:00
Chris Michael
6653eccd17
Add start of desktop shell code.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:47:55 +01:00
Chris Michael
550dd3c17f
Add start of wl_desktop_shell module code.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:47:55 +01:00
Chris Michael
45b13b243f
Add Makefile for wl_desktop_shell module.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:47:55 +01:00
Chris Michael
d8ad76a605
Add autofoo support for building wl_desktop_shell module.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:47:55 +01:00
Chris Michael
e5202dc89f
Add an idler to defer shell module loading.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:46:25 +01:00
Chris Michael
65fb88c773
Add code to create, destroy, and otherwise handle the wayland region
...
interface and wayland surface interface.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:46:25 +01:00
Chris Michael
31f6268fd4
Add function prototypes for surface_destroy and region_destroy.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:46:25 +01:00
Chris Michael
deec13f2ce
Add code to support initialize, setup and destruction of wayland
...
inputs (pointer, keyboard, touch).
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:46:25 +01:00
Chris Michael
a1447c102e
Add start of a wayland compositor.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:46:24 +01:00
Chris Michael
7ec2804ef6
Add wayland client egl support to build infrastructure.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:46:24 +01:00