Commit Graph

7021 Commits

Author SHA1 Message Date
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 10fb34ad03 Lock stacking of home windows & deselect an icon after it's started running.
SVN revision: 45500
2010-01-23 21:08:57 +00:00
Sebastian Dransfeld f0015c1e97 Only move resize edge windows in one func
SVN revision: 45499
2010-01-23 20:11:55 +00:00
Sebastian Dransfeld 2de0425541 Fix #483
For corner shelves, detect movement in corner windows
Use ev->root.{x,y} as event coordinates, we do not care where the mouse
moves within the edge windows.
Convenience function for window -> edge detection.

SVN revision: 45498
2010-01-23 20:06:02 +00:00
Sebastian Dransfeld 1f0929c9d5 Only flip if edge window present
SVN revision: 45495
2010-01-23 18:33:24 +00:00
Carsten Haitzler 5837af54c0 remove testing shape stuff
SVN revision: 45486
2010-01-23 13:51:39 +00:00
Carsten Haitzler 7559d1f642 well.. compoaitor - with gl... seeems to work.. but on fglrx... its slow as
all hell! smells like i hit a software path. hooray!



SVN revision: 45485
2010-01-23 13:50:26 +00:00
Sebastian Dransfeld 436b1fa456 Set list to NULL on free
SVN revision: 45481
2010-01-23 11:32:04 +00:00
Sebastian Dransfeld aa4572db97 Switch sort order
We want the leftmost screen to be first

SVN revision: 45480
2010-01-23 11:23:12 +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 da65e0f364 Remove printfs.
SVN revision: 45474
2010-01-22 23:56:09 +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 ada28c01eb Set top shelf geometry on zone.
SVN revision: 45471
2010-01-22 23:07:52 +00:00
Christopher Michael bbaf21475c Cleanup busycover handles when we close.
Add some printfs for home launching two apps.



SVN revision: 45469
2010-01-22 22:52:28 +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
Christopher Michael 056e01de38 Dont need a state_set for quickpanel, just use the state_send message.
Send position_update message when indicator gets moved.



SVN revision: 45467
2010-01-22 22:50:27 +00:00
Sebastian Dransfeld a9bf975e7b export less
SVN revision: 45455
2010-01-22 20:28:39 +00:00
Sebastian Dransfeld e2ba9a34b9 Add EINTERN
All functions not static in modules should be EINTERN, exepect
e_modapi_*

SVN revision: 45446
2010-01-22 20:00:07 +00:00
Carsten Haitzler 62b8ceb7c7 fix for gl mode - update rects
SVN revision: 45435
2010-01-22 09:30:16 +00:00
Sebastian Dransfeld 1715880d6a inplace open should not care whether we use single click or not, this is handeled by click handler
SVN revision: 45434
2010-01-22 07:21:03 +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
Sebastian Dransfeld 56d7e58f04 And readd shelf_show action
SVN revision: 45420
2010-01-21 20:39:57 +00:00
Gustavo Sverzut Barbieri 251bb08baf Do not go back to online when marked as 'Offline'
The way it was, if you changed offline it was repeatedly toggling due
E "offline mode" state and connman module fighting. Now it does it once.

By: Lucas De Marchi <lucas.demarchi@profusion.mobi>



SVN revision: 45410
2010-01-21 18:26:08 +00:00
Christopher Michael 397c19771a Reorganize code & remove duplicate lines.
SVN revision: 45405
2010-01-21 17:48:55 +00:00
Christopher Michael 053d8060ca Rework indicator so we can use mouse_down for showing quickpanel, and for
dragging.



SVN revision: 45404
2010-01-21 17:38:09 +00:00
Carsten Haitzler fb6d5c6ef6 rememebr to free up memory for uncomposited windows
SVN revision: 45387
2010-01-21 12:42:33 +00:00
Carsten Haitzler 2c43ebaf2a optin to use gl for compositing... uses native surface stuff froom evas.
SVN revision: 45384
2010-01-21 08:44:41 +00:00
Sebastian Dransfeld a9e5912f7f And remove rest of shelf action
SVN revision: 45382
2010-01-21 08:37:45 +00:00
Sebastian Dransfeld caff9d5ade cleanup
SVN revision: 45381
2010-01-21 08:31:44 +00:00
Sebastian Dransfeld 226df7024c remove unneeded action
SVN revision: 45379
2010-01-21 07:50:06 +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 9d298fdae0 Account for e_scale when creating softpanel.
SVN revision: 45375
2010-01-21 01:17:23 +00:00
Christopher Michael 70a951240a Take into account e_scale when setting indicator height.
SVN revision: 45374
2010-01-21 01:16:03 +00:00
Sebastian Dransfeld 5b22c194a8 Create/ delete edge bindings for shelves as needed
Fixes bug #483

