platform/upstream/enlightenment.git
9 years agoxwayland: Fix configure.ac to substitute the xwayland binary path
Chris Michael [Sun, 6 Jul 2014 14:11:04 +0000 (10:11 -0400)]
xwayland: Fix configure.ac to substitute the xwayland binary path

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoAdd start of xwayand module code
Chris Michael [Wed, 2 Jul 2014 15:46:22 +0000 (11:46 -0400)]
Add start of xwayand module code

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoadd xwayland module edj file for icon
Chris Michael [Wed, 2 Jul 2014 15:46:06 +0000 (11:46 -0400)]
add xwayland module edj file for icon

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoadd xwayland module desktop file
Chris Michael [Wed, 2 Jul 2014 15:45:55 +0000 (11:45 -0400)]
add xwayland module desktop file

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoAdd xwayland Makefile
Chris Michael [Wed, 2 Jul 2014 15:45:30 +0000 (11:45 -0400)]
Add xwayland Makefile

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoAdd xwayland module to modules Makefile
Chris Michael [Wed, 2 Jul 2014 15:45:12 +0000 (11:45 -0400)]
Add xwayland module to modules Makefile

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoadd xwayland to configure.ac
Chris Michael [Wed, 2 Jul 2014 15:44:55 +0000 (11:44 -0400)]
add xwayland to configure.ac

Signed-off-by: Chris Michael <cp.michael@samsung.com>
Conflicts:
configure.ac

9 years agowl-desktop-shell: Don't crash when trying to place popup menus in QT apps
Chris Michael [Thu, 25 Jun 2015 16:05:05 +0000 (12:05 -0400)]
wl-desktop-shell: Don't crash when trying to place popup menus in QT apps

This is a partial fix for T2517. It fixes the crash, but does not
address popup menu placement.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agowl-desktop-shell: Remove useless return at end of function
Chris Michael [Thu, 25 Jun 2015 13:45:28 +0000 (09:45 -0400)]
wl-desktop-shell: Remove useless return at end of function

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agowl-desktop-shell: Fix formatting
Chris Michael [Thu, 25 Jun 2015 13:30:59 +0000 (09:30 -0400)]
wl-desktop-shell: Fix formatting

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoLogging: Fix broken logging macros.
Tom Hacohen [Mon, 22 Jun 2015 14:37:13 +0000 (15:37 +0100)]
Logging: Fix broken logging macros.

This is macro 101, you don't EVER put multiple statements in a macro
like that.
See Chris's commits, these broken macros already introduced (subtle)
bugs. Always surround macros in "do {} while()" unless you absolutely
can't (like when you declare a new variable to be used in the scope).

Why is it even there? I think we can safely assume eina log is available
for usage in E...

@fix

9 years agoFix Coverity CID1298053
Chris Michael [Mon, 22 Jun 2015 14:20:30 +0000 (10:20 -0400)]
Fix Coverity CID1298053

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoFix Coverity CID1298052
Chris Michael [Mon, 22 Jun 2015 14:19:13 +0000 (10:19 -0400)]
Fix Coverity CID1298052

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agohandle compositor animation race condition when changing effects
Mike Blumenkrantz [Sat, 20 Jun 2015 16:31:32 +0000 (12:31 -0400)]
handle compositor animation race condition when changing effects

this is more of an academic case than any existing scenario, but
it's possible that an effect may be stopped by something attempting
to trigger another effect during the animation

9 years agofix animation refcounting when toggling object visibility very quickly
Mike Blumenkrantz [Fri, 19 Jun 2015 20:28:13 +0000 (16:28 -0400)]
fix animation refcounting when toggling object visibility very quickly

previously the animating flag would receive an additional increment for
every effect, even if it was currently animating a prior effect, leading
to objects which were never deleted

