Commit Graph

326 Commits

Author SHA1 Message Date
Christopher Michael 0884310c53 Rework some code so that llvm is happy.
SVN revision: 46760
2010-03-02 01:15:42 +00:00
Christopher Michael a682db0ef7 Some more documentation.
SVN revision: 46675
2010-03-01 01:51:48 +00:00
Christopher Michael 11c9dc57fd Remove printf & some unused variables.
SVN revision: 46635
2010-02-28 02:36:49 +00:00
Christopher Michael bda76a1666 Fix QP zone position bugger...thanks for the report Raster :)
SVN revision: 46634
2010-02-28 02:08:18 +00:00
Carsten Haitzler dd56bcd1ad no... we want undefined symbols :) (thanks vtorri)
SVN revision: 46630
2010-02-28 00:13:21 +00:00
Christopher Michael 2466083ecd Don't segfault if keyboard has no border.
SVN revision: 46520
2010-02-26 21:04:03 +00:00
Christopher Michael 30af6de375 Add 'UNUSED' to functions for which some parameters are never used.
SVN revision: 46515
2010-02-26 19:58:44 +00:00
Christopher Michael bac3f35172 Rename some more functions to be 'illume' specific so we don't clash.
SVN revision: 46514
2010-02-26 19:44:37 +00:00
Christopher Michael 4b72868092 Oops, don't EAPI those.
SVN revision: 46512
2010-02-26 13:23:31 +00:00
Christopher Michael 2468456d1b Rename some functions to be more 'illume' specific so we don't get any
potential clashes w/ other modules.



SVN revision: 46511
2010-02-26 13:16:10 +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 22761b568b Don't need to send a layout update when animation is done (it's already send
in the show/hide calls).

Send new keyboard geometry if we are not animating also.



SVN revision: 46509
2010-02-26 11:20:43 +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
Christopher Michael 85cbec19a7 Better documentation structure.
SVN revision: 46472
2010-02-25 18:46:21 +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 5fda7b5150 Add some more docs.
Prep some structures for documentation (just modifying the code format).



SVN revision: 46451
2010-02-25 01:17:45 +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 410536ba3d Set illume zone list. Needed for elm_indicator.
SVN revision: 46432
2010-02-24 17:15:22 +00:00
Christopher Michael 5135baa904 Fix structure definition.
SVN revision: 46422
2010-02-24 05:28:57 +00:00
Christopher Michael af5d569cdc Update documentation. (Doxygen now generates docs for structure members too
:))



SVN revision: 46421
2010-02-24 05:15:56 +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 c96252d83b More doxy for structures...tho they still do not show up in generated output
:(



SVN revision: 46379
2010-02-23 02:33:18 +00:00
Christopher Michael e906cf5918 More doxy for Policy API. (Bonus points to the person who figures out why
doxygen will not generate docs for structure members here).



SVN revision: 46378
2010-02-23 01:41:57 +00:00
Christopher Michael 134b4f46ef Add some printfs for debugging.
SVN revision: 46375
2010-02-23 01:21:22 +00:00
Christopher Michael 654a62a4de Fix function prototype.
SVN revision: 46313
2010-02-19 16:09:56 +00:00
Christopher Michael 0e67df5730 Add layout sending/updating.
SVN revision: 46312
2010-02-19 15:40:11 +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
Carsten Haitzler c843105715 if u want symbols out of the .so or .a or binary u compile.... EAPI them.
SVN revision: 46305
2010-02-19 09:18:11 +00:00
Carsten Haitzler bd1d1e5db5 illume3? wtf?
SVN revision: 46304
2010-02-19 09:08:36 +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
Christopher Michael 50bac54206 Ok, another stab at adding this to svn. Remove old code.
SVN revision: 46289
2010-02-19 02:59:56 +00:00
Christopher Michael efb5c66c67 New illume2 code in svn now :)
SVN revision: 46286
2010-02-19 02:32:18 +00:00
Christopher Michael 581ada3a3f Remove old illume2 code.
SVN revision: 46285
2010-02-19 02:30:01 +00:00
Sebastian Dransfeld b7066f4191 And use e_border_name_get to get name
SVN revision: 46154
2010-02-13 19:11:23 +00:00
Christopher Michael b1804a21eb Don't need the return variable here.
Don't free the title.