SVN revision: 45371
2010-01-20 22:36:45 +00:00
Sebastian Dransfeld 288ba85026 No point in setting binding in config
These bindings are not saved, and we don't want them saved

SVN revision: 45370
2010-01-20 22:36:34 +00:00
Sebastian Dransfeld a89ce69fca weird git
SVN revision: 45369
2010-01-20 21:38:01 +00:00
Sebastian Dransfeld 712af7f69e set layer on creation
SVN revision: 45368
2010-01-20 21:32:46 +00:00
Sebastian Dransfeld 529b2bef88 local change only
SVN revision: 45367
2010-01-20 21:32:35 +00:00
Sebastian Dransfeld f098d9df85 Only create edge windows which have bindings
Previously all windows always existed, and edge bindings showed/hided
windows as needed. And e_zone_flip_win_disable/ e_zone_flip_win_restore
f**k'ed this up.

Will fix bug #483 soon.

SVN revision: 45366
2010-01-20 21:30:17 +00:00
Sebastian Dransfeld 5109c0f8ea oops
SVN revision: 45365
2010-01-20 21:15:07 +00:00
Sebastian Dransfeld db6819ae2a Results from gettext aren't static
SVN revision: 45362
2010-01-20 19:49:39 +00:00
Carsten Haitzler 99fc74f7c5 fix shadow on/off config
SVN revision: 45351
2010-01-20 04:45:47 +00:00
Sebastian Dransfeld 1526c18cd5 Desktop is localized
SVN revision: 45345
2010-01-19 21:19:38 +00:00
Sebastian Dransfeld af13c5a81f Desktop is localized
SVN revision: 45344
2010-01-19 21:11:50 +00:00
Sebastian Dransfeld 1271fb625d Desktop is localized
SVN revision: 45343
2010-01-19 21:11:36 +00:00
Sebastian Dransfeld f2d0f5894d locals.params isn't stringshared
Fixes bug #436

SVN revision: 45341
2010-01-19 20:41:33 +00:00
Sebastian Dransfeld e64e721ff2 Make sure that we always resize on keypress
When using alt on a window which resizes in steps, we could get 0
movement. Fixes bug #338.

SVN revision: 45339
2010-01-19 19:46:09 +00:00
Carsten Haitzler 89d6be54fc add gl engine option - still slow way to update tho.
SVN revision: 45329
2010-01-19 14:28:56 +00:00
Christopher Michael 06c33bb3ab Better way to set zone (faster as it does not send certain events).
SVN revision: 45315
2010-01-19 02:58:18 +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 f3e837c31b Move borders to proper zone (when launched) if needed.
SVN revision: 45311
2010-01-19 02:17: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 da4ac39084 Don't need/want separate code for handling back & close. Just send the
message and let illume2 handle it.



SVN revision: 45308
2010-01-19 00:17:24 +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 0121ec9afc Add illume-bluetooth module (based on original module from illume)
SVN revision: 45273
2010-01-18 02:02:09 +00:00
Christopher Michael 8d1f4a54af Formatting & whitespace removal.
No need to call all these _inits() as E already handles init'n those.
Don't need the extra headers included here either as they are already
included via e.h.



