Chris Michael
241ad6a789
add evas callback for kill request
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:07 -04:00
Chris Michael
36ff31e6b4
add evas callback for delete_request and fix printf warnings for
...
uint64_t
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:07 -04:00
Chris Michael
438bb71689
add evas callback for key up events
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:07 -04:00
Chris Michael
c9fe774f23
add evas callback for key down event
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:07 -04:00
Chris Michael
8cf2100e74
add evas callbacks for mouse wheel event
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:07 -04:00
Chris Michael
3b45f205a2
add evas callbacks for mouse up event
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:07 -04:00
Chris Michael
c5d50e050a
add evas callback function for mouse down event
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:07 -04:00
Chris Michael
5eb9ce9f34
add evas callback for mouse move on a surface
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:07 -04:00
Chris Michael
122d47e6e9
add evas callback for mouse out on a surface
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:07 -04:00
Chris Michael
2bd389f47c
remove some debug messages
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:07 -04:00
Chris Michael
2696821734
add callback for mouse in on the client.
...
Fix improper tiler_clear in surface_commit function.
Add fast-path in surface commit to skip processing regions & damage if
the client is not visible.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:07 -04:00
Chris Michael
7675825f61
add hook for evas callback hide so we can hide any video children
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:07 -04:00
Chris Michael
f64a570569
add hoook for evas show callback and show any video childs
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:07 -04:00
Chris Michael
22b793a96f
fetch pixmap id in opaque & input region set functions
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:07 -04:00
Chris Michael
270a394d45
add listener for comp_object_add event so we can setup evas callbacks
...
for a client.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:07 -04:00
Chris Michael
830239c60f
fix typo
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:07 -04:00
Chris Michael
c3a9474ae9
update todo
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:07 -04:00
Chris Michael
128d1f1d05
cleanup any pending input regions when we delete the client
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:07 -04:00
Chris Michael
6acad9508d
cleanup any pending opaque regions when we delete the client
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:07 -04:00
Chris Michael
9faf1e57d2
cleanup any remaning damage rectangles when we delete the client
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:07 -04:00
Chris Michael
6ff00a346c
add some comments about fetching resource data
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:07 -04:00
Chris Michael
cf61ded0c5
update resource data comment
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:07 -04:00
Chris Michael
e099e33858
add code to handle pending input regions during surface commit
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:07 -04:00
Chris Michael
d5bb9f9e8a
add code to handle pending opaque regions during surface commit
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:07 -04:00
Chris Michael
a6cb5bfe6c
add code to handle pending damages during surface commit
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:06 -04:00
Chris Michael
53f21f997c
add code to handle setting surface input region
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:06 -04:00
Chris Michael
5b2d5a58f6
add code to handle setting surface opaque region
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:06 -04:00
Chris Michael
fb9e9934cf
Add code to handle setting surface damages
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:06 -04:00
Chris Michael
ed649f2ab3
add code to handle regions (creating, destroying, setting)
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:06 -04:00
Chris Michael
12d1b5e40f
change damages to be a list
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:06 -04:00
Chris Michael
d3e232b51e
Start on surface commit code and improve some debugging messages
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:06 -04:00
Chris Michael
bac72a83f3
add internal function prototype for surface commit
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:06 -04:00
Chris Michael
988c875162
add hooks for client delete
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:06 -04:00
Chris Michael
8c661bb7fb
add code to hook the client new event
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:06 -04:00
Chris Michael
e655abfaa4
Add code to create the clients window hash
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:06 -04:00
Chris Michael
1dc1be5a7f
Implement code for surfaced attach
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:06 -04:00
Chris Michael
ccee62d069
Fix compile errors. Implement start of buffer code
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:06 -04:00
Chris Michael
7ace049cfb
unset pixmap resource when surface resource is destroyed
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:06 -04:00
Chris Michael
a4e6ea3348
add call to delete fd handler when we close the compositor
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:06 -04:00
Chris Michael
8963b3ff88
add start of surface implementation code
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:06 -04:00
Chris Michael
d350217ed5
remove debug noise in comp_wl_data
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:06 -04:00
Chris Michael
0e525db048
rename surface signal get function
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:06 -04:00
Chris Michael
7aab9b24a5
start on actual compositor interface code
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:06 -04:00
Chris Michael
8d54d20f8a
Fix printing of wayland log output
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:06 -04:00
Chris Michael
fd42a4ec98
Fix missing variable compiler warning
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:06 -04:00
Chris Michael
e0d301fdb6
add call to shutdown Ecore_Wayland
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:06 -04:00
Chris Michael
234953ad3e
add code to initialize Ecore_Wayland
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:06 -04:00
Chris Michael
0342998c79
set compositor wayland data
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:06 -04:00
Chris Michael
29c89083bd
add code to setup input & keyboard if we are using an X compositor
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:06 -04:00
Chris Michael
708e255730
add code to initialze input
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:06 -04:00
Chris Michael
8637842cf9
add code to initialize data manager
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:06 -04:00
Chris Michael
8010e7d8b9
add code to load desktop shell module
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:06 -04:00
Chris Michael
1005a6d299
add code to integrate wayland event loop with ecore_main loop
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:05 -04:00
Chris Michael
c776f016e3
add function call to initialize shm
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:05 -04:00
Chris Michael
a4db6d6485
rename compositor delete callback
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:05 -04:00
Chris Michael
59338704da
add code to create and bind the wayland compositor
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:05 -04:00
Chris Michael
de917436fd
add code to setup wayland compositor signals
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:05 -04:00
Chris Michael
aff78ea8a7
add code to create wayland display socket
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:05 -04:00
Chris Michael
6c76d16a33
add code to create new wayland display
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:05 -04:00
Chris Michael
edc0037655
add code to setup wayland logging function
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:05 -04:00
Chris Michael
62471b5b5b
add functions to create new compositor
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:05 -04:00
Chris Michael
5137277c93
set comp_gl if we have the correct engines available
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:05 -04:00
Chris Michael
6a06b8d7f2
add start of new compositor
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:05 -04:00
Chris Michael
054b87dc0d
remove useless return
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:05 -04:00
Chris Michael
e84c21469d
remove old wayland compositor file
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:05 -04:00
Jean-Philippe Andre
310c10bca8
Really fix the compilation with wayland
...
... I hope.
2014-10-24 19:26:55 +09:00
Jean-Philippe Andre
edb535a96e
Fix include order of EGL & Evas GL
...
Evas_GL.h must be included after EGL.h because it can then skip some
redefinitions of khronos typedefs.
2014-10-24 18:17:32 +09:00
Seunghun Lee
576c43df8b
Remove HAVE_WAYLAND_ONLY dependency from searching and enabling backend module.
...
Summary:
this patch allows to enable wl_drm module(if it's exsited) without setting E_WL_FORCE as a wl_drm under HAVE_WAYLAND_ONLY.
this patch also prevent a crash under below condition. running enlightenment with HAVE_WAYLAND_ONLY option and without set E_WL_FORCE occurs crash where try to refer E_Manager because E_Manager is created in wl_drm module.
Reviewers: devilhorns
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1549
2014-10-20 11:53:26 -04:00
Chris Michael
2b9b18e5fa
e-comp-wl: Enable sending of the surface_create signal from the
...
compositor and provide an API function to retrieve that signal (used
in a pending commit)
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-13 15:51:14 -04:00
Chris Michael
b072a54499
e-comp-wl: Reduce calls to wayland protocol functions. These are not
...
needed here and just waste extra cycles.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-13 15:49:52 -04:00
Chris Michael
ab6add8375
e-comp-wl: Support wl_display_add_socket_auto function
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-13 15:48:53 -04:00
Chris Michael
f882845b2d
e-comp-wl: Send the resource as data to the surface_create signal
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-13 15:47:23 -04:00
Chris Michael
5014b2965e
update wl_seat interface version so that gtk apps function...for
...
Daniel ;)
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-12 10:01:30 -04:00
Chris Michael
55ab9a8a39
fix resizing wayland clients by sending configure message if client is
...
Not maximized.
Apparently I broke resize when fixing maximize ... uggg.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-12 06:15:25 -04:00
Chris Michael
e93a5ce646
fix improper define which was causing uuid header to not be included
...
in certain cases.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-12 04:04:02 -04:00
Chris Michael
011600b54d
Don't resend a configure event after resize is done. This is part of a
...
xdg_shell maximize fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-06 15:56:48 -04:00
Chris Michael
e82da5e67a
cleanup compiler warnings when building for wayland-only
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-03 14:02:25 -04:00
Chris Michael
459492b9ad
don't define x selection notify handler if we are building for wayland-only
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-03 14:00:09 -04:00
Chris Michael
35cac300f3
Revert "don't clear 'changed' variable unless we are going to use it. (fixes"
...
This reverts commit 58cbf19c10
.
2014-10-03 13:45:16 -04:00
Chris Michael
81dcfd5f55
declare drag finished callback event if building for wayland-only
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-03 13:43:21 -04:00
Chris Michael
4f59146512
fix compiler warnings when building for wayland-only
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-03 13:35:34 -04:00
Chris Michael
66233ec6a7
fix compiler warnings when building for wayland-only
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-03 13:34:18 -04:00
Chris Michael
58cbf19c10
don't clear 'changed' variable unless we are going to use it. (fixes
...
compiler warning when building for wayland-only)
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-03 13:30:48 -04:00
Chris Michael
f252cd1bb5
fix compiler warnings when building for wayland-only
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-03 13:30:03 -04:00
Chris Michael
8889a0fc1c
remove ifdef's for compiling out e_dnd support in wayland-only mode
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-03 13:28:58 -04:00
Chris Michael
6dff3365e7
clean compiler warnings when building for wayland-only
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-03 13:28:42 -04:00
Chris Michael
20c59557db
only call ecore-x functions here if we are Not build for wayland-only
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-03 13:17:52 -04:00
Chris Michael
92c6e8799c
fix unused function paramters warning when building for wayland only
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-03 13:17:33 -04:00
Chris Michael
c27ba8b8c2
e-comp-wl: Update compositor for new xdg shell protocol
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-01 16:15:00 -04:00
Chris Michael
0071b63f06
e-comp-wl: Remove dead structure members
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-01 16:15:00 -04:00
Mike Blumenkrantz
8814d3ad28
client hooks should not continue to be called if the client has been deleted
2014-09-23 13:17:45 -04:00
Mike Blumenkrantz
57b5fd4d44
force comp render queue more aggressively to detect changes in nocomp
2014-09-23 10:31:04 -04:00
Mike Blumenkrantz
3aaa843a4f
comp render queue on every client resize instead of on unmaximize
2014-09-23 10:31:04 -04:00
Carsten Haitzler
9391d261ba
e_start - add ~/Applications/.bin to use for app bin searches
...
this is here to help for user installed apps
2014-09-21 00:21:16 +09:00
Stefan Schmidt
90daba7645
e_client: _e_client_cb_drag_finished is not used in wayland only mode
...
Mostly cosmetic as it avoid a warning of an unused function when compiling
for wayland only.
2014-09-19 09:56:10 +02:00
Mike Blumenkrantz
8ba2fb6d6f
add borderless theme for deskmirror clients to support various animations
2014-09-18 18:21:44 -04:00
Chris Michael
59f080f527
bugfix: Fix e_notification file having missing initializers for Eldbus
...
Messages & Signals
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-09-18 13:29:52 -04:00
Chris Michael
a6dc950040
bugfix: Fix e_msgbus file having missing initializers for Eldbus
...
Messages & Signals
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-09-18 13:29:15 -04:00
Mike Blumenkrantz
a0179c8c59
force render queue on unmaximize if client was fullscreen
...
fix T1665
2014-09-18 11:52:30 -04:00
Sebastian Dransfeld
764755eb9f
e: Add preferred desktop environment for apps
...
In preferences we show which external applications can be used for
setting preferences. If several desktop environments are installed, this
list will have several duplicates, as there can be many different apps
for setting a preference.
With this setting we can filter out for one desktop_environment.
@feature
2014-09-18 10:51:42 +02:00