Commit Graph

5535 Commits

Author SHA1 Message Date
Hannes Janetzek e923d63c72 e17: fix dnd to invisible windows and fix e_border_comp_hidden_set
- dont drop e drags (e.g. efm files) to windows from other desks
- should also fix wrong last desk focus set with deskflip animations enabled


SVN revision: 58551
2011-04-11 12:22:17 +00:00
Miculcy Brian eb1b9a59f0 Fix: border menu->moveto even show on bd->zone->desk_y_count > 1
SVN revision: 58539
2011-04-11 09:38:24 +00:00
Christopher Michael 43c493f090 E17 - Fixup some compiler warnings
gadcon: Fix 'limit' may be used uninitialized.
        Fix formatting in some places.
menus:  Fix several variables may be used uninitialized warnings.
comp:   Add UNUSED where needed.
        Fix formatting in some places.



SVN revision: 58467
2011-04-08 05:31:47 +00:00
Hannes Janetzek 6da0d7a74d e17: fix: show evry 'start' and 'plugins' dialogs via settings panel action
added a function to pass the params with which the configure registry item will be called. 


SVN revision: 58396
2011-04-06 22:17:58 +00:00
Carsten Haitzler ac2b91963a dont wait until its hung to kill -9 it .. as the user selected kill.
just give it a timeout from the sigint. :)



SVN revision: 58341
2011-04-04 23:51:46 +00:00
Boris Faure 099271b2f9 e: apply coding style to e_intl.h
SVN revision: 58300
2011-04-03 12:31:01 +00:00
Boris Faure 75c9350ebe e: fix e_intl.h
SVN revision: 58299
2011-04-03 11:56:09 +00:00
Boris Faure d4a1030365 e: fix E_INTERNAL use
SVN revision: 58297
2011-04-03 11:21:51 +00:00
Boris Faure 3a1f366209 e: fix compilation when E_INTERNAL is not defined
SVN revision: 58295
2011-04-03 09:51:13 +00:00
Carsten Haitzler a8744bd1c5 more intel todo items
SVN revision: 58277
2011-04-02 14:21:22 +00:00
Christopher Michael ffacd4b46b E17: Remove unused variables and add UNUSED where needed for internal
border menu.



SVN revision: 58186
2011-03-29 14:40:49 +00:00
Carsten Haitzler 206aa3ef6c oops - fix null container. now actually 1x1 from start.
SVN revision: 58169
2011-03-29 03:08:57 +00:00
Miculcy Brian 80fcb448fa allow to move a window to another screen
SVN revision: 58155
2011-03-28 14:09:17 +00:00
Miculcy Brian ddf29eec2c move kill to window submenu
SVN revision: 58152
2011-03-28 11:59:34 +00:00
Hannes Janetzek 7a870a386f e17: allow focusing sticky windows from other desk again..
TODO need to have a zone overlay input window that locks all mouse input while deskflip anim and mous warp


SVN revision: 58126
2011-03-27 19:23:12 +00:00
Carsten Haitzler e1070cc338 first step in removing container win (compositor can replace it al
with its own objects directly and expose comp canvas to gadgets/fm and
so on just like container canvas does now. a lot of e's code can be
simplified if we went totally compositing... worry about that for e18,
but for now put in hooks).



SVN revision: 58112
2011-03-27 02:24:19 +00:00
Hannes Janetzek cd9583cd4d e17: deskflip anim.. dont set focus on windows from previous desk
SVN revision: 58093
2011-03-26 00:39:59 +00:00
Hannes Janetzek 8957ea6191 e17: disable input events of windows while deskflip animation is going
- set focus at the end of deskflip animation
- delay show after first move to not draw at final position first
- move window further out to decrease the chance of having comp 
  get border_hide event before final position..   


