Commit Graph

15809 Commits

Author SHA1 Message Date
Chris Michael 6fded4853d rewrite e_pixmap code:
- reduce variable usage for non-x
  - remove need to memcpy wayland buffer image data
  - add function for setting pixmap buffer resource
  - add shm_buffer access calls around getting wl_buffer data

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

Additional authors: zmike
2014-08-26 10:10:34 -04:00
Chris Michael 688c5303f6 fix unused variables if building for wayland only
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:34 -04:00
Chris Michael 217d5a95bc remove old wayland compositor and old shell files
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:34 -04:00
Mike Blumenkrantz cef6ebd2db fix post-effect stacking BITCH and post-effect transient stacking 2014-08-26 09:45:04 -04:00
Mike Blumenkrantz e0125a483a fix internal transient clients 2014-08-26 00:27:08 -04:00
Carsten Haitzler 525b963133 transient client windows - improve behavior
* if unplaced, place centered on transient-for on initial placement
  rather that screen centered
* if transient.move and transient.resize options follow options are on
  make transients floow as intended
2014-08-25 20:56:08 +09:00
Mike Blumenkrantz 21da3ed343 use comp object api function for shape cutting to prevent mirrors from getting shapes cut 2014-08-22 18:14:23 -04:00
Mike Blumenkrantz 462d79e147 redo/simplify PRESENT usage in compositor to no longer use PRESENT
keith said no
2014-08-22 09:56:11 -04:00
Chris Michael 2ef8c50a09 conf_intl: Fix disbling of language list box and configure button
This fixes ticket T1526 - Selecting no input method would still allow
the configure button to be pressed, and items selected from the
language list.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-21 14:15:49 -04:00
Wonguk Jeong 08c35a7934 teamwork: pause media on closing
Due to stupid_obj_del_workaround_hack, sound comes out during 3sec
even if media has been disappeared. Although the 3sec workaround should be gone,
pause media on close to fix the side effect.
2014-08-21 18:58:34 +02:00
Mike Blumenkrantz 22c4f68d65 fix ibox eo errors 2014-08-20 18:05:34 -04:00
Mike Blumenkrantz 7c55f465dd fix ibox eo errors 2014-08-20 18:03:07 -04:00
Tom Hacohen 4b24177b4c Tiling: Fix applying tiling on enable with a new config.
Tiling wasn't being applied when enabling it with a new config because
we were comparing with the old config instead of just always applying.

This fixes T974.
2014-08-20 11:02:20 +01:00
Mike Blumenkrantz 164d1506bd properly return done in tw download cbs 2014-08-19 17:49:55 -04:00
Wonguk Jeong d44d042645 teamwork: fix shadow frame during previewing .ogg
if the frame size is invalid on "frame_decode", stop previewing.
It will filter out audio or invalid video previewing

Fixes T1400
2014-08-19 16:21:22 +02:00
Wonguk Jeong 162ad41656 teamwork: remove multiple delete of livethumb, icon, video
Since icon/video will be drawn into livethumb's image canvas,
icon/video would be deleted on livethumb's deletion.
Therefore, don't register icon/video as comp object's del list.(duplicated deletion)

"frame_decode" callback shouldn't be invoked multiple time.
2014-08-19 16:06:26 +02:00
Carsten Haitzler 9251440867 fix evrything shift+tab crash
fixes T1548
2014-08-19 18:44:47 +09:00
Carsten Haitzler 3d006676fb e comp settings - dont need version checks for partial render mode
we need far newer efl versions already long after this feature went
in, so no need for code checks
2014-08-18 12:59:32 +09:00
Wonguk Jeong 2da663a001 efm: clarify function name which is getting selected icons
_e_fm2_uri_icon_list_get() ->  _e_fm2_uri_selected_icon_list_get()
2014-08-17 23:35:41 +02:00
Wonguk Jeong b481c124c8 efm: bug fix in source icons finding logic on dnd
Summary:
There were a few crash cases during drag and drop.
- move file in Desktop using efm,
- move file in same directory using differnt efm

The root cause is icon finding logic. efm finds icons based on URI string.
But, the found icon could be different with selected one since there could be multiple efm in same directory.

Therefore, this patch filter out icon which is not selected icon.

Fixes T1364

Test Plan:
case 1. open efm -> goto desktop -> move file from ~/Desktop to ~/Desktop/folder
case 2. open two efm -> goto same directory in two efm -> move file to {currentdirectory}/folder in any efm

Reviewers: raster, zmike

Subscribers: cedric, seoz

Maniphest Tasks: T1364

Differential Revision: https://phab.enlightenment.org/D1331
2014-08-17 17:04:15 -04:00
Mike Blumenkrantz c006bbf247 systray xembed handles nocomp interactions more reliably 2014-08-16 09:47:28 -04:00
Mike Blumenkrantz 62023bc722 nocomp enforcing is now more accurate 2014-08-16 09:46:56 -04:00
Mike Blumenkrantz 6bf8e24320 nocomp checks more correctly skip comp_skip objects 2014-08-16 09:46:21 -04:00
Mike Blumenkrantz 8669d68db3 simplify systray handler code 2014-08-16 09:12:48 -04:00
Mike Blumenkrantz 45906bdf20 fix infinite stacking loop when enforcing nocomp 2014-08-15 19:17:33 -04:00
Sebastian Dransfeld b6032b1fbd e_randr: position unknown monitors far right 2014-08-14 12:46:31 +02:00
Sebastian Dransfeld 0cb5704016 e_randr: better initial loading of x config
On first creation of randr config, get output position from crtc and
save config afterwards.
2014-08-14 09:55:02 +02:00
Sebastian Dransfeld 4a59642438 e_randr: update TODO 2014-08-14 09:54:10 +02:00
Sebastian Dransfeld fd5f178c21 e_randr: narrower scoping of variables 2014-08-14 09:51:40 +02:00
Sebastian Dransfeld 81e5bac915 e_randr: remove debug 2014-08-14 09:50:29 +02:00
Mike Blumenkrantz 369ff9c2b9 use_shaped_win can indeed be removed entirely! 2014-08-11 20:30:59 -04:00
Gwanglim Lee ec8a6b829e fix crash after moving gadget between two zones
Summary:
add check new_gcc into the gadman's gadget add handler to prevent invalid ref_count increase
while moving between two zones. and also add object clean code for new_gcc and drag_gcc
when gadget is dropped.