9 years agoadd comp object bool flag to indicate whether a compositor effect is currently running
Mike Blumenkrantz [Fri, 19 Jun 2015 20:27:51 +0000 (16:27 -0400)]
add comp object bool flag to indicate whether a compositor effect is currently running

9 years agomake e_comp_object_effect_stop() return bool for object validity
Mike Blumenkrantz [Fri, 19 Jun 2015 20:27:32 +0000 (16:27 -0400)]
make e_comp_object_effect_stop() return bool for object validity

9 years agosanitize bool return of _e_comp_object_animating_end()
Mike Blumenkrantz [Fri, 19 Jun 2015 20:25:33 +0000 (16:25 -0400)]
sanitize bool return of _e_comp_object_animating_end()

9 years agoonly apply deskmirror client visibility logic for non-deleted clients
Mike Blumenkrantz [Fri, 19 Jun 2015 18:12:36 +0000 (14:12 -0400)]
only apply deskmirror client visibility logic for non-deleted clients

9 years agoreturn an accurate value for override clients in e_comp_object_util_zone_get()
Mike Blumenkrantz [Wed, 17 Jun 2015 19:58:39 +0000 (15:58 -0400)]
return an accurate value for override clients in e_comp_object_util_zone_get()

9 years agouse current zone for visibility effects on override windows
Mike Blumenkrantz [Wed, 17 Jun 2015 19:55:57 +0000 (15:55 -0400)]
use current zone for visibility effects on override windows

9 years agoe-comp-wl: #if 0 out a currently unused function for pre_frame assignment.
Chris Michael [Wed, 17 Jun 2015 15:28:55 +0000 (11:28 -0400)]
e-comp-wl: #if 0 out a currently unused function for pre_frame assignment.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoremove a stupid elm win hack flagged for deletion
Mike Blumenkrantz [Tue, 16 Jun 2015 21:02:35 +0000 (17:02 -0400)]
remove a stupid elm win hack flagged for deletion

may trigger crashes on non-updated elementary

9 years agoFix misspellings in E's files.
Yomi [Tue, 16 Jun 2015 20:10:21 +0000 (16:10 -0400)]
Fix misspellings in E's files.

Summary: Fix misspellings and spaces in E's files.

Reviewers: zmike

Subscribers: cedric

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

9 years agoallow layer-blocked clients in deskmirror to restack
Mike Blumenkrantz [Tue, 16 Jun 2015 19:51:14 +0000 (15:51 -0400)]
allow layer-blocked clients in deskmirror to restack

9 years agoadded quick tile to corner feature
Toan Pham [Tue, 16 Jun 2015 19:07:40 +0000 (15:07 -0400)]
added quick tile to corner feature

Summary: added quick tile to corner feature, Fixes T2408

Reviewers: zmike

Subscribers: abyomi0, cedric

Maniphest Tasks: T2408, T2419

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

9 years agoCenter a dialog window when it is displaying off-screen
Toan Pham [Tue, 16 Jun 2015 18:28:32 +0000 (14:28 -0400)]
Center a dialog window when it is displaying off-screen

Summary: Center a newly created dialog window when it is displaying off-screen.  Fixes T2419

Reviewers: zmike

Subscribers: cedric

Maniphest Tasks: T2419

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

9 years agoonly play visibility effects for allowed clients
Mike Blumenkrantz [Mon, 15 Jun 2015 20:59:48 +0000 (16:59 -0400)]
only play visibility effects for allowed clients

9 years agoadd utility function for determining if a comp object should animate
Mike Blumenkrantz [Mon, 15 Jun 2015 20:59:30 +0000 (16:59 -0400)]
add utility function for determining if a comp object should animate

9 years agouse new visibility effects by default for menu + combo windows
Mike Blumenkrantz [Mon, 15 Jun 2015 17:52:57 +0000 (13:52 -0400)]
use new visibility effects by default for menu + combo windows

tooltip effects by default...probably too powerful for average users?

