Commit Graph

61 Commits

Author SHA1 Message Date
Christopher Michael 7d96aaa67f Handle border property change events for Fullscreen/Unfullscreen.
SVN revision: 45932
2010-02-06 15:42:04 +00:00
Christopher Michael 5693b420a3 More error trapping.
SVN revision: 45685
2010-01-29 05:52:36 +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 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 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
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 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 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 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 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 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 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 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 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 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 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 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 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 123a6e786e Add drag_start and drag_end to policy.
Remove old dead code.



SVN revision: 44493
2009-12-16 02:21:28 +00:00
Christopher Michael 0f2e260558 Rework illume layout code to be cleaner WITH comments :)
Much much much better layout code. I believe this handles ALL cases now :)



SVN revision: 44454
2009-12-14 23:49:36 +00:00
Christopher Michael 1b14226912 Formatting. Fix comments.
SVN revision: 44427
2009-12-13 18:14:24 +00:00
Christopher Michael d51a62dceb Handle client messages for back & close.
SVN revision: 44400
2009-12-12 01:11:05 +00:00
Christopher Michael 9452fba9fe Trap for illume_mode client messages.
SVN revision: 44386
2009-12-11 21:13:40 +00:00
Christopher Michael 374b78a8dc Don't treat config dialogs as special anymore. They also can work w/ dual
app mode.



SVN revision: 44346
2009-12-11 02:56:07 +00:00
Christopher Michael f95bb4526e Make basic dual mode work :) (this does not cover conformant apps yet, just
'basic' apps).



SVN revision: 44260
2009-12-07 21:14:28 +00:00
Christopher Michael 3b095fa6ec Trap for config dialogs in conformant check.
SVN revision: 44227
2009-12-06 19:16:49 +00:00
Christopher Michael c91b7a42f3 Use new ecore_x_e_illume_conformant functions.
Add functions to get top_shelf & bottom_panel borders so we can hide/show
them.
If a conformant app window gets closed, reshow the top & bottom panels.



SVN revision: 44221
2009-12-06 17:32:31 +00:00
Christopher Michael 3f55fcf7f4 Add ability for policy to handle activate code itself.
SVN revision: 44217
2009-12-06 16:17:39 +00:00
Christopher Michael ca0ebba0e4 Add function to test for a border at certain position.
SVN revision: 44216
2009-12-06 15:57:05 +00:00
Christopher Michael 63a836412c Handle netwm active requests.
SVN revision: 44206
2009-12-05 23:41:33 +00:00
Christopher Michael 781568dc46 Add function to return valid borders.
Focus any newly added borders.
Remove any remaining layer_set(s).



SVN revision: 44201
2009-12-05 17:27:30 +00:00
Christopher Michael 1f6d1d1bea Add function to determine if an app is conformant.
SVN revision: 44111
2009-12-01 21:39:51 +00:00
Christopher Michael fb6e867677 Add config dialog for selecting the policy.
SVN revision: 44071
2009-11-30 21:46:30 +00:00
Christopher Michael 028496de15 Add checks in layout code to match windows based on what user wants (match
name, class, etc, etc).



SVN revision: 44031
2009-11-27 20:50:00 +00:00
Christopher Michael ebd62de75e Fix formatting in layout.c
Add config dialog options for selecting all windows.



SVN revision: 44029
2009-11-27 20:27:07 +00:00