SVN revision: 58092
2011-03-25 23:14:52 +00:00
Hannes Janetzek a39d970c77 e17: revert last commit. causes lost window on restart
SVN revision: 58091
2011-03-25 20:52:19 +00:00
Hannes Janetzek 401fef69de e17: set border fx offset directly. should give smoother desk flip animation
SVN revision: 58090
2011-03-25 20:26:06 +00:00
Hannes Janetzek 17fc4de8bd e17: remove redundant code:
line 2901: 
(bd->changes.pos && !bd->changes.size) || (!bd->changes.pos && bd->changes.size)
cant be the case as before (!bd->changes.pos) && (!bd->changes.size) was checked.

line 2935ff: new_client is always false after eval
bd->changes.size/pos is always false after eval


SVN revision: 58089
2011-03-25 20:22:52 +00:00
Hannes Janetzek 036d995401 e17: use non-translateable string for gadcon client shelf menu item. as before.
SVN revision: 58006
2011-03-23 00:18:15 +00:00
Miculcy Brian 5774e46608 no 'move to' submenu when only one vdesk
SVN revision: 57998
2011-03-22 19:46:28 +00:00
Miculcy Brian 73cb3ad73e Dialogs aren't allowed to be iconified or maximized, even don't allow via keybinding
SVN revision: 57990
2011-03-22 14:05:53 +00:00
Miculcy Brian 4d0268ded4 add some shortcuts to toplevel
SVN revision: 57987
2011-03-22 13:33:10 +00:00
Miculcy Brian e514bb0c76 add logic separator to window menu
SVN revision: 57986
2011-03-22 12:27:23 +00:00
Miculcy Brian dcdd6acb24 New simple and more logical window menu.
SVN revision: 57985
2011-03-22 12:24:32 +00:00
Boris Faure 0cddc7cee2 e: changing the border on maximized window keeps it maximized
Useful for vertical/horizontal maximization

SVN revision: 57944
2011-03-21 20:55:34 +00:00
Boris Faure 866c425d57 e: add vim-like bindings to move/resize windows
SVN revision: 57920
2011-03-20 19:22:59 +00:00
Hannes Janetzek 3dc3094518 e17 patches from T_UNIX:
0001-Small-fixes-possible-segv-in-e-s-randr-subsystem.patch
0002-Add-common-modes-to-CRTC-information-structure.patch


SVN revision: 57833
2011-03-17 23:02:02 +00:00
Hannes Janetzek 7f457f1911 e17: add option to have gadcon client settings menu in toplevel again.
added e_menu_item_new_relative(E_Menu, E_Menu_Item *rel) which appends 
 new item to rel or prepends it when rel is NULL.

changed e_gadcon_util_client_menu_append to to take only the gadget menu
 and returns the new toplevel menu that should be shown by gcc
 depending on the setting this is a new menu with gadget menu as submenu
 or the gadet_menu with gadget menu items appended

updated e-modules-extra comes in a minute


SVN revision: 57826
2011-03-17 17:08:36 +00:00
Hannes Janetzek 7b2760151a e17: focus fix. forgot to set bd->changed to handle want_focus in eval..
SVN revision: 57799
2011-03-16 13:31:43 +00:00
Hannes Janetzek e4d3144cac e17: e_widget_ilist: do reveal(show) item in next idler. if other commands were in queue list geomentry is not up to date anymore
fixes: showing the right area with e_widget_ilist_show after items were removed


SVN revision: 57792
2011-03-16 09:34:46 +00:00
Hannes Janetzek acfadd535b e17: e_widget_ilist: avoid too much idling
SVN revision: 57791
2011-03-16 09:07:01 +00:00
Hannes Janetzek a1ad9a0f81 e17: e_widget_ilist make queue command codes being an enum
SVN revision: 57789
2011-03-16 08:25:40 +00:00
Hannes Janetzek 37781161a2 e17: e_widget_ilist return correct list count. only count queue commands that add something
SVN revision: 57788
2011-03-16 08:22:09 +00:00
Hannes Janetzek f94a3d9040 e17: fix segv in client list menu with sort by class
SVN revision: 57766
2011-03-15 16:33:46 +00:00
Hannes Janetzek 75388beeb5 e17: e_widget_ilist:
- fix return e_widget_ilist_count: return listcnt + queue
- dont add artificial upadte delay, use idler.


