platform/upstream/enlightenment.git
9 years agoallow starting enlightenment with the valgrind option again
Chris Michael [Mon, 18 May 2015 18:22:26 +0000 (14:22 -0400)]
allow starting enlightenment with the valgrind option again

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoallow new fullscreening clients to replace current nocomp where applicable
Mike Blumenkrantz [Mon, 18 May 2015 17:19:56 +0000 (13:19 -0400)]
allow new fullscreening clients to replace current nocomp where applicable

9 years agoforce xwindow stacking to obey nocomp policy and stack below current nocomp
Mike Blumenkrantz [Mon, 18 May 2015 17:19:33 +0000 (13:19 -0400)]
force xwindow stacking to obey nocomp policy and stack below current nocomp

fix T2277

9 years agoreject client fullscreening based on config and desk visibility
Mike Blumenkrantz [Mon, 18 May 2015 17:00:23 +0000 (13:00 -0400)]
reject client fullscreening based on config and desk visibility

9 years agofix nocomp popping on comp input ungrabbing
Mike Blumenkrantz [Mon, 18 May 2015 16:11:36 +0000 (12:11 -0400)]
fix nocomp popping on comp input ungrabbing

regression from e24666b9296d1972f320d89218ce9990e9c44420

9 years agoe_comp_wl: fix not sending a mouse enter event to client.
Boram Park [Mon, 18 May 2015 15:53:05 +0000 (11:53 -0400)]
e_comp_wl: fix not sending a mouse enter event to client.

Summary:
First of all, currently cdata->ptr.x,y contains e_client related pos.
But, cdata is owned by e_comp, not per e_client. So cdata->ptr.x,y should contain
absolute pos.
And, when a pointer resource is created, enter event should be sent to client.

Change-Id: I21cb031e293fe281e35ba89f3a96116a28a48856
Signed-off-by: Boram Park <boram1288.park@samsung.com>
Test Plan:
1. run e as wayland server
2. move cursor to around 50,50
3. run elementary_test
4. click the mouse left button on slide toggle widget.
   (Don't move a cursor out of elementary_test. If you do, you can't find bug)

Reviewers: gwanglim, raster, devilhorns, ManMower, zmike

Reviewed By: zmike

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2330

9 years agofix call to e_comp_wl_input_keymap_set for building with
Chris Michael [Mon, 18 May 2015 15:48:31 +0000 (11:48 -0400)]
fix call to e_comp_wl_input_keymap_set for building with
wayland-client support

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoremove cpp warning
Chris Michael [Mon, 18 May 2015 15:42:51 +0000 (11:42 -0400)]
remove cpp warning

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoELM_WIN_DIALOG_BASIC is broken in wl right now, so for wl create
Chris Michael [Mon, 18 May 2015 15:32:09 +0000 (11:32 -0400)]
ELM_WIN_DIALOG_BASIC is broken in wl right now, so for wl create
normal elm windows for now.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoremove unused variable
Chris Michael [Mon, 18 May 2015 13:24:01 +0000 (09:24 -0400)]
remove unused variable

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoadd missing EINA_UNUSED for function paramater
Chris Michael [Mon, 18 May 2015 13:22:39 +0000 (09:22 -0400)]
add missing EINA_UNUSED for function paramater

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoFix call to e_comp_wl_input_keymap_set
Chris Michael [Mon, 18 May 2015 13:21:03 +0000 (09:21 -0400)]
Fix call to e_comp_wl_input_keymap_set

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoadd missing EINA_UNUSED for function paramater
Chris Michael [Mon, 18 May 2015 13:20:16 +0000 (09:20 -0400)]
add missing EINA_UNUSED for function paramater

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agowayland: Remove a lot of E_Comp_Data pointers
Derek Foreman [Mon, 18 May 2015 13:08:52 +0000 (09:08 -0400)]
wayland: Remove a lot of E_Comp_Data pointers

Summary: We should just use e_comp->wl_comp_data everywhere we can.

Reviewers: devilhorns, zmike

Reviewed By: zmike

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2507