SVN revision: 46146
2010-02-13 16:19:41 +00:00
Carsten Haitzler 820d76b53d use netwm name in preference.
SVN revision: 46145
2010-02-13 16:12:28 +00:00
Carsten Haitzler bdb206f5c6 why do a server rount trip for every border to get title when it's already
stored? bad bad bad! this will cause mucho slowness.



SVN revision: 46128
2010-02-13 11:42:28 +00:00
Carsten Haitzler 10cde00bbd fix fd handler del complaint! add events before adding handler for them!
otherwise event id is 0!



SVN revision: 46124
2010-02-13 02:57:01 +00:00
Christopher Michael cecda9c13d Fix for showing windows @ their original size, then resizing them.
Some cleanup of code.



SVN revision: 46034
2010-02-10 04:49:25 +00:00
Christopher Michael 2d846f27ed Remove .pc file (not used anymore).
SVN revision: 45940
2010-02-06 19:48:00 +00:00
Christopher Michael c466a427b3 Layout fixes for conformant windows (wrt keyboard).
SVN revision: 45936
2010-02-06 17:14:40 +00:00
Christopher Michael 63c874d7a6 Fix quickpanel not showing correctly (this also needs elm_win update).
SVN revision: 45935
2010-02-06 16:58:15 +00:00
Christopher Michael 7d96aaa67f Handle border property change events for Fullscreen/Unfullscreen.
SVN revision: 45932
2010-02-06 15:42:04 +00:00
Christopher Michael 9260b043d7 Oops, that should have been show/hide bottom panel (according to fixme).
SVN revision: 45924
2010-02-06 01:13:49 +00:00
Christopher Michael f82a3fb67e Address fixme for show/hide indicator window.
SVN revision: 45923
2010-02-06 01:10:10 +00:00
Carsten Haitzler 1595840134 some stuff... hmmm.
SVN revision: 45890
2010-02-05 06:12:02 +00:00
Christopher Michael 2e4b78b724 Add more error trapping.
SVN revision: 45691
2010-01-29 06:09:20 +00:00
Christopher Michael 3ac0f2e690 Add more error trapping.
SVN revision: 45690
2010-01-29 06:04:11 +00:00
Christopher Michael 25dd627a3a more trapping.
SVN revision: 45688
2010-01-29 05:58:46 +00:00
Christopher Michael 795ee6f6c2 Add some more error trapping.
SVN revision: 45687
2010-01-29 05:57:40 +00:00
Christopher Michael 096d4b0623 More error trapping.
SVN revision: 45686
2010-01-29 05:54:47 +00:00
Christopher Michael 5693b420a3 More error trapping.
SVN revision: 45685
2010-01-29 05:52:36 +00:00
Christopher Michael 30733c2133 E_FREE already sets variables to NULL.
SVN revision: 45684
2010-01-29 05:44:21 +00:00
Christopher Michael cb1d92f244 More possible error trapping.
SVN revision: 45683
2010-01-29 05:42:55 +00:00
Christopher Michael bab37d908f More trapping.
SVN revision: 45682
2010-01-29 05:41:20 +00:00
Christopher Michael c53dd2238d better trapping in dbus code (in case of unforseen problems)
SVN revision: 45680
2010-01-29 05:31:08 +00:00
Christopher Michael 7a3f478648 Shutdown config subsystem if layout init fails.
Do not allocate zones if zone count is zero.



SVN revision: 45679
2010-01-29 05:07:37 +00:00
Christopher Michael fa665ff798 Resize the dialog if it doesn't fit in the zone.
SVN revision: 45678
2010-01-29 04:58:14 +00:00
Christopher Michael c45b689eb1 Fix custom layout mode for fullscreen apps.
SVN revision: 45606
2010-01-26 22:37:55 +00:00
Christopher Michael eeb3a3318d Fix up layout code wrt fullscreen apps, conformant apps, and vkbd.
SVN revision: 45598
2010-01-26 20:13:34 +00:00
Christopher Michael 8b90bb8941 Completely fix conformant windows (wrt vkbd) in single layout mode.
SVN revision: 45580
2010-01-26 10:50:51 +00:00
Christopher Michael f435b6322c Allow conformant windows to work with vkbd in single layout mode (need to
handle dual mode still).



