Commit Graph

18485 Commits

Author SHA1 Message Date
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
Carsten Haitzler 8377a28213 asjust po line nums 2014-05-02 21:25:27 +09: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
Wonguk Jeong ac6a0ced61 pager/pager16: fix text update bug during chaging desktop
Summary:
text part of pager popup is updated every desktop change.
But, the text part name is mismatched with style in elementary.

Honestly, I've fixed in pager16 as well since it's same problem. obviously.
Unfortunately, I couldn't test pager16.. where the hell is it.

Fixes T1189

Test Plan: enlightement -> desktop change by using key input -> check whethere proper desktop name is shown on pager popup or not

Reviewers: raster, zmike

CC: seoz, cedric, maxerba

Maniphest Tasks: T1189

Differential Revision: https://phab.enlightenment.org/D780
2014-04-24 17:56:50 +09:00
Wonguk Jeong cf6d509dfe filepreview: video size bug fix
Summary: after commit 36a4948085, video size was not proper size in preview. the commit was good refactoring. resize only when the video file is opened. but, the smart callback name was wrong. change smart callback name from "length_change" to "open_done"

Test Plan: enlightenment -> efm -> preview on video file -> check whether the video size is shown properly

Reviewers: raster, zmike

CC: seoz, cedric

Differential Revision: https://phab.enlightenment.org/D779
2014-04-22 13:10:00 -04:00
Chidambar Zinnoury be6b912adb Bugfix: e syscon: Cleanup everything when closing the dialog by clicking outside of it.
Inputs were still being held, leading to inability to interact with windows unless restarting Enlightenment.
2014-04-21 23:24:21 +02:00
Chidambar Zinnoury f193f90ce8 Bugfix: e syscon: Use correct coordinates to have the dialog centered on multiple zones. 2014-04-21 23:04:47 +02:00
Chidambar Zinnoury 36a4948085 Bugfix: e filepreview widget: No need to compute dimensions and resize widgets at each and every single frame.
Doing it once on file opening should be enough.
2014-04-21 22:40:45 +02:00
Chidambar Zinnoury b4a58ad874 Bugfix: e fileman: Correct automagic window size computation.
When available width is less than minimum width, the height was computed according to the available width, but the window width was effectively the minimum width: its height was thus more than needed.

 The function now takes the minimum dimensions so that correct height and width are computed.
2014-04-21 21:54:15 +02:00
Chidambar Zinnoury 233347209d Bugfix: e fileman: Correct typo on height computation. 2014-04-21 21:53:05 +02:00
Chidambar Zinnoury 07cd656320 Bugfix: e fileman: Fixe information popup placement.
– Use zone coordinates on desktop icons to have the popup placed where it should be with multiple screens.
– Use correct window content coordinates to account for the client frame.
2014-04-21 19:36:37 +02:00
Chidambar Zinnoury c52d6e201a Bugfix: e filepreview widget: Use correct units for devices sizes.
This will also make them consistent with file sizes.
2014-04-21 16:32:02 +02:00
Chidambar Zinnoury e045d2c287 e xkbswitch: Add check changed. 2014-04-21 15:56:04 +02:00
Chidambar Zinnoury 2b870ed318 e xkbswitch: Align indentation. 2014-04-21 15:56:04 +02:00
Chidambar Zinnoury 51935ac26d Bugfix: e xkbswitch: Disable both up and down buttons when there is only one configuration. 2014-04-21 15:56:04 +02:00
Chidambar Zinnoury 7496cf207d e music-control: Add MPD support. 2014-04-21 15:56:04 +02:00
Chidambar Zinnoury f63e53530a e syscon: Add check changed. 2014-04-21 15:56:03 +02:00
Chidambar Zinnoury 041132bacf e system: Show units. 2014-04-21 15:56:03 +02:00
Chidambar Zinnoury 0414a17fdc e syscon: For user-friendliness, show “System Controls” instead of “Syscon” on labels. 2014-04-21 15:56:03 +02:00
Chidambar Zinnoury 485fb36f02 Bugfix: e fileman: Client coordinates are not accounted against current zone position, so we should use them when computing maximum width and height.
This helps computing optimal dimensions when using multiple screens.
2014-04-21 15:56:03 +02:00
Chidambar Zinnoury 853f8b3c9a e fileman: Use a macro for minimum dimensions instead of hardcoding them at several places. 2014-04-21 15:56:03 +02:00
Chidambar Zinnoury 3e95955a5c Bugfix: e fileman: Typo on maximum height condition. 2014-04-21 15:56:03 +02:00
Chidambar Zinnoury edaf24d3b0 e: It’s now 2014! 2014-04-21 15:56:03 +02:00
Carsten Haitzler 8e49b69796 re-order icon finding for border to use the most reliable source first 2014-04-19 09:08:37 +09:00
Gwanglim Lee ffcc5e72d9 null check ecstack
Summary: fix segmentation fault error

Test Plan:
run enlightenment (wl only server) -> run elementary_test -> run terminlogy
-> move cursor to elementary_test -> click on elementary_test

Reviewers: raster, devilhorns, zmike

CC: cedric

Differential Revision: https://phab.enlightenment.org/D770
2014-04-18 12:51:36 -04:00
Carsten Haitzler 4cce0080b8 fix resent eo changes to e that break updating labels and toggles
this fixes D1172
2014-04-18 09:53:00 +09:00
Carsten Haitzler bdc3d5b5e3 formatting 2014-04-18 09:39:16 +09:00
Wonguk Jeong fb437cd1b0 comp_x_screensaver: screensaver off bug fix
Summary:
Can not turn off screensaver due to condition check bug.

@fixes

Test Plan: enlightenment -> do nothing -> screen saver on -> mouse/key input -> check whether screen saver is turned off or not

Reviewers: raster, cedric, zmike

Reviewed By: raster

CC: seoz, cedric

Differential Revision: https://phab.enlightenment.org/D766
2014-04-18 09:35:45 +09:00
Carsten Haitzler cf90b84a42 fix screensaver/blanking issue where a ss on/off events come in together 2014-04-17 13:55:39 +09:00
Gwanglim Lee fdd4d50146 Fixed a problem with e wl server that sent invalid key value to wl client. (server-side)
Summary:
This problem occurred due to xkb_keysym_t value of libxkbcommon by e wl server.
e wl server should pass keycode from evdev input device on to wl client.
In order that e wl server receives valid keycode Ecore_Event_Key should have
an extended data member. This patch should be applied with client side patch (efl).

Test Plan: run e wl server -> create wl client -> type keys

Reviewers: raster, devilhorns, zmike

Reviewed By: devilhorns

CC: cedric

Differential Revision: https://phab.enlightenment.org/D713
2014-04-14 08:32:51 -04:00
Mike Blumenkrantz 7274ffa742 improve eolian build dependency 2014-04-11 13:40:58 -04:00