9 years agosend client/screen/pointer geometry to visibility effect edje
Mike Blumenkrantz [Mon, 15 Jun 2015 17:47:33 +0000 (13:47 -0400)]
send client/screen/pointer geometry to visibility effect edje

9 years agounify comp object visibility effect animation code
Mike Blumenkrantz [Mon, 15 Jun 2015 17:47:01 +0000 (13:47 -0400)]
unify comp object visibility effect animation code

9 years agoadd flag for detecting whether an effect is currently set on a comp object
Mike Blumenkrantz [Mon, 15 Jun 2015 17:44:47 +0000 (13:44 -0400)]
add flag for detecting whether an effect is currently set on a comp object

also improve refcounting for effect apis and add return values for use in
determining whether an effect was successfully set/started

9 years agoadd flag to E_Comp_Object for detecting show animation state
Mike Blumenkrantz [Mon, 15 Jun 2015 17:41:42 +0000 (13:41 -0400)]
add flag to E_Comp_Object for detecting show animation state

this allows improvements to the code which provides hide animations,
allowing clients to begin hiding during their show animations instead
of rendering a black rectangle

9 years agouse a safe iterator when deleting clients during comp shutdown
Mike Blumenkrantz [Mon, 15 Jun 2015 17:35:34 +0000 (13:35 -0400)]
use a safe iterator when deleting clients during comp shutdown

it's conceivable that, were there a bug in client refcounting,
this could become an infinite loop and prevent shutdown/restart.
since, at this point, we don't really care about deleting anything,
ensure that the loop will end

9 years agoe - e client, comp win etc. reffing fix ... part 2
Carsten Haitzler (Rasterman) [Mon, 15 Jun 2015 11:27:25 +0000 (20:27 +0900)]
e - e client, comp win etc. reffing fix ... part 2

this follows 56cabf59c672af27af87eda82079de4e2ee2d38e then
4e5521b4d82063a2fbf6632a117fda201cc1687d where i have been trying to
fix a crash with e client and comp win references etc. i have gone
over all referencing with a fine tooth comb and found all the nigglies
i can., no leaks now, no crashes, no valgrind complaints etc. so i
call this fixed now. as best i know this is new in e20, so not a
backport fix

9 years agoe - bring back fullscreen crash bug while fixing refcount correctness
Carsten Haitzler (Rasterman) [Sun, 14 Jun 2015 10:16:09 +0000 (19:16 +0900)]
e - bring back fullscreen crash bug while fixing refcount correctness

refs were inconsistent - thus this fixed the fullscreen quit bug by
never freeing a client. this brings the bug back by fixing this client
leak. i'll look again at this later.

9 years agoe - fix crash in desktop lookup+fixup where exe_inst is null
Carsten Haitzler (Rasterman) [Sun, 14 Jun 2015 08:50:14 +0000 (17:50 +0900)]
e - fix crash in desktop lookup+fixup where exe_inst is null

9 years agoe comp - fix refcounting for e_comp and comp clients
Carsten Haitzler (Rasterman) [Sun, 14 Jun 2015 07:06:37 +0000 (16:06 +0900)]
e comp - fix refcounting for e_comp and comp clients

the refcoutning for e_comp and e comp clients seemed to be a bit off -
i read over every ref and unref carefully and fix it. this leads to
the com-_data being null (properly now), so now check for that too.

9 years agoe - mixer - allow to 150% volume with some "stickynedd" from 100 to 120
Carsten Haitzler (Rasterman) [Sun, 14 Jun 2015 06:01:44 +0000 (15:01 +0900)]
e - mixer - allow to 150% volume with some "stickynedd" from 100 to 120

9 years agofixed window focus and keyboard input issues
Toan Pham [Fri, 12 Jun 2015 00:04:41 +0000 (20:04 -0400)]
fixed window focus and keyboard input issues

Summary: fixed window focus and keyboard input issues if the to-be-focused window is in an iconized state

Reviewers: zmike

