Commit Graph

15622 Commits

Author SHA1 Message Date
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
Carsten Haitzler 3bab4cbb05 enable ptrace of yama ptrace scope disabled on linux
this apparently re-enabled ptracing if the kernel says "nooo".
@fix
2014-05-12 17:37:04 +09:00
Mike Blumenkrantz f540df9135 fix music-control theme namespacing 2014-05-11 14:05:12 -04:00
Mike Blumenkrantz 79e6365b0a rename pager16 theme groups pager2 -> pager16 2014-05-11 13:57:13 -04:00
Mike Blumenkrantz 6d3c9d3a19 feature: add automatic compositor engine detection
this takes care of the previously-required E_WL_FORCE autodetection. E_WL_FORCE behavior unchanged
2014-05-11 13:07:12 -04:00
Mike Blumenkrantz 16ad939ecb reorder comp_x init 2014-05-11 12:58:29 -04:00
Seunghun Lee dfd6ebd986 update client initial attributes on geometry configurerequests
split from D808
2014-05-11 12:39:54 -04:00
Wonguk Jeong 142829e819 pager/pager16: fix wrong min values.
Summary:
currently, if we shrink pager gadget horizontally, the resize guide (blue rectangle) became smaller (16x16, pager16: 4x4) than real pager size.
There was hard-coded min value.

calculate min value base on aspect ratio for real.

@fix

Test Plan: pager -> begin move/resize -> make it small horizontally as much as possible -> check whether the guide is fit on real size.

Reviewers: raster, zmike

CC: seoz, cedric

Differential Revision: https://phab.enlightenment.org/D793
2014-05-11 12:30:00 -04:00
Mike Blumenkrantz 53cee12648 only unhide client during remember if remembered desk is not the already-set desk
fix T1243
2014-05-10 17:18:09 -04:00
Mike Blumenkrantz 59afd894e4 lower DESKTOP->NORMAL layer markers on startup to fix override layering 2014-05-10 17:18:09 -04:00
Mike Blumenkrantz 9f99812d1d ignore configure events on layer marker windows 2014-05-10 17:18:08 -04:00
Mike Blumenkrantz b3efbfb91d fix relative stack object check 2014-05-10 17:18:08 -04:00
Mike Blumenkrantz 5434656751 add check for stacking errors in non-release builds 2014-05-10 17:18:08 -04:00
Mike Blumenkrantz 81038f8d02 fix some smart_data_get stragglers in comp object 2014-05-10 17:18:08 -04:00
Mike Blumenkrantz fdeb104733 comp can only set native surface with gl, so only try setting based on gl 2014-05-10 17:18:08 -04:00
Chidambar Zinnoury 447172a626 Bugfix: e fileman: Have directories ordering configuration work as it should. 2014-05-10 13:53:44 +02:00
Chidambar Zinnoury 2026958af0 Bugfix: e xkbswitch: Fix parsing when there is no space in group name. 2014-05-10 13:44:53 +02:00
Mike Blumenkrantz 7bfeef352c block desktop instance matching for clients which have a different pid from the startup id
these should get set more accurately in a followup test