Fixes T722

Test Plan:
1. create clock module on gadcon desktop (settings->gadgets, select "background" under layers, click "configure layer" and add a clock gadget).
2. drag clock gadget from one screen to the other. drop it there.
3. drag clock back to first screen
4. right click on clock and select "clock->remove".

Reviewers: raster, devilhorns, zmike

Subscribers: cedric

Maniphest Tasks: T722

Differential Revision: https://phab.enlightenment.org/D1256
2014-08-11 19:35:37 -04:00
Davide Andreoli d5cbe23bd2 Music-control: added epymc to the list of supported players :) 2014-08-11 21:55:20 +02:00
Carsten Haitzler d6e99dc409 connman gadget - dont display config button unless econnman is installed
this has been just way too confusing. i her user problems all the time
and they just cant see differences between connman module+gadget and
python econnman app.

we do need to have these settings in e in the end anyway... but until
then - disable
2014-08-11 23:45:58 +09:00
Carsten Haitzler 3eb8330144 remove performance - engine cfg dialog as its obsolete
this dialog had a singl option in it - use shaped windows... and we
don't even use it anymore. remove the dialog to avoid confusion and
set use shaeped window to 0 - maybe config val could go entirely?
2014-08-11 10:56:35 +09:00
q66 8293711fc6 use a bit more standard ULLONG_MAX rather than ULONG_LONG_MAX 2014-08-07 23:05:44 +01:00
Carsten Haitzler 4e7c44d534 econnman launch from connman gadget - fix desktop file finding
this fixes T1472
2014-08-07 12:13:13 +09:00
Carsten Haitzler 6367207150 put pager_plain in approved module list 2014-08-07 07:46:38 +09:00
Mike Blumenkrantz 1080b3d5d7 bump config version, update p16 module users to regular p
come on.
2014-08-06 14:18:54 -04:00
Carsten Haitzler 0bb9acc75d comp - with sw comp tell apps to also use sw - disable accel requests
this addresses a vbox gl asccel issue where gl client apps can cause
al of vbox to crash and users find it unexpected that e is set to
software compositing but apps go and use opengl, so it's more
consistent for users
2014-08-06 12:04:27 +09:00
Igor Murzov 1f6ff4deb7 e_icon: Fix typo 2014-08-05 14:08:47 +04:00
Igor Murzov cf37ec604b syscon: Fix inconsistency between e_config_dialog_new() and _get() params 2014-08-05 12:01:45 +04:00
Igor Murzov 21a7370a4d Fix text markup in mouse binding config popup 2014-08-05 12:01:44 +04:00
Carsten Haitzler e2ec390021 rename pager16 to pager and pager to pager_plain
this will mean all users upgrading from e18 to e19 get the new preview
pager. thoose wanting the older plain pager can switch ti pager_plain.
anyon using git will find pager16 remove (or if still installed not
updated) so switch back to pager from pager16. :)
2014-08-05 12:01:22 +09:00
Mike Blumenkrantz 6d0ef37821 fix client struct alignment when using x + wl 2014-08-04 18:00:55 -04:00
Mike Blumenkrantz fd0a5bc934 add silent null check to e_pixmap_is_x() 2014-08-04 18:00:55 -04:00
Gwanglim Lee bb7173be6c fix gadcon client del event typos
Summary: fix E_Event_Gadcon_Client_Del typos

Test Plan: N/A

Reviewers: zmike, raster, devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1260
2014-08-04 10:04:12 -04:00
Wonguk Jeong e2daed5177 conf_display: NULL check before strdup 2014-08-02 15:00:54 +02:00
Mike Blumenkrantz 290e2369d3 s/sumary/summary/g 2014-07-30 19:18:24 -04:00
Mike Blumenkrantz 4d9646b40e unref composite submenu after setting 2014-07-30 18:37:38 -04:00
Mike Blumenkrantz cd610ef9ee enable Move to menu if current screen only has 1 desk but other screen exists 2014-07-30 18:26:52 -04:00
Mike Blumenkrantz 231a81e812 move unredirect client option to submenu 2014-07-30 18:21:31 -04:00
Mike Blumenkrantz 11ec0ea86b make nocomp-skipable objects not require shelf 2014-07-30 14:23:25 -04:00
Mike Blumenkrantz 858504c69f add comp events for nocomp toggle 2014-07-30 14:23:17 -04:00
Mike Blumenkrantz 3c5cc9c0a0 fix a series of oob reads in evry search matching 2014-07-30 11:57:32 -04:00
Mike Blumenkrantz 119dfb1bd8 unset phony exe on client deletion if exe still exists
fix T1460
2014-07-30 11:20:08 -04:00
Mike Blumenkrantz 949a0eeb15 move comp_x pixmap dirty setting to post_resize idler
this fixes a rare race condition which can only be triggered by the tiling module

fix T993
2014-07-30 00:52:20 -04:00
Mike Blumenkrantz 87a79f3dd7 improve tiling startup to not reapply its tree * n_clients 2014-07-30 00:51:03 -04:00
Mike Blumenkrantz ef97ac2ff4 don't set frames on override clients 2014-07-29 23:47:53 -04:00
Mike Blumenkrantz ccad647457 fix scoping on list free to not crash 2014-07-29 07:40:45 -04:00
Jérémy Zurcher 4ba2359ce9 add dbus method org.enlightenment.wm.Core.Version
returns VERSION as in config.h
call: enlightenment_remote -version
2014-07-29 10:26:14 +02:00
Tom Hacohen c29b87c927 Tiling: Fix handling of shelves with top orientation.
This uses the newly added function that lets us get the correct geometry
for all desks.

