Commit Graph

753 Commits

Author SHA1 Message Date
sebastid fd3d7d588d Free config list.
Use switch to check gadman change.


SVN revision: 13397
2005-02-16 11:38:14 +00:00
sebastid 9718ef9fa7 Cleanup.
SVN revision: 13396
2005-02-16 11:31:21 +00:00
sebastid 6b50c58bfa Make sure loop ends.
SVN revision: 13395
2005-02-16 11:30:32 +00:00
sebastid 36aac98812 Make sure loop quits.
SVN revision: 13394
2005-02-16 11:29:31 +00:00
sebastid 6aef215864 If the object only can move along edges, remove horz/vert centering.
Maybe the centering rather should be fixed?


SVN revision: 13393
2005-02-16 11:27:01 +00:00
sebastid 75916a26b9 Nicer loop.
SVN revision: 13392
2005-02-16 11:25:30 +00:00
sebastid e0f1105b32 Make sure loop quits.
SVN revision: 13391
2005-02-16 11:23:56 +00:00
sebastid 4e8281f220 e_box_orientation_get()
SVN revision: 13390
2005-02-16 11:21:07 +00:00
sebastid 921f1ae198 Better so.
SVN revision: 13380
2005-02-15 17:28:43 +00:00
sebastid 3cafcebfb3 No need to waste cycles.
SVN revision: 13379
2005-02-15 17:16:02 +00:00
sebastid 5e74b4affe Don't waste cycles :)
SVN revision: 13378
2005-02-15 17:11:13 +00:00
sebastid 728a0d1d09 Remove unnecessary loop.
SVN revision: 13377
2005-02-15 17:05:34 +00:00
sebastid 7035502079 Cleaner with for loop.
Destroy old desks, not only their client list.


SVN revision: 13376
2005-02-15 16:54:47 +00:00
sebastid a0c24bd77e Segv fix!
SVN revision: 13374
2005-02-15 13:17:53 +00:00
sebastid 379a60fe5e Check if the event is relative to the current zone.
Add Desk Show event.


SVN revision: 13373
2005-02-15 12:15:22 +00:00
sebastid c86091fcaf - Add atom E_ATOM_SHADE_DIRECTION, remove E_ATOM_ICONIC
- Add function for reordering border lists.
- Update hints, and use them.
- Add a flag to e_border_hide to tell if the window still
  is managed or not.
- Don't set changed flag if changing visibility. Visibility is handled
  outside _e_border_eval()
- Cleanup focus_out.
- Add desk show event.


SVN revision: 13372
2005-02-15 12:11:31 +00:00
sebastid bcca6372fd Remove actions that shouldn't be here.
Update.


SVN revision: 13371
2005-02-15 12:07:23 +00:00
sebastid c8bcd40efd Text.
SVN revision: 13370
2005-02-15 11:50:12 +00:00
sebastid 587530a216 We created the menu_items, so e_object_del() them.
Shutdown menu properly!


SVN revision: 13369
2005-02-15 11:49:24 +00:00
sebastid c4ff9fc7a6 Free the desks on shutdown.
SVN revision: 13368
2005-02-15 11:48:08 +00:00
sebastid 1fd4f38daf We created the submenu, so e_object_del it!
SVN revision: 13367
2005-02-15 11:46:54 +00:00
sebastid b6c2d784d5 Remove printf
SVN revision: 13366
2005-02-15 11:30:54 +00:00
handyande 9b1ae3c05f refresh gadget parts properly (re: pager -> edit mode, then add desktop)
SVN revision: 13361
2005-02-14 11:59:42 +00:00
sebastid d9aa5194e4 Use xinerama screen id for zone id.
SVN revision: 13357
2005-02-13 12:33:31 +00:00
sebastid 21ccc8a443 Remove unused variable.
SVN revision: 13356
2005-02-13 12:32:04 +00:00
sebastid d5810516ad Export function.
SVN revision: 13355
2005-02-13 12:31:31 +00:00
sebastid 5c02906f15 Don't let extra screens overlap the main screen.
SVN revision: 13354
2005-02-13 11:56:46 +00:00
sebastid c7969735ab Gadman ibar.
SVN revision: 13352
2005-02-13 11:37:13 +00:00
sebastid 24f8a74326 Fix for overlapping xinerama screens.
SVN revision: 13350
2005-02-13 11:36:19 +00:00
sebastid fc6ae8b462 Move managing code from e_main.c to e_manager.c
Check for the existence of E_ATOM_CONTAINER and E_ATOM_ZONE
Use e_object_del to delete objects.
Convenience functions:
- e_manager_container_current_get()
- e_manager_container_number_get()