fix T1237
2014-05-09 22:53:53 -04:00
Mike Blumenkrantz 982d843d53 gtk rcfiles atom should only be triggered on first startup 2014-05-09 22:43:51 -04:00
Mike Blumenkrantz 85396eb28d remove unused static variable 2014-05-09 22:34:08 -04:00
Mike Blumenkrantz 317cc426b9 don't do xsettings atom shutdown during shutdown
this forces an xsync which just wastes time for no reason
2014-05-09 17:16:06 -04:00
Daniel Kolesa 130d099c87 FreeBSD support for helpful error message in screenshot 2014-05-09 16:58:03 +01:00
Chidambar Zinnoury 4db7e467c7 e fileman: Remove unused parameter.
Thanks Mike!
2014-05-09 16:49:43 +02:00
Mike Blumenkrantz 1ac25835db screenshot now displays a helpful error message when it fails
now that larger xinerama setups are getting more common, it's also the case that shm creation is more likely to fail due to SHMMAX defaults only working on displays smaller than than 8,388,609 total pixels. in this case, we print a helpful error message so the user can (optionally) increase SHMMAX
2014-05-09 10:46:30 -04:00
Chris Michael dfd14bc7d3 wl-x11: Include Ecore_X header
@bugfix: If we are going to be using ecore_x functions, we need to
include the Ecore_X header file

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-05-09 13:58:20 +01:00
Mike Blumenkrantz 4675323286 bugfix: appindicator service name parsing now stringshares correctly
fix T811
2014-05-08 17:00:15 -04:00
Mike Blumenkrantz 43ed524431 > be in 2013
> still using sprintf
2014-05-08 17:00:15 -04:00
Mike Blumenkrantz 61c1282015 bugfix: fix systray appindicator icon loading
fix T811
2014-05-08 17:00:15 -04:00
Mike Blumenkrantz 275e20b2bc redo some systray appindicator stuff so the menu doesn't immediately close 2014-05-08 17:00:15 -04:00
Mike Blumenkrantz 76ad5a9218 don't set pass events on ibar icons 2014-05-08 17:00:15 -04:00
Mike Blumenkrantz 73574e3d44 bugfix: fix obviously-wrong winlist animator deletion
fix T1215
2014-05-08 17:00:15 -04:00
Mike Blumenkrantz 7b88d63e52 ibar menu no longer sometimes covers its ibar 2014-05-08 17:00:15 -04:00
Mike Blumenkrantz 392aea270a use same zone for ibar menu as gadget 2014-05-08 17:00:15 -04:00
Daniel Kolesa 6444b1569a resizeble -> resizable 2014-05-08 16:33:46 +01:00
Gwanglim Lee 72f1dcc748 add missing eina_list_append in comp init
Summary: add missing eina_list_append in comp init

Test Plan: N/A

Reviewers: raster, zmike, devilhorns

CC: cedric

Differential Revision: https://phab.enlightenment.org/D835
2014-05-08 11:30:01 -04:00
Mike Blumenkrantz 518466a9e4 unset client->hidden when applying remember vdesk
fix T1171
2014-05-07 21:36:49 -04:00
Mike Blumenkrantz 044edb7925 only use e_exec's vdesk if client does not use its remember's vdesk 2014-05-07 21:36:25 -04:00
Mike Blumenkrantz fe18fbeffd fix winlist alignment
fix T1215
2014-05-07 21:06:06 -04:00
Mike Blumenkrantz cbf8d4b915 trivial winlist creation changes 2014-05-07 21:05:04 -04:00
Mike Blumenkrantz 4cc1ca57e3 syscon buttons: because reusing the existing button widget was too much hassle
fix T1155
2014-05-07 20:07:48 -04:00
Mike Blumenkrantz 58a2dfc94e reset efm icon image/text/state after applying even/odd
fix T1222
2014-05-07 19:39:44 -04:00
Mike Blumenkrantz 452a23019c reset scanners/sorters and decrement busy state on efm path set
no more arbitrarily loading file icons from other directories into the current view, mmk?
2014-05-07 17:58:34 -04:00
Mike Blumenkrantz 9e3dedb23f hide fileman popups on window close
fix T1221
2014-05-07 17:46:24 -04:00
Mike Blumenkrantz 22c8d5ca77 fix auto unmounting of volumes if mount occurred due to auto_mount option 2014-05-07 17:43:12 -04:00
Mike Blumenkrantz 810f44d25f do show removable media on first sighting (wtf?)
fix T1227
2014-05-07 17:06:49 -04:00
Mike Blumenkrantz 2cc4ae1fb8 fix more eo edje emit errors 2014-05-07 16:52:44 -04:00
Mike Blumenkrantz 0202c19d49 add efm op to notify of device backend changes 2014-05-07 16:46:56 -04:00
Mike Blumenkrantz 157702c6d1 block shelf autoshow if fullscreen client is present
T1232
2014-05-07 16:04:48 -04:00
Mike Blumenkrantz 3216d8e152 eolian files should be distributed, no need to rerun this on every package build 2014-05-07 16:01:47 -04:00
Mike Blumenkrantz 329322f9a7 fix name of screen blank dialog
fix T1201
2014-05-07 15:33:33 -04:00
Mike Blumenkrantz a963666656 use separate variable for backlight animator value
using e_bl_val here is wrong now since this needs to calculate against the starting and ending backlight values, neither of which are represented accurately by e_bl_val in some cases.

this fixes the gradually decaying backlight which occurs over repeated screen blanks

