Chris Michael
de80a48fc3
When we unbind the data device or input device, we do not need to call
...
free().
Free the allocated strings after creating the keymap (leak--).
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-28 07:57:34 +01:00
Chris Michael
77e6d1c8e1
Update unbind of the data device to use wl_resource_get_link.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-28 06:50:26 +01:00
Chris Michael
bd3281c248
Revert "leak--: Store xkb_rule_names into Input structure so we can free the strings"
...
This reverts commit 87c1798281
.
NB: This actually causes a nasty crash on E shutdown, so I need to
come up with another solution.
2013-06-28 06:49:09 +01:00
Chris Michael
87c1798281
leak--: Store xkb_rule_names into Input structure so we can free the strings
...
on shutdown or keymap change.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-27 11:37:51 +01:00
Chris Michael
ee05616f33
Update wayland client support in the E compositor to work with recent
...
Wayland changes.
NB: Although the code does compile and clients do run, I RECOMMEND
that you do not use this feature right now. There is a current bug in
Wayland that is causing crashes when you close clients.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-26 09:23:13 +01:00
Chris Michael
8f02899b9a
Don't try to send an updated keymap if we have no keyboard resource.
...
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-09 09:40:50 +01:00
Chris Michael
04b331ecb3
Move setting of XDG_RUNTIME_DIR to e_main
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-28 07:05:00 +01:00
Chris Michael
d498c41467
As we need XDG_RUNTIME_DIR to be set before we can run wayland-clients
...
inside E, check if it is set, and if not set it.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-05-24 21:53:39 +01:00
Chris Michael
9d2f29f0ae
Add functions to allow wayland clients to run inside Enlightenment
...
again.
Wayland moved the input handling to be inside the "compositor" now, so
we need to add functions/support for that.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-13 09:03:43 +01:00
Chris Michael
ca1b15918d
Test for valid Wayland compositor before trying to shutdown.
...
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-05-04 14:35:01 +01:00
Chris Michael
f80097f0cb
Check for valid wayland compositor and display before dispatching.
...
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-05-04 12:26:25 +01:00
Chris Michael
b82cb14698
e_xkb_layout_get can return NULL so trap for that and only set the
...
names.layout below if needed.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:00 +01:00
Chris Michael
6f0a4a63bc
Start on code to allow Wayland Clients to render using EGL
...
Currently, all Wayland Clients render inside E using software
(regardless of E's compositor setting).
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-26 13:48:46 +01:00
Chris Michael
a07d830ce2
Add support for Dynamic Keymap changes in Wayland Clients.
...
Now, if you change E's keyboard layout, then Wayland Clients will also
dynamically change to the new keymap.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-26 13:48:46 +01:00
Chris Michael
243c9409c9
Add some additional error trapping for keyboard info initialization.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-17 13:29:26 +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
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
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
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
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
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
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
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
047920a9f3
Remove all old wayland compositor files.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:46:24 +01:00
Mike Blumenkrantz
9e8e755cdf
formatting: all at once
...
SVN revision: 82625
2013-01-11 10:34:29 +00:00
Lucas De Marchi
8cacf8429d
e: merge comp module into core
...
* Move compositor to core, but letting the configuration there
* Rename all files and functions from e_mod_comp_* to e_comp_*
* Move the config dialogs to a new module named conf_comp. It still
uses a domain config, otherwise it would not pick the current
user's configuration. Maybe it would be wise to later on move these
options to e_config
* Fixup the wizard mess linking the header in the build tree in order
to be able to create the config. Since now it's in core, we don't
need to play linking games in the build system
I'm not sure if the wayland part works. It was not even building
previously so I'll let for who cares about this to actually test and
report bugs.
SVN revision: 82454
2013-01-09 11:34:07 +00:00