SVN revision: 57755
2011-03-14 23:43:16 +00:00
Hannes Janetzek 4ca1726aff e17: refocus config dialogs on show when they are open already
SVN revision: 57707
2011-03-12 17:20:47 +00:00
Hannes Janetzek 27a83bce9f e17: possible focus fix: wait for windows focus_in event also if it does not !take_focus
SVN revision: 57705
2011-03-12 16:59:02 +00:00
Hannes Janetzek c12717050e e17: fix focus new window with click to focus. delay setting focus again
SVN revision: 57704
2011-03-12 16:24:37 +00:00
Hannes Janetzek abb627d2b4 e17: raise border in window_desk_move_by action
SVN revision: 57703
2011-03-12 15:09:49 +00:00
Hannes Janetzek 3f610a161e e17: allow window manipulation for any type of window maximize policy when 'allow maipulation of maximized windows' is enabled
fixing http://trac.enlightenment.org/e/ticket/430


SVN revision: 57681
2011-03-10 20:58:55 +00:00
Hannes Janetzek a513603dff e17: on _NET_ACTIVE_WINDOW client message: only switch to desk if border is not sticky
SVN revision: 57676
2011-03-10 16:52:22 +00:00
Hannes Janetzek 267f8d52f5 e17: focus: on focus_set promote border in focus_next even if it has already focus.
this fixes the problem when within one mainloop iteration the currently focused
border is unfocused and refocused.


SVN revision: 57674
2011-03-10 16:23:57 +00:00
Hannes Janetzek fa53c967b7 e17: fix comp test message handler visible.src -> visibility.src
SVN revision: 57671
2011-03-10 14:50:04 +00:00
Hannes Janetzek f3b8b6ccb7 e17: remove redundant checks. lock_focus_out is check in e_boder_focus_set*
SVN revision: 57648
2011-03-10 02:44:02 +00:00
Hannes Janetzek c51acd3708 e17: set focus at the end of border_idler_before to the last focused window.
No need to sync ecore_x_window_focus then. in next mainloop 
iteration all requests should have been processed by X, or doesnt it? 


SVN revision: 57647
2011-03-10 02:29:01 +00:00
Hannes Janetzek 1925cec0c6 e17: fix the rare case that the last focused border had lock_focus_out. try next instead of break
SVN revision: 57644
2011-03-10 00:04:31 +00:00
Hannes Janetzek 800be7c985 e17: fix, remove duplicated line
SVN revision: 57637
2011-03-09 22:07:32 +00:00
Hannes Janetzek ece72e1596 e17: take sticky windows state into account in e_desk_last_focused_focus
SVN revision: 57636
2011-03-09 20:30:22 +00:00
Hannes Janetzek ce5cf84240 e17: fetch netwm state ealier so netwm.state.modal is set before used in icccm.fetch.client_leader case
SVN revision: 57623
2011-03-09 13:28:31 +00:00
Hannes Janetzek d8929994b4 e17: simplify e_border_focus_set logic and fix (some) focus issue with
not focusing the last active window after deskswitch


SVN revision: 57622
2011-03-09 13:15:33 +00:00
Hannes Janetzek 915cf71368 e17: handle ooffice _net_active window messages specifically
SVN revision: 57610
2011-03-09 03:09:59 +00:00
Miculcy Brian c695554642 allow to change layer when locking border position
SVN revision: 57609
2011-03-09 00:05:03 +00:00
Hannes Janetzek d11a154acf e17: disable pointer warp on _net_active_window client message
SVN revision: 57608
2011-03-08 23:09:09 +00:00
Sebastian Dransfeld 905098b0e2 e: No need to snprintf a static buffer
SVN revision: 57578
2011-03-08 11:41:53 +00:00
Andreas Volz 38766e9942 enable E to configure a another user path then ~/.e for special use cases
SVN revision: 57539
2011-03-06 10:31:44 +00:00
Boris Faure 7c6caaa267 e: fix variable scope + indenting
SVN revision: 57506
2011-03-03 22:05:12 +00:00
Boris Faure 62ae791ca4 e: fix bd->changes.border
this way it's possible to know whether the border has changed when hooking
on E_BORDER_HOOK_EVAL_POST_BORDER_ASSIGN

