Boram Park
7a078ba99b
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
2015-05-12 14:43:00 -04:00
Daniel Kolesa
82116f63ab
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
2015-05-11 16:45:30 +01:00
Yomi
413463d2cd
Fix misspelling in e_client.h
...
Summary: Fix misspelling in e_client.h
Reviewers: zmike
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2477
2015-05-07 19:01:05 -04:00
Yomi
aa56794304
Fix misspelling in e_randr2.c
...
Summary: Fix misspelling in e_randr2.c
Reviewers: zmike
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2476
2015-05-07 18:41:11 -04:00
Chris Michael
6d2c8c46da
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>
2015-05-07 15:44:50 -04:00
Chris Michael
8039ecb9b7
make e_acpi_lid_is_closed function callable from wl_drm module
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-05-07 15:44:22 -04:00
Chris Michael
0a94e8ba71
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>
2015-05-07 15:13:10 -04:00
Chris Michael
93971bb6fc
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>
2015-05-04 12:40:06 -04:00
Yomi
96ba030edb
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
2015-05-03 17:45:17 -04:00
Jean Guyomarc'h
385a06bd02
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
2015-05-02 10:05:00 -04:00
Mike Blumenkrantz
e9420be020
fix infinite loop when changing ibar sources
...
fix T1951
2015-04-30 17:04:47 -04:00
Mike Blumenkrantz
038df92cdd
only apply fwin focus to main efm object if no icon is editing
2015-04-30 16:06:09 -04:00
Mike Blumenkrantz
9976e1610a
add efm function for getting an editing icon
2015-04-30 16:05:55 -04:00
Mike Blumenkrantz
4dee742079
don't destroy efm icon entry on client focus-in if icon's client is being focused
2015-04-30 16:05:21 -04:00
Mike Blumenkrantz
e24666b929
fix comp input ungrabbing to read more clearly and not pop nocomp wrongly
2015-04-30 14:50:20 -04:00
Mike Blumenkrantz
e1063c196b
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
2015-04-30 14:39:28 -04:00
Mike Blumenkrantz
1f9ec6a710
fix notification text to conform to spec and libnotify implementation
...
fix T2053
fix T2187
2015-04-30 14:11:06 -04:00
Mike Blumenkrantz
9887db64e8
try hicolor icon theme as fallback for fdo icon setting if user's theme fails
...
fix T2142
2015-04-30 12:32:31 -04:00
Mike Blumenkrantz
8d8588ff32
change default icon theme to hicolor
...
ref T2142
2015-04-30 12:31:37 -04:00
Mike Blumenkrantz
b4e41d52c5
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
2015-04-29 17:21:14 -04:00
Mike Blumenkrantz
719b2baeba
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
2015-04-29 17:15:43 -04:00
Mike Blumenkrantz
cb9ab4e1f4
freeze evas events on clients during keyboard move/resize actions
...
fix T2112
2015-04-29 17:02:36 -04:00
Mike Blumenkrantz
a41aa387f3
rename client menu move/resize items to indicate real function
...
ref T2112
2015-04-29 17:02:16 -04:00
Mike Blumenkrantz
2e0bb7dc36
freeze comp object edjes while not hidden
...
requested by cedric
2015-04-29 12:55:42 -04:00
Carsten Haitzler
27cf0d873c
e_place - dont need extrra zone check here anymore
2015-04-28 07:51:35 +09:00
Carsten Haitzler
871fed7493
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.
2015-04-28 07:51:35 +09:00
Mike Blumenkrantz
5db35cd85a
add focus callback to override elm_win being stupid
...
plz elm_win, you can't focus yourself. you aren't a real widget.
2015-04-27 16:03:42 -04:00
Mike Blumenkrantz
505b4551bb
bump modapi version
...
lots of changes lately, may as well force rebuilds
2015-04-27 15:42:28 -04:00
Mike Blumenkrantz
5ae00e6525
redo drop handlers to take an E_Object and Evas_Object
...
temp change to fix crashing when closing fwins with ctrl+w
2015-04-27 15:39:43 -04:00
Mike Blumenkrantz
7c661b54a9
fix evry mouse event detection on wayland
2015-04-27 14:36:42 -04:00
Mike Blumenkrantz
b632afa546
more accurately determine whether a mouse grab is active in some parts of e
2015-04-27 14:32:19 -04:00
Mike Blumenkrantz
0c7ff0b0e9
add comp mouse grab detection function
2015-04-27 14:32:05 -04:00
Mike Blumenkrantz
76eec883b7
add e_grabinput_mouse_win_get()
2015-04-27 14:31:52 -04:00
Mike Blumenkrantz
1d6749e210
only allow efm key actions if key grab does not exist
2015-04-27 14:26:33 -04:00
Mike Blumenkrantz
c7bdf6d992
add comp util function for determining whether the keyboard has been grabbed
2015-04-27 14:21:33 -04:00
Mike Blumenkrantz
ff5b06b79d
fix MANAGER context keybinds to work with rootless compositors
2015-04-27 14:11:05 -04:00
Mike Blumenkrantz
e4298517dd
add internal win trap to set override property on windows
2015-04-27 13:56:56 -04:00
Mike Blumenkrantz
59ea27e819
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
2015-04-27 13:55:47 -04:00
Mike Blumenkrantz
0d439345c1
set focus on comp autoclose objects
...
fix T2114
2015-04-27 13:20:52 -04:00
Mike Blumenkrantz
b9c4171ab1
do not pass key events through autoclose handler
2015-04-27 13:04:53 -04:00
Mike Blumenkrantz
ee44d29ebc
ensure client max w/h props are set before applying them to client geom
2015-04-27 12:30:29 -04:00
Carsten Haitzler
969541a93c
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
2015-04-27 16:54:15 +09:00
maxerba
bd39361afc
Updating italian translation
2015-04-26 20:52:56 +02:00
Mike Blumenkrantz
bfca0f908c
ensure evry key events do not get erroneously rejected in grab mode
...
ref T2030
2015-04-24 14:58:00 -04:00
Mike Blumenkrantz
fd558491fd
don't set e_comp->root for wl compositors
...
root is the root window. wl compositors do not have root windows.
2015-04-24 14:57:05 -04:00
Mike Blumenkrantz
d0f48e6441
fix comp init failure case
2015-04-24 14:12:51 -04:00
Mike Blumenkrantz
3e50235e5b
fix comp fake layer init for wl compositors
...
fix T2363
2015-04-24 14:12:44 -04:00
Mike Blumenkrantz
a080769d5a
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
2015-04-23 13:47:05 -04:00
Mike Blumenkrantz
1f199f940e
fix wl-drm install rule
2015-04-23 13:37:11 -04:00
Mike Blumenkrantz
9c573a49ac
fix internal win pixmap id int size in show trap
2015-04-23 12:35:22 -04:00