SVN revision: 45579
2010-01-26 10:16:29 +00:00
Christopher Michael f92311b2a9 Remove e_mod_border (dead file).
Rework layout code for all modes:
       - Better layout code for dual modes.
       - Don't set focus if the border is already focused.
       - No need to call the 'back' method on border_delete.
       - Don't call focus_latest_set on border_focus_in.
         (not needed as it turns out).
Cleanup e_illume_border.c: 
        - Free lists when done with them.
        - Check zones are valid.
        - Reduce variable usage.



SVN revision: 45503
2010-01-23 21:31:06 +00:00
Christopher Michael a77b6a8ad9 Reduce variable usage.
Add additional error trapping.



SVN revision: 45478
2010-01-23 05:56:17 +00:00
Christopher Michael 64ccc4f601 Reorg/refactor some code to reduce duplicate code.
SVN revision: 45477
2010-01-23 05:31:05 +00:00
Christopher Michael 5e5e414525 Reorganize some variable placement to reduce potential register usage.
SVN revision: 45476
2010-01-23 04:52:28 +00:00
Christopher Michael c1fa97861b Not sure why, but moving QP borders here need an actual e_border_move call.
SVN revision: 45475
2010-01-23 04:35:23 +00:00
Christopher Michael 8ca7469480 Hide/Show QP borders when appropriate.
If we move the indicator window in policy, then send qp_pos_update message
so quickpanel is in the correct position.



SVN revision: 45473
2010-01-22 23:28:03 +00:00
Christopher Michael 19f06ac085 Rework quickpanel to account for ability to drag indicators...so now when
indicator moves, quickpanel will adjust it's position accordingly.



SVN revision: 45468
2010-01-22 22:51:31 +00:00
Carsten Haitzler d57b58c4c3 fix distcheck!
SVN revision: 45426
2010-01-22 05:11:19 +00:00
Christopher Michael cc1334f5aa We cannot rely on bd->client.icccm.title to be valid, so fix illume border
detection with that in mind.



SVN revision: 45423
2010-01-22 01:44:50 +00:00
Christopher Michael b03babe944 Remove printfs.
SVN revision: 45378
2010-01-21 02:05:19 +00:00
Christopher Michael 63b73189d0 When quickpanel gets deleted, we need to remove the borders from the qp list.
SVN revision: 45376
2010-01-21 01:47:30 +00:00
Christopher Michael e814e90d4a Fix border focus cycling.
SVN revision: 45313
2010-01-19 02:35:12 +00:00
Christopher Michael 3bf5c6c2f3 Recode 'back' message to work on focus per-zone.
SVN revision: 45312
2010-01-19 02:21:14 +00:00
Christopher Michael 1d8b54bd91 When deleting a window, send the 'back' command so we set focus to the
previous window.



SVN revision: 45309
2010-01-19 00:33:53 +00:00
Christopher Michael 2c99b1edf0 Hide indicator window if we launch a fullscreen app, and show indicator
window when fullscreen window is closed.



SVN revision: 45307
2010-01-19 00:00:07 +00:00
Christopher Michael 1bc2b829f2 Use PATH_MAX in e_utils.
Add function in e_utils to get a zone by Ecore_X_Window (black_win).
No need to check for locked in illume-indicator.
Add client message handler for quickpanel to handle zone request changes on
quickpanel borders.
Remove some printfs.
Minor formatting in illume2 e_kbd.
Easier check for focused_vkbd_state.



SVN revision: 45233
2010-01-16 18:40:03 +00:00
Sebastian Dransfeld f2c243f91e make clang happy
SVN revision: 45191
2010-01-15 19:36:00 +00:00
Carsten Haitzler d4c9dd55e6 fix segv if no per-zeon-config found!
SVN revision: 45158
2010-01-15 04:40:08 +00:00
Christopher Michael 525346b624 Don't send mode message here.
SVN revision: 45155
2010-01-15 03:58:23 +00:00
Christopher Michael b8cb5165c5 Loop managers & containers when looking for the proper zone.
Some re-org/cleanup during init.



SVN revision: 45124
2010-01-14 20:10:11 +00:00
Christopher Michael 245804f5d7 Remove the pkg-config file for E_Illume.
Remove dead lines in indicator code.