Fixes T1320.
2014-07-29 01:39:34 +01:00
Mike Blumenkrantz 2b90d983a3 redo zone geometry calc to take a desk, add e_zone_desk_useful_geometry_get()
ref T1302
2014-07-28 09:05:25 -04:00
Mike Blumenkrantz 87b9003092 use e_client_border_set() in tiling 2014-07-28 08:42:24 -04:00
Mike Blumenkrantz 291c1f7cc5 break out client border setting into separate function 2014-07-28 08:42:24 -04:00
Mike Blumenkrantz 69c89d7202 unset border.changed after changing border in tiling
fix T1456
2014-07-28 08:42:24 -04:00
Tom Hacohen 6da3771eb8 Tiling: Clean up the tiling entry check code.
This makes it a little less redundant.
2014-07-28 10:41:54 +01:00
Mike Blumenkrantz fb3f852601 redo start/syscon menu deactivate callbacks to not crash
fix T1448
2014-07-27 17:40:53 -04:00
Mike Blumenkrantz 40d0505e51 check tileable state before enforcing client entry existence
fix T1304
2014-07-27 16:58:58 -04:00
Mike Blumenkrantz d621cb6738 tiling should stop pussyfooting around frame changes and do its own gruntwork
fix T993
2014-07-27 16:53:25 -04:00
Mike Blumenkrantz 06cbbb1ac4 correctly use EC_CHANGED in tiling 2014-07-27 16:45:39 -04:00
Mike Blumenkrantz 98b5246bc0 improve qa init: call startup function to apply existing entries and client states
fix T1435
2014-07-27 16:34:37 -04:00
Mike Blumenkrantz 7486cc179a change qa event handler init to use list macro 2014-07-27 16:34:37 -04:00
Mike Blumenkrantz df57ef15a3 use client stick apis in qa
setting properties manually breaks everything else which expects events
2014-07-27 16:34:37 -04:00
Mike Blumenkrantz e7cb1f9468 break out qa client validation into separate function 2014-07-27 16:15:49 -04:00
Mike Blumenkrantz 7b61749184 correctly use EC_CHANGED in qa 2014-07-27 16:10:12 -04:00
Mike Blumenkrantz 44eb1a41c6 shutup qa logging 2014-07-27 15:53:41 -04:00
Mike Blumenkrantz 8233bf8c25 clear efm file buffer after cut+paste operation
fix T1455
2014-07-27 15:47:48 -04:00
Mike Blumenkrantz cc8d315aad remove unused p16 var 2014-07-27 12:24:00 -04:00
Mike Blumenkrantz 8e1c410aba fix pager16 recalc crash from previous commit 2014-07-27 12:23:30 -04:00
Wonguk Jeong aada5dea8d pager16: resize on desktop bug fix
Summary:
pager16 is not properly resized when it is a desktop gadget.

Case 1. In move/resize mode, shrink is impossible since all items' min has been set by setting table options on resizing.
-> Do not set table options in _pager_resize().

Case 2. After log-in, if we open new window, pager has been get into move/resize mode.
frame resize was ignored, since it's invoked in the middle of resizing.
The detail is:
1) gadcon's frame is resizing
2) the table is resized
3) _pager_resize() -> e_gadcon_client_aspect_set() -> _gadman_gadget_size_hints_cb() -> try to resize frame
4) since frame is in the middle of resizing, the resize request has been ignored. (at start, since the initial size was 0, 0, pager get into move/resize mode)
-> Defer aspect setting.

fixes T1012

Test Plan:
Caes 1. try to shrink pager16 gadget on desktop
Case 2. open any window after log-in -> check whether the pager has been getting into move/resize mode and shrink

Reviewers: zmike

Subscribers: cedric, seoz

Maniphest Tasks: T1012

Differential Revision: https://phab.enlightenment.org/D1242
2014-07-27 09:16:25 -04:00
Carsten Haitzler 49812337e9 e menu - try fix a bug in e apps menu crashes with new efreet api
this fixes T1441 - or tries.. since it's not easily reproduced, this
is a try and understanding the problem and being conservative by
refcounting until the data is no longer needed. combined with its
needed new api's from 356d10fbeefd3f79f3cc848ed266d33e04ac7238 i hope
this works.
2014-07-23 20:38:01 +09:00
Carsten Haitzler 47b3e30e04 fix whitespace formatting 2014-07-23 19:33:25 +09:00
Mike Blumenkrantz 208d138678 ignore probably-systray clients when checking for nocomp restack clients 2014-07-20 17:28:33 -04:00
Mike Blumenkrantz 54603e2ee3 typo from shelf nocomp commit 2014-07-20 17:28:21 -04:00
Mike Blumenkrantz ac8f73cabc allow nocomp with "above" shelves 2014-07-20 17:17:05 -04:00
Mike Blumenkrantz 26146ccbe4 fix zone sort order 2014-07-19 15:55:34 -04:00
Mike Blumenkrantz 556c21030c handle nocomp eval for visible clients stacked over fullscreen client
probably fixes T1409, T1316, T1388
2014-07-19 15:47:21 -04:00
Mike Blumenkrantz 0599c6897e trivial/break out nocomp end into util function 2014-07-19 15:47:21 -04:00
Mike Blumenkrantz a4619ea492 tiling should not resize deleted clients 2014-07-19 15:47:21 -04:00
Mike Blumenkrantz b944738d83 bugfix: don't save mime info when opening .desktop files
fix T1421
2014-07-16 10:48:48 -04:00
Wonguk Jeong df60d14793 bugfix: desktop_editor: selecting exe bug fix
Summary:
IFDUP source and destination were passed conversely

fixes T1351

Test Plan: setting -> apps -> personal app launcher -> add -> open desktop editor -> open file selector -> select file -> check the exec field

Reviewers: raster, zmike

Subscribers: cedric, seoz

Maniphest Tasks: T1351

Differential Revision: https://phab.enlightenment.org/D1189
2014-07-16 10:48:48 -04:00
Mike Blumenkrantz 0c191c0a47 add missing client type checks 2014-07-14 13:12:32 -04:00
Mike Blumenkrantz 9a1e8df8f1 redo ibar wheel logic
this is very slightly more cpu intensive but compensates by not inexplicably crashing
2014-07-14 13:12:32 -04:00
Mike Blumenkrantz 8c65d7452e fix ibar wheel scrolling with only one exe 2014-07-14 13:12:32 -04:00
wonguk.jeong e2bf6f4427 e_fm: fix symlink access bug
Summary:
There was no checking about absolute path of symbolic link
In case of symbolic link, use real link (absolute path) and set sd->dev as "/"

Fixes T1365

Reviewers: raster, zmike

CC: seoz, cedric

Maniphest Tasks: T1365

