Commit Graph

19136 Commits

Author SHA1 Message Date
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
Chris Michael 7cb087238d wl-desktop-shell: Don't call e_client_ping here.
Summary: As pointed out by shiin, this causes an infinite loop due to
e_client_ping already been called in the pre_frame callback. Thanks
for spotting this !! :)

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30 08:41:04 -04:00
vivek bcd3c6de49 wl_desktop_shell: Fixed the issue to check if wl surface is active or hung up
Summary:
The patch will setup e_client_cb_ping_poller and as long as wl_surface is
active it will unset hung

Signed-off-by: vivek <vivek.ellur@samsung.com>

Reviewers: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1608
2014-10-29 10:38:06 -04:00
Chris Michael 9ad13e4fcc wl_desktop_shell: Fix formatting
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-29 10:35:24 -04:00
vivek 0a60b1c553 wl_desktop_shell: Fixed the issue to check if client is active or hung up
Summary:
The patch will setup e_client_cb_ping_poller and as long as surface is
active it will unset hung

Signed-off-by: vivek <vivek.ellur@samsung.com>

Reviewers: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1607
2014-10-29 10:34:26 -04:00
vivek 5f57c472b2 wl_desktop_shell: Implemented function to show xdg shell surface menu
Summary:
Implemented _e_xdg_shell_surface_cb_window_menu_show internal function
to show window menu.

Signed-off-by: vivek <vivek.ellur@samsung.com>

Reviewers: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1606
2014-10-29 09:51:28 -04:00
Tom Hacohen d8b473b5c3 tiling: fix coding conventions and style.
Should have been squashed into the previous commit. :(
Anyhow, this fixes conventions and some potentially
dangerous style choices.
2014-10-29 08:25:04 +00:00
Marcel Hollerbach 4c0f0c638f tiling: Implemented tiling window position manipulation
Summary:
This implements the possibility to "break out" a node in the tree which
means that the node will be appended or prependen to the parent in the
grandparent.

The other function "joins" the node to the node before or after.
Basically it will be added as a child, and if necessarry the client
of this node will be added in a new Window Tree and also added as a child.

With the new actions you can move the focused window right/left/up/down
with keybindings.

If the window will "break out" or "join" depends on the parent split type.

Sample:
1|4|6
2|4|6
3|5|6

(Same Number means same Window)

1 is focused.
Left Key is pressed.

1 is in a vertical split so the window will "break out".
Result:
2|1|4|6
2|1|5|6

Now another key:
Down Key is pressed.

1 is in a vertical split so the window will "join".
Result:
1|2|4|6
3 3|5|6

@feature

Fixes T1350

Reviewers: tasn

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1382
2014-10-29 08:15:19 +00:00
Jean-Philippe Andre 310c10bca8 Really fix the compilation with wayland
... I hope.
2014-10-24 19:26:55 +09:00
Jean-Philippe Andre 7ec65cd82e Revert "Add ecore-wayland flags to the general cflags"
This reverts commit 13194fb4e2.

Of course this was the wrong fix, as it adds ecore-wayland as
a *required* dependency of E. Since there was this other
variable "requirements_e" I thought the pkgconfig would be fine. Nope.
2014-10-24 19:08:50 +09:00
Jean-Philippe Andre 13194fb4e2 Add ecore-wayland flags to the general cflags
My build would break on missing Ecore_Wayland.h otherwise.
2014-10-24 18:18:38 +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
Tom Hacohen a8d8844d5c Fix tiling window properties restore issues with iconify.
Windows properties (like border) weren't being restored on iconify.
2014-10-23 13:37:59 +01: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
Brian 'morlenxus' Miculcy 503bd482bd enlightenment/conf: fix missing icons in settings panel
Shows the 'unknown' icon for settings panel items which have no icon defined.
@fix
2014-10-20 16:55:29 +02:00
Chris Michael 86e769f83f bump required wayland-server version to 1.6.0 for wayland-only
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-14 10:10:18 -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 7498dbac99 don't crash when closing internal dialog boxes
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-12 10:08:05 -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
Mike Blumenkrantz 355152880d fix teamwork popup positioning for non-dbus popups 2014-10-12 04:49:21 -04:00