SVN revision: 45108
2010-01-14 04:08:04 +00:00
Christopher Michael d307f74950 Do xinerama/dual-head setup based on managers->containers->zones, not
xinerama screen count. (as E the wm will take care of setting up
managers/containers/zones per what is needed from xinerama/dual-head).



SVN revision: 45101
2010-01-14 01:18:37 +00:00
Christopher Michael e02e87239a Remove unused files.
SVN revision: 45100
2010-01-14 00:55:54 +00:00
Christopher Michael 8fc8d8d24f Fix missing corner case for layout placement.
Change variable name in policy settings.



SVN revision: 45099
2010-01-14 00:20:32 +00:00
Christopher Michael 07666b4952 Add illume2 module...oops :(
SVN revision: 45073
2010-01-13 01:10:39 +00:00
Christopher Michael 3daa61a89d Remove all old illume2 code. New code coming in mass.
SVN revision: 45067
2010-01-12 20:18:38 +00:00
Carsten Haitzler 07ccfbae03 fix seg!
SVN revision: 45001
2010-01-09 02:56:20 +00:00
Christopher Michael a5bac23eca Use border props for quickpanel rather than round-trip X calls.
SVN revision: 44881
2010-01-04 18:19:27 +00:00
Christopher Michael f435c770e4 Add illume atoms to e_border struct.
Add code to fetch illume atoms on border map & property changes (if needed).
    - This avoids a lot of round-trip calls to X when running illume2.
Remove whitespace & fix some formatting.
Use PATH_MAX instead of 4096.
Update illume2 code to use new border atoms and avoid round-trip X calls.



SVN revision: 44879
2010-01-04 18:15:56 +00:00
Christopher Michael 3ec7e23d3f Some printfs for quickpanel sort (as it still does not seem to sort
correctly all the time).



SVN revision: 44872
2010-01-04 05:32:13 +00:00
Christopher Michael d39c3131fe Remove a printf.
Do not set lock_client_location or lock_user_location during border assign
hook. (These were responsible for elm_indicator window not being movable)
Add a new function so that we can move indicator window to proper position
if we are not in landscape mode. ( This resets indicator window to top
position when mode changes to non-landscape)

Thanks for the help Raster ;)



SVN revision: 44871
2010-01-04 02:53:51 +00:00
Christopher Michael 7d817812d9 Remove samsung policy directory. Not really needed.
SVN revision: 44868
2010-01-04 01:55:03 +00:00
Christopher Michael 35df00f32a Add event for when policy changes.
Handle policy change event.
Remove some unneeded includes.



SVN revision: 44867
2010-01-03 22:54:47 +00:00
Christopher Michael 21055add39 Fix sorting on major numbers (still a problem w/ sorting on minor numbers
tho).



SVN revision: 44866
2010-01-03 22:34:09 +00:00
Christopher Michael 687881fc63 Rework illume2:
- Policies are now loadable .so's ;)
       


SVN revision: 44864
2010-01-03 22:24:07 +00:00
Christopher Michael 6ca0879feb Remove old illume2 (readding in a second with lots of changes, so this was
easier).



SVN revision: 44863
2010-01-03 22:22:39 +00:00
Christopher Michael a1bc311d9a Fix some formatting in connman.
Remove some commented lines in quickpanel.
Add some printfs to quickpanel sort.
Remove dead code line in illume2 layout.
Separate illume and illume2 modules in build process (this allows illume &
illume2 to be enabled/disabled separately)



SVN revision: 44841
2010-01-01 17:15:16 +00:00
Christopher Michael e20470a501 Add input window so we can click anywhere and dismiss QP. Also listens for
mouse_wheel up to dismiss (because we use mouse_wheel currently to show QP).



SVN revision: 44810
2009-12-30 19:45:53 +00:00
Christopher Michael 0f08cc2cac Implement priority sorting for quickpanels.
SVN revision: 44804
2009-12-30 18:41:55 +00:00
Christopher Michael ca2c3ef479 Formatting in quickpanel.
Use better method to get current zone.
Check valid border count on mode switch and create new home windows if needed.



SVN revision: 44778
2009-12-30 02:34:27 +00:00
Christopher Michael 67a4f2caa0 Add different icons for different layout modes in mode-toggle module.
Add code to handle layout changes & update icon.
Implement new Ecore_X Illume Modes.
Make mode toggle actually cycle through modes and change accordingly.