Differential Revision: https://phab.enlightenment.org/D1147
2014-07-08 13:37:15 -04:00
Mike Blumenkrantz 1a11067c32 update contact/illume to not use broken/removed layout client hook 2014-07-07 13:43:18 -04:00
Mike Blumenkrantz 3c7fab995c +e_client_layout_cb_set()
let's keep client hooks for clients.
2014-07-07 13:42:47 -04:00
Mike Blumenkrantz db49d8cc75 Revert "bring back client hook that breaks illume2 + contact"
This reverts commit 36c3d15c0b.
2014-07-07 13:29:59 -04:00
Carsten Haitzler 217bc3347f e backlight - fix updae fetching at end of balckight fade anim
this helps keep the bl gadget in sync with actual backlight
2014-07-07 23:53:46 +09:00
Carsten Haitzler 412095fe67 have e disable screensaver on resume to force screen on
this fixes T1384
2014-07-07 23:35:06 +09:00
Carsten Haitzler 36c3d15c0b bring back client hook that breaks illume2 + contact
i know it's not that pretty, but this brings back the
E_CLIENT_HOOK_CANVAS_LAYOUT as there just is no viable replacement and
thus breaks 2 modules. this fixes T1402 - we chances are just that
this needs a separate hook point as it isnt a per-client but a
per-comp hook.
2014-07-07 15:11:56 +09:00
Carsten Haitzler dec56e87da e - fix xdg runtime dir creation withotu deletion
this fixes T1366 - uses tmp dot file in xdg dir to mark it for
deletion to survive e restarts and crashes.
2014-07-07 14:46:35 +09:00
Daniel Juyung Seo eeedb6a9d8 sys: Add /sbin and /usr/sbin to sys env path.
Now suspend and hibernate work well on some distributions like Ubuntu.
It was broken at some point. Now it works well.

@fix
2014-07-07 11:58:52 +09:00
Marcel Hollerbach b0f9480eee tiling: this should fix swapping the windows with padding!
Summary: add the padding to the if clause

Test Plan: Set a padding and press WIN+Arrow keys

Reviewers: tasn

Reviewed By: tasn

CC: cedric

Differential Revision: https://phab.enlightenment.org/D1117
2014-07-03 20:38:33 +01:00
Mike Blumenkrantz 814507c1d4 hide tw popups on mouse up/down
fix T1290
2014-07-03 11:01:28 -04:00
wonguk.jeong 82b813d915 generate thumbnail based on rotated image according to EXIF orientation tag
Summary:
jpeg image which has EXIF orientation meta data was not rotated properly in fm or preview.

@fix

Test Plan:
1. get in "efl/src/tests/evas/images/ in fm.
2. check whether Light_exif_*.jpg are properly rotated or not.

Reviewers: raster, zmike

CC: seoz, cedric

Differential Revision: https://phab.enlightenment.org/D1109
2014-07-03 10:48:51 -04:00
Mike Blumenkrantz a0790eefff put back efm icon edje type check 2014-07-03 10:48:32 -04:00
Mike Blumenkrantz fd6f686467 move isedje() e_util and simplify/inline 2014-07-03 10:45:59 -04:00
Carsten Haitzler 784813ad4d whitespace/formatting cleanups in shot module 2014-07-01 19:51:04 +09:00
Carsten Haitzler fc7d300e62 fix 2 ecore_exe magic complaints - inst->exe is garbage.
this is only the case when the inst is a phony - so filter these out
2014-07-01 17:29:01 +09:00
Carsten Haitzler 6a1c47a23c fix ibar focus tracking bug with deleted objects (ERR complaints) 2014-07-01 17:13:42 +09:00
Carsten Haitzler 5ad67ccfd2 fix appmenu shutdown of dbus when it's null - no complaint 2014-07-01 16:42:23 +09:00
Carsten Haitzler fabf991909 fix monitoring of non-existant files/dirs in clock module 2014-07-01 16:35:58 +09:00
Carsten Haitzler 5c1c30cd6d fix eio moniotr complaint on non-existing dirs 2014-07-01 16:31:10 +09:00
Carsten Haitzler 7cce5642d6 e menus - check if its an edje obj without having complaints or using eo 2014-07-01 16:26:45 +09:00
Carsten Haitzler cd9588f88a fix complaint on making a system dir from desktop icon editing 2014-07-01 16:23:28 +09:00
Carsten Haitzler 7fe18a6954 unbreak enlightenment compile due to eo usage
so e is using eo... and something in eo changes... and e fails to
compile entirely.... there are hacks to use eo... and this is not good.

eo is still in a beta state. that means any usage of it  can (and
will) break. this is a problem for e. if e uses eo, then eo breaks in
an efl upgrade, e breaks. we can't really have that. we already hit
this problem in terminology with the app server code in elm. so let's
just not use eo in e until it's stable.

this removes eo usage in all places, with the e_menu code having a
small isedje() func due to some of its code paths doing special things
based on if the obj is an edje one or not as opposed to just a simple
"only emit if its an edje obj".
2014-07-01 08:37:33 +09:00
q66 2a312e7000 fix e19 build 2014-07-01 00:08:35 +01:00
Igor Murzov 4f17251e88 Update russian translation 2014-06-30 17:53:44 +04:00
Igor Murzov af50cdc7e1 Properly use gettext for plural forms 2014-06-30 03:44:07 +04:00
Chris Michael fa8c7f53cd econnman: Adjust size of wifi popup dialog to be more sane for smaller
screens

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-06-27 12:15:21 -04:00
Chris Michael 8c21a8a0a0 ibar: add some safeguards to make sure an icon has an exe_current
before trying to get list data from it.

NB: Safeguards added to stop crashes from happening during a
mouse_wheel (reported from Guy Martin).

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-06-26 16:30:45 -04:00
Chris Michael 64683742c4 e-comp-wl: Fix keyboard input sending wrong keys
NB: When running wayland clients under X11, we need to subtract 8 from
the keycode value to reflect X's broken keyboard rules

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-06-26 13:41:25 -04:00
Chris Michael f6d2f30d93 Port D1089 patch from Seunghun Lee <shiin.lee@samsung.com> to current
E master

fix crash and memory leak when press and release any key repeatedly.

Summary:
since the size of wl_array is determined based on one byte,
so in order to compare with uint32_t, the size of wl_array should
be divided by uint32_t's size.
and when calculate the size of wl_array by difference between two
address, address should type cast char* as one byte.

