Commit Graph

16729 Commits

Author SHA1 Message Date
Chris Michael ff183f614f Set default type to none on a new shell surface.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 13:43:10 +01:00
Chris Michael d7256d965d Change e_shell_surface_new function to accept the parent E_Surface.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 13:42:57 +01:00
Chris Michael 4be041e97b Add shell_surface to build order
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 13:42:38 +01:00
Chris Michael 0a0a0363df Add shell_surface to headers.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 13:42:21 +01:00
Chris Michael 7b81df006d Add code to create shell surfaces.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 13:20:11 +01:00
Chris Michael 77e69f990b Add e_shell_surface code.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 13:19:47 +01:00
Chris Michael a08c640b17 Add API function for shell surface new
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 13:19:29 +01:00
Chris Michael 4ad36e4d28 Add error message for shell_surface_get.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 12:59:11 +01:00
Chris Michael 2e24547178 Add popup, transient, and saved geometry to shell surface.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 12:58:41 +01:00
Chris Michael 63c637898d Check if a surface has already been configured.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 12:47:07 +01:00
Chris Michael cfe6102182 Add a reference to the shell surface
Add map/unmap/configure function pointers to structure.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 12:44:30 +01:00
Chris Michael ea3e1cd985 Start on shell surface code.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 12:43:03 +01:00
Chris Michael 473a1de55f Remove blank spaces from Makefile.am
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 12:33:41 +01:00
Chris Michael 10e9f1264d Start on shell surface creation.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 12:33:24 +01:00
Chris Michael 03346a3d19 Add code to create and destroy a surface.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 12:32:59 +01:00
Chris Michael 52f21c4a64 Add e_surface files to build.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 12:32:41 +01:00
Chris Michael e79d2caaec Add e_surface header to includes.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 12:32:30 +01:00
Chris Michael 296ee0018d Add shell interface to compositor.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 12:32:15 +01:00
Chris Michael 3eef8b7202 Comment out egl canvas for now.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 12:31:58 +01:00
Chris Michael 3837e4c442 Add start of surface code.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 12:31:42 +01:00
Chris Michael 59db3c7b89 Add code to load the shell module.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 11:26:13 +01:00
Chris Michael e37bf7ab0b Add checks for wl_desktop module.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 11:23:52 +01:00
Chris Michael c657cf2852 Add wl_desktop to makefile
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 11:23:42 +01:00
Chris Michael 8bfd741611 Add desktop edj file and module.desktop file.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 11:19:30 +01:00
Chris Michael c4378ce23d Add start of desktop shell code.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 11:19:13 +01:00
Chris Michael e09c94949f Add makefile for wl_desktop module
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 11:18:55 +01:00
Chris Michael 6d9b6dc97e Add shell_interface type.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 11:14:19 +01:00
Chris Michael 4290891c73 Add container_of function.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 10:49:30 +01:00
Chris Michael b4fbebcd09 Whitelist wl_desktop module
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 10:39:31 +01:00
Chris Michael 58b03d351d Actually, do not return success unless the module was enabled.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 10:33:37 +01:00
Chris Michael 058a561fe2 Rename _e_comp variable so as not to cause problems with the global one.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 10:31:26 +01:00
Chris Michael fe802a2ca3 Remove old shell code.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 10:24:25 +01:00
Chris Michael 8d4e3827b1 Add code for pointer canvas create and hotspot moving.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 10:22:54 +01:00
Chris Michael de21d14a9d Add ecore_evas to pointer structure.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 10:22:45 +01:00
Chris Michael b0c1244430 Add e_shell to build order.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 10:12:15 +01:00
Chris Michael dee81285f3 Add start of e_shell code.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 10:11:56 +01:00
Chris Michael 346851b424 Add e_shell_init/shutdown prototypes.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 10:11:43 +01:00
Chris Michael 82b01815ab Add e_shell header to build
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 10:08:46 +01:00
Chris Michael 49bca8fd79 Add e_shell to include headers.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 10:08:38 +01:00
Chris Michael d135216825 Add start of e_shell header.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 10:08:04 +01:00
Chris Michael dbc1cc64bd Add code to call e_shell_init during startup.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 10:07:07 +01:00
Chris Michael 0bd7def0f8 Send the X display to e_compositor_init so we can initialize EGL.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 10:04:20 +01:00
Chris Michael 6b67d98884 Add idle_after and idle_flush handlers.
During startup, we need to wait for the wayland interfaces to get
bound (else we cannot create a canvas), so add a handler to listen for
the bound event.
Add code to freeze/thaw containers on startup.
Initialize e_container inside screens_init.
Create new containers inside screens_init.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 10:01:50 +01:00
Chris Michael 73e217bd65 Change e_manager_new to accept an unsigned int.
During e_manager_show/hide add code to handle e_containers also.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 10:00:59 +01:00
Chris Michael 23e0821161 Make 'num' an unsigned int.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 10:00:41 +01:00
Chris Michael 1043a7ccfc Modify e_compositor_init function prototype.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 10:00:05 +01:00
Chris Michael b6dd15b8bd Add global compositor variable.
Change e_compositor_init to accept a display variable that we can pass
to EGLInit.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 09:59:30 +01:00
Chris Michael db98e6972c Add e_container header to includes.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 09:59:14 +01:00
Chris Michael 991995bbd2 Add e_container to build.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 09:58:59 +01:00
Chris Michael a5f21832dd Only try to create an egl canvas if we have egl support.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 09:58:39 +01:00