SVN revision: 13348
2005-02-13 11:17:46 +00:00
sebastid 68512d32c3 Add code for zone setting, and remembering zone and container.
SVN revision: 13347
2005-02-13 11:12:51 +00:00
sebastid 68ae5cb156 Mark problem with FIXME
SVN revision: 13344
2005-02-13 10:47:57 +00:00
sebastid f8a00b541c Remove e_client_gadman_edge_set, because e_gadman_client_edge_set exists.
Respect policy changes while in editing mode.


SVN revision: 13343
2005-02-13 10:46:04 +00:00
sebastid 59c93af598 Formatting.
SVN revision: 13342
2005-02-13 10:44:02 +00:00
sebastid 2a95b38708 Create atoms to hold container and zone info.
SVN revision: 13341
2005-02-13 10:41:14 +00:00
handyande c767024328 Doc the behaviour
SVN revision: 13325
2005-02-11 23:28:36 +00:00
handyande e5f25ad414 Fixup to use e's DISPLAY padding and use the env if passed param is NULL
SVN revision: 13323
2005-02-11 23:24:50 +00:00
sebastid 9c7c92333f Remember which window is resizing, and if that window is removed, stop
resizing.


SVN revision: 13317
2005-02-11 15:18:21 +00:00
sebastid 6be8d93eea Don't change the event structure.
SVN revision: 13316
2005-02-11 14:50:08 +00:00
sebastid 31e64db739 Bad me.
SVN revision: 13315
2005-02-11 14:39:44 +00:00
sebastid 9cf57618d6 Don't accept LOCK keys as modifiers on event Mouse Down.
SVN revision: 13314
2005-02-11 14:38:46 +00:00
handyande 69db6a52c9 Fix border_desk_set *again* ;) - this may also fix sticky bugs reported
SVN revision: 13309
2005-02-11 10:42:30 +00:00
sebastid e19add22c8 Add main menu to face menu.
SVN revision: 13300
2005-02-10 16:48:37 +00:00
sebastid b07cedffdc Add main menu to face menu.
SVN revision: 13299
2005-02-10 16:42:07 +00:00
sebastid 78bf7b1cb5 Don't honor sticky flag when border is added.
SVN revision: 13298
2005-02-10 15:25:07 +00:00
sebastid 422e2844df Sticky windows
SVN revision: 13297
2005-02-10 15:21:23 +00:00
sebastid 462f07aa92 Now both resize limit and resize resist should work.
SVN revision: 13296
2005-02-10 13:53:00 +00:00
sebastid 71736d6f4a Ooops! Wrong fix!
SVN revision: 13295
2005-02-10 13:33:07 +00:00
sebastid 693a6093ff _e_border_resize_limit() at the right spot. Seems like resize resist isn't
nice to windows with a large step width.


SVN revision: 13294
2005-02-10 13:28:10 +00:00
sebastid 73867dd3f0 Text
SVN revision: 13292
2005-02-10 12:52:31 +00:00
sebastid e6acddcfcb Edit Mode
SVN revision: 13291
2005-02-10 12:51:16 +00:00
sebastid 051085ab71 Fix save on shutdown.
SVN revision: 13289
2005-02-10 12:29:25 +00:00
sebastid de71b6015e Split out common functionality.
SVN revision: 13288
2005-02-10 12:28:39 +00:00
sebastid 17ae82095c Small fix
SVN revision: 13285
2005-02-10 12:07:42 +00:00
sebastid ffe474dccc Cleanup. Add e_config_save_queue()
SVN revision: 13284
2005-02-10 12:03:09 +00:00
sebastid f7cece5c47 - Menu for each face.
- Save config.