Subscribers: cedric

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

9 years agoChanged search pattern to focus window by name to case-insensitive.
Toan Pham [Thu, 11 Jun 2015 18:38:10 +0000 (14:38 -0400)]
Changed search pattern to focus window by name to case-insensitive.

Summary: Sometimes a window has a name that's not like the application name, for example.  chromium-browser application will have a window name: Chromium-browser.  Most users will try to match the window name with "chromium-browser", but it wont work b/c the e's window name match is case sensitive.  Most users, would not know that the window name of chrome is "Chromium-browser", so it is pretty much impossible for them to setup a focus-to-window-name binding properly.

Reviewers: zmike

Subscribers: cedric

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

9 years agorename visibility effect struct member effect -> visibility_effect
Mike Blumenkrantz [Thu, 11 Jun 2015 16:47:04 +0000 (12:47 -0400)]
rename visibility effect struct member effect -> visibility_effect

feeble attempt at making future added effects more intelligible

9 years agoadd compositor visibility effects and matching configuration
Mike Blumenkrantz [Thu, 11 Jun 2015 15:35:44 +0000 (11:35 -0400)]
add compositor visibility effects and matching configuration

these are specific types of animation for use when toggling window visibility.
they combine with existing compositor window animations to provide nicer integration
for very specific types of windows

see https://www.youtube.com/watch?v=hIVdd0Z2K00 for a demo

9 years agoallow comp matching for UNKNOWN type windows
Mike Blumenkrantz [Thu, 11 Jun 2015 15:33:45 +0000 (11:33 -0400)]
allow comp matching for UNKNOWN type windows

sometimes this is a valid type and we want to match it

9 years agoUpdating italian translation
maxerba [Thu, 11 Jun 2015 12:31:24 +0000 (14:31 +0200)]
Updating italian translation

9 years agoe menu - an extra object ref causes menus to never be freed
Carsten Haitzler (Rasterman) [Wed, 10 Jun 2015 12:32:01 +0000 (21:32 +0900)]
e menu - an extra object ref causes menus to never be freed

this has been in e for ages - someone not noticed, but this fixes
visual artifacts of left over menus on the top-left. this extra ref
really makes no sense. it's not like this ref is then accomoanied by a
matching unref somewhere else (after much debugging).

@fix

9 years agowl-desktop-shell: Fix popup menu placement for xdg surfaces
Chris Michael [Tue, 9 Jun 2015 13:43:34 +0000 (09:43 -0400)]
wl-desktop-shell: Fix popup menu placement for xdg surfaces

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoe - mixer - clean up popup a bit with mute next to slider etc.
Carsten Haitzler (Rasterman) [Tue, 9 Jun 2015 08:22:40 +0000 (17:22 +0900)]
e - mixer - clean up popup a bit with mute next to slider etc.

9 years agoe mixer - fix segv on desklock if default sink not set yet
Carsten Haitzler (Rasterman) [Tue, 9 Jun 2015 07:18:24 +0000 (16:18 +0900)]
e mixer - fix segv on desklock if default sink not set yet

9 years agomixer - dont make list scrollable horizontally for nicer look
Carsten Haitzler (Rasterman) [Tue, 9 Jun 2015 07:17:07 +0000 (16:17 +0900)]
mixer - dont make list scrollable horizontally for nicer look

9 years agoRevert "Revert "fix mixer gcc class name""
Carsten Haitzler (Rasterman) [Tue, 9 Jun 2015 05:39:15 +0000 (14:39 +0900)]
Revert "Revert "fix mixer gcc class name""

This reverts commit 6bacf2070532d0bdf22afa4d303ac41a0ce52047.

oops - i was wrong. totally misread that patch i thinkg it changed
mixer -> emix

9 years agoe - shelf menu - handle deletion properly if cb is not for shelf menu
Carsten Haitzler (Rasterman) [Tue, 9 Jun 2015 05:29:25 +0000 (14:29 +0900)]
e - shelf menu - handle deletion properly if cb is not for shelf menu