SVN revision: 44769
2009-12-29 22:23:15 +00:00
Christopher Michael a3b7ffe569 And fix quickpanel layer if we are not animating.
SVN revision: 44767
2009-12-29 20:48:19 +00:00
Christopher Michael 7beb5fbf59 Fix quickpanel layering issue.
SVN revision: 44766
2009-12-29 20:43:14 +00:00
Christopher Michael a19182368b Remove function protos that are not used anymore.
SVN revision: 44765
2009-12-29 20:34:43 +00:00
Christopher Michael 93bcd9f4b0 Reduce variable usage.
Reenable border_assign hook (apparently it is needed for proper window
placement).
Reduce variable usage in some functions.
Remove border show/hide handlers (not used here).



SVN revision: 44764
2009-12-29 20:30:39 +00:00
Christopher Michael b6c8671bca Fix some quickpanel placement issues.
Add function to adjust quickpanel position.
Add function to return if border is valid.
Set layer of App borders.
Reduce variable usage (use valid_count_get directly).



SVN revision: 44763
2009-12-29 20:26:15 +00:00
Christopher Michael 5e5c3108cc Add missing quickpanel files (not complete yet, but does work)
SVN revision: 44754
2009-12-28 22:22:50 +00:00
Christopher Michael 676817424c Remove code which handles quickpanel state in client message handler.
Remove quickpanel functions from policy (handled differently now)
Create quickpanel object so we can animate it.
Add quickpanel init/shutdown to startup.
Don't handle layer set for quickpanel in border_add
Set quickpanel layer in layout code.



SVN revision: 44753
2009-12-28 22:22:07 +00:00
Christopher Michael 7804b38022 Remove dead code. These hooks are not needed.
SVN revision: 44744
2009-12-28 05:50:23 +00:00
Christopher Michael 019ced7f7c Reduce duplicated code.
SVN revision: 44743
2009-12-28 04:21:38 +00:00
Christopher Michael 3f2e4ed776 Add config variable for quickpanel animation duration.
Add gui for setting quickpanel duration (in Animation settings)
Bump config version for new variable (qp duration)



SVN revision: 44742
2009-12-28 03:50:44 +00:00
Christopher Michael fa7997bb19 Do not need to pass module when doing e_kbd_init.
Do not need to pass module when doing e_mod_layout_init.
Use global config->mod_dir in e_kbd_dbus.
Handle layer set & lower of quickpanel(s) in _border_add function.
Actually show/hide quickpanels when asked (temporary..this will change soon)
No need to handle setting conformant app layer in layout code. Done in
border_add.



SVN revision: 44741
2009-12-28 03:41:20 +00:00
Christopher Michael 4a4d04fa81 Add functions to allow quickpanel show/hide to be handled on a per-policy
basis.



SVN revision: 44740
2009-12-28 02:34:49 +00:00
Christopher Michael 0576446c11 Add check in 'valid borders get' for quickpanel so it is not included in
that return.
Add function to return all quickpanel borders.
Add function to return count of quickpanel borders.
No need to retrieve mode from event window when we get a client message. The
mode is actually returned to us already in the event data.
Add trap for quickpanel state in client message handler.



SVN revision: 44738
2009-12-28 02:11:55 +00:00
Christopher Michael f6f8eb8c09 Need an actual move here to handle external keyboards (elm_kbd). This
'should' make kbd 100% finished. Works in all test cases I have run so far.



SVN revision: 44734
2009-12-27 20:09:26 +00:00
Christopher Michael 4b60457607 Fix some corner cases where keyboard was not showing the second time.
SVN revision: 44732
2009-12-27 18:22:20 +00:00
Christopher Michael c23cca0bbb Rework/recode e_kbd stuff. This makes keyboard work nicely with everything
that I have tested so far. No more initial home window size problems either :)



SVN revision: 44728
2009-12-27 05:04:41 +00:00
Christopher Michael 269e469496 Remove commented line.
SVN revision: 44726
2009-12-27 00:58:59 +00:00
Christopher Michael 21739a8521 Break apart keyboard code to separate dbus code (cleaner).
Fix initial home window size problem.