SVN revision: 13283
2005-02-10 12:00:39 +00:00
sebastid 9ddfaabb3a - Move functions from face to main object.
- Add menu on each face.
- Save config.


SVN revision: 13282
2005-02-10 11:58:14 +00:00
sebastid 7f7f3820c4 Save config for clock and faces.
SVN revision: 13281
2005-02-10 11:54:18 +00:00
handyande 9b6365995a Bad Seb - BAD
SVN revision: 13262
2005-02-09 14:52:06 +00:00
sebastid 83e99483ad 1. Don't return a list of pagers from the module, return a Pager.
2. Pager -> Pager_Face (like in clock and battery).
3. Config for Pager and Pager_Face
4. Menustuff
5. Added possibilities of what to do when the number of desktops change.


SVN revision: 13260
2005-02-09 12:16:21 +00:00
sebastid 1b891d8974 Move action from Battery_Face to Battery (We only need to check the battery
once, even if there are multiple faces).

Clean up battery check.


SVN revision: 13259
2005-02-09 12:14:08 +00:00
sebastid 0bba6039f0 Cleanup before adding menu for each face, config and save
SVN revision: 13257
2005-02-09 11:48:55 +00:00
sebastid 2c3901e217 Formatting
SVN revision: 13255
2005-02-09 11:39:05 +00:00
sebastid 0b91f75876 Typo.
SVN revision: 13254
2005-02-09 11:36:43 +00:00
sebastid ed80fdaff3 Compile fixes, remove debug, a FIXME
SVN revision: 13253
2005-02-09 11:36:14 +00:00
Carsten Haitzler 267a144db1 ibar has apps again.
SVN revision: 13251
2005-02-09 06:40:23 +00:00
Carsten Haitzler 111748670f fix synthetic send
SVN revision: 13246
2005-02-09 03:35:34 +00:00
sebastid 2a77326df1 Not e_object_unref, e_object_del
SVN revision: 13242
2005-02-08 18:07:00 +00:00
sebastid 7857096ed3 Formatting
SVN revision: 13240
2005-02-08 11:51:41 +00:00
sebastid 74ed1216e2 viminfo
SVN revision: 13239
2005-02-08 11:46:46 +00:00
sebastid 8165b22409 Don't let a pager play with anothers zone
SVN revision: 13237
2005-02-08 11:19:19 +00:00
Carsten Haitzler ca73c0ff58 only save config when/if it changes, not always... and fix module data dir...
SVN revision: 13236
2005-02-08 03:51:08 +00:00
Carsten Haitzler 6aebc52d48 printf in the right order damnit!
SVN revision: 13229
2005-02-07 15:39:16 +00:00
Carsten Haitzler af2e5f74d3 moduels support multiple architectures build for 1 module
SVN revision: 13228
2005-02-07 15:34:20 +00:00
handyande e22ea92c98 Show application icons whilst we startup
SVN revision: 13226
2005-02-07 15:09:37 +00:00
handyande 08bc10fae2 Small fix (you would need to be changing desktop count and have windows still on those desks [i.e. xnest in e17 or something] but it could happen
SVN revision: 13225
2005-02-07 15:06:47 +00:00
Carsten Haitzler 9920d28f67 midde resize, right menu
SVN revision: 13224
2005-02-07 14:37:37 +00:00
Carsten Haitzler 3d28e3a84f fix up resize edje to be less offensive :)
SVN revision: 13223
2005-02-07 14:19:30 +00:00
Carsten Haitzler 4f54c588e1 seb's patch...
SVN revision: 13222
2005-02-07 13:51:09 +00:00
handyande f8e536b96e hmm, update TODO accurately
SVN revision: 13219
2005-02-07 12:06:06 +00:00
Carsten Haitzler f599d7e5df bad rbdpngn!!!!!!! BAD! flame and snow enabled and RUNNING by default. BAD
pingu! bad! :)