it seems that some changes now make the shel menu post callback be
called for older menus not part of the shelf and thus shelf menu
stored != menu the cb is for - thus resulting in deletion of the wrong
menu

9 years agoe - mixer - don't do anything on desklock if no mixer context exists
Carsten Haitzler (Rasterman) [Tue, 9 Jun 2015 02:10:35 +0000 (11:10 +0900)]
e - mixer - don't do anything on desklock if no mixer context exists

9 years agoRevert "fix mixer gcc class name"
Carsten Haitzler (Rasterman) [Tue, 9 Jun 2015 02:09:12 +0000 (11:09 +0900)]
Revert "fix mixer gcc class name"

This reverts commit 718b3206cbc480b607bed771bbe679c2d312fe16.

no - this REPLACEs the mixer module. the same old mixer gadget that
was originally in e now will be replaced by this new epulse/emixer
gadget. thus the "mixer" gadcon name.

9 years agofix mixer gcc class name
Mike Blumenkrantz [Mon, 8 Jun 2015 19:02:24 +0000 (15:02 -0400)]
fix mixer gcc class name

9 years agoadd gadcon visibility handling, send hide signal to pager desks on hide
Mike Blumenkrantz [Mon, 8 Jun 2015 18:53:31 +0000 (14:53 -0400)]
add gadcon visibility handling, send hide signal to pager desks on hide

this (in combination with elm changes) should greatly reduce cpu usage

9 years agofix shelf visibility state signals
Mike Blumenkrantz [Mon, 8 Jun 2015 18:52:40 +0000 (14:52 -0400)]
fix shelf visibility state signals

previous behavior resulted in hide being sent when animations began
instead of at end

9 years agocompletely freeze all deskmirror object events/animations during hide
Mike Blumenkrantz [Mon, 8 Jun 2015 18:51:58 +0000 (14:51 -0400)]
completely freeze all deskmirror object events/animations during hide

9 years agodisable animations on clients during hide
Mike Blumenkrantz [Mon, 8 Jun 2015 18:47:42 +0000 (14:47 -0400)]
disable animations on clients during hide

9 years agoonly freeze/thaw edje objects on non-input clients
Mike Blumenkrantz [Mon, 8 Jun 2015 18:46:33 +0000 (14:46 -0400)]
only freeze/thaw edje objects on non-input clients

9 years agofix eo errors for ilist icon select state
Mike Blumenkrantz [Mon, 8 Jun 2015 16:35:16 +0000 (12:35 -0400)]
fix eo errors for ilist icon select state

9 years agowl-desktop-shell: Fix T2357: Update xdg_shell for version 5
Chris Michael [Mon, 8 Jun 2015 16:23:40 +0000 (12:23 -0400)]
wl-desktop-shell: Fix T2357: Update xdg_shell for version 5

Summary: This fixes the Enlightenment wayland desktop shell by
updating it to support xdg_shell version 5. Fixes T2357 where gtk apps
would not work. Confirmed working now.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoupdate po files
Carsten Haitzler (Rasterman) [Mon, 8 Jun 2015 12:14:46 +0000 (21:14 +0900)]
update po files

9 years agoe mixer - replace with epulse/emixer
Carsten Haitzler (Rasterman) [Mon, 8 Jun 2015 12:00:23 +0000 (21:00 +0900)]
e mixer - replace with epulse/emixer

this is emixer (epulse) from

http://git.enlightenment.org/devs/ceolin/epulse.git

the emixer binar is rewritten though and the emix lib is compiled-in
into the module and into the binary as oppopsed to a shared lib with
loadable modules. this supports alsa and pulse. a much more solid mixer.

9 years agofix leak in randr2 when matching clone modes
Carsten Haitzler (Rasterman) [Mon, 8 Jun 2015 11:53:13 +0000 (20:53 +0900)]
fix leak in randr2 when matching clone modes

