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
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
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
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
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
Mike Blumenkrantz [Wed, 20 May 2015 12:18:48 +0000 (08:18 -0400)]
use layout for theme import dialog
fixes min sizing
Mike Blumenkrantz [Wed, 20 May 2015 12:11:59 +0000 (08:11 -0400)]
remove legacy entry widget pointer setting code
fix T2424
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>
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>
Mike Blumenkrantz [Mon, 18 May 2015 17:19:56 +0000 (13:19 -0400)]
allow new fullscreening clients to replace current nocomp where applicable
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
Mike Blumenkrantz [Mon, 18 May 2015 17:00:23 +0000 (13:00 -0400)]
reject client fullscreening based on config and desk visibility
Mike Blumenkrantz [Mon, 18 May 2015 16:11:36 +0000 (12:11 -0400)]
fix nocomp popping on comp input ungrabbing
regression from
e24666b9296d1972f320d89218ce9990e9c44420
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
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>
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>
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>
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>
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>
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>
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>
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
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
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
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.
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>
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>
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>
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>
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>
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>
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
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>
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
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
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
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
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>
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>
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>
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>
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
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
Mike Blumenkrantz [Thu, 30 Apr 2015 21:04:47 +0000 (17:04 -0400)]
fix infinite loop when changing ibar sources
fix T1951
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
Mike Blumenkrantz [Thu, 30 Apr 2015 20:05:55 +0000 (16:05 -0400)]
add efm function for getting an editing icon
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
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
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
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
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
Mike Blumenkrantz [Thu, 30 Apr 2015 16:31:37 +0000 (12:31 -0400)]
change default icon theme to hicolor
ref T2142
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
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
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
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
Mike Blumenkrantz [Wed, 29 Apr 2015 16:55:02 +0000 (12:55 -0400)]
freeze comp object edjes while not hidden
requested by cedric
Carsten Haitzler (Rasterman) [Mon, 27 Apr 2015 22:51:11 +0000 (07:51 +0900)]
e_place - dont need extrra zone check here anymore
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.
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.
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
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
Mike Blumenkrantz [Mon, 27 Apr 2015 18:36:42 +0000 (14:36 -0400)]
fix evry mouse event detection on wayland
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
Mike Blumenkrantz [Mon, 27 Apr 2015 18:32:05 +0000 (14:32 -0400)]
add comp mouse grab detection function
Mike Blumenkrantz [Mon, 27 Apr 2015 18:31:52 +0000 (14:31 -0400)]
add e_grabinput_mouse_win_get()
Mike Blumenkrantz [Mon, 27 Apr 2015 18:26:33 +0000 (14:26 -0400)]
only allow efm key actions if key grab does not exist
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
Mike Blumenkrantz [Mon, 27 Apr 2015 18:11:05 +0000 (14:11 -0400)]
fix MANAGER context keybinds to work with rootless compositors
Mike Blumenkrantz [Mon, 27 Apr 2015 17:56:56 +0000 (13:56 -0400)]
add internal win trap to set override property on windows
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
Mike Blumenkrantz [Mon, 27 Apr 2015 17:20:52 +0000 (13:20 -0400)]
set focus on comp autoclose objects
fix T2114
Mike Blumenkrantz [Mon, 27 Apr 2015 17:04:53 +0000 (13:04 -0400)]
do not pass key events through autoclose handler
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
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
maxerba [Sun, 26 Apr 2015 18:52:30 +0000 (20:52 +0200)]
Updating italian translation
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
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.
Mike Blumenkrantz [Fri, 24 Apr 2015 18:10:48 +0000 (14:10 -0400)]
fix comp init failure case
Mike Blumenkrantz [Fri, 24 Apr 2015 18:10:25 +0000 (14:10 -0400)]
fix comp fake layer init for wl compositors
fix T2363
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
Mike Blumenkrantz [Thu, 23 Apr 2015 17:37:11 +0000 (13:37 -0400)]
fix wl-drm install rule
Mike Blumenkrantz [Thu, 23 Apr 2015 16:35:22 +0000 (12:35 -0400)]
fix internal win pixmap id int size in show trap
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
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
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
Mike Blumenkrantz [Thu, 23 Apr 2015 12:23:13 +0000 (08:23 -0400)]
check module name existence before reading from it
CID 1295427
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.
Mike Blumenkrantz [Thu, 23 Apr 2015 01:04:38 +0000 (21:04 -0400)]
add wl drm module phony make targets
Mike Blumenkrantz [Wed, 22 Apr 2015 23:36:21 +0000 (19:36 -0400)]
use const lists for drm devices in signal handlers
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
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
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
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
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
Mike Blumenkrantz [Wed, 22 Apr 2015 22:28:23 +0000 (18:28 -0400)]
remove dead conf_randr files
Mike Blumenkrantz [Wed, 22 Apr 2015 22:20:47 +0000 (18:20 -0400)]
init randr during wayland init...always
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
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
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