probably fixes T1152
2014-05-07 15:28:08 -04:00
Mike Blumenkrantz 572760ae0e only update e_bl_val directly in backlight_level_set if not using randr backlight
this is the "real" backlight value, so it needs to always be accurate. since randr backlight sets this value elsewhere, only use those real updates to ensure genuine values
2014-05-07 15:26:42 -04:00
Mike Blumenkrantz 787ca774de return all fm objects matching a path
fix T1191
2014-05-07 14:11:20 -04:00
Mike Blumenkrantz adcf979e5c always unset need_unmaximize after maximize
fix T1203
2014-05-07 12:43:29 -04:00
Mike Blumenkrantz 58d8243457 force geometry setting during maximize
fixes adding maximize states
2014-05-07 12:42:41 -04:00
Mike Blumenkrantz aff4f3516f clamp ibar menu location to ibar zone
fix T1170

fix T1174
2014-05-07 12:06:25 -04:00
Mike Blumenkrantz 0b6b75939e hide ibar menu if no clients exist for lone exe instance 2014-05-07 11:54:34 -04:00
Mike Blumenkrantz f21400e209 don't allow fileman popups to span multiple monitors 2014-05-07 11:33:48 -04:00
Jérémy Zurcher 7ff5a2a744 fix launch mixer from config panel, select card and channel 2014-05-07 14:44:10 +02:00
Jérémy Zurcher 3679550b5c e_fm: add missing EINA_UNUSED 2014-05-07 12:16:10 +02:00
Jérémy Zurcher c12e9740a9 temperature: have_temp is an Eina_Bool, use it as such 2014-05-07 12:05:14 +02:00
Jérémy Zurcher 316b4030e7 music-control: add missing EINA_UNUSED 2014-05-07 11:56:35 +02:00
Jérémy Zurcher b6907e848a ibar: silence uninitialized warning 2014-05-07 11:48:18 +02:00
Jérémy Zurcher 42d2387b70 everything: fix warnings uninitialized and extraneous parentheses 2014-05-07 11:44:32 +02:00
Jérémy Zurcher de779ee133 connman: add missing EINA_UNUSED 2014-05-07 11:37:22 +02:00
Jérémy Zurcher a161537006 bluez4: add missing EINA_UNUSED 2014-05-07 11:23:09 +02:00
Tom Hacohen dfbb42b81d Tiling: Set pass events on the split type popup. 2014-05-06 15:56:38 +01:00
Tom Hacohen 1433be5e3c Tiling: Add informational popup when changing tiling mode. 2014-05-06 15:44:55 +01:00
Tom Hacohen 10d009339a Tiling: Allow changing tiling mode through key-binding from all desktops.
Without this it is impossible to change the tiling mode using the key binding
but you can still change it using the gadget which is stupid.
2014-05-06 14:41:48 +01:00
Tom Hacohen f3d0f73cf6 Tiling: Fix toggle floating mode for untiled window.
This is useful in case they are going to become tiled, e.g maximized
or just from another desktop.
2014-05-06 14:38:44 +01:00
Tom Hacohen 938dee1e3b Tiling: Fix some issues and simplify code.
This fixes the issue with a floating window turned tiled and then closed
leaving a ghost window.
2014-05-06 14:22:04 +01:00
Seunghun Lee 1d9a94c7e9 remove duplicated code
Summary:
this patch removes duplicated code.
the event handler of "focus in/out" already added above it.

Reviewers: raster, zmike

CC: cedric

Differential Revision: https://phab.enlightenment.org/D816
2014-05-02 06:48:28 -04:00
Gwanglim Lee c70e3eb531 remove duplicate xkb_rule_names and xkb_context
Summary: There are already in inner structure xkb in E_Wayland_Compositor.

Test Plan: Build e

Reviewers: raster, devilhorns, zmike

CC: cedric

Differential Revision: https://phab.enlightenment.org/D742
2014-04-26 13:36:53 -04:00
Gwanglim Lee a5bd16603f e_comp_x: fix black area of override redirect win
Summary:
Black area of override redirect window could send damage notify which has unwanted xy position.
(a) Skip x configure notify with 3,55 316x162 of override redirect win
(b) Handle x show notify: create a new client and x damage for override redirect win
(c) Handle x damage notify with 3,55 316x162

To resolve it, E discards unwanted xy position of first damage for override redirect window.
This fixes remained problem of T1180 and T1188.

Test Plan:
1. Run e with sw engine mode
2. Run pcmanfm
3. Select menu in pcmanfm
4. Check whether menu window has black area

Reviewers: raster, zmike, devilhorns

CC: cedric

Differential Revision: https://phab.enlightenment.org/D800
2014-04-26 13:17:13 -04:00
Gwanglim Lee 69e39063dd e_comp_object: update xy position of client in intercept_move to avoid unwanted first damage if given client is not a new_client
Summary:
xterm and pcmanfm windows shows black area if e is running with sw engine mode. (T1180)
In this case, there are two problems:

