Mike Blumenkrantz
a4b1d63fea
fix internal window closing with frame button
2014-11-21 13:34:32 -05:00
Mike Blumenkrantz
eaa471b418
resolve recent coverity complaints
2014-11-21 10:21:13 -05:00
Daniel Kolesa
bd95c310ec
remove obsolete E_Hal.h include
2014-11-21 14:34:48 +00:00
Mike Blumenkrantz
ce8a4a2b78
remove ec->changes.internal_props
...
this should be set directly on the win using evas/elm apis
2014-11-20 15:26:22 -05:00
Mike Blumenkrantz
a44b172607
minor tweaks to prevent harmless invalid reads during restarts with windows open
2014-11-20 15:26:22 -05:00
Mike Blumenkrantz
462c2ef4aa
rename elm win trap functions for easier namespace debugging
2014-11-20 15:26:22 -05:00
Mike Blumenkrantz
ffa98586a4
add macro wrapper to force elm win accel disabling on internal windows
2014-11-20 15:26:21 -05:00
Mike Blumenkrantz
99589eb5af
remove E_Win+e_canvas, convert all internal wins to use elm_win
...
known issues:
* keybindings for efm windows (eg. ctrl+w) are broken until the rest of the conversion is completed
2014-11-20 15:26:21 -05:00
Sebastian Dransfeld
23ade9f630
randr: fix formatting
...
tab to spaces
2014-11-19 11:58:50 +01:00
Marcel Hollerbach
c2f596a06a
Fix wrong deskshow function
...
Summary:
The loop E_CLIENT_REVERSE_FOREACH was used to iconify and uniconify the
icons. The worked well for uninconify.
But if the first client with the focus gets iconifyed the lower one in
the stack will get the focus and will be raised to the top, but the loop
will continue with the next of the now iconifyed e_client, so this one
will be skipped.
Now the forward loop is used to iconify and the reverse to uniconify the
e_clients.
This fixes T1797
Reviewers: zmike
Reviewed By: zmike
Subscribers: cedric, cippp
Maniphest Tasks: T1797
Differential Revision: https://phab.enlightenment.org/D1655
2014-11-12 20:49:46 +01:00
Chris Michael
69c71a16bb
e-comp-wl: Implement client idler for sending configure during resize.
...
Cleanup surface commit function to work with new pixmap caching code.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-11-10 11:58:20 -05:00
Chris Michael
4dfdfe2428
Implement caching of pixmap resources for wayland clients.
...
Move sending of frame completion to the image_draw function.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-11-10 11:55:18 -05:00
Chris Michael
2e0168359e
e-comp: Return proper post value for wayland clients during
...
client_update
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-11-10 10:20:49 -05:00
Chris Michael
3ef4ca19bc
Fix incorrect return value when creating native surface for wayland
...
clients
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-11-07 13:15:10 -05:00
kabeer khan
d36166f4af
e_startup: Added dialog to notify user to fix his dbus setup
...
Summary:
Resolved TODO in e_startup, In case of dbus error added dialog
box to notify user to fix his dbus setup
Signed-off-by: kabeer khan <kabeer.khan@samsung.com>
Reviewers: zmike, devilhorns
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1648
2014-11-07 08:34:00 -05:00
Mike Blumenkrantz
5172b7f3f9
add alignment client menu
...
for everyone with window placement ocd who doesn't tile
2014-11-05 15:04:10 -05:00
Chris Michael
7f8387b4bc
e-comp-wl: Fix keyboard input with wayland clients when running in X11.
...
Don't run client_post_new hook for deleted clients.
Start work on client pre_frame hook.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-11-05 10:00:06 -05:00
Chris Michael
dcffab5c82
e-comp-wl: Clip shape rectangles to client size
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-11-05 10:00:06 -05:00
Chris Michael
19df35bdbf
e-comp-wl: Hook into post_new_client event so we can setup hints and
...
export any shape changes
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-11-05 10:00:06 -05:00
Chris Michael
86617fe717
e-comp-wl: Set e_client properties on subsurface E_Client
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-11-05 10:00:06 -05:00
Mike Blumenkrantz
f66fd04b82
fix signal emission on selected ilist item icons
2014-11-03 17:07:19 -05:00
Chris Michael
2d7ca6d2eb
e-comp-wl: Implement callback for surface resource destroy
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-11-03 15:10:38 -05:00
Chris Michael
9ebf046e41
e-comp-wl: Remove unnecessary todo item
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-11-03 14:48:19 -05:00
Chris Michael
8a08e17603
e-comp-wl: Implement subsurface parent commit function
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-11-03 14:47:14 -05:00
Chris Michael
4de0a40d0c
e-comp-wl: Implement subsurface commit_to_cache and commit_from_cache
...
functions
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-11-03 14:47:14 -05:00
Mike Blumenkrantz
a9495340f6
fix internal window border changing
2014-11-03 14:10:17 -05:00
Chris Michael
d3aed14ebc
e-comp-wl: Fix various compile errors
...
Summary: add function prototype for subsurface_parent_commit, fix a
few typos which broke compile
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-11-03 12:50:07 -05:00
Chris Michael
1b3c77bbe9
e-comp-wl: Start on implementing subsurface commit functions
...
NB: Not complete yet
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-11-03 12:27:13 -05:00
Chris Michael
41fe2c901a
e-comp-wl: Add internal function prototype for subsurface commit
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-11-03 12:27:13 -05:00
Chris Michael
ff77a2fa08
e-comp-wl: Implement subsurface place_below function
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-11-03 12:27:13 -05:00
Chris Michael
979ba2f467
e-comp-wl: Implement subsurface place_above function
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-11-03 12:27:13 -05:00
Chris Michael
ee9e9a51ee
e-comp-wl: Implement subsurface desynchronized_set function
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-11-03 12:27:13 -05:00
Chris Michael
60c967a5ba
e-comp-wl: Implement subsurface synchronized_set function
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-11-03 12:27:13 -05:00
Chris Michael
393f3c90dd
e-comp-wl: Implement subsurface position set function
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-11-03 12:27:13 -05:00
Chris Michael
78fe19065f
e-comp-wl: Implement subsurface destroy callbacks
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-11-03 12:27:13 -05:00
Chris Michael
c817d83793
e-comp-wl: Destroy subsurface resource in destroy callback
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-11-03 12:27:13 -05:00
Chris Michael
f53fc6648c
e-comp-wl: Start to reimplement subcompositor and subsurface support
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-11-03 12:27:13 -05:00
Chris Michael
c1c3a90f3c
e-comp-wl: Cleanup wayland compositor header
...
Summary: Changes subsurface data structure name, changes cached
damages to be a list (matching surface data structure).
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-11-03 12:27:12 -05:00
Carsten Haitzler
3405362b1d
e_auth - null out compilert memset opts like lokker
2014-11-03 18:54:24 +09:00
Chris Michael
103a980adb
e_comp_wl: Remove unused variables
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-31 14:38:29 -04:00
Chris Michael
a716f41327
e_comp_wl: add support for priority raise/normalize during focus events
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-31 14:38:24 -04:00
Chris Michael
db795bbb5d
e-comp-wl: Make new compositor functional.
...
- Remove client_window_hash (not needed).
- Add hook for evas resize and update surface (configure_send) during resize.
- Remove old buffer_refenerce mechanism
- Refresh pixmap on surface commit
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-31 12:33:09 -04:00
Chris Michael
770b3e5f26
change comp_wl_data structure to store the wl_resource of the client
...
buffer. No longer dealing with reference buffers.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-31 12:27:41 -04:00
Chris Michael
240d651d2f
send wl_buffer release after we have drawn this pixmap
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-31 12:26:50 -04:00
Chris Michael
c0c911af91
e_comp_wl: Implement surface frame callback support
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:08 -04:00
Chris Michael
89ae4607c9
e_comp_wl: Add hooks for focus in/out events so we can set wayland focus
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:08 -04:00
Chris Michael
1bc93687db
e_comp_wl: Cleanup resizing of wayland clients. This hooks into
...
various resize callbacks to set/unset the resize edges and to update
the surface size.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:08 -04:00
Chris Michael
458ce8e86f
remove call to release compositor buffer reference in e_pixmap. This
...
is handled differently now.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:08 -04:00
Chris Michael
d2360f569c
e-comp-wl: Remove resize.width & height from structure
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:08 -04:00
Chris Michael
87d9872b4c
e-comp-wl: Que a buffer release after we have committed the pending buffer
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:08 -04:00
Chris Michael
4b1e0e589e
e-comp-wl: Comment out EGL include
...
This fixes a build error from evas engine already including EGL headers
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:08 -04:00
Chris Michael
3cf2088ee7
fix formatting
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:08 -04:00
Chris Michael
b410042f7f
remove debug messages for mouse in/out
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:08 -04:00
Chris Michael
e04343eaaa
add checks in client focus/unfocus to test for wayland client
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:08 -04:00
Chris Michael
72dac4e751
add callbacks for client focus/unfocus
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:07 -04:00
Chris Michael
7ea9df0f53
add evas callback for client resize
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:07 -04:00
Chris Michael
65b397a84f
add evas callback for color_set
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:07 -04:00
Chris Michael
59e431d838
add evas callback for ping event
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 10:39:07 -04:00
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
Carsten Haitzler
c621f82b51
e backlight - limit min to 0.05 to avoid totally off backlight
...
this seems new, but if you set backlight to 0 it isnt at minimum, but
is entirely off on my intel laptop and this is not what was desired
with bl level of 0, so limit to 0.05 for now to avoid accidentally
turning your screen off. might fix this later to allow explicit off -
but this should use dpms etc. to turn the screen off as well as
possible scanout etc.
2014-09-17 15:04:32 +09:00
Mike Blumenkrantz
35a708a397
end nocomp on nocomp end...always
2014-09-16 10:44:55 -04:00
Mike Blumenkrantz
681b1f4312
manually break out of nocomp
...
in the event that there was only one window open and it was closed, this would permanently break the compositor
fix T1665
2014-09-16 10:39:34 -04:00
Mike Blumenkrantz
4e3b05b11f
check protocol visibility for nocomp breaks, not comp object visibility
...
new comp objects are never going to be visible during nocomp
2014-09-16 10:38:02 -04:00
Mike Blumenkrantz
56f898d36c
don't add nocomp damages for input-only windows
2014-09-16 10:37:28 -04:00
Chris Michael
1cd25a1595
Revert "bugfix: When we free the pixmap, clear any user data set on the resource"
...
This reverts commit b41dbbe9cf
.
Revert this ... it works, but it's not the "proper" fix as it just
causes the crash(s) to happen elsewhere ... time to dig deeper
2014-09-10 10:24:07 -04:00
Chris Michael
b41dbbe9cf
bugfix: When we free the pixmap, clear any user data set on the resource
...
This was a cause of some memleaks/crashes in the wayland compositor
because the compositor was trying to access properties of the E_Pixmap
after it had already been freed. By setting the user_data to NULL, the
functions in the compositor which were failing will now stop trying to
access the pixmap after it's been freed.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-09-10 09:49:53 -04:00
Mike Blumenkrantz
ec1cd25cfe
rename E19* defines/texts to just E so they don't need to keep being updated
2014-09-09 12:30:50 -04:00
Stefan Schmidt
452048354d
e_fm: Include config.h to know about HAVE_UDISKS_MOUNT
...
We are checking for the various mount options here given by configure.
-Wundef showed that we might not have the defines right so better
include config.h here.
2014-09-09 10:44:21 +02:00
Mike Blumenkrantz
20a5b2bc18
fix nocomp skipping for skippable objects
...
fix T753
2014-09-08 09:12:21 -04:00
Mike Blumenkrantz
0cf20e5407
fix e_randr double comparison warnings
2014-09-07 23:02:38 -04:00
Mike Blumenkrantz
a69a5a1796
add dblequal() util function to be used for addressing the infinite comparison warnings
2014-09-07 23:02:32 -04:00
Mike Blumenkrantz
93e0dd20c0
add docs for all the comp_object data keys
2014-09-07 12:49:19 -04:00
Mike Blumenkrantz
a81707a507
throw CRI on e_object type errors
2014-09-07 12:35:50 -04:00
Mike Blumenkrantz
0028c7aea3
fix client positioning when initial position is offscreen or size is huge
...
ref T1571
2014-09-07 12:35:45 -04:00
Mike Blumenkrantz
30bd5e4a0d
remove misleading old comment
2014-09-07 11:45:31 -04:00
Mike Blumenkrantz
0988340f81
add another main loop iteration after resuming for desklock visibility
...
fix T1498
2014-09-07 11:15:17 -04:00
Mike Blumenkrantz
7448e3706c
simplify eeze backlight detection
2014-09-07 09:25:16 -04:00
Mike Blumenkrantz
1c9d1b2de1
only default to led subsystem backlight if it isn't a mail or kbd device
...
fix T1497
do backlights with subsystem=leds still exist or have they fixed that yet?
2014-09-07 09:25:16 -04:00
Chris Michael
7645f39446
remove useless return
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-09-05 15:52:09 -04:00
Mike Blumenkrantz
721dfe82c2
add e_auth_hash_djb2 inline
...
all eina hash functions are now useless for any case where the hashed value needs to be stored, so it's necessary for e to provide its own hash function to use for password storage
2014-09-05 15:02:10 -04:00
Mike Blumenkrantz
6318fd042b
add short path to ensure ConfigureNotify event after request
...
fix T1485
2014-09-05 15:01:52 -04:00
Mike Blumenkrantz
33ff637a7c
fix pointer crashes from wrong #ifdefs in 1f439893f1
2014-09-05 14:29:39 -04:00
Mike Blumenkrantz
fdcd207323
clean up function/macro use in e_pointer
2014-09-05 14:27:59 -04:00
Chris Michael
2b8d76747d
Revert "bugfix: Set pointer timer & poller members to NULL after we delete the"
...
This reverts commit bb2dab1a5d
.
Revert this because the macro already sets the pointers to NULL.
2014-09-05 12:27:01 -04:00
Chris Michael
bb2dab1a5d
bugfix: Set pointer timer & poller members to NULL after we delete the
...
timer/poller
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-09-05 11:40:00 -04:00
Stefan Schmidt
47d2987208
e_module: Remove dead code after return statement.
...
Never executed as we retrun before in any case.
CID 1039762
2014-09-05 14:25:15 +02:00
Stefan Schmidt
c281d6da82
e_alert_main: Don't monitor in E in wayland only mode to avoid endless restarts
...
When running in Wayland only mode we don't have XCB available so a
xcb_connection would fail and we would restart endlessly.
I have been bitten by that often enough now. Better shutdown E cleanly and don't
use the watchdog functionality for now. This needs a wayland specific solution
anyway.
2014-09-05 12:12:13 +02:00
Stefan Schmidt
99f9244d1c
e_comp_wl: Remove unused variable and mark parameter as unused.
2014-09-05 11:54:45 +02:00
Chris Michael
ffe713d0df
bugfix: use existing compositor canvas pointer as the windows pointer
...
when doing wayland windows (internal dialogs), and in such a case
don't free the window pointer on window hide/destroy.
NB: This fixes the case when running wayland-only and dialogs would
actually show 2 pointers.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-09-04 15:55:18 -04:00
Chris Michael
1f439893f1
bugfix: handle case of pointer_xy_get being called if we are not
...
wayland-only and also not working with an X client.
bugfix: Fix case of pointers_size_set not adjusting pointer structure
fields with new size when rendering wayland pointers.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-09-04 15:51:46 -04:00
Chris Michael
b92b34621c
e-comp-wl: Remove blank line
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-09-04 12:50:41 -04:00
vivek
ded8356fc7
e_comp_wl: Handle surface opaque region in subsurface commit from cache
...
Summary: When we commit a subsurface from cache, we should adjust the
client's shape rectangles so that they get applied when rendering.
Signed-off-by: vivek <vivek.ellur@samsung.com>
Reviewers: devilhorns
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1412
2014-09-04 12:49:54 -04:00
Igor Murzov
aba7a8c9d5
Improve messages in bindings configuration dialogs
2014-09-03 18:04:19 +04:00
Mike Blumenkrantz
5733e7b3f7
non-client comp object creation checks "noshadow" edje flag on passed objects
...
returns theme functionality from e17
2014-09-03 09:46:27 -04:00
Mike Blumenkrantz
8a10f288ad
use a non-conflicting data item for comp mirror creation
2014-09-01 14:22:44 -04:00
Mike Blumenkrantz
74c3e0a979
shorten rendering path when creating comp mirrors from comp mirrors
2014-09-01 13:55:02 -04:00
Mike Blumenkrantz
77c63e0387
redo comp object util refs to be more consistent and not break evas
2014-09-01 10:30:53 -04:00
Mike Blumenkrantz
44545b53a9
don't break nocomp for client activate requests
2014-09-01 10:30:53 -04:00
Mike Blumenkrantz
cdaa53fc8f
only add damages for nocomp clients if they are protocol-visible
2014-09-01 10:30:53 -04:00
Mike Blumenkrantz
e949fcc077
only use pixmap size shortcut on non-internal clients
...
this gets broken pretty easily since we resize all over the place
2014-09-01 10:30:53 -04:00
Mike Blumenkrantz
79b1f37a36
fix stupid pixmap refresh logic
2014-09-01 10:30:53 -04:00
Davide Andreoli
54e039c0ac
Fix gadcon popup to reposition correctly on size changes
...
None was setting the visible flags, that is checked before reposition the popup
2014-08-31 15:34:36 +02:00
Gwanglim Lee
00690dab17
added mobile policy module
...
Summary: mobile policy module provides user interface for small mobile devices like phones.
Test Plan: N/A
Reviewers: raster, devilhorns, zmike
Subscribers: seoz, zmike, cedric
Differential Revision: https://phab.enlightenment.org/D817
2014-08-29 13:48:01 -04:00
Seunghun Lee
e3f4f0f976
set the maximized valuable of E_Client before calling _e_client_frame_update when unmaximize the client.
...
Summary: since maximized valuable is used in _e_client_frame_update, so the valuable should be updated.
Test Plan:
(1) run any application.
(2) Maximize the app by key binding.
(3) Change the border type.
(4) Unmaximize the it by key binding.
(5) try to maximize it again, but couldn't
Reviewers: zmike
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1357
2014-08-29 13:46:25 -04:00
Mike Blumenkrantz
7b8ad92604
set X pixmap size on client init
2014-08-28 13:30:07 -04:00
Chris Michael
e8b3be70ab
fix dnd compiler warnings when building for wayland-only
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-28 12:36:02 -04:00
Chris Michael
18f5337fa3
fixed backlight compiler warnings when building for wayland-only
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-28 12:33:10 -04:00
Chris Michael
8e4a45a40e
fix e_screensaver_update compiler warnings when building for
...
wayland-only
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-28 12:30:29 -04:00
Chris Michael
46e960397d
fix unused variable if building for wayland-only
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-28 12:22:09 -04:00
Chris Michael
3edef4a1a8
remove call to show pointer during canvas_new function
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-28 12:10:09 -04:00
Chris Michael
7f9eefbd7b
destroy pointer when destroying window since we create new pointers
...
for every window again.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-28 11:40:19 -04:00
Chris Michael
e9807c5ba7
add fixme note
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-28 11:40:19 -04:00
Chris Michael
63b5da69f0
fix pointer for stupid X11...but this breaks pointers in wayland (for
...
now) :(
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-28 11:10:07 -04:00
Chris Michael
6440aa513f
create window pointer based on compositor type
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-28 11:08:36 -04:00
Chris Michael
28b512d5a7
fix X compositor to use e_pointer_window_new
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-28 11:01:46 -04:00
Chris Michael
88e61f09cc
add back 'pixels' field structure for pointer
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-28 11:00:22 -04:00
MinJeong Kim
73ce914020
Check whether attached buffer exists, before using it.
...
Summary:
Because attached buffer can be NULL for removing surface content,
check of pending.buffer should be done before getting resource value of the buffer.
Reviewers: devilhorns
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1370
2014-08-27 08:26:38 -04:00
Jérémy Zurcher
25aabe7aa7
add missing 'pragma GCC diagnostic push'
2014-08-27 09:22:27 +02:00
Chris Michael
6b56465bac
use a new e_pointer for the window canvas
...
This fixes an issue where internal dialogs were not using the e
cursors but would default back to an x cursor
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 14:36:57 -04:00
Chris Michael
7840d11459
be sure to send the wl_data_device_send_enter when changing surface
...
focus and add some more debugging for dnd
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 14:11:28 -04:00
Chris Michael
78bcbfff35
trap return value of shm_buffer_get
...
This function Can fail to return an shm_buffer if the buffer_resource
is an EGL buffer.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 14:06:57 -04:00
Chris Michael
559d53bc5d
Add checks for client being a wl pixmap in some functions
...
If we don't do this, then when we run in X11 with wl client support,
we crash in various places (iconify, etc) when trying to work with
normal X clients.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:39 -04:00
Chris Michael
4bc11ee5d5
fix dereference of incomplete pointer type
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:39 -04:00
Chris Michael
b10c0d91ab
Fix formatting
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:39 -04:00
Mike Blumenkrantz
f56a08fc6c
move wl client_resize protocol calls to idler
2014-08-26 10:10:39 -04:00
Mike Blumenkrantz
e7a0b193f3
automatically enable pointer and keyboard for wayland-in-X
2014-08-26 10:10:38 -04:00
Mike Blumenkrantz
362a9b6cce
reuse existing render post callback for wayland clients
2014-08-26 10:10:38 -04:00
Chris Michael
4066cf2ca9
Reduce usage of EC_CHANGED.
...
Lock subsurface border type to borderless.
Remove commented out code.
Don't mark border.changed during pre_frame callback.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:38 -04:00
Chris Michael
6485968ca0
reorder client idler and stacking functions so we can call them after
...
post_move.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:38 -04:00
Chris Michael
a15eaa46c4
Reduce potential of unnecessary function calls:
...
- When we are doing client eval, don't check for Just changes in
property OR fetching. Rather we will check using an AND.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:38 -04:00
Chris Michael
dba9916abe
Remove NULL checks for valid client->comp_data ... let the crashing begin !!
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:38 -04:00
Chris Michael
201918eca8
Add ERR messages for EINTERN & EAPI functions.
...
Remove NULL checks ... let the crashing begin !!
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:38 -04:00
Chris Michael
d1e4cf0be8
Add error messages in EINTERN & EAPI functions.
...
Remove NULL checks ... let the crashing begin !!
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:38 -04:00
MinJeong Kim
6b808e2f3f
Remove unwanted NULL check in internal function
...
Summary: Remove unwanted NULL check in internal function.
Reviewers: gwanglim, devilhorns, zmike
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1250
2014-08-26 10:10:38 -04:00
Mike Blumenkrantz
3b649534c9
Fix building Enlightenment for X11-only, Wayland-Only, and X11 with Wayland clients.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Additional authors: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:38 -04:00
Chris Michael
5448f0a1ac
handle setting any pending opaque regions during surface commit and
...
cleanup the input region code also
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:38 -04:00
Chris Michael
0ba4fecd76
change client transient_for id to uint64_t
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:38 -04:00
MinJeong Kim
f0ba92d39e
Add simple clipboard based on wayland protocol
...
Summary:
Whenever any client requests new selection_set,
the data is saved to server-side clipboard directly on this revision.
So data device is able to keep data which is copied from client app have closed already
and is able to provide those data to new focused surface before coming new selection_set request.
Reviewers: devilhorns
Subscribers: cedric, gwanglim
Differential Revision: https://phab.enlightenment.org/D1165
2014-08-26 10:10:38 -04:00
Seunghun Lee
1370d6bd32
Implement wayland subsurface support based on E_Client.
...
Summary: Support subsurface interface of wayland.
Test Plan:
1. Build enlightenment on devs/devilhorns/e_comp_wl branch.
2. Run enlightenment.
3. Run weston-subsurfaces
- should be built after removing code of gl surface (not yet implemented)
- just comment out the line egl_state_create in function of demoapp_create()
Reviewers: gwanglim, devilhorns
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1182
2014-08-26 10:10:38 -04:00
Gwanglim Lee
a96d7290f5
Add missing wl_resource_destroy
...
Summary:
There are no resource free codes in xdg shell destroy handler
and xdg popup destroy handler. e should delete wayland resource as
client requested.
Test Plan:
1. run e as wayland server
2. run weston-stacking in e
3. click with right mouse button to create xdg popup surface
4. click main surface area to delete xdg popup surface
Reviewers: devilhorns, zmike, raster
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1196
2014-08-26 10:10:38 -04:00
Chris Michael
7418547f76
Don't run xrdb or xmodmap when we are wayland only
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:38 -04:00
Seunghun Lee
e5f293214d
move the part of code for fetch transient_for in eval time to _e_shell_surface_parent_set().
...
Summary:
we need to set ec->parent before eval time.
that's because client can request to commit surface calling shell.configure() before eval time.
in this case, ec->parent isn't set yet, configure(move) will be failed.
in order to fix it, we have to set ec->parent in _e_shell_surface_parent_set() before eval time,
but we should check if ec already have parent, and if so, remove its parent's transients before change the value of ec->parent.
Test Plan: N/A
Reviewers: devilhorns
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1177
2014-08-26 10:10:38 -04:00
MinJeong Kim
2799388093
Fixed trying to create damage area with 0x0 size
...
Summary:
This revision fixed failure to create damage area using Eina_Tiler on surface damage callback.
It was caused by trying to create Eina_Tiler with 0x0 size which is from size of E_Client.
Test Plan:
1. Run elementary_test.
2. Select one of the test apps.(no more magic fail message)
Reviewers: zmike, devilhorns
Reviewed By: devilhorns
Subscribers: cedric, gwanglim
Differential Revision: https://phab.enlightenment.org/D1171
2014-08-26 10:10:38 -04:00
MinJeong Kim
ed16127395
Add focus surface setting of keyboard for copy and paste between clients
...
Summary:
To enable copy and paste between clients,
wayland data device requires to know what surface is focused.
So this revision have make keyboard get focused surface when client is focused or unfocused,
and create data_offer for new focused surface in order to let new focused surface be able to get data from current selection data_source.
Test Plan:
1. Run wayland server
2. Run elementary_test -to entry5 on wayland server.
3. Run elementary_test -to entry5 on wayland server again. (preparing two clients)
4. Copy text on one of clients, and paste to the other.
Reviewers: devilhorns
CC: gwanglim, cedric
Differential Revision: https://phab.enlightenment.org/D1157
2014-08-26 10:10:37 -04:00
Seunghun Lee
2b21742a91
Added conversion for image format to ARGB from XRGB for wayland. evas_object_image_data_set will be used instead of evas_object_image_data_copy_set.
...
Summary: this patch will provide to launch the application based on XRGB8888 like weston-simple-shm.
Test Plan: launch weston-simple-shm
Reviewers: devilhorns, zmike, raster
CC: cedric
Differential Revision: https://phab.enlightenment.org/D1137
2014-08-26 10:10:37 -04:00
Seunghun Lee
0667d4ce34
Change time unit to milli-second from second when send event of frame done for wayland client.
...
Summary: that's because weston sample client supposed that the time passed by frame callback is milli-second.
Reviewers: devilhorns, zmike, raster
CC: cedric
Differential Revision: https://phab.enlightenment.org/D1133
2014-08-26 10:10:37 -04:00
Seunghun Lee
6a1ef8b846
map/unmap surface in committing surface should be valid, only when buffer is newly attached. check if buffer is newly attached, when do map/unmap surface.
...
Summary:
There is a case that client do commit twice after one wl_surface_attach.
In this case, even if no buffer attached, unmapping the surface.
Because server already clear the buffer in first commit.
This patch fixes it.
Reviewers: devilhorns, zmike, raster
CC: cedric
Differential Revision: https://phab.enlightenment.org/D1115
2014-08-26 10:10:37 -04:00
MinJeong Kim
b9caebbf7b
Add missing function
...
Summary:
Added missing function _e_comp_wl_data_find_for_client.
@fix
Reviewers: devilhorns
CC: cedric
Differential Revision: https://phab.enlightenment.org/D1102
2014-08-26 10:10:37 -04:00
Chris Michael
5481440c75
Fix formatting.
...
Rename data_resource_list to data_resources.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:37 -04:00
MinJeong Kim
450206b599
Implement selection copy & paste using data interfaces of wayland
...
Summary: It supports selection copy & pasete with wl_data_device_manager, wl_data_device, wl_data_offer and wl_data_source.
Test Plan:
1. Build enlightenment on devs/devilhorns/e_comp_wl branch.
2. Run enlightenment.
3. Run elementary_test -to entry5 (or any entry samples).
4. Select any block of text.
5. Do copy the block and Copy anywhere you want.
Reviewers: gwanglim, devilhorns
CC: cedric
Differential Revision: https://phab.enlightenment.org/D1094
2014-08-26 10:10:37 -04:00
Chris Michael
8c90407ce7
use the pointer from the compositor for e_win and don't free the pointer when the window closes
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:37 -04:00