9 years agoe desklock - listen to randr screen changes and re-do locks
Carsten Haitzler (Rasterman) [Mon, 1 Jun 2015 09:38:31 +0000 (18:38 +0900)]
e desklock - listen to randr screen changes and re-do locks

fix due to new randr2 stuff

9 years agolower minimum backlight clamp to 5%
Mike Blumenkrantz [Fri, 5 Jun 2015 13:13:23 +0000 (09:13 -0400)]
lower minimum backlight clamp to 5%

sometimes 10% is still way too bright

9 years agoenlightenment deskenv support - fix dialog labelling and desktop name
Carsten Haitzler (Rasterman) [Thu, 28 May 2015 02:41:28 +0000 (11:41 +0900)]
enlightenment deskenv support - fix dialog labelling and desktop name

1. Enlightenment, not X-Enlihgtenment for the desktop. we're a proper DE name
2. Have a fixed desktop env list and efreet gives very... odd results
(eg X-Geequie because some rogue desktop file decides it's good to
have this in it :)).

9 years agoe start - path manipulation - don't add a : if there already is one
Carsten Haitzler (Rasterman) [Tue, 26 May 2015 23:43:13 +0000 (08:43 +0900)]
e start - path manipulation - don't add a : if there already is one

avoids adding more : chars to make a broken path even worse

9 years agoResize the canvas at the end of canvas init
Derek Foreman [Fri, 22 May 2015 16:24:07 +0000 (12:24 -0400)]
Resize the canvas at the end of canvas init

Summary:
wl_drm sets up a resize callback, so if the resize occurs before zone setup
wl_drm's call to e_comp_canvas_update will setup extra zones (breaking the
wizard).

Reviewers: zmike, devilhorns

Subscribers: cedric

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

 #butts

9 years agofix focusing client on mouse events which trigger actions (with exceptions)
Mike Blumenkrantz [Thu, 21 May 2015 16:31:00 +0000 (12:31 -0400)]
fix focusing client on mouse events which trigger actions (with exceptions)

block focus events only if focus has changed to another client or the current
client's layer-actual has been lowered

regression from 719b2baeba8133a021663e8281e6fd53662e8b16

9 years agoe - fix profiles to have correct adjust value for bl adjust in bindings
Carsten Haitzler (Rasterman) [Thu, 21 May 2015 04:43:00 +0000 (13:43 +0900)]
e - fix profiles to have correct adjust value for bl adjust in bindings

@fix

9 years agoe randr2 - add some logic for knowing when to ask to configure a screen
Carsten Haitzler (Rasterman) [Sat, 16 May 2015 14:18:32 +0000 (23:18 +0900)]
e randr2 - add some logic for knowing when to ask to configure a screen

start of a "what do you want to do with this screen (clone, extend etc.)"
feature

9 years agoe - randr2 - filter to the "best" common mode match on clone config
Carsten Haitzler (Rasterman) [Sat, 16 May 2015 13:56:01 +0000 (22:56 +0900)]
e - randr2 - filter to the "best" common mode match on clone config

this should fix T2100

9 years agouse layout for theme import dialog
Mike Blumenkrantz [Wed, 20 May 2015 12:18:48 +0000 (08:18 -0400)]
use layout for theme import dialog

fixes min sizing

9 years agoremove legacy entry widget pointer setting code
Mike Blumenkrantz [Wed, 20 May 2015 12:11:59 +0000 (08:11 -0400)]
remove legacy entry widget pointer setting code

fix T2424

9 years agoProperly fix T2182 (add a --version option to enlightenment)
Chris Michael [Mon, 18 May 2015 18:41:45 +0000 (14:41 -0400)]
Properly fix T2182 (add a --version option to enlightenment)

Signed-off-by: Chris Michael <cp.michael@samsung.com>
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>