SVN revision: 45268
2010-01-17 20:21:42 +00:00
Hannes Janetzek 922c14ea3c hopefully 'everything' builds on solaris now. hints how to do it better appreciated.
SVN revision: 45235
2010-01-16 21:01:59 +00:00
Christopher Michael c91fd67597 oops, re-enable new home windows on module startup.
SVN revision: 45234
2010-01-16 18:40:41 +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
Sebastian Dransfeld c3a71f394d make clang happy
SVN revision: 45184
2010-01-15 12:01:52 +00:00
Sebastian Dransfeld f67a69f161 Fix compiler warnings
SVN revision: 45183
2010-01-15 12:01:40 +00:00
Sebastian Dransfeld 6a6d1eab77 Remove unused function
SVN revision: 45182
2010-01-15 12:01:30 +00:00
Sebastian Dransfeld 68f785d92f Fix compiler warnings
SVN revision: 45181
2010-01-15 12:01:17 +00:00
Sebastian Dransfeld bdb1f669e6 Fix compiler warnings
SVN revision: 45180
2010-01-15 12:01:06 +00:00
Sebastian Dransfeld 8ff570beb2 Remove unused variable
SVN revision: 45179
2010-01-15 12:00:55 +00:00
Sebastian Dransfeld 286988f003 Fix compiler warnings
SVN revision: 45178
2010-01-15 11:59:58 +00:00
Sebastian Dransfeld 78b294c4a8 make clang happy
SVN revision: 45176
2010-01-15 11:29:50 +00:00
Carsten Haitzler 84955de029 handle screen randr.
SVN revision: 45166
2010-01-15 05:54:14 +00:00
Christopher Michael 915dbed1be Easier checks for kbd state.
SVN revision: 45165
2010-01-15 05:47:31 +00:00
Carsten Haitzler 79dcd015f8 lots of work on compositor stuff. looking slick and nice internally too.
SVN revision: 45159
2010-01-15 04:41:20 +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 4f9aead4e7 More fixes for dragging...much faster now on the drag.
SVN revision: 45156
2010-01-15 04:16:30 +00:00
Christopher Michael 525346b624 Don't send mode message here.
SVN revision: 45155
2010-01-15 03:58:23 +00:00
Christopher Michael 7306166b9a Don't check for can drag on a zone, just use the 'locked' state on the
indicator.
Add a flag to the window struct so we know if we are dragging or not.



SVN revision: 45154
2010-01-15 03:57:55 +00:00
Sebastian Dransfeld b7f399d159 make clang happy
SVN revision: 45153
2010-01-14 23:48:59 +00:00
Sebastian Dransfeld 87f1bcb0ed remove unused variables
SVN revision: 45152
2010-01-14 23:48:48 +00:00
Sebastian Dransfeld 25398b689f make clang happy
SVN revision: 45151
2010-01-14 23:48:37 +00:00
Sebastian Dransfeld 6136509b9f make clang happy
x and y are used later and might be garbage

SVN revision: 45150
2010-01-14 23:48:26 +00:00
Sebastian Dransfeld 9b6667ebaa Initialize to empty string
Value should be non null as strcmp does not like null argument.

SVN revision: 45149
2010-01-14 23:48:15 +00:00
Sebastian Dransfeld 6e96d85186 free list
SVN revision: 45139
2010-01-14 22:10:38 +00:00
Sebastian Dransfeld de275b5a85 Make selected desktops show in advanced config
e_widget_ilist_count does not work as it did, as it
e_widget_ilist_multi_select only queues commands and the change is not
instant. Add own counter for ilist position.

Also set pointer for config desk_list to new list on apply.

SVN revision: 45138
2010-01-14 22:10:28 +00:00
Sebastian Dransfeld 91a1ce39cb formatting
SVN revision: 45137
2010-01-14 22:10:17 +00:00
Sebastian Dransfeld 2392772af4 formatting
SVN revision: 45136
2010-01-14 22:10:00 +00:00
Christopher Michael 9d3502d8e9 Fix dragging of indicator window.
SVN revision: 45134
2010-01-14 21:39:14 +00:00
Sebastian Dransfeld 44b1509345 Fix "selected" emit
Only emit "selected" on mouse up if we are in single click mode and no
modifiers is set.
Need to check for single_click first, so that inplace_open isn't called
on doubleclick.

Fixes ticket 375

SVN revision: 45130
2010-01-14 20:55:04 +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 dec35ad102 When creating the canvas for a zone, use the zone->x & zone->y as canvas
position rather than always at zero/zero.



SVN revision: 45116
2010-01-14 18:24:14 +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 7c1087a702 Set bottom panel geometry on root window (for elm_conform widget).
SVN revision: 45103
2010-01-14 02:30:44 +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 09db1a4b46 Recreate new home windows on initial load (this handles dual mode also).
Rework/Re-implement busycover windows per home window so we can show
launching status.



SVN revision: 45097
2010-01-13 23:40:23 +00:00