9 years agoe_menu: remove an unnecessary comparison
MinJeong Kim [Mon, 18 May 2015 12:36:09 +0000 (08:36 -0400)]
e_menu: remove an unnecessary comparison

Summary:
Remove an unnecessary comparison.
It fixes coverity CID 1291841 Same on both sides.
@fix

Reviewers: raster, devilhorns, zmike

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2523

9 years agowayland-compositor: Set server mode
Derek Foreman [Fri, 15 May 2015 18:44:21 +0000 (14:44 -0400)]
wayland-compositor: Set server mode

Summary:
If we don't set server mode we can deadlock when trying to use functions
that way for server mode to become set.

This can currently cause a startup freeze in e_scale_init().

Reviewers: zmike, devilhorns

Reviewed By: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2520

9 years agoadded a macro and a fucntion to switch to desktop D on screen S as specified in https...
Nicolas Marcotte [Fri, 15 May 2015 07:00:31 +0000 (16:00 +0900)]
added a macro and a fucntion to switch to desktop D on screen S as specified in https://phab.enlightenment.org/T2218

Summary: Merge branch 'master' of https://git.enlightenment.org/core/enlightenment initnal implementation of https://phab.enlightenment.org/T2218

Reviewers: raster

Subscribers: raster, cedric

Differential Revision: https://phab.enlightenment.org/D2231

Fixed:
Modified patch to use existing macros for walking all screens.

9 years agowl-drm: Don't enable/disable an output until after we have set the current mode
Chris Michael [Thu, 14 May 2015 12:38:13 +0000 (08:38 -0400)]
wl-drm: Don't enable/disable an output until after we have set the current mode

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agodrm randr: More work on getting RandR functional in E-Wl. This adds a
Chris Michael [Wed, 13 May 2015 18:44:51 +0000 (14:44 -0400)]
drm randr: More work on getting RandR functional in E-Wl. This adds a
function to remove an output from e_comp_wl also.

NB: Not entirely complete yet

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoconf_randr: Reduce debug output noise
Chris Michael [Wed, 13 May 2015 18:43:26 +0000 (14:43 -0400)]
conf_randr: Reduce debug output noise

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agowl-desktop-shell: Quiet debug output
Chris Michael [Wed, 13 May 2015 16:56:18 +0000 (12:56 -0400)]
wl-desktop-shell: Quiet debug output

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoremove unused 'serial' variable in mulit-move callback
Chris Michael [Wed, 13 May 2015 17:20:33 +0000 (13:20 -0400)]
remove unused 'serial' variable in mulit-move callback

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agofix numerous compile errors from D2482
Chris Michael [Wed, 13 May 2015 16:26:07 +0000 (12:26 -0400)]
fix numerous compile errors from D2482

NB: Mental Note: COMPILE BEFORE PUSH !!

 # butts

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoSupport wl_touch and send wl_touch events to client
jhyuni.kang [Wed, 13 May 2015 16:05:57 +0000 (12:05 -0400)]
Support wl_touch and send wl_touch events to client

Summary:
Currently enlightenment-wayland support pointer and keyboard events.(in input)
         So I added EVAS_CALLBACK_MULTI_* event handler and hanling functions for wl_touch interface.
         This code send wl_touch events to client like a pointer event.

Test Plan:
In wayland + enlightenment environment, generate multi touch events.
           The enlightenment will be send wl_touch events to client.

Reviewers: raster, devilhorns, zmike

Reviewed By: devilhorns, zmike

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2482

9 years agosend screen paramaters in proper order to e_comp_wl_output_init
Chris Michael [Wed, 13 May 2015 16:05:17 +0000 (12:05 -0400)]
send screen paramaters in proper order to e_comp_wl_output_init

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoe_comp_wl: fix segfault in case parent's surface is destroyed before subsurface is...
Boram Park [Tue, 12 May 2015 18:43:00 +0000 (14:43 -0400)]
e_comp_wl: fix segfault in case parent's surface is destroyed before subsurface is destroyed