SVN revision: 13218
2005-02-07 12:03:38 +00:00
handyande 5983e2997f update some todo
SVN revision: 13217
2005-02-07 12:02:41 +00:00
handyande 9421f51694 fix some instance counter issues
SVN revision: 13216
2005-02-07 11:46:07 +00:00
handyande e73892ca59 Sebastians module patch, tidy up and fix clock faces + menus
SVN revision: 13215
2005-02-07 11:29:36 +00:00
handyande e0e6ee040d Sebastian's zone fixes - seem good
SVN revision: 13214
2005-02-07 11:27:08 +00:00
Dan Sinclair fe6c17f3d4 - include the \0 too
SVN revision: 13190
2005-02-04 06:11:57 +00:00
Carsten Haitzler 729270e697 ewps!
SVN revision: 13184
2005-02-03 13:47:51 +00:00
handyande 77490db37f Add window menu on alt->right-click
SVN revision: 13183
2005-02-03 09:09:53 +00:00
handyande 17c4b87372 Actually show the windows in pager > 1 - fixed issue a)
SVN revision: 13174
2005-02-01 18:31:23 +00:00
handyande 5d0fe52e1a Modified patch from sebastid@stud.ntnu.no
adds 1 pager per zone, saves the gadman clients independantly
Looks only at the zone size, rather than the whole viewport
issues with :
a) saving x position on zone > 1
b) adding windows to zone > 1


SVN revision: 13173
2005-02-01 18:21:46 +00:00
digitalfallout 663f446165 meh, printf->fprintf and some c++ comments gone
SVN revision: 13134
2005-01-30 06:27:51 +00:00
handyande ed8b9251f4 May not be totally correct, but this time it, ahem, works
SVN revision: 13125
2005-01-29 12:51:28 +00:00
handyande b6147a505c that was bugging me too - gaim login windows reappearing etc
SVN revision: 13124
2005-01-29 12:17:00 +00:00
Carsten Haitzler 329671a11f mini-freeze TODO items fixed :)
SVN revision: 13109
2005-01-27 15:17:09 +00:00
handyande 2af32159f0 Keep screen overlay an overlay
SVN revision: 13107
2005-01-27 14:24:07 +00:00
Dan Sinclair 37057704e6 - don't want to install config.h so move it out of e.h and put it into the
files that need it.


SVN revision: 13106
2005-01-27 13:22:53 +00:00
handyande 5482849d8a AHA! fixed a pager seg, we should not just be flipping desks without providing the events :) bad somebody...
Can someone who put _pager_border_find in let me know if my thought is correct or not