Test Plan:
(1) run terminology
(2) input any key several time.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-06-26 10:58:06 -04:00
Chris Michael 12d22d8fc8 comp-wl: Only blacklist the actual Nvidia driver
If EGL returns No Vendor, don't blacklist it. Only blacklist the Known
to be Broken NVIDIA driver

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-06-26 10:51:20 -04:00
Chris Michael f056e7af62 check for an already existing wayland compositor before trying to
create another one.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-06-26 10:19:34 -04:00
Mike Blumenkrantz b471c3ad8d use battery popup for battery popup mouse events
fix T1356
2014-06-25 16:05:26 -04:00
Mike Blumenkrantz 6e8631b013 redo zone edge flip blocker to require mouse out of current edge before reactivating 2014-06-25 16:05:26 -04:00
Mike Blumenkrantz 41ab2d4158 remove unused E_Zone member 2014-06-25 16:05:26 -04:00
Mike Blumenkrantz a5c098ebc5 reenable edges after signal move ends
probably fix T1363 since it is not reproducible
2014-06-25 16:05:26 -04:00
Mike Blumenkrantz 526bdab7c4 unset fwin win delete callback before delete during delete callback 2014-06-25 16:05:26 -04:00
Mike Blumenkrantz 23392c9d78 don't unset icon dnd during dnd pre-end cb
this prevents smart callbacks from emitting as expected
2014-06-25 16:05:26 -04:00
Mike Blumenkrantz 90b268e377 fix another eo error 2014-06-25 16:05:26 -04:00
Mike Blumenkrantz b0cd7dbea5 make notifications fade appropriately
fix T1362
2014-06-25 16:05:26 -04:00
Mike Blumenkrantz 2047075b66 remove notification theme fallback
this will never fail since the default theme provides it
2014-06-25 16:05:26 -04:00
Chris Michael 2ad62d1b31 systray: Fix duplicate structure name when including EGL headers
When we include support (in the wayland compositor) for compiling with
EGL, the inclusion of the EGL headers cause a conflict with the
Status structure name in this module, so lets rename it.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-06-25 09:44:06 -04:00
Chris Michael 5bbedc3013 cpufreq: Fix duplicate structure name when including EGL headers
When we include support (in the wayland compositor) for compiling with
EGL, the inclusion of the EGL headers cause a conflict with the
Status structure name in this module, so lets rename it.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-06-25 09:42:07 -04:00
Chris Michael 728f383f0b remove call to e_comp_object_frame_geometry_get when handling x/y
configure masks.

NB: We never used the left/top frame geometry after fetching it

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-06-23 16:49:45 -04:00
Mike Blumenkrantz 0842f07f0c add some helpful notes for commonly-misunderstood E_Client flags 2014-06-20 12:58:55 -04:00
Mike Blumenkrantz 971ca73b72 don't apply desk transitions for new clients 2014-06-20 11:16:52 -04:00
Carsten Haitzler 30b5b6d70c ibar - fix segv when ibar_icon data is NULL 2014-06-20 07:32:31 +09:00
Chris Michael 71e7bc0eb9 bluez-module: Fixup menu activation code
SUMMARY: Unify popup menu activation code to match other modules, and
utilize E_MENU_POP_DIRECTION_AUTO for shelves that are in various
positions. Also use the current evas mouse event coordinates and
gadget position to calculate menu popup position.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-06-19 13:18:35 -04:00
Carsten Haitzler c69889279a theme dialog - make theme dir if it doesnt exist 2014-06-18 12:08:15 +09:00
Mike Blumenkrantz 34d91e2f8b add activate test 2014-06-17 09:38:41 -04:00
Mike Blumenkrantz a19d83d125 remove wp2 module
this will be in a separate repository at enlightenment/modules/wallpaper2
2014-06-17 09:37:44 -04:00
Mike Blumenkrantz d654f880a1 fix e_comp_object_client_get() when used with signal callback 2014-06-16 13:35:57 -04:00
Mike Blumenkrantz 3e2c16ebfd update ibar menu theme states dynamically
fix T1300
2014-06-16 13:35:57 -04:00
Mike Blumenkrantz f4e460237b unify ibar menu hiding 2014-06-16 13:35:57 -04:00
Mike Blumenkrantz ace4a32553 add desk_change client smart callback 2014-06-16 13:35:57 -04:00
Mike Blumenkrantz 32c1638da7 simplify ibar client desk visibility check 2014-06-16 13:35:57 -04:00
Mike Blumenkrantz ace6b24955 rename ibar focus signals 2014-06-16 13:35:57 -04:00
Mike Blumenkrantz 5d63f929b1 wizard comp effect disabling now disables all effects
fix T1345
2014-06-16 13:35:57 -04:00
Mike Blumenkrantz 684637394a bugfix: Navigate menu is now sorted case insensitively
fix T1346
2014-06-16 13:35:57 -04:00
wonguk.jeong 9dac6785bc e_int_client_menu: fix window visibility problem during moving to current desktop
Summary:
When visible window was moved from invisible desktop to current desktop via ibar, the window was not shown.

Fixes T1336

Test Plan: open window on 0-0 (desktop) -> goto 1-0 -> move window to 1-0 by using ibar -> check whether window is shown or not

Reviewers: zmike, raster

CC: seoz, cedric

Maniphest Tasks: T1336

Differential Revision: https://phab.enlightenment.org/D1038
2014-06-16 13:35:57 -04:00
Mike Blumenkrantz 3bb96a77f0 remove calls to e_place_zone_region_smart_cleanup() in tiling unload
this is not the correct way to use this function, and tiling should probably never call it. this is a function for (slowly) repositioning every client on the currently visible desktop while trying not to overlap. on failure, which occurs when clients cannot be placed without overlapping, it moves clients to 0,0.

fix T1310 because there is no i in team
2014-06-16 13:35:57 -04:00
Yomi 7b34569ca8 Fix misspellings on line 21 and line 24.
Summary: Fix what I believe to be misspellings of 'Manager' on lines 21 and 24.

Test Plan: Build Enlightenement...

Reviewers: raster, zmike

CC: cedric