1. Unwanted geometry info of first damage by wrong window move in intercept_move.
(a) Handle x map request
(b) Initialize client_inset value of comp object according to geometry value of "e.swallow.client" part
(c) Set client_inset value to cw->client.x and y in intercept_move
(d) Call ecore_x_window_move_resize with wrong x and y at idler
(e) Create x damage
(f) Handle unwanted damage notify event which has position values same as client_inset.
(g) Copy image contents from pixmap according to wrong area info of damage notify and render it on screen.

2. Problem of override redirect window
Black area of pcmanfm's menu is related to override redirect window.

This patch only covers 1st problem not 2nd problem.
The override redirect window should be fixed by another way.

Test Plan:
1. Run e with sw engine mode or run x-ui.sh in e git simply
2. Run xterm which is using classic x drawing api
3. Check client window area of xterm

Reviewers: raster, zmike, devilhorns

CC: cedric

Differential Revision: https://phab.enlightenment.org/D795
2014-04-25 12:50:47 -04:00
Gwanglim Lee a008cd66fd change name of include guard E_COMP_H
Summary: e_comp is not an e module anymore.

Test Plan: N/A

Reviewers: raster, devilhorns, zmike

CC: cedric

Differential Revision: https://phab.enlightenment.org/D791
2014-04-25 00:20:18 -04:00
Carsten Haitzler a444f71db7 add -lrt checking to e build 2014-04-25 09:46:21 +09:00
Gwanglim Lee 6f707894a8 fix e cursor invisible after destroying wayland surface
Summary:
E doen't have to remove pointer_image evas object when destroying wayland
surface. The image contents of pointer_image will be replaced default mouse
cursor in pointer_object at idler unless pointer_image is removed in
e_pointer_image_set.

Test Plan: run e with wayland only server -> run elementary test -> close elementary test

Reviewers: raster, devilhorns, zmike

CC: cedric

Differential Revision: https://phab.enlightenment.org/D776
2014-04-24 12:42:03 -04:00
Gwanglim Lee ecb8d21ab6 set blocks to avoid copying cursor contents from evas buffer canvas in idler_before
Summary:
it fixes a bug that cursor is invisible when running a wayland client.
e_pointer_image_set function sets image data of p->pointer_image to
data of E_Pixmap. and then e_pointer_idler_before function changes
raw image data of p->pointer_image to p->pixels. we should enable blocks
to avoid it.

Test Plan: run enlightenment (wayland only) -> run efl app with wayland shm engine

Reviewers: raster, devilhorns, zmike

CC: cedric

Differential Revision: https://phab.enlightenment.org/D769
2014-04-24 12:41:38 -04:00
Stefan Schmidt f47bed7ed7 e_uuid_store: Write uuid as latest to avoid half-working states 2014-04-24 11:03:53 +02:00
Stefan Schmidt cc23186dbd e_uuid_store: Use libuuid for UUID generation and handling
Instead of rolling our own we go with a known working UUID implementation
here. Dependency should be easy enough as more or less every Linux system
is shipping it anyway.
2014-04-24 11:03:52 +02:00
Stefan Schmidt 19436fe61d e_uuid_store: Handle cases where the store is already present as well as not 2014-04-24 11:03:52 +02:00
Stefan Schmidt 9523d7a93c e_uuid_store: Switch uuid entries from list to array
This should help to store it in the shm
2014-04-24 11:03:52 +02:00
Stefan Schmidt 8662551ee3 e_uuid_store: Add version to table if not yet set 2014-04-24 11:03:52 +02:00
Stefan Schmidt c2ce32596a e_uuid_store: Close shm fd on shutdown 2014-04-24 11:03:52 +02:00
Stefan Schmidt 720f3634f8 e_uuid_store: Print out some more store infos on startup 2014-04-24 11:03:52 +02:00
Stefan Schmidt 8ebda14276 e_uuid_store: Add function to dump the table for debugging 2014-04-24 11:03:52 +02:00
Stefan Schmidt 7a940b1062 feature: e_uuid_store: Add infrastructure to store window/surface properties.
e_uuid_store provides an API to store various window/surface properties
in a mmapped shm memory object based on an assigned UUID. Its main purpose
will be to provide storage of these properties during session recovery when
E acts as a wayland compositor.

@feature
2014-04-24 11:03:52 +02:00