Summary:
A parent surface can be destroyed. In this case, ec->comp_data->sub.data->parent has
a wrong address which has already destroyed. Then, it occurs segmentation fault.
To avoid segfault, ec->comp_data->sub.data->parent should be NULL when a parent surface
is destroyed.

Signed-off-by: Boram Park <boram1288.park@samsung.com>
Test Plan: Run attached test program(subsurface)

Reviewers: gwanglim, cedric, devilhorns, zmike

Reviewed By: devilhorns, zmike

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2484

9 years agoremove str(n)dupa usages
Daniel Kolesa [Mon, 11 May 2015 15:33:42 +0000 (16:33 +0100)]
remove str(n)dupa usages

str(n)dupa are GNU extensions that duplicate a string, using an alloca'd
buffer. This patch removes their definitions from e.h (which should only
contain E's own API, without fallback definitions for libc functions)
which were wrong anyway (they failed in cases where str(n)dupa was an
actual function, not a macro).

Instead, we replace them depending on context with alloca+memcpy+strlen
or a static buffer (used in contexts where we are sure that the buffer
will contain the string entirely)

@fix

9 years agoFix misspelling in e_client.h
Yomi [Thu, 7 May 2015 23:01:04 +0000 (19:01 -0400)]
Fix misspelling in e_client.h

Summary: Fix misspelling in e_client.h

Reviewers: zmike

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2477

9 years agoFix misspelling in e_randr2.c
Yomi [Thu, 7 May 2015 22:41:10 +0000 (18:41 -0400)]
Fix misspelling in e_randr2.c

Summary: Fix misspelling in e_randr2.c

Reviewers: zmike

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2476

9 years agowl-drm: Start on making the RandR config dialog usable in drm
Chris Michael [Thu, 7 May 2015 19:44:50 +0000 (15:44 -0400)]
wl-drm: Start on making the RandR config dialog usable in drm

NB: 'Apply' does not function yet, needs another API or 2 in ecore_drm

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agomake e_acpi_lid_is_closed function callable from wl_drm module
Chris Michael [Thu, 7 May 2015 19:44:22 +0000 (15:44 -0400)]
make e_acpi_lid_is_closed function callable from wl_drm module

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoenlightenment: Make E build again with EFL from git
Chris Michael [Thu, 7 May 2015 19:13:10 +0000 (15:13 -0400)]
enlightenment: Make E build again with EFL from git

sed -i 's/EAPI/E_API/g'

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoFix T2385 : internal windows not showing resize cursor
Chris Michael [Mon, 4 May 2015 16:40:06 +0000 (12:40 -0400)]
Fix T2385 : internal windows not showing resize cursor

If we are going to set the internal elm windows to borderless and
handle frames inside E, then we need to also unset any existing
pointer objects which may be on the wayland Ecore_Evas.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoCorrect misspelling.
Yomi [Sun, 3 May 2015 21:45:17 +0000 (17:45 -0400)]
Correct misspelling.

Summary:
Correct misspelling.
Changes: Fix misspelling in e_desk.c

     src/bin/e_desk.c

Reviewers: zmike, raster

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2466

9 years agoe_ipc: fix creation of IPC server when $DISPLAY is a path
Jean Guyomarc'h [Sat, 2 May 2015 14:04:28 +0000 (10:04 -0400)]
e_ipc: fix creation of IPC server when $DISPLAY is a path

Summary:
Some implementations of the X server (e.g. Xquartz) define their $DISPLAY
as a path. Since ecore_ipc_server_add() does not create non-existant
directories, and since it may not worth to hide the socket in a complex
path, this patch aims at reducing the $DISPLAY by only keeping its basename.

Reviewers: zmike

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2465

9 years agofix infinite loop when changing ibar sources
Mike Blumenkrantz [Thu, 30 Apr 2015 21:04:47 +0000 (17:04 -0400)]
fix infinite loop when changing ibar sources

fix T1951

9 years agoonly apply fwin focus to main efm object if no icon is editing
Mike Blumenkrantz [Thu, 30 Apr 2015 20:06:09 +0000 (16:06 -0400)]
only apply fwin focus to main efm object if no icon is editing

9 years agoadd efm function for getting an editing icon
Mike Blumenkrantz [Thu, 30 Apr 2015 20:05:55 +0000 (16:05 -0400)]
add efm function for getting an editing icon

9 years agodon't destroy efm icon entry on client focus-in if icon's client is being focused
Mike Blumenkrantz [Thu, 30 Apr 2015 20:05:21 +0000 (16:05 -0400)]
don't destroy efm icon entry on client focus-in if icon's client is being focused

9 years agofix comp input ungrabbing to read more clearly and not pop nocomp wrongly
Mike Blumenkrantz [Thu, 30 Apr 2015 18:50:20 +0000 (14:50 -0400)]
fix comp input ungrabbing to read more clearly and not pop nocomp wrongly

9 years agoprune module config list when loading a module
Mike Blumenkrantz [Thu, 30 Apr 2015 18:39:28 +0000 (14:39 -0400)]
prune module config list when loading a module

it's somehow possible to get multiple instances of a module in the config.
since I don't know whether this is a current or past problem, prune the list
on every module load to remove subsequent instances of the module

fix T2181

9 years agofix notification text to conform to spec and libnotify implementation
Mike Blumenkrantz [Thu, 30 Apr 2015 18:11:06 +0000 (14:11 -0400)]
fix notification text to conform to spec and libnotify implementation

fix T2053
fix T2187

9 years agotry hicolor icon theme as fallback for fdo icon setting if user's theme fails
Mike Blumenkrantz [Thu, 30 Apr 2015 16:32:31 +0000 (12:32 -0400)]
try hicolor icon theme as fallback for fdo icon setting if user's theme fails

fix T2142

9 years agochange default icon theme to hicolor
Mike Blumenkrantz [Thu, 30 Apr 2015 16:31:37 +0000 (12:31 -0400)]
change default icon theme to hicolor

ref T2142

9 years agoforce visibility on clients before attempting to hide them
Mike Blumenkrantz [Wed, 29 Apr 2015 21:21:14 +0000 (17:21 -0400)]
force visibility on clients before attempting to hide them

this ensures that edje visibility states get reset in the event of toggling
visibility extremely quickly

probably fixes T2260

9 years agoonly apply mouse down focus events if a binding did not run on the same event
Mike Blumenkrantz [Wed, 29 Apr 2015 21:15:43 +0000 (17:15 -0400)]
only apply mouse down focus events if a binding did not run on the same event

fixes the case of enabling "raise on click" and also having a mouse binding
for "lower on click" active

fix T2364

9 years agofreeze evas events on clients during keyboard move/resize actions
Mike Blumenkrantz [Wed, 29 Apr 2015 21:02:36 +0000 (17:02 -0400)]
freeze evas events on clients during keyboard move/resize actions

fix T2112

9 years agorename client menu move/resize items to indicate real function
Mike Blumenkrantz [Wed, 29 Apr 2015 21:02:16 +0000 (17:02 -0400)]
rename client menu move/resize items to indicate real function

ref T2112

9 years agofreeze comp object edjes while not hidden
Mike Blumenkrantz [Wed, 29 Apr 2015 16:55:02 +0000 (12:55 -0400)]
freeze comp object edjes while not hidden

requested by cedric

9 years agoe_place - dont need extrra zone check here anymore
Carsten Haitzler (Rasterman) [Mon, 27 Apr 2015 22:51:11 +0000 (07:51 +0900)]
e_place - dont need extrra zone check here anymore

9 years agoe_shelf - check visiblity with zone and desk FIRST not later
Carsten Haitzler (Rasterman) [Mon, 27 Apr 2015 22:48:16 +0000 (07:48 +0900)]
e_shelf - check visiblity with zone and desk FIRST not later

es->cfg->desk_show_mode if false (default) implies a shelf is always
visible - true, as it's sticky (visible on all desktops). but this
didn't check zone. check zone first THEN this.

9 years agoadd focus callback to override elm_win being stupid
Mike Blumenkrantz [Mon, 27 Apr 2015 20:03:42 +0000 (16:03 -0400)]
add focus callback to override elm_win being stupid

plz elm_win, you can't focus yourself. you aren't a real widget.

9 years agobump modapi version
Mike Blumenkrantz [Mon, 27 Apr 2015 19:42:28 +0000 (15:42 -0400)]
bump modapi version

lots of changes lately, may as well force rebuilds

9 years agoredo drop handlers to take an E_Object and Evas_Object
Mike Blumenkrantz [Mon, 27 Apr 2015 19:39:43 +0000 (15:39 -0400)]
redo drop handlers to take an E_Object and Evas_Object

temp change to fix crashing when closing fwins with ctrl+w

9 years agofix evry mouse event detection on wayland
Mike Blumenkrantz [Mon, 27 Apr 2015 18:36:42 +0000 (14:36 -0400)]
fix evry mouse event detection on wayland

9 years agomore accurately determine whether a mouse grab is active in some parts of e
Mike Blumenkrantz [Mon, 27 Apr 2015 18:32:19 +0000 (14:32 -0400)]
more accurately determine whether a mouse grab is active in some parts of e

9 years agoadd comp mouse grab detection function
Mike Blumenkrantz [Mon, 27 Apr 2015 18:32:05 +0000 (14:32 -0400)]
add comp mouse grab detection function

9 years agoadd e_grabinput_mouse_win_get()
Mike Blumenkrantz [Mon, 27 Apr 2015 18:31:52 +0000 (14:31 -0400)]
add e_grabinput_mouse_win_get()

9 years agoonly allow efm key actions if key grab does not exist
Mike Blumenkrantz [Mon, 27 Apr 2015 18:26:33 +0000 (14:26 -0400)]
only allow efm key actions if key grab does not exist

9 years agoadd comp util function for determining whether the keyboard has been grabbed
Mike Blumenkrantz [Mon, 27 Apr 2015 18:21:33 +0000 (14:21 -0400)]
add comp util function for determining whether the keyboard has been grabbed

9 years agofix MANAGER context keybinds to work with rootless compositors
Mike Blumenkrantz [Mon, 27 Apr 2015 18:11:05 +0000 (14:11 -0400)]
fix MANAGER context keybinds to work with rootless compositors

9 years agoadd internal win trap to set override property on windows
Mike Blumenkrantz [Mon, 27 Apr 2015 17:56:56 +0000 (13:56 -0400)]
add internal win trap to set override property on windows

9 years agoset internal win icccm name/class/title during win trap show
Mike Blumenkrantz [Mon, 27 Apr 2015 17:55:47 +0000 (13:55 -0400)]
set internal win icccm name/class/title during win trap show

wl clients have no concept of icccm name, so this is the only way to set it

also, setting it here makes it available sooner for other functionalities

9 years agoset focus on comp autoclose objects
Mike Blumenkrantz [Mon, 27 Apr 2015 17:20:52 +0000 (13:20 -0400)]
set focus on comp autoclose objects

fix T2114

9 years agodo not pass key events through autoclose handler
Mike Blumenkrantz [Mon, 27 Apr 2015 17:04:53 +0000 (13:04 -0400)]
do not pass key events through autoclose handler

9 years agoensure client max w/h props are set before applying them to client geom
Mike Blumenkrantz [Mon, 27 Apr 2015 16:24:59 +0000 (12:24 -0400)]
ensure client max w/h props are set before applying them to client geom

9 years agoe auto-placement - don't include shelves from other screens
Carsten Haitzler (Rasterman) [Mon, 27 Apr 2015 07:54:15 +0000 (16:54 +0900)]
e auto-placement - don't include shelves from other screens

unbeknownst to anyone e was placing around shelvs on OTHER screens...
this ended up with some .. odd results every now and again.

@fix

9 years agoUpdating italian translation
maxerba [Sun, 26 Apr 2015 18:52:30 +0000 (20:52 +0200)]
Updating italian translation

9 years agoensure evry key events do not get erroneously rejected in grab mode
Mike Blumenkrantz [Fri, 24 Apr 2015 18:58:00 +0000 (14:58 -0400)]
ensure evry key events do not get erroneously rejected in grab mode

ref T2030

9 years agodon't set e_comp->root for wl compositors
Mike Blumenkrantz [Fri, 24 Apr 2015 18:57:05 +0000 (14:57 -0400)]
don't set e_comp->root for wl compositors

root is the root window. wl compositors do not have root windows.

9 years agofix comp init failure case
Mike Blumenkrantz [Fri, 24 Apr 2015 18:10:48 +0000 (14:10 -0400)]
fix comp init failure case

9 years agofix comp fake layer init for wl compositors
Mike Blumenkrantz [Fri, 24 Apr 2015 18:10:25 +0000 (14:10 -0400)]
fix comp fake layer init for wl compositors

fix T2363

9 years agoremove rest of ecore-drm usage from wl-drm randr info grabbing
Mike Blumenkrantz [Thu, 23 Apr 2015 17:47:05 +0000 (13:47 -0400)]
remove rest of ecore-drm usage from wl-drm randr info grabbing

this was not an optimal solution since only connected outputs are
tracked/available to ecore-drm, so now the module uses libdrm for everything

9 years agofix wl-drm install rule
Mike Blumenkrantz [Thu, 23 Apr 2015 17:37:11 +0000 (13:37 -0400)]
fix wl-drm install rule

9 years agofix internal win pixmap id int size in show trap
Mike Blumenkrantz [Thu, 23 Apr 2015 16:35:22 +0000 (12:35 -0400)]
fix internal win pixmap id int size in show trap

9 years agofix tasks gadget parenting
Mike Blumenkrantz [Thu, 23 Apr 2015 12:42:09 +0000 (08:42 -0400)]
fix tasks gadget parenting

gc->o_container is NULL for desktop gadgets

ref T2336

9 years agofix typo when setting event state in e_randr2_screen_refresh_queue()
Mike Blumenkrantz [Thu, 23 Apr 2015 12:33:20 +0000 (08:33 -0400)]
fix typo when setting event state in e_randr2_screen_refresh_queue()

a non-event should not unset this variable

9 years agosimplify comp_x screen setup
Mike Blumenkrantz [Thu, 23 Apr 2015 12:27:45 +0000 (08:27 -0400)]
simplify comp_x screen setup

we only care about the first root now, no point getting all the roots

9 years agocheck module name existence before reading from it
Mike Blumenkrantz [Thu, 23 Apr 2015 12:23:13 +0000 (08:23 -0400)]
check module name existence before reading from it

CID 1295427

9 years agoadd read-only randr iface for wl drm output module
Mike Blumenkrantz [Thu, 23 Apr 2015 01:15:12 +0000 (21:15 -0400)]
add read-only randr iface for wl drm output module

mostly just reads stuff right out of libdrm for now. seems to display mostly as expected.
no applying yet, and only connected+active monitors will display since that's all ecore-drm
tracks for now

try using ecore-drm, they said. it'll be easier than using libdrm, they said.

9 years agoadd wl drm module phony make targets
Mike Blumenkrantz [Thu, 23 Apr 2015 01:04:38 +0000 (21:04 -0400)]
add wl drm module phony make targets

9 years agouse const lists for drm devices in signal handlers
Mike Blumenkrantz [Wed, 22 Apr 2015 23:36:21 +0000 (19:36 -0400)]
use const lists for drm devices in signal handlers

9 years agomove canvas init after wl init in output modules
Mike Blumenkrantz [Wed, 22 Apr 2015 23:27:36 +0000 (19:27 -0400)]
move canvas init after wl init in output modules

ensure that randr screens have been created

9 years agomove comp_x screen setup code into e_randr
Mike Blumenkrantz [Wed, 22 Apr 2015 23:24:33 +0000 (19:24 -0400)]
move comp_x screen setup code into e_randr

this was not x-specific, so move it for use in wl compositors

9 years agoresize comp canvas on e_comp_canvas_init()
Mike Blumenkrantz [Wed, 22 Apr 2015 23:16:32 +0000 (19:16 -0400)]
resize comp canvas on e_comp_canvas_init()

remove unnecessary call in wl drm output module

9 years agofix module blocking for wl modules
Mike Blumenkrantz [Wed, 22 Apr 2015 23:09:19 +0000 (19:09 -0400)]
fix module blocking for wl modules

these should never be saved to or loaded from the config

9 years agoenable conf_randr module unconditionally by default
Mike Blumenkrantz [Wed, 22 Apr 2015 22:28:33 +0000 (18:28 -0400)]
enable conf_randr module unconditionally by default

this no longer uses/requires ecore-x

9 years agoremove dead conf_randr files
Mike Blumenkrantz [Wed, 22 Apr 2015 22:28:23 +0000 (18:28 -0400)]
remove dead conf_randr files

9 years agoinit randr during wayland init...always
Mike Blumenkrantz [Wed, 22 Apr 2015 22:20:47 +0000 (18:20 -0400)]
init randr during wayland init...always

9 years agochange comp type check at start of e_comp_wl_init()
Mike Blumenkrantz [Wed, 22 Apr 2015 22:19:52 +0000 (18:19 -0400)]
change comp type check at start of e_comp_wl_init()

at present, this value will be set to either TYPE_NONE if no valid
compositor has been created or TYPE_X if running a wl compositor inside
an x11 compositor

9 years agouse randr for screen setup in wl-x11 output module
Mike Blumenkrantz [Wed, 22 Apr 2015 22:18:39 +0000 (18:18 -0400)]
use randr for screen setup in wl-x11 output module

enabling this module requires that e is linked against ecore-x to
allow screen management

9 years agoalways add e_randr2.c to e build
Mike Blumenkrantz [Wed, 22 Apr 2015 22:18:01 +0000 (18:18 -0400)]
always add e_randr2.c to e build

randr no longer requires x11

9 years agoadd a small screen management interface to E_Comp, remove hardcoded x11 randr calls
Mike Blumenkrantz [Wed, 22 Apr 2015 22:14:55 +0000 (18:14 -0400)]
add a small screen management interface to E_Comp, remove hardcoded x11 randr calls

this interface is extremely basic and should allow easy additions for other display
backends

9 years agocreate wl-x11 canvas using comp_x canvas creation method
Mike Blumenkrantz [Wed, 22 Apr 2015 22:12:22 +0000 (18:12 -0400)]
create wl-x11 canvas using comp_x canvas creation method

9 years agobreak out comp_x gl/sw canvas creation into external function
Mike Blumenkrantz [Wed, 22 Apr 2015 22:09:35 +0000 (18:09 -0400)]
break out comp_x gl/sw canvas creation into external function

9 years agomove comp_x randr init to screen init function
Mike Blumenkrantz [Wed, 22 Apr 2015 22:06:26 +0000 (18:06 -0400)]
move comp_x randr init to screen init function

9 years agoensure valid strings are send when sending wl output geometry
Mike Blumenkrantz [Wed, 22 Apr 2015 21:46:43 +0000 (17:46 -0400)]
ensure valid strings are send when sending wl output geometry

9 years agofix wl-x11 configure detection/check
Mike Blumenkrantz [Wed, 22 Apr 2015 21:30:44 +0000 (17:30 -0400)]
fix wl-x11 configure detection/check

previous check would not allow compiling against ecore-x which would
prevent such a compositor from being able to manage its own xserver

9 years agofix ecore-x cflags/libs inclusion for e binary
Mike Blumenkrantz [Wed, 22 Apr 2015 21:29:53 +0000 (17:29 -0400)]
fix ecore-x cflags/libs inclusion for e binary

these variables will always exist

9 years agoalways register E_EVENT_RANDR_CHANGE
Mike Blumenkrantz [Wed, 22 Apr 2015 21:01:53 +0000 (17:01 -0400)]
always register E_EVENT_RANDR_CHANGE

failing to register this will cause event handlers for it to fail
on creation