SVN revision: 57478
2011-03-02 22:09:05 +00:00
Hannes Janetzek 23428da6ea e17: allow themes to request argb window frames
if your window border theme will use transparency add:
data { item: "argb" "1" } to the respective border groups 


SVN revision: 57458
2011-03-01 16:17:23 +00:00
Eric Schuele 09b181a9d5 Make sure auto-hidden shelves only unhide when you mouse in while on a desktop the shelf is actually present on
SVN revision: 57441
2011-03-01 04:48:48 +00:00
Hannes Janetzek f8fc5f9f78 e17/fm: fix segv
SVN revision: 57399
2011-02-27 22:39:51 +00:00
Sebastian Dransfeld 80ae44090b e: revert change of return value for callback
No need to cancel the event, others might want it.

SVN revision: 57392
2011-02-27 16:30:44 +00:00
Hannes Janetzek 58a6daea12 e17: startup: cancel cb. this needs to run just once
SVN revision: 57370
2011-02-27 11:09:49 +00:00
Hannes Janetzek 0e59861be3 e17/fm: fix last commit.
it's possible that ic_next could be NULL


SVN revision: 57260
2011-02-23 10:37:17 +00:00
Hannes Janetzek af23edc941 e17/fm: select next item after deleting a file
SVN revision: 57258
2011-02-23 10:18:41 +00:00
Sebastian Dransfeld 67da66aacf Fix raster fix
Use eina_strbuf_append_length, not eina_strbuf_append_n to add a string
with known length.

SVN revision: 57211
2011-02-21 11:02:10 +00:00
Carsten Haitzler 09d6cde244 work around weird eina-ism fo strlening a strign it already knows the
length of.



SVN revision: 57202
2011-02-21 06:20:28 +00:00
Christopher Michael d9ffb02f30 E: e_widget_scrollframe. Fix 'conditional jump depends on
uninitialized values'



SVN revision: 57197
2011-02-21 01:20:30 +00:00
Boris Faure 9dcd184e39 e: use "while" and not an ugly "for"
SVN revision: 57160
2011-02-19 12:50:02 +00:00
Hannes Janetzek adccf26b7a e_util_icon_theme_set: use e_icon_scale_size_set to request fdo icon size
SVN revision: 57136
2011-02-17 20:21:02 +00:00
Boris Faure 599e4570d0 e: fix indent
SVN revision: 57118
2011-02-17 09:54:43 +00:00
Hannes Janetzek c4401dec20 - remove deprecated e_util_menu_item_edje_icon_set
- change default icon lookup order from 
  user theme > default theme > fdo theme to
  user theme > fdo theme > default theme


SVN revision: 57105
2011-02-16 23:47:06 +00:00
Boris Faure 4f7e03fe3e e: just use eina_stringshare_replace
SVN revision: 57079
2011-02-16 09:31:44 +00:00
Boris Faure 9fcfc565b1 e: use stringshare_replace in window_border_set
SVN revision: 57077
2011-02-16 09:07:44 +00:00
Carsten Haitzler f09e917e18 fix case where we could have x fatal stuff happen during shutdown or
we try use x on shutdown when x io fatal conditions have happened.
x_fatal flag around for that now too. tested. seems to now be happy
and not cause aborts on shutdown when x has gone.



SVN revision: 57075
2011-02-16 05:20:13 +00:00
Carsten Haitzler 6739ee9747 pointed out by doyoun kim - why ever this was -2 beats me. it'd skip a
layer below the given one.



SVN revision: 57074
2011-02-16 03:51:08 +00:00
Christopher Michael be380661b8 Remove unused variable.
SVN revision: 57067
2011-02-15 21:13:01 +00:00
Christopher Michael d091ee0bc3 Obj is unused here, so add __UNUSED__.
SVN revision: 57066
2011-02-15 21:11:03 +00:00
Boris Faure c48d74e023 e: use stringshare_replace in window_border_cycle
SVN revision: 57059
2011-02-15 18:15:54 +00:00
Cedric BAIL 154cdf7f48 * e: HUGE SPANK ! That one prevented me to restart E17 correctly.
SVN revision: 57058
2011-02-15 17:26:13 +00:00
Boris Faure fce4b80b86 e: add window_border_cycle to e_actions
SVN revision: 57040
2011-02-14 21:35:48 +00:00
Hannes Janetzek 27915b9db3 set preferred size when loading svg icons
SVN revision: 57018
2011-02-14 14:05:45 +00:00
Boris Faure 0ee47d4245 e: add window_border_set as possible action
SVN revision: 56994
2011-02-13 21:23:29 +00:00
Boris Faure fbe9738e6f e: whitespaces-- and use x = !x instead of if else
SVN revision: 56992
2011-02-13 19:37:50 +00:00
Sebastian Dransfeld 816ca3b8fb Delay sending focus
This results in less flickering when we get a storm of in/out events

SVN revision: 56939
2011-02-10 22:16:07 +00:00
Sebastian Dransfeld cb22b9355f Need to be able to set focus several times
When a modal window closes, we get several mouse in events for some
reason. If we are not able to set focus several times, the focus ends up
the wrong place.

SVN revision: 56937
2011-02-10 21:39:15 +00:00
Hannes Janetzek 7f85985c3e fix deskpreview widget (dont expand over tablesize) and use theme again
SVN revision: 56927
2011-02-10 17:08:07 +00:00
Sebastian Dransfeld 99ea2864cb Also update border icons on icon cache update
SVN revision: 56914
2011-02-10 14:26:04 +00:00
Michael BOUCHAUD 407c9fade5 e: add event mouse down on e_slider, now you can clic and drag your slider
SVN revision: 56840
2011-02-09 13:53:36 +00:00
Hannes Janetzek 8bf7b759a7 efm add keybindings:
- ctrl+h toggle show hidden files
- ctrl+1 icon view
- ctrl+2 list view
- ctrl+3 custom grid view


SVN revision: 56839
2011-02-09 13:12:38 +00:00
Carsten Haitzler 79742c3762 and extend acpi support some more - allow bus matching too. start
listing specific device models tested etc. and their  specific tables



SVN revision: 56829
2011-02-09 01:17:14 +00:00
Hannes Janetzek f56fe34d97 do not crop labels at bottom: add extra space in icon-view mode
SVN revision: 56821
2011-02-08 21:30:48 +00:00
Carsten Haitzler f8da083328 a bit of a refactor of e_acpi -> can buffer and handle more than 1
acpi message at once (will happen IF e is paused/hung/suspended and
multiple acpi events happen during that time).

also no need for multiple acpi event id's - the type is already in the
struct itself. it's dup;icating the work. simplify.

also... vaio "hotkey" style support. new mapping ethod needed for
that. who knows what other bizarre acpi hardware is out there. may
need more. also make a note that we may want a mapping system some
time that maps acpi event to faking an x key event.

also... allow acpi bindings to bind to anything in gui.



SVN revision: 56790
2011-02-07 22:57:50 +00:00
Sebastian Dransfeld 30a478c4fa use convenience macro
SVN revision: 56782
2011-02-07 21:19:23 +00:00
Eric Schuele 9e972367dd Keeping types consistent.
SVN revision: 56751
2011-02-06 16:25:52 +00:00
Eric Schuele 440c33eecf Allow users to remove border resistance on a per border basis.
SVN revision: 56745
2011-02-06 02:04:37 +00:00
Hannes Janetzek b7cfdd21f1 fix loop in fm favorites view: delete .desktop for non existing device
SVN revision: 56715
2011-02-04 20:33:30 +00:00
Christopher Michael 629b3a304e Add missing UNUSED.
SVN revision: 56676
2011-02-03 17:21:57 +00:00