Differential Revision: https://phab.enlightenment.org/D1003
2014-06-11 20:19:14 -04:00
Carsten Haitzler 1a321b8fd1 fix build in imagery fgor syscon power gadget - not ugly red shiny button 2014-06-11 19:07:03 +09:00
Sebastian Dransfeld 2247fab472 e-xdg: augment XDG_CONFIG_DIRS as well 2014-06-11 11:18:54 +02:00
Sebastian Dransfeld edf3f90ca3 e: set XDG_MENU_PREFIX so menus get merged 2014-06-11 11:08:26 +02:00
Sebastian Dransfeld 3b899f44fe e: rename applications menu to fit xdg menu spec 2014-06-11 11:08:26 +02:00
Sebastian Dransfeld 25741f93fa backlight: Only check output name if sysdev is set
We only have an action inside the for loop if sysdev is set, so move the
check outside the for loop.
2014-06-11 11:08:26 +02:00
Mike Blumenkrantz 04a8f58ff9 remove useless null checks
CIDs 1155278, 1155289
2014-06-10 20:40:47 -04:00
Mike Blumenkrantz a04df75462 apply a tighter clamp to internal window autosize 2014-06-09 16:15:15 -04:00
Gwanglim Lee 571a696ab8 fix visibility issues related to desktop window profile
Summary:
1. fix window profile change request with wrong x window id
2. refactoring desktop window profile codes to handle e_client_desk_set correctly

Test Plan:
1. enlightenment: Settings Panel -> Screen -> Virtual Desktops -> Check "Use desktop window profile" -> Apply
2. open an efl app on 1st desktop (0-0)
3. set a window remember on efl app window
4. go to 2nd desktop (1-0)
5. open an efl app again. it should be positioned on the previous desktop (0-0)

Reviewers: zmike, raster

CC: cedric

Differential Revision: https://phab.enlightenment.org/D926
2014-06-09 13:30:04 -04:00
Mike Blumenkrantz fc7e06807d hybris support 2014-06-08 12:47:44 -04:00
Mike Blumenkrantz a4f74adddf block client resize requests for fullscreen clients 2014-06-08 12:27:54 -04:00
Mike Blumenkrantz 5ad876ccad block mouse actions on frame for iconic clients
fix T1069
2014-06-08 12:13:02 -04:00
Cedric BAIL 5246d52d72 bg: remove useless and wrong size hint. 2014-06-07 21:10:55 +02:00
Cedric BAIL 3f9af38da2 edje: remove use of deprecated functions. 2014-06-07 21:10:55 +02:00
Mike Blumenkrantz d26dee5805 Revert "fix crash in deskmirror with smart data being null"
This reverts commit 5f0506c790.

this commit makes no sense. if it prevents a crash, then there is a more serious bug elsewhere which should not be covered over by this bandaid.
2014-06-05 16:59:47 -04:00
Mike Blumenkrantz 67855482fc update eo class names, add hack for 1.10 class name compat 2014-06-04 09:28:17 -04:00
Mike Blumenkrantz dbce413b42 fix shape cutting for frames which are larger than their object size implies
requires border themes to have data.item "frame_extends" set
2014-06-04 08:55:06 -04:00
Mike Blumenkrantz d8aa488096 completely revert all eo/eolian usage
this was a neat experiment, but apparently it's not going to be usable for a long time in anything outside efl/elm

This reverts commits f87b9900fa, a49cede790, 81038f8d02, 47cfb31752.
2014-06-04 07:27:50 -04:00
Tom Hacohen b16f04279a Tiling: Mark already deleted client as non-tilable.
This should fix T1301, however I can't reproduce.
2014-06-03 12:49:10 +01:00
Tom Hacohen 70e9b54dde Tiling: Use pre_frame_assign hook instead of fetch.
This essentially reverts 8f0272eb40.

Seunghun Lee, that's why I told you to ask Mike. :)

Fixes T1311
2014-06-03 12:42:30 +01:00
Tom Hacohen f87b9900fa Update code to use the new class names generated by eolian. 2014-06-03 11:55:02 +01:00
Mike Blumenkrantz 1a492e3786 ignore fake client resizes during shade
fix T1314
2014-06-02 16:25:47 -04:00
Mike Blumenkrantz d412ed9da6 typo 2014-06-02 09:28:06 -04:00
Mike Blumenkrantz ba73016595 lower popups created during nocomp
odds are that the user doesn't want to be disturbed by our bullshit at this point

fix T1270
2014-06-02 09:20:56 -04:00
Mike Blumenkrantz 30e4ed9439 block mixer crashes during init
fix T1305
2014-06-02 09:13:55 -04:00
Mike Blumenkrantz 73f35d8444 check current client size before rejecting resize
moderately certain this will fix T993 and also probably fix T1053
2014-06-02 08:42:32 -04:00
Mike Blumenkrantz 5d6fc9cc6f use 0,0 for start rect in shape cutter 2014-06-02 08:40:00 -04:00
Mike Blumenkrantz 59657b2ec6 set systray xembed background to black
fix T1242

 #DealWithIt
2014-06-02 07:30:10 -04:00
Gwanglim Lee af14a444c1 fix warnings
Summary: fix compilation warnings

Test Plan: N/A

Reviewers: zmike

CC: cedric

Differential Revision: https://phab.enlightenment.org/D922
2014-06-02 07:25:10 -04:00
Mike Blumenkrantz c55e16dcb4 fix wl crash with layer_block
D920
2014-06-02 07:20:50 -04:00
Gwanglim Lee a49cede790 add class type check where client layer marker is taken
Summary:
it fixes crash when running wl client apps on e wayland server.
invalid comp object pointer value is returned by using eo_data_scope_get.
thus eo_isa should be added before eo_data_scope_get.

Test Plan:
1. run e wl server
2. run wl client terminlogy
3. run second wl client elementary_test

Reviewers: raster, devilhorns, zmike, stefan_schmidt

CC: cedric