SVN revision: 44725
2009-12-27 00:57:04 +00:00
Christopher Michael 0942505cff Resize the quickpanel borders during layout.
SVN revision: 44698
2009-12-23 20:04:44 +00:00
Christopher Michael 5906ab2010 Trap for quickpanel windows. Not actually doing anything with them yet tho.
SVN revision: 44694
2009-12-23 15:26:51 +00:00
Christopher Michael db41be00b2 Remove winlist client message.
Add defines for border layers to allow easier changing in code.



SVN revision: 44687
2009-12-23 13:36:13 +00:00
Christopher Michael c873ad8207 Remove EAPI from kbd functions. We do not need to export these as they are
used by illume2 only.



SVN revision: 44683
2009-12-23 12:02:55 +00:00
Christopher Michael 53b66b881c Breakup code a little more to be better organized. Separates all border
functions into one file.



SVN revision: 44681
2009-12-23 11:48:55 +00:00
Christopher Michael 8ff96c07d1 Separate illume mode toggle into it's own gadget. This makes illume2 that
much cleaner.
Remove mode icon from illume2 edj.
Remove gadcon files from illume2 (in own gadget now).
Modify illume2 e.cfg to include illume-mode-toggle gadget and reorder gadgets.



SVN revision: 44671
2009-12-23 00:39:24 +00:00
Christopher Michael f9f0e3f2fb Add zone as a parameter to some functions so we can make sure that these
functions operate only on the current zone.



SVN revision: 44635
2009-12-21 17:19:32 +00:00
Christopher Michael 652da596a2 Create kbd on current zone.
Formatting.



SVN revision: 44619
2009-12-21 03:54:41 +00:00
Christopher Michael 7fa3653854 Remove dead code.
Add function to get border max size.
Set conformant apps to be below indicator bar.



SVN revision: 44617
2009-12-21 02:35:14 +00:00
Christopher Michael 4d32e932ea Handle another corner case wrt layout. Dual mode working nicely now even
with moving indicator (just need to handle conformant & fullscreen now).



SVN revision: 44611
2009-12-20 17:29:04 +00:00
Christopher Michael a9af8c438d More work on layout code. Handle cases where top shelf was dragged to
zone->y, thus making app1 region too small to display anything, so we do the
layout as was done previously. There are still some corner cases that I need
to trap here.



SVN revision: 44591
2009-12-20 06:06:53 +00:00
Christopher Michael 904f3db655 New layout code for dual-mode. This works with dragable indicator bars (tho
still need to handle fullscreen/conformant cases, and cases where an app
which wants vkbd is placed at the bottom - the vkbd ends up covering the app
window :( )



SVN revision: 44580
2009-12-19 21:05:49 +00:00
Christopher Michael ecf7f4c4f5 Reduce variable usage.
SVN revision: 44559
2009-12-18 23:58:51 +00:00
Christopher Michael 91c093d45a Add handy functions for getting dual-app mode safe regions (safe regions
being space that is available to place a window).



SVN revision: 44557
2009-12-18 23:51:54 +00:00
Christopher Michael b1734750c9 Traps for landscape mode when moving top_shelf or bottom_panel (so we don't
move the panel(s) if it's in a custom location).




SVN revision: 44550
2009-12-18 17:51:35 +00:00
Christopher Michael 6ffaf58927 Some safety checks to make sure we return a border, else calls to policy are
useless.



SVN revision: 44535
2009-12-18 05:17:03 +00:00
Christopher Michael fbf2f44a55 Add some handy functions for getting top_shelf/bottom_panel position and size.
SVN revision: 44530
2009-12-17 23:47:48 +00:00
Christopher Michael 13856e38f5 Remove old drag code for indicator & illume2. Drag of top shelf is now
handled almost entirely by the top shelf itself. This removes the
input_window also.



SVN revision: 44528
2009-12-17 23:36:07 +00:00
Christopher Michael d567df75c6 Remove config variables for locking.
Send mode to root window so we can lock/unlock indicator window on startup.



SVN revision: 44518
2009-12-16 21:39:04 +00:00
Christopher Michael f9c88ca73e Handle dragables a bit better. This also removes the config option from the
config dialog for locking.



SVN revision: 44517
2009-12-16 21:13:48 +00:00
Christopher Michael ae8da17111 Add config options to lock dragables.
Cleanup some code.



SVN revision: 44515
2009-12-16 20:12:49 +00:00
Christopher Michael 327fef16fd Remove dnd files. Handled it differently.
SVN revision: 44495
2009-12-16 02:22:34 +00:00