Chris Michael
57b3c40ad1
cleanup unused code
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:36 -04:00
Chris Michael
6717b77001
Switch Wayland Compositor to use Eina_Tiler for damages, opaque, input, etc.
...
Add code to hold references to 'buffers'.
- Release 'buffers' After they have been rendered by the compositor.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:36 -04:00
Chris Michael
c6a3d4cfca
Add structures for a buffer and reference to a buffer.
...
Switch client_data structure to use eina_tiler for input, opaque,
damage regions.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:36 -04:00
Chris Michael
1d1d82ea12
fix botched 'git merge' from desktop_window_profile patch
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:36 -04:00
Chris Michael
4ab5c6deb5
fix up formatting of gwanglim's D966 patch
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:35 -04:00
Gwanglim Lee
ae76232c2c
add fullscreen_set handler for wl_shell_surface
...
Summary: fullscreen_set handler for wl_shell_surface
Test Plan:
1. run e wayland only server with devilhons's branch source (devs/devilhorns/e_comp_wl)
2. run elementary_test -to "window states"
3. select fullscreen check box on elementary_test surface
Reviewers: devilhorns, zmike, raster, stefan_schmidt
Reviewed By: devilhorns
CC: cedric
Differential Revision: https://phab.enlightenment.org/D966
2014-08-26 10:10:35 -04:00
Gwanglim Lee
93669a4db1
resource parameter is used in _e_shell_surface_cb_move
...
Summary: remove EINA_UNUSED of resource parameter in _e_shell_surface_cb_move
Test Plan: N/A
Reviewers: devilhorns, zmike, raster, stefan_schmidt
CC: cedric
Differential Revision: https://phab.enlightenment.org/D967
2014-08-26 10:10:35 -04:00
Chris Michael
5e7d2ce5d4
fix potential crash with e_comp_get.
...
e_manager_current_get Can return NULL so we should check that.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:35 -04:00
Chris Michael
2e24cc5760
cleanup e_pixmap code (remove debugging statements)
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:35 -04:00
Chris Michael
7a201e24da
add support for wl_shell surface move & resize
...
@feature
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:35 -04:00
Chris Michael
1238686136
set client shape rectangle properly based on input area
...
- fix wl client crashses (patch from gwanglim)
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:35 -04:00
Chris Michael
dc4e619dea
fix building for wayland-only when --enable-wayland-clients is not
...
specified
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:35 -04:00
Chris Michael
8c64e5c208
remove unncessary variable
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:35 -04:00
Chris Michael
0e643b36f7
only declare certain variables if we are building for X
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:35 -04:00
Chris Michael
7499b51b68
fix include of comp_wl header to work with wayland_only option
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:35 -04:00
Chris Michael
92fd5b4be1
add missing EINA_UNUSED
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:35 -04:00
Chris Michael
84f5c2f608
add checks for pixmap type being X before accessing the image (for
...
cases where we are running wayland clients)
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:35 -04:00
Gwanglim Lee
702e3f9763
added missing libuuid pkg name for wayland option
...
Summary: added missing libuuid pkg name to configure.ac
Test Plan: autogen.sh --enable-wayland-clients
Reviewers: devilhorns, zmike, raster, stefan_schmidt
Reviewed By: stefan_schmidt
CC: cedric, stefan_schmidt
Differential Revision: https://phab.enlightenment.org/D883
2014-08-26 10:10:35 -04:00
Chris Michael
79599394da
update various files for compositor structure changes
...
- X compositor
- shell module
- drm module
- x11 module
2014-08-26 10:10:35 -04:00
Chris Michael
1b7103323d
fix e_pixmap for compositor structure change.
...
remove memcpy of wl_buffer data.
NB: This Is REALLY not needed in ANY compositor !!!
NB: This DOES cause lots of current Failures within the existing X Compositor ... ie: Wayland Clients inside X do NOT work at this point :(
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:35 -04:00
Chris Michael
a6ed5677b2
update X compositor code for structure rename
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:35 -04:00
Chris Michael
df278c9a74
Several fixes for Wayland Compositor:
...
- post a wl_buffer release After rendering is completed.
- change code to follow compositor structure name
- when creating compositor (inside X), set input keymap
- don't set "reparent" for all new clients
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:35 -04:00
Chris Michael
0b0c464efd
fix e_client sructure for running wayland client applications inside X.
...
update compositor structure for ability to run X and Wayland Clients.
update wayland compositor data & input file(s) for data structure rename.
NB: Both the X compositor and the Wayland compositor have different
"client data" to store, so e_client structure needs different fields
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:35 -04:00
Chris Michael
ff06207d9c
make keymap match what drm uses by default
...
NB: this is all in the process of getting fixed...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:35 -04:00
Chris Michael
4da7f486fa
don't need to e_pixmap_ref here.
...
fix wayland client application resizing.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:35 -04:00
Chris Michael
9f56b2aafc
set delete_request for internal e_clients and add giant FIXME note for
...
internal windows
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:35 -04:00
Chris Michael
e35dba6caf
fix destroying pointer & keyboard resources on shutdown
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:35 -04:00
Chris Michael
c40d085ccf
check for existing pixmap when showing a window so we don't create a
...
new pixmap if we don't need to.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:35 -04:00
Chris Michael
61a08390b3
update wl_desktop_shell module
...
- Add support for xdg_shell
- rework to function with new wayland compositor
@feature
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:35 -04:00
Chris Michael
f031705442
update wl_x11 and wl_desktop_shell for new compositor
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:35 -04:00
Chris Michael
434219f758
rewrite wayland compositor:
...
- reduce memory usage
- remove duplicated pixmaps
- remove duplicated pointer images
@feature
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:35 -04:00
Chris Michael
5ea94188f5
remove EINA_UNUSED for parameter that is actually used
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:35 -04:00
Chris Michael
adf559a850
Add wayland compositor data & input files to build order
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:34 -04:00
Chris Michael
6fded4853d
rewrite e_pixmap code:
...
- reduce variable usage for non-x
- remove need to memcpy wayland buffer image data
- add function for setting pixmap buffer resource
- add shm_buffer access calls around getting wl_buffer data
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Additional authors: zmike
2014-08-26 10:10:34 -04:00
Chris Michael
688c5303f6
fix unused variables if building for wayland only
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:34 -04:00
Chris Michael
986c700ddb
remove pixman dependency
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:34 -04:00
Chris Michael
217d5a95bc
remove old wayland compositor and old shell files
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:34 -04:00
Mike Blumenkrantz
cef6ebd2db
fix post-effect stacking BITCH and post-effect transient stacking
2014-08-26 09:45:04 -04:00
Mike Blumenkrantz
e0125a483a
fix internal transient clients
2014-08-26 00:27:08 -04:00
Carsten Haitzler
525b963133
transient client windows - improve behavior
...
* if unplaced, place centered on transient-for on initial placement
rather that screen centered
* if transient.move and transient.resize options follow options are on
make transients floow as intended
2014-08-25 20:56:08 +09:00
Mike Blumenkrantz
21da3ed343
use comp object api function for shape cutting to prevent mirrors from getting shapes cut
2014-08-22 18:14:23 -04:00
Chris Michael
5494ada630
update README.wayland with some notes & fixes
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-22 10:28:50 -04:00
Mike Blumenkrantz
462d79e147
redo/simplify PRESENT usage in compositor to no longer use PRESENT
...
keith said no
2014-08-22 09:56:11 -04:00
Chris Michael
2ef8c50a09
conf_intl: Fix disbling of language list box and configure button
...
This fixes ticket T1526 - Selecting no input method would still allow
the configure button to be pressed, and items selected from the
language list.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-21 14:15:49 -04:00
Wonguk Jeong
08c35a7934
teamwork: pause media on closing
...
Due to stupid_obj_del_workaround_hack, sound comes out during 3sec
even if media has been disappeared. Although the 3sec workaround should be gone,
pause media on close to fix the side effect.
2014-08-21 18:58:34 +02:00
Mike Blumenkrantz
22c4f68d65
fix ibox eo errors
2014-08-20 18:05:34 -04:00
Mike Blumenkrantz
7c55f465dd
fix ibox eo errors
2014-08-20 18:03:07 -04:00
Tom Hacohen
4b24177b4c
Tiling: Fix applying tiling on enable with a new config.
...
Tiling wasn't being applied when enabling it with a new config because
we were comparing with the old config instead of just always applying.
This fixes T974.
2014-08-20 11:02:20 +01:00
Mike Blumenkrantz
164d1506bd
properly return done in tw download cbs
2014-08-19 17:49:55 -04:00
Wonguk Jeong
d44d042645
teamwork: fix shadow frame during previewing .ogg
...
if the frame size is invalid on "frame_decode", stop previewing.
It will filter out audio or invalid video previewing
Fixes T1400
2014-08-19 16:21:22 +02:00