Differential Revision: https://phab.enlightenment.org/D919
2014-06-02 07:16:42 -04:00
Mike Blumenkrantz 82c8556dad shut up impossible null deref
CID 1219856
2014-06-02 05:03:45 -04:00
Mike Blumenkrantz 1aa31dca7a maximize typo
CID 1219857
2014-06-02 04:58:55 -04:00
Carlos Rafael Giani 9e6c276905 bugfix: Fix buffer overflow in desk_show.
Was the wrong structure type which caused writing after the allocated
size and was generally bad and wrong.

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
2014-06-01 15:16:37 +01:00
Tom Hacohen 31d652f87f Remove hacky "+ 8" to the allocation size.
There is actually a real bug there that will be fixed by the next patch.
2014-06-01 15:16:05 +01:00
Mike Blumenkrantz 60aee8d0b9 improve maximize calculations for vertical shelves 2014-05-30 15:55:21 -04:00
Mike Blumenkrantz 5f731a8a63 clamp client calc geometry to zone when maximizing 2014-05-30 15:53:37 -04:00
Mike Blumenkrantz 7bc59d01fe slightly optimize shape cutting
objects below the bottom client are unnecessary, so it's better to just start with the bottom client. this has a nice side effect of working around a weird evas bug where layers can exist while having no objects, breaking stacking iterator functions
2014-05-30 11:22:21 -04:00
Mike Blumenkrantz 3033c550d1 set resize mode for keyboard resizes
fix T1297
2014-05-30 11:02:04 -04:00
Mike Blumenkrantz 29b57b40f6 show moveresize info immediately upon beginning an operation 2014-05-30 11:00:37 -04:00
Carsten Haitzler 0128f86e1e ibar - send signals to icon menu items to indicat focus, other desk 2014-05-30 12:45:26 +09:00
Carsten Haitzler d22fd0b6dc fix boolean to match other bitfield types 2014-05-30 12:16:14 +09:00
Mike Blumenkrantz 483023051e completely redo window profiles
when this feature was added, its behavior was naively set to ignore repeated desk changes. it also was not adequately tested, resulting in a frustratingly large number of bugs.

with these changes, window profiles should no longer be the cause of client visibility being broken as caused by a failure to change desk.

fix TChutney
2014-05-29 16:57:54 -04:00
Mike Blumenkrantz 1a4b0bf29c Revert "fix relative stack object check"
This reverts commit b3efbfb91d.

bad past-self! past-past-self was much smarter than you!
2014-05-29 12:20:38 -04:00
Mike Blumenkrantz b4e4214e5c ensure client is actually stacked below the above-client when raising 2014-05-29 12:19:43 -04:00
Mike Blumenkrantz 7440513af0 set stack object name for client-backed stacking objects 2014-05-29 12:19:10 -04:00
Mike Blumenkrantz 96943573fb remove duplicate layer object creation
I don't know why this was here?
2014-05-29 12:17:57 -04:00
Mike Blumenkrantz 8f9a07fe3a Revert "stacking - fix stacking after/before fullscreening"
This reverts commit 1f8975d546.

totally wrong. do not externally set this.

this issue, which I cannot reproduce, is almost definitely caused due to the fact that _evas_object_layer_set() effectively calls evas_object_raise() without triggering intercept callbacks
2014-05-29 10:25:30 -04:00
Mike Blumenkrantz 7bda4fc790 ignore ignored clients when saving internal remembers
fix T1272
2014-05-29 10:09:06 -04:00
Mike Blumenkrantz 8686b756f5 Revert "this should fix some remember shutdown problem where ec->zone is NULL"
This reverts commit a28bc668c0.
2014-05-29 10:07:36 -04:00
Carsten Haitzler 1f8975d546 stacking - fix stacking after/before fullscreening
input events were broken due to stacking not being maintained for the
actual windows going to/from fullscreen
2014-05-29 21:45:48 +09:00
Carsten Haitzler 5d8fb9e4d5 add delimiter to shape debug to make debugging easier 2014-05-29 20:51:02 +09:00
Carsten Haitzler 5f0506c790 fix crash in deskmirror with smart data being null 2014-05-29 15:34:28 +09:00
Carsten Haitzler a28bc668c0 this should fix some remember shutdown problem where ec->zone is NULL
should fix T1272
2014-05-29 14:35:32 +09:00
Carsten Haitzler 069a1b169a use gstreamer1 emotion module now for video as its rather stable
this also fixes T1290
2014-05-29 14:30:34 +09:00
Carsten Haitzler 05d6225d76 fix screen move by action to work again
this fixes T1275
2014-05-29 14:08:09 +09:00
Carsten Haitzler e811fcd149 e scale dialog - set elm scale too to the same 2014-05-28 18:40:29 +09:00
Gwanglim Lee 9a85338d9c e log: Use a EINA_LOG_LEVELS environment variable for setting log level instead of a E_LOG_LEVEL macro
Summary: Use a EINA_LOG_LEVELS environment variable for setting log level instead of a E_LOG_LEVEL macro

Test Plan:
run e with EINA_LOG_LEVELS=e:4 environment variable.
we can see log messages using EINA_LOG_DOM_DBG.

Reviewers: zmike, raster, devilhorns

Reviewed By: raster

CC: cedric

Differential Revision: https://phab.enlightenment.org/D885
2014-05-28 17:01:16 +09:00
Mike Blumenkrantz 8ec74517ed remove legacy e_sys handler callback system, redo sys action ordering, only blank on action success
fix T1271
2014-05-26 15:57:32 -04:00
wonguk.jeong 0034b2d6ee everything: delete mouse event handlers on selector_free
Summary:
Since mouse up handler is invoked after selector_free, there was a crash.

reproduce: double click on selector area (tabbar area on top) to launch app -> SEGV

Fixes T1264

Test Plan: enlightenment -> everything -> double click on selector area (tabbar on top)

Reviewers: raster, zmike

CC: seoz, cedric

Maniphest Tasks: T1264

Differential Revision: https://phab.enlightenment.org/D886
2014-05-26 15:11:13 +09:00
Thanatermesis 92f462e22c Esperanto: missing entry on wizard from Intl emodule
The languages emodule included an extra Esperanto (eo_US.UTF-8) entry
that was missing in the wizard list.
2014-05-23 01:55:16 +02:00
Carsten Haitzler 2ed5c979c0 pkgkit mod - dont setup null_cb with NULL data as it expects ctxt 2014-05-23 07:45:29 +09:00
maxerba 9f19d5a676 Updating translations 2014-05-19 22:04:38 +02:00
Seunghun Lee 8f0272eb40 tiling: removed unnecessary resizing of window.
Summary:
change the time to call _add_hook to eval_fetch in tiling.
finally, tiling resize window after setting desk of client.

Reviewers: tasn

CC: cedric