SVN revision: 13105
2005-01-27 11:30:50 +00:00
Carsten Haitzler 750555dfb5 singals patch
SVN revision: 13104
2005-01-27 10:14:22 +00:00
Carsten Haitzler 49a65725c8 return 1 damnit!
SVN revision: 13100
2005-01-26 04:34:19 +00:00
handyande ec01bb7925 Port battery and temperature to gadman - finally
Ibar here I come :(


SVN revision: 13094
2005-01-25 14:24:38 +00:00
Carsten Haitzler f0e355a7a4 damn! i didnt realise e17 was eatign up all those pixmaps! fix fix fix!
SVN revision: 13092
2005-01-25 08:43:56 +00:00
Carsten Haitzler 4bb0338026 1. more TODO
2. fix gadman resize with aspect from going off screen
3. add handy exit edit mdoe in gadget right menu


SVN revision: 13084
2005-01-24 15:22:47 +00:00
Carsten Haitzler 8a70f5ebf3 todo/fixme items
SVN revision: 13062
2005-01-23 05:28:06 +00:00
Carsten Haitzler 7b65c794e7 fix overlap
SVN revision: 13056
2005-01-22 12:07:10 +00:00
rbdpngn b6c300dd69 Add type checking for the various E objects.
SVN revision: 13053
2005-01-22 06:58:34 +00:00
Carsten Haitzler 2dd953e701 handle xrandr properly (again) so u can change resolutions on the fly again,
gadman handles this right, and fix restart properly - well its half arsed
still, but works.


SVN revision: 13051
2005-01-22 05:21:48 +00:00
Carsten Haitzler 81c8839992 dont start managing unmapped windows. remove e manage info from unmanaged
clients


SVN revision: 13050
2005-01-22 03:36:43 +00:00
handyande 6697521787 OK, pager moved to gadman now, others tomorrow - note that pager still needs work for multiple zones
SVN revision: 13049
2005-01-22 01:06:22 +00:00
handyande be260964a2 Make clock handles maintain aspect, and allow for folk who like them big :)
SVN revision: 13043
2005-01-21 16:03:57 +00:00
Carsten Haitzler 072e32c609 gadman in. clock module poprted. others need porting.
SVN revision: 13042
2005-01-21 15:45:56 +00:00
Carsten Haitzler f8315b82cb set clips if not edge only move too
SVN revision: 13031
2005-01-20 15:35:17 +00:00
handyande 6cb3279264 Fix showing of windows if we are starting afresh
SVN revision: 13030
2005-01-20 14:22:51 +00:00
handyande eb0f1bd307 Remeber border hints when restarting (or recovering) E. This is currently set on all windows all the time in case of crash - it could be moved to being set on E shutdown (before a restart)
SVN revision: 13028
2005-01-20 14:01:31 +00:00
Carsten Haitzler 45ef78688c more gadman work... on the way there...
SVN revision: 13027
2005-01-20 13:42:51 +00:00
handyande 08ef1688d6 Don't want to file to load...
SVN revision: 13026
2005-01-20 10:48:50 +00:00
handyande 1c5b65ca4d a (not so) paranoid check
SVN revision: 13025
2005-01-20 10:42:09 +00:00
handyande 674a9f4b4f Small tidy, trying to hunt a segv
SVN revision: 13024
2005-01-20 10:28:56 +00:00
handyande 0597b717cf seems i never committed this
SVN revision: 13022
2005-01-19 23:09:58 +00:00
handyande 149cd58315 Fix small issue with resizing pager
SVN revision: 13018
2005-01-19 16:08:19 +00:00
Carsten Haitzler 5795d70068 tested and working... todo FIXME's still left...
SVN revision: 13017
2005-01-19 15:55:27 +00:00
Carsten Haitzler 4985a2f3a5 iner zone moves? need to test...
SVN revision: 13016
2005-01-19 15:39:36 +00:00
Carsten Haitzler 0d7b3d0229 oops. put con back up
SVN revision: 13013
2005-01-19 14:44:03 +00:00
Carsten Haitzler d8025b308e fix segv with gaim...
SVN revision: 13012
2005-01-19 14:31:40 +00:00
Carsten Haitzler ec993d1e3b more gadman work
SVN revision: 13005
2005-01-18 15:40:54 +00:00
Carsten Haitzler b9f1ca813c some comments
SVN revision: 13001
2005-01-17 16:22:33 +00:00
Carsten Haitzler c71ae4b102 some more gadman work
SVN revision: 13000
2005-01-17 16:18:34 +00:00
Carsten Haitzler a08d276ae9 respect bounds on resize too (some fixme's)
SVN revision: 12999
2005-01-17 10:26:17 +00:00
Carsten Haitzler 69031cdb06 fix some signal issues in gadman theme object - u can mvoe and resize the
gadman client test...


SVN revision: 12998
2005-01-17 10:05:15 +00:00
Carsten Haitzler ffa49a8e02 some more gadman stuff - innocuous for now. hooked in soem gadman
enable/disable edit mode and fixed a stakcign issue with new windows vs. menus.


SVN revision: 12997
2005-01-17 08:54:37 +00:00
rbdpngn 876e0b361e Change the shade action's to emit the border resize at appropriate times to
keep the pager synced up.


SVN revision: 12995
2005-01-17 05:39:18 +00:00
atmosphere 3ece1002f1 hopefully the right approach, less pager segvs, iconified representations show up properly in pager on xinerama second head etc
SVN revision: 12994
2005-01-17 03:46:07 +00:00
atmosphere 4c5b929fe3 fix segv where pager window can't be found by the border
SVN revision: 12984
2005-01-15 21:15:06 +00:00
Carsten Haitzler 7f9c92a6e7 some more gadman code and make shutdown of borders a little faster :)
SVN revision: 12982
2005-01-15 15:21:57 +00:00
handyande 8ee0689e96 Wait for add events on new windows
SVN revision: 12980
2005-01-15 14:15:30 +00:00
handyande c34cfdf821 Finally, border_add getting fired at the right time
SVN revision: 12979
2005-01-15 14:04:13 +00:00
handyande 877fae8945 Listen to desk changes on borders
SVN revision: 12978
2005-01-15 13:11:56 +00:00
Carsten Haitzler 6405b22494 evas_object_free? what posessed you to use that? it isnt in Evas' header
(api) at all (it HAPPENS by LUCK to be an internal call)

