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
4e019a9f23
Update layout of windows if indicator or softkey module is
...
loaded/unloaded.
SVN revision: 49561
2010-06-08 05:23:44 +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
c5aa274610
Add code for 'focus forward' in the policy.
...
SVN revision: 48469
2010-04-30 13:17:33 +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
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
11c9dc57fd
Remove printf & some unused variables.
...
SVN revision: 46635
2010-02-28 02:36:49 +00:00
Christopher Michael
301223f66f
Remove last remaining round-trip.
...
Remove some printfs.
Fix some formatting.
SVN revision: 46510
2010-02-26 11:37:01 +00:00
Christopher Michael
f5d8886bad
Remove 2 more round-trips. (Tested and did not see any adverse effects, but
...
left orig code commented out just in case).
Add some additional comments.
SVN revision: 46508
2010-02-26 10:57:26 +00:00
Carsten Haitzler
4513a24797
no more round trips! bad bad bad!
...
SVN revision: 46459
2010-02-25 12:26:10 +00:00
Christopher Michael
07062860cb
Handle policy activate layer a bit better (don't set so high).
...
Add an easily adjusted variable in policy.h for POL_ACTIVATE_LAYER.
SVN revision: 46454
2010-02-25 05:45:14 +00:00
Christopher Michael
5180f292dd
Fix focus track issue(s) as reported by TAsn.
...
SVN revision: 46446
2010-02-24 22:48:02 +00:00
Christopher Michael
4bf3e5c772
Check for new_client when laying out indicator. (Needed for elm_indicator
...
app).
SVN revision: 46438
2010-02-24 18:21:50 +00:00
Christopher Michael
f799583101
Update layout properly when zone changes size or moves. This should fix
...
xrandr issue for TAsn ;)
SVN revision: 46413
2010-02-23 23:31:46 +00:00
Christopher Michael
9762df18a3
Unhide a border if we are looping through focus.
...
SVN revision: 46411
2010-02-23 22:37:40 +00:00
Christopher Michael
7a79cfc933
Add sending keyboard geometry for conformant apps.
...
SVN revision: 46404
2010-02-23 20:54:59 +00:00
Christopher Michael
536cc819b1
Fix NETWM Activate issue where the window would not raise or focus. This
...
works wrt fullscreen windows also.
Fix issues wrt hide/show race conditions that raster pointed out.
Fix issue where previous window was not shown again.
SVN revision: 46397
2010-02-23 18:15:00 +00:00
Christopher Michael
134b4f46ef
Add some printfs for debugging.
...
SVN revision: 46375
2010-02-23 01:21:22 +00:00
Christopher Michael
448f5524d6
Don't need to trigger layout update twice.
...
Set focus to the newly shown border.
SVN revision: 46311
2010-02-19 14:45:10 +00:00
Christopher Michael
2de25e35db
Fix case(s) where home window was not showing when another app was visible
...
and we changed layout mode.
SVN revision: 46310
2010-02-19 14:40:41 +00:00
Christopher Michael
cfd9ea4e21
When showing borders that were hidden, signal a layout update for that border.
...
SVN revision: 46295
2010-02-19 03:53:43 +00:00
Christopher Michael
0006745e2f
Readd new illume2 code (ugg, svn is a pita) ;)
...
SVN revision: 46290
2010-02-19 03:00:58 +00:00