Differential Revision: https://phab.enlightenment.org/D869
2014-05-19 09:46:05 +01:00
Carsten Haitzler 2e72c9fc93 fix infinite property change loop
this fixes T1259
2014-05-19 17:11:02 +09:00
Seunghun Lee e84eb965f4 remove unused variable use and function call
Reviewers: raster, zmike

CC: cedric

Differential Revision: https://phab.enlightenment.org/D867
2014-05-19 15:56:01 +09:00
Kai Huuhko 3a89768e48 e_open: Handle URIs in a more generic way
Summary: Fixes T1219

Reviewers: zmike

CC: cedric

Maniphest Tasks: T1219

Differential Revision: https://phab.enlightenment.org/D866
2014-05-19 15:52:43 +09:00
Andy Williams d0459685e0 Apologies, somehow this file got stomped, putting back 2014-05-17 22:27:35 +01:00
Andy Williams bfe9dfcf6f Display the correct background for monitors @fix T1260
Looks like a typo, but let's use the correct coordinates to look up the
zone
2014-05-17 22:17:26 +01:00
Chris Michael e8edb6d2ed add missing EINA_UNUSED for function param
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-05-17 17:56:25 +01:00
Chris Michael d9a5f0ba20 add missing EINA_UNUSED for unused functions params.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-05-17 17:55:44 +01:00
Chris Michael 5fe8d7b9ae add missing EINA_UNUSED for function param
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-05-17 17:55:04 +01:00
Chris Michael 3441777965 fix formatting
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-05-17 17:54:26 +01:00
Chris Michael 05ecdaab79 add missing EINA_UNUSED for unused param
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-05-17 17:54:05 +01:00
Chris Michael 4a50236dbf add missing EINA_UNUSED for unused param
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-05-17 17:53:33 +01:00
Chris Michael e14b28a18b add missing EINA_UNUSED for unused param
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-05-17 17:52:54 +01:00
Chris Michael caddec29ac add missing EINA_UNUSED for unused param
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-05-17 17:52:14 +01:00
Chris Michael a4251d563f add missing EINA_UNUSED for unused function param
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-05-17 17:51:46 +01:00
Chris Michael 8b45a81556 add missing EINA_UNUSED for unused param
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-05-17 17:51:04 +01:00
Chris Michael 9102013df3 add missing EINA_UNUSED for unused param
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-05-17 17:50:25 +01:00
Chris Michael 54b7fa8cbd add missing EINA_UNUSED for unused param
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-05-17 17:49:44 +01:00
Chris Michael d5c622d8a8 add missing EINA_UNUSED for unused param.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-05-17 17:48:51 +01:00
Chris Michael 17f4fd4045 add missing EINA_UNUSED for unused param
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-05-17 17:47:49 +01:00
Chris Michael 751d8e19e0 add missing EINA_UNUSED for unused param
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-05-17 17:47:16 +01:00
Chris Michael 1e6cb7fcce fix formatting
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-05-17 17:46:49 +01:00
Chris Michael 0d87525372 add missing EINA_UNUSED for unused param.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-05-17 17:46:21 +01:00
Chris Michael 46671faf24 add missing EINA_UNUSED for unused param.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-05-17 17:45:43 +01:00
Chris Michael fdd2d9d2d6 fix formatting
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-05-17 17:45:26 +01:00
Chris Michael 7de86ef043 add missing EINA_UNUSED for unused function param.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-05-17 17:44:40 +01:00
Seunghun Lee c907a0eead tiling: fix that tiling can't remove client in _desk_set_hook.
Summary:
initailize the tinfo before calling _remove_client.
remove call "_desk_should_tile_check" in "_remove_client", and added it before calling "_remove_client".
That's beause, in _desk_set_hook, use ev->desk (old desk) to initialize tinfo, and then only remove ec using _remove_client.

Test Plan:
(1) launch any app in one desk.
(2) change the any desk.
(3) launch browser or xchat like the app that launch time is relatively slow.
(4) change the in (1)'s desk quickly before completely launching browser or xchat.
(5) you can see wrong splited screen.

Reviewers: tasn, raster, zmike

CC: cedric

Differential Revision: https://phab.enlightenment.org/D860
2014-05-16 10:21:31 +01:00
Mike Blumenkrantz 9157ca8ca7 all dialogs are now resizable
any bug reports regarding issues resulting this will be ignored.
2014-05-14 13:00:35 -04:00
Seunghun Lee 3c416438b0 fix enlightenment crash by accessing null pointer.
Summary: e_client_below_get can return null, so added null check code.

Reviewers: raster, zmike

CC: cedric

Differential Revision: https://phab.enlightenment.org/D857
2014-05-14 09:09:30 -04:00
Seunghun Lee 60d78371db tiling: fix enlightenment can be freezed by infinite event callback.
Summary:
initialize the tinfo when remove client in tiling.

the reason why of "freezing" that tiling added window twice into _G.tinfo->tree.
then tiling module set to a different size about same window as if two different window.
finally, the event "E_EVENT_CLIENT_MOVE" occurs by changing geometry, and tiling resize the window again by the event "E_EVENT_CLIENT_MOVE".

next, it is the cause of this problem.

In (4), when user types ALT+TAP.
 - tiling module adds uniconify window into _G.tinfo->tree.
 - at this time, _G.tinfo is the informaion of one desk.
 - E create input_only window and destoryed for a moment.
 - tiling module initialize the _G.tinfo by the event EVAS_CALLBACK_DEL happend by destorying input window.
 - now, _G.tinfo is the informaion of the other desk.
In (5), iconify app.
 - tiling try to remove window from _G.tinfo->tree, but failed. (problem)
 - because _G.tinfo isn't initialized to the desk including uniconify window at that time.
In (6), uniconify app.
 - tiling change the _G.tinfo, then insert client info to _G.tinfo.

so I suggest that initializing the _G.tinfo when removing window.

Test Plan:
(1) launch any app.
(2) Iconify it.
(3) change the desk different with launching app.
(4) Uniconify app by ALT+TAP.
(5) Iconify it again.
(6) Uniconify it again.

Reviewers: raster, zmike, tom, tasn

Reviewed By: tasn

CC: cedric

Differential Revision: https://phab.enlightenment.org/D850
2014-05-14 11:05:51 +01:00
Mike Blumenkrantz 4c0665dd61 fix winlist uniconify/unshade
fix T1244
2014-05-12 04:37:49 -04:00