also fix shudwon/startup order


SVN revision: 12975
2005-01-15 09:50:26 +00:00
xcomputerman be8d8e19aa Would be nice to inform the pager when desks are getting added and removed, too.:)
SVN revision: 12974
2005-01-15 08:31:39 +00:00
Carsten Haitzler 4544c3aea0 dont deal with adds if we already have that border
SVN revision: 12970
2005-01-15 04:46:59 +00:00
handyande 2d4110436c typo
SVN revision: 12968
2005-01-15 00:06:07 +00:00
xcomputerman 7bf106161c Missing object check
SVN revision: 12965
2005-01-14 19:24:57 +00:00
handyande 8456bb62f3 New pager code - much improved and faster - done "the E way" as much as possible
may need ironing out in a few places but is stable.

issues:
Zone support not really there, needs work (I only have one zone :()
Window icon overlays (new feature) only work if module disabled and re-enabled
  (the border add calls are too soon it seems)


SVN revision: 12964
2005-01-14 15:24:29 +00:00
Carsten Haitzler ba5ce0470c werd! found the over-ref. borders begin created before the border system
initted which mean events generated were of the wrogn type (0) which meant
they were thrown out which meant the ref nevert got its macthing unref
called.... :)


SVN revision: 12963
2005-01-14 14:01:08 +00:00
Carsten Haitzler aa53155368 actually restart/exit
SVN revision: 12953
2005-01-13 14:24:24 +00:00
Carsten Haitzler 1789673cff double del! fixed.
SVN revision: 12952
2005-01-13 13:55:00 +00:00
handyande 06af5a0f36 Hmm, who forgot to init?
SVN revision: 12950
2005-01-13 12:19:55 +00:00
Carsten Haitzler ce8c9ce432 set frame size and virtual roots to make apps that try manage their own
geometyr work with vroots (gtk is broken in this regard - workign on gtk
patch to respect NET_VIRTUAL_ROOTS from NETWM)


SVN revision: 12949
2005-01-13 07:19:03 +00:00
Carsten Haitzler 1963a29e20 icccm compliate configurereq handling
SVN revision: 12944
2005-01-13 06:44:19 +00:00
Carsten Haitzler 084229f03d and if apps are fast at requesting lots of geom just after map.. handle it
properly with respect to frames...


SVN revision: 12942
2005-01-13 06:08:07 +00:00
Carsten Haitzler e88c2ac1a6 fix up include system so u canhave one struct directly reference another (put
typedefs in separate section and include twice...


SVN revision: 12928
2005-01-12 16:03:09 +00:00