Commit Graph

279 Commits

Author SHA1 Message Date
Christopher Michael b64b865ff4 Add some safety checks.
Refactor some if statements to be simplier.



SVN revision: 50899
2010-08-08 12:44:04 +00:00
Christopher Michael 1f672ba9cf Add some safety checks.
Reorder some checks inside functions (easier/faster checks first).

When mode changes and we check the 'home' window count, make sure we
actually have some home windows first before trying eina_list_count on
a potentially null list.

When doing focus back/forward, make sure we have a focused border to
begin with.

Dot some i's and cross some T's ;)



SVN revision: 50896
2010-08-08 11:37:34 +00:00
Christopher Michael f63091eac3 Spped up 'home' detection a bit by checking window types and ignoring
ones we know are are not 'homes' (splash, menu, etc).

Check border position before checking border type (faster to see if
it's even in the position first).



SVN revision: 50882
2010-08-07 02:20:53 +00:00
Christopher Michael bfe14a9dff Better variable name(s).
SVN revision: 50862
2010-08-06 15:15:32 +00:00
Carsten Haitzler bdc2bec1e3 change some var names to add the ability to have horiz layout too
SVN revision: 50856
2010-08-06 07:01:30 +00:00
Carsten Haitzler 6193ae5803 happi?
SVN revision: 50855
2010-08-06 06:41:09 +00:00
Carsten Haitzler b0cbf8f4e6 more bug--
SVN revision: 50854
2010-08-06 05:26:25 +00:00
Carsten Haitzler 74d2c22252 bad! bug bug!
SVN revision: 50853
2010-08-06 05:08:26 +00:00
Christopher Michael 4529d19f7d Fix compiler warning wrt changed eeze callback.
SVN revision: 50773
2010-08-03 17:43:10 +00:00
Tiago Rezende Campos Falcao dddf703520 Illume config icon
SVN revision: 50131
2010-07-08 21:04:52 +00:00
Cedric BAIL c6a118d738 * e: remove warning due to Ecore API change.
SVN revision: 49833
2010-06-24 16:19:12 +00:00
Christopher Michael 4e019a9f23 Update layout of windows if indicator or softkey module is
loaded/unloaded.



SVN revision: 49561
2010-06-08 05:23:44 +00:00
Mike Blumenkrantz 016e891f29 change dbus paths/interfaces to #defines
SVN revision: 49383
2010-06-01 21:02:33 +00:00
Mike Blumenkrantz fb5409a64a well that was dumb of me
SVN revision: 49183
2010-05-24 17:23:03 +00:00
Mike Blumenkrantz 97529addef match eeze changes, add init/shutdown calls to illume2 keyboard
SVN revision: 49130
2010-05-22 07:04:26 +00:00
Mike Blumenkrantz d57aba55b1 update to handle new watch filter
SVN revision: 49046
2010-05-20 04:28:30 +00:00
Mike Blumenkrantz 127aae1ab8 my first e commit that doesn't break anything (I think)!
enables eeze_udev support where available, currently only illume2, as a device backend to replace ehal.
unless --enable-device-udev is explicitly specified, e will continue to use ehal as the device backend.
upon selection of eeze_udev, a brief warning will be shown during config summary.
components that do not support eeze_udev will still fall back to hal even if eeze_udev is selected


SVN revision: 48867
2010-05-14 18:19:51 +00:00
Mike Blumenkrantz 8983a44a51 one more :((
SVN revision: 48817
2010-05-13 19:49:37 +00:00
Mike Blumenkrantz 51131725d9 fix pebkac :(
SVN revision: 48816
2010-05-13 19:48:33 +00:00
Mike Blumenkrantz 9f9da5e798 file renames, nothing more
SVN revision: 48815
2010-05-13 19:44:24 +00:00
Christopher Michael 6287c98b4b Check borders exist before trying to hide.
When doing position update, we hide quickpanel, but don't want to
delay the hide so use proper function.
On mouse up we want to hide, but avoid long round-trips and just call
function directly.



SVN revision: 48683
2010-05-08 15:38:24 +00:00
Christopher Michael 2ea9dd7909 Use our own border show/hide functions.
SVN revision: 48628
2010-05-05 16:17:24 +00:00
Christopher Michael ba62246671 No need to send_message to change state here, use existing functions.
No need to hide the clickwin twice.



SVN revision: 48625
2010-05-05 16:00:25 +00:00
Christopher Michael 36b527afa4 Set match type before creating dialog.
Cleanup some matching code.



SVN revision: 48624
2010-05-05 15:58:52 +00:00
Christopher Michael 30805207fa Dang, can't skip stolen borders as kbd border is also stolen, so
revert that portion :(



SVN revision: 48622
2010-05-05 15:52:49 +00:00
Christopher Michael 076ac52ef4 Use eina_stringshare_replace.
Don't list stolen borders (these are usually quickpanel borders and
thus should not be listed).



SVN revision: 48621
2010-05-05 15:51:02 +00:00
Christopher Michael 3ca39a9bec Remove unused variable.
SVN revision: 48579
2010-05-03 15:41:33 +00:00
Christopher Michael f5dca6bcba Better handling of the clickwin. This works with dual-mode better, so
clicking anywhere outside the quickpanel borders will close them.



SVN revision: 48578
2010-05-03 15:38:24 +00:00
Christopher Michael e0c252ec42 Fix parent of quickpanel clickwin so that the input window gets
layered correctly, and any widgets/buttons in a quickpanel are
clickable again.

Thanks TAsn for the report ;)



SVN revision: 48571
2010-05-02 22:25:32 +00:00
Christopher Michael c5aa274610 Add code for 'focus forward' in the policy.
SVN revision: 48469
2010-04-30 13:17:33 +00:00
Christopher Michael ce6afacdd8 Add automatic Quickpanel direction. Basically this allows the
quickpanel to show up where there is the most space (ie: if you move
indicator toward the bottom of the screen, and the quickpanel cannot
fully show below indicator, it will automatically show above indicator).



SVN revision: 48348
2010-04-26 21:36:00 +00:00
Christopher Michael 0736f6493f Fix focus_home function to hide windows below when home is focused.
No need to layout windows which are not visible.



SVN revision: 48173
2010-04-20 19:34:12 +00:00
Christopher Michael aaffb12f22 Check previous border's zone before setting focus.
SVN revision: 48154
2010-04-20 00:10:10 +00:00
Christopher Michael b27bad5c9a Instead of always focusing home when there is a problem showing_below, try
to focus the previous border in the focus stack, and if that fails, then
focus home (fixed #7 in 'illume2 problems' email).



SVN revision: 48153
2010-04-20 00:06:18 +00:00
Christopher Michael f08d02f9ab If a transient gets closed, focus it's parent (fixes keybinding dialog issue).
SVN revision: 48152
2010-04-19 23:40:48 +00:00
Christopher Michael 90275a397b Fix illume keyboard to handle quick toggles of show/hide.
SVN revision: 48140
2010-04-19 19:33:51 +00:00
Christopher Michael d90b41e7a9 Only list borders from the current zone when selecting windows.
SVN revision: 48106
2010-04-18 15:20:32 +00:00
Christopher Michael f1f0261a7e Make sure change timer is dead when window closes.
Fix some formatting.



SVN revision: 48105
2010-04-18 15:07:50 +00:00
Christopher Michael abafa68701 Don't free dbus arguments...causes segv.
SVN revision: 48104
2010-04-18 14:27:20 +00:00
Christopher Michael 2404339825 Don't free dbus message arguments...causes segfault.
SVN revision: 48103
2010-04-18 14:09:27 +00:00
Christopher Michael 224fcc061a Move quickpanel click window according to position of indicator so that
outside clicks work correctly when indicator is moved.



SVN revision: 47939
2010-04-11 21:12:49 +00:00
Christopher Michael ef52d54922 Modify quickpanel code to handle case where actual quickpanels may have
buttons/clickable elemenents. These changes allow quickpanel windows to be
interactive :). Show/Hide of quickpanel is handled in both the indicator
module (by way of toggle state), and using an input window that does not
interfere with the QPs themselves.



SVN revision: 47937
2010-04-11 20:38:52 +00:00
Christopher Michael 8133cc7188 Better method for show/hide of quickpanel.
SVN revision: 47931
2010-04-11 19:02:29 +00:00
Christopher Michael 2d9d2a8147 Add functions to allow quickpanel to be shown/hidden at programmers request.
SVN revision: 47930
2010-04-11 16:24:17 +00:00
Christopher Michael 6829fa5012 Add handler for quickpanel border resize so we can adjust the total height
of the quickpanel if a qp border height changes.



SVN revision: 47929
2010-04-11 16:18:16 +00:00
Christopher Michael f08bdd1c4c Patch from Tom Hacohen to remove freeing of dbus message arguments...thanks :)
SVN revision: 47835
2010-04-08 15:09:25 +00:00
Christopher Michael acae39fd3e Fix issue where sometimes when closing an app, the window below would
not show...now it will at least show home. This fixes the 'grey'
background issue reported by TAsn.

Fix issue of keyboard layout getting reset when switching between 2
apps which use a vkbd (reported by TAsn).



SVN revision: 47636
2010-03-31 23:43:35 +00:00
Christopher Michael 6dfe7ded69 Use our own focus stack for 'back' button as E's stack seems to include
windows even if they don't accept or take focus.
Don't cycle focus if a window has a transient dialog present.
Fix some formatting.

Fixes focus cycle issue(s) reported by TAsn, thanks :)



SVN revision: 47614
2010-03-30 23:39:43 +00:00
Christopher Michael c41edaac93 When 'mode' changes we may need to reset indicator position depending
on mode, so in layout update don't skip indicators.



SVN revision: 47439
2010-03-25 00:23:55 +00:00
Christopher Michael 058aa8cbd6 Icons for config entries.
SVN revision: 47045
2010-03-08 18:15:09 +00:00