Mike Blumenkrantz [Thu, 18 Apr 2013 09:53:54 +0000 (10:53 +0100)]
fix move/resize check on borders during deletion to fix crash and pop pointer
Mike Blumenkrantz [Thu, 18 Apr 2013 09:39:58 +0000 (10:39 +0100)]
don't apply xsettings if no settings exist
* fixes buffer overflow
Mike Blumenkrantz [Thu, 18 Apr 2013 09:21:31 +0000 (10:21 +0100)]
fix comp win geometry updates to always use pixmap size when available
Mike Blumenkrantz [Thu, 18 Apr 2013 09:21:12 +0000 (10:21 +0100)]
simplify comp win geom update check to only look at flag
Mike Blumenkrantz [Thu, 18 Apr 2013 09:20:21 +0000 (10:20 +0100)]
comp win reshadow now sets geom update flag instead of updating geom
Mike Blumenkrantz [Thu, 18 Apr 2013 09:08:07 +0000 (10:08 +0100)]
set comp win geometry update flag for pixmap update during initial show
Mike Blumenkrantz [Thu, 18 Apr 2013 07:28:59 +0000 (08:28 +0100)]
giant comp rejiggering commit #LAST:
* merge init splash to comp canvas
* remove enlightenment_init exe
Carsten Haitzler (Rasterman) [Thu, 18 Apr 2013 04:08:20 +0000 (13:08 +0900)]
fix multiple shelf config diaslog bug.
Carsten Haitzler (Rasterman) [Thu, 18 Apr 2013 03:50:06 +0000 (12:50 +0900)]
fix: removing list node from list WHILE walking list without using the
foreach_safe.. fix.. use foreach_safe.
Mike Blumenkrantz [Wed, 17 Apr 2013 12:33:56 +0000 (13:33 +0100)]
remove zoomap usage for window/surface objects until a related bug is fixed
Mike Blumenkrantz [Wed, 17 Apr 2013 09:24:30 +0000 (10:24 +0100)]
set comp win zoomap smooth based on comp smooth scale setting
Chris Michael [Wed, 17 Apr 2013 12:29:26 +0000 (13:29 +0100)]
Add some additional error trapping for keyboard info initialization.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 17 Apr 2013 10:13:34 +0000 (11:13 +0100)]
Fix typo in definition of Output_Mode structure.
Add a "Terminal" structure to represent tty's for drm compositing.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Mike Blumenkrantz [Wed, 17 Apr 2013 08:37:27 +0000 (09:37 +0100)]
set the magic "always" zoomap flag to fix window input and disable shadows...for now
Mike Blumenkrantz [Wed, 17 Apr 2013 08:35:44 +0000 (09:35 +0100)]
add bg_object name for border
Mike Blumenkrantz [Wed, 17 Apr 2013 08:20:43 +0000 (09:20 +0100)]
rename zoomap smart functions to have zoomap in the name for easier debugging
Chris Michael [Wed, 17 Apr 2013 08:27:15 +0000 (09:27 +0100)]
Add a structure for hardware plane (used in drm compositor).
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Mike Blumenkrantz [Wed, 17 Apr 2013 07:46:36 +0000 (08:46 +0100)]
update comp win geometry correctly for override (non-pixmap) windows
Mike Blumenkrantz [Wed, 17 Apr 2013 07:36:54 +0000 (08:36 +0100)]
size debugging now also prints object names when available
Mike Blumenkrantz [Wed, 17 Apr 2013 07:07:11 +0000 (08:07 +0100)]
use new zoomap function to set solidness on comp win reshadow
Mike Blumenkrantz [Wed, 17 Apr 2013 07:06:20 +0000 (08:06 +0100)]
add zoomap util function for setting solidness based on edje data items of child
Mike Blumenkrantz [Wed, 17 Apr 2013 05:31:59 +0000 (06:31 +0100)]
put zoomap shaped/solid edc stuff back for menus, let comp wins use it more generally
Chris Michael [Wed, 17 Apr 2013 05:29:12 +0000 (06:29 +0100)]
Fix breakage caused by
3e690812b07bccce4cd2909d1d3e6e145707a8c5
Allow building of wl_desktop_shell module again. This works for both
cases (wayland and not wayland) now.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Mike Blumenkrantz [Wed, 17 Apr 2013 05:12:37 +0000 (06:12 +0100)]
fix input shapes for frames of shaped windows
Mike Blumenkrantz [Wed, 17 Apr 2013 04:56:26 +0000 (05:56 +0100)]
apply border shape rects in a better spot; window resizing now functional again
Carsten Haitzler (Rasterman) [Wed, 17 Apr 2013 00:12:03 +0000 (09:12 +0900)]
if comp init fails - dont use dialogs to show it now its in core.. and
on failure.. exit instead of segving. :)
Jérémy Zurcher [Tue, 16 Apr 2013 15:23:01 +0000 (17:23 +0200)]
merge and simplify wayland build fixes
Mike Blumenkrantz [Tue, 16 Apr 2013 14:05:11 +0000 (15:05 +0100)]
flag comp win geometry updates and call only as necessary
Chris Michael [Tue, 16 Apr 2013 13:39:26 +0000 (14:39 +0100)]
Bring drm header file up-to-date with structure name changes, etc.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 16 Apr 2013 13:23:43 +0000 (14:23 +0100)]
Fix duplicate structure field.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 16 Apr 2013 13:17:23 +0000 (14:17 +0100)]
Fix build to work for lame people without wayland libraries :P
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Jérémy Zurcher [Tue, 16 Apr 2013 13:07:13 +0000 (15:07 +0200)]
fix wayland related conditionals in configure.ac
AM_CONDITIONAL can't be invoked conditionally
Chris Michael [Tue, 16 Apr 2013 13:00:13 +0000 (14:00 +0100)]
Update ChangeLog with Wayland Client items.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 16 Apr 2013 12:51:42 +0000 (13:51 +0100)]
Add a Drm_Fb structure to represent the frame buffer.
NB: Start of getting drm to function again.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Mike Blumenkrantz [Tue, 16 Apr 2013 12:50:17 +0000 (13:50 +0100)]
fix an e_border crash which I discovered by clicking in exactly the right frame with bd_change debugging enabled
Mike Blumenkrantz [Tue, 16 Apr 2013 12:16:48 +0000 (13:16 +0100)]
all comp wins now have zoomaps, zooming effect lovers rejoice
Mike Blumenkrantz [Tue, 16 Apr 2013 12:16:28 +0000 (13:16 +0100)]
revert zoomap stuff from menus
Chris Michael [Tue, 16 Apr 2013 12:47:02 +0000 (13:47 +0100)]
Add output and output_mode structures.
These are needed in the drm backend.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 16 Apr 2013 10:49:51 +0000 (11:49 +0100)]
Remove noisy printf.
Remove useless object_move call.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 16 Apr 2013 10:48:35 +0000 (11:48 +0100)]
Reset surfaces to be borderless.
NB: Uncomment this line to help debug things.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 16 Apr 2013 10:47:57 +0000 (11:47 +0100)]
Remove printf
Remove nasty "fullscreen" hack.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 16 Apr 2013 10:45:08 +0000 (11:45 +0100)]
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>
Chris Michael [Tue, 16 Apr 2013 10:43:56 +0000 (11:43 +0100)]
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>
Chris Michael [Tue, 16 Apr 2013 10:41:54 +0000 (11:41 +0100)]
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>
Chris Michael [Tue, 16 Apr 2013 10:41:34 +0000 (11:41 +0100)]
Call surface configure with proper geometry.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Fri, 12 Apr 2013 08:35:15 +0000 (09:35 +0100)]
Add support for transient surfaces.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Fri, 12 Apr 2013 08:34:28 +0000 (09:34 +0100)]
Add transient fields to the shell surface structure.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Fri, 12 Apr 2013 08:22:11 +0000 (09:22 +0100)]
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>
Chris Michael [Fri, 12 Apr 2013 08:21:33 +0000 (09:21 +0100)]
Add popup fields to the shell surface structure.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Fri, 12 Apr 2013 06:42:24 +0000 (07:42 +0100)]
Add support to resize wayland clients.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Fri, 12 Apr 2013 06:41:57 +0000 (07:41 +0100)]
Add width & height to the grab structure.
Add edges (for resize) to the grab structure.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Fri, 12 Apr 2013 06:10:02 +0000 (07:10 +0100)]
Add support for moving surfaces.
Add support for fullscreen/unfullscreen.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 11 Apr 2013 11:18:32 +0000 (12:18 +0100)]
Add code to unset the pointer cursor image when the mouse leaves the
input area.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 11 Apr 2013 11:18:10 +0000 (12:18 +0100)]
Add code to update the pointer cursor image for wayland clients.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 11 Apr 2013 08:27:40 +0000 (09:27 +0100)]
Set the border input object using the EAPI function.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 11 Apr 2013 08:26:44 +0000 (09:26 +0100)]
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>
Chris Michael [Thu, 11 Apr 2013 08:25:55 +0000 (09:25 +0100)]
Add e_border_input_object_set function.
Add missing function prototype declarations for mouse events.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 11 Apr 2013 08:25:37 +0000 (09:25 +0100)]
Add API function for setting a border input object
Needed for wayland client support.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 11 Apr 2013 07:38:04 +0000 (08:38 +0100)]
Remove dead comments.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 11 Apr 2013 07:36:10 +0000 (08:36 +0100)]
Remove dead comment.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 11 Apr 2013 07:35:29 +0000 (08:35 +0100)]
Add missing EINTERN for init and shutdown functions.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 11 Apr 2013 07:33:59 +0000 (08:33 +0100)]
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>
Chris Michael [Thu, 11 Apr 2013 07:33:01 +0000 (08:33 +0100)]
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>
Chris Michael [Thu, 11 Apr 2013 07:32:04 +0000 (08:32 +0100)]
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>
Chris Michael [Thu, 11 Apr 2013 07:31:25 +0000 (08:31 +0100)]
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>
Chris Michael [Thu, 11 Apr 2013 06:05:33 +0000 (07:05 +0100)]
Handle mouse up and down events from the surface.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 11 Apr 2013 06:05:08 +0000 (07:05 +0100)]
Add support for mouse up and down events.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 10 Apr 2013 14:24:25 +0000 (15:24 +0100)]
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>
Chris Michael [Wed, 10 Apr 2013 14:23:01 +0000 (15:23 +0100)]
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>
Chris Michael [Wed, 10 Apr 2013 13:18:30 +0000 (14:18 +0100)]
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>
Chris Michael [Wed, 10 Apr 2013 10:01:52 +0000 (11:01 +0100)]
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>
Chris Michael [Wed, 10 Apr 2013 09:59:14 +0000 (10:59 +0100)]
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>
Chris Michael [Wed, 10 Apr 2013 09:58:38 +0000 (10:58 +0100)]
Add surface smart object to E_Wayland_Surface struture.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 10 Apr 2013 09:58:07 +0000 (10:58 +0100)]
Add surface smart object to build
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 10 Apr 2013 09:57:49 +0000 (10:57 +0100)]
Add code for start of surface smart object.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 9 Apr 2013 12:56:24 +0000 (13:56 +0100)]
Add start of desktop shell code.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 9 Apr 2013 12:41:48 +0000 (13:41 +0100)]
Fix desktop shell Makefile to include the wayland client cflags
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 9 Apr 2013 12:41:30 +0000 (13:41 +0100)]
Fix pkg-config for wl_desktop_shell module.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 9 Apr 2013 12:36:29 +0000 (13:36 +0100)]
Fix module_idler variable name (damn I cannot type today) :(
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 9 Apr 2013 12:36:11 +0000 (13:36 +0100)]
Fix up modules directory Makefile to include desktop shell.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 9 Apr 2013 12:22:34 +0000 (13:22 +0100)]
Actually declare the idler variable so things build (Oopsie).
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 9 Apr 2013 12:20:43 +0000 (13:20 +0100)]
Add start of desktop shell code.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 9 Apr 2013 12:16:42 +0000 (13:16 +0100)]
Add start of wl_desktop_shell module code.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 9 Apr 2013 12:16:22 +0000 (13:16 +0100)]
Add Makefile for wl_desktop_shell module.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 9 Apr 2013 12:15:58 +0000 (13:15 +0100)]
Add autofoo support for building wl_desktop_shell module.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 9 Apr 2013 12:04:30 +0000 (13:04 +0100)]
Add an idler to defer shell module loading.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 9 Apr 2013 10:31:50 +0000 (11:31 +0100)]
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>
Chris Michael [Tue, 9 Apr 2013 10:06:31 +0000 (11:06 +0100)]
Add function prototypes for surface_destroy and region_destroy.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 9 Apr 2013 10:03:14 +0000 (11:03 +0100)]
Add code to support initialize, setup and destruction of wayland
inputs (pointer, keyboard, touch).
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 9 Apr 2013 09:19:00 +0000 (10:19 +0100)]
Add start of a wayland compositor.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 9 Apr 2013 08:44:24 +0000 (09:44 +0100)]
Add wayland client egl support to build infrastructure.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 9 Apr 2013 08:40:54 +0000 (09:40 +0100)]
Add egl support for wayland clients to build infrastructure.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 9 Apr 2013 08:40:22 +0000 (09:40 +0100)]
Add headers and defaults for input support and egl support.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 9 Apr 2013 08:03:08 +0000 (09:03 +0100)]
Rename input rectangle object (oopsie).
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 9 Apr 2013 07:31:05 +0000 (08:31 +0100)]
Add header for a Wayland Compositor.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 9 Apr 2013 07:14:39 +0000 (08:14 +0100)]
Cleanup Wayland Client support build files.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 9 Apr 2013 07:13:13 +0000 (08:13 +0100)]
Cleanup Wayland Client support dependencies
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 9 Apr 2013 07:09:03 +0000 (08:09 +0100)]
Remove all old wayland compositor files.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Mike Blumenkrantz [Tue, 16 Apr 2013 11:37:24 +0000 (12:37 +0100)]
use e_zoomap_child_resize() in menu
Mike Blumenkrantz [Tue, 16 Apr 2013 11:37:11 +0000 (12:37 +0100)]
add e_zoomap_child_resize() to save my sanity