Commit Graph

694 Commits

Author SHA1 Message Date
David Walter Seikel 6bace96662 Tweak the E_App object reference counting. I think this is correct, but
I suspect the dir scanning in e_apps.c still needs an unref.


SVN revision: 25900
2006-09-17 00:13:52 +00:00
Carsten Haitzler 7f233d50bf when maximized - punt of configure reqa to the saved pos.
SVN revision: 25870
2006-09-16 05:38:09 +00:00
Carsten Haitzler 64feda1d3c safety from setting null zone
SVN revision: 25847
2006-09-14 23:16:46 +00:00
moom 6fec152f32 * The window's icon no longer disappears when the border is changed
SVN revision: 25547
2006-09-06 18:04:13 +00:00
sebastid d283372cf7 parameter type should be void
SVN revision: 25531
2006-09-06 08:44:30 +00:00
Carsten Haitzler c2a232bf45 get app from border now - no more zillions of params. also use wm command to
match


SVN revision: 25493
2006-09-05 14:44:28 +00:00
David Walter Seikel ab775c3fde One more icon fix.
SVN revision: 25383
2006-09-03 05:40:32 +00:00
David Walter Seikel adafa0c6a6 Take care of border internal app icons too.
SVN revision: 25359
2006-09-02 13:29:59 +00:00
Carsten Haitzler 818e75fb00 1. fix perf dialog - to actually change fps
2. save icon theme config
3. add config for desk flip animation modes etc. etc.
4. desk flip animation!!! 2 main modes. might restructure this a bit tho
(separate out on/off from the mode as there may be many more modes later)


SVN revision: 25299
2006-09-01 15:37:23 +00:00
David Walter Seikel 45c25644e5 More icon work.
SVN revision: 25277
2006-09-01 10:43:20 +00:00
Carsten Haitzler 109157dc27 was hacking a bit with borders and desktops - just ignore that codee. it's
unused - at the moment.


SVN revision: 25210
2006-08-30 13:37:35 +00:00
rephorm e822d72a22 e.client should have been e.swallow.client
if you've updated a theme already, make sure you change this (the map file has hadd the new name all along...)


SVN revision: 25166
2006-08-28 02:31:32 +00:00
Carsten Haitzler 813fe819d2 init splash works again
SVN revision: 25125
2006-08-26 11:19:07 +00:00
Carsten Haitzler da28966bff ok- happy now.
SVN revision: 25114
2006-08-26 08:38:53 +00:00
rephorm 462bda0f22 another chunk
all group names prefaced by e/
its entirely possible i missed a few small places in this, so there may be some growing pains in the next day or two

also, spectrum content -> e.swallow.content


SVN revision: 25057
2006-08-23 03:39:02 +00:00
rephorm a5c71890d4 ****** MAJOR THEME REWORKING -- BREAKAGE *********
Almost every signal and required part name has changed. This means that ALL themes other than the default one are now broken. Sorry, but this had to happen.

I have a list of mappings from old to new at http://rephorm.com/files/dump/e_theme_map.txt

There will probably be a little more cleanup on this in the coming days. Then I'll write it all up in a nice theme spec.


SVN revision: 25033
2006-08-22 07:39:11 +00:00
sebastid 98e61fa3d3 ++const
SVN revision: 25011
2006-08-21 16:25:57 +00:00
Carsten Haitzler 0a5e26b82b jamse brown ... errr... gadman is dead.
basically if moduels wish to put objects on a desktop - they now will have to
DIY and look after themselves. until we have gadcons with "free" layout that
do similar stuff - but this simply means module authors need to d a bit more
work. gadman code is unmaintained and a burden - thus removed.

also borders and e_win's have their own pointers now - this should nuke the
stuck pointer bug... :)


SVN revision: 24925
2006-08-20 04:48:27 +00:00
Carsten Haitzler 654258879e add refcounr/is_del check before generating event
SVN revision: 24826
2006-08-16 23:12:03 +00:00
Carsten Haitzler f717fa75db allw filechooser to be remembered (give it its own name/class so it can be
unique) and have the import dialog rememebr its last dir.


SVN revision: 24682
2006-08-14 11:08:40 +00:00
Carsten Haitzler 2327da3abd focusout patch from sthitha
SVN revision: 24629
2006-08-13 03:37:23 +00:00
sebastid 33ffd2cad8 - Ignore all move/resize events.
- Free text.
- Formatting.


SVN revision: 24591
2006-08-12 13:22:48 +00:00
Carsten Haitzler d104992051 * border property patch - dont generate on moves
* entry dialog becomes object - supports initial text contents of the entry
* fm2 gets menu patch (heavily worked so its safe) so u can delete and rename
files (and dirs) that you have permission to do so with.
* picutre importing disables or enables the scale and encoding stuff
depending on what is selected
* more widgets support enable/disable
* importer detects duaplicate destination target filenames and tries
alternate names.
* fsel widget displays extensions by default.
* test filemanager menu gone
* pants on!


SVN revision: 24589
2006-08-12 12:49:52 +00:00
Carsten Haitzler 9266f27f0f aaah....
first a few patches - authors mailed.

then - bg selector work. and a few sample bg's. system bg's dir and user bg
dir - new bg dialog should also handle multihead simply too. picture select
button does work - but its only as smart as the old one (the code was built
off the old one). that needs a little work, but now the bg selector is fast
and slick - comes up instantly. resiable too.


SVN revision: 24443
2006-08-07 20:25:34 +00:00
Carsten Haitzler d4206d7efc be less rememebr write happy
SVN revision: 24431
2006-08-06 15:14:09 +00:00
Christopher Michael 9a1e00ed32 If a window is resized manually when maximized, unset the maximize state.
SVN revision: 24297
2006-07-29 15:09:53 +00:00
sebastid 59eab7b36b - don't hide sticky window on set desktop.
- (un)stick children along with its parent.


SVN revision: 24068
2006-07-20 12:02:30 +00:00
Carsten Haitzler 763f280367 plugh small logic hole that leaves ghost windows in rare cases - a very small
hole comapred to  the icccm badness in ecore_x. :)


SVN revision: 24033
2006-07-18 18:33:13 +00:00
sebastid e02e8432d0 Only regenerate the border if it really changes.
SVN revision: 24026
2006-07-18 13:35:08 +00:00
sebastid a5e57304b7 - fullscreen should have higher priority than user set border
- free bordername on exit


SVN revision: 24001
2006-07-17 20:34:20 +00:00
sebastid 321d641242 We need to remember the width and height without the border.
SVN revision: 23997
2006-07-17 19:34:08 +00:00
sebastid 065745cc6e Remember user set bordertype in own variable, and prefer it on border
change.


SVN revision: 23994
2006-07-17 19:04:01 +00:00
sebastid 2c792f6446 Correct fix for fullscreen border.
On fullscreen set window size to fullscreen and trigger border change. The
border change will remove the border on fullscreen and reset to the correct
border on unfullscreen, whilst keeping the correct border size and border
inset.

A similar change should also be done for maximized borders.


SVN revision: 23991
2006-07-17 18:46:05 +00:00
Carsten Haitzler 33567d9f56 dan's patch for maximize bug! fix! :)
SVN revision: 23920
2006-07-14 20:01:48 +00:00
Christopher Michael 73a7ba6011 As per HandyAndE request, this patch gives ability for modules config
dialogs to show their icon in their config dialog by passing in the
module_eap path to the config_dialog_new function as the icon parameter ie:

e_config_dialog_new(con, module_name, eap_path, 0, v, data);

Update E core modules to use this ability.
Fix dropshadow config dialog to fit in 640x480.


SVN revision: 23682
2006-07-03 07:35:44 +00:00
Christopher Michael 17475003db Module about dialogs now show the module icon in the dialog, and the border.
Note: This breaks e_modules until I get them fixed.


SVN revision: 23660
2006-07-02 18:55:33 +00:00
Christopher Michael 4bb372ad2d Give ability for config dialogs to set their border icon to the proper
config icon, rather than all having the E logo. Is proactive about setting
this: if it does not find or cannot set to that icon, it will fallback to
the E icon.

Change all config dialogs to support this.

If we have an internal border (config dialogs), disable the Create Icon/Edit
Icon menu items.


SVN revision: 23655
2006-07-02 16:19:51 +00:00
Carsten Haitzler 0d4723e3b7 fix kde/qt iconic startup bug
SVN revision: 23505
2006-06-19 19:29:31 +00:00
Carsten Haitzler 45de1acfed printf--
SVN revision: 23499
2006-06-19 15:22:05 +00:00
Carsten Haitzler 642ac622ea fix border bugs on fullscreen and maximize fullscreen actions
SVN revision: 23498
2006-06-19 15:16:37 +00:00
Carsten Haitzler c2d5976dc4 handle resolution changes much mroe gracefully for windows - temporarily
resize/move but store their info BEFORE res change and always TRY and restore
it until an app or u ser asks to move/resize a window explicitly (if you
leave them alone they will be happy)


SVN revision: 23457
2006-06-16 08:50:42 +00:00
sebastid bd4da9e87c free mem when fetching new info
NULL checks


SVN revision: 23451
2006-06-15 19:27:27 +00:00
sebastid a5aaf5cc93 Add a flag for borderless, don't change the name directly.
SVN revision: 23391
2006-06-12 05:17:10 +00:00
Carsten Haitzler f8c6092553 1. autofoot patches.
2. fix maximize to work again. :)


SVN revision: 23375
2006-06-11 10:23:49 +00:00
sebastid 99b37daf82 Focus modal windows if any group member is focused.
SVN revision: 23370
2006-06-10 22:05:50 +00:00
sebastid aec7cc719f Focus transient and modal windows if parent is focused.
SVN revision: 23369
2006-06-10 21:59:08 +00:00
sebastid 6dd4c5f0fb Handle changes in transient_for and client_leader after map.
SVN revision: 23368
2006-06-10 21:45:43 +00:00
sebastid c0239767ba Some netwm states can change the border, like modal.
SVN revision: 23367
2006-06-10 21:10:14 +00:00
sebastid 88973ff89c Make hints who want to change the border set border.name = NULL, and move
tests for border.name to client.border.changed test.
If a border changes and the border is shaded, remember the change and apply
it when the border no longer is shaded.


SVN revision: 23365
2006-06-10 21:02:23 +00:00
sndev 107ffca169 * improvment of the restoration of the window maximization on E restart.
SVN revision: 23350
2006-06-10 11:08:27 +00:00
sebastid 4a303b726f Remove printf
SVN revision: 23297
2006-06-08 19:02:11 +00:00
Carsten Haitzler 97eec41ad9 patches that i said were in - commit. (see my reply emails)
also finish off a TODO item or 2


SVN revision: 23267
2006-06-07 23:30:15 +00:00
sebastid a69bc7767c Clean up maximization, there is only one unmaximize function now. Think
this code can do more advanced stuff than the previous code.

The logic is that if the window is first maximized vertically, then
horizontally it should equal that both directions are maximized at once.

unmaximize can only be done in directions already maximized.

The code works, but hasn't been thorougly tested. Please report any errors
to me, and I will fix them!


SVN revision: 23254
2006-06-07 21:42:13 +00:00
sebastid f75950ae50 Remember fullscreen request for new clients, and delay it.
SVN revision: 23243
2006-06-07 18:12:46 +00:00
sndev 6e06ed9318 * Allow the E_EVENT_FOCUS_IN/OUT to be sent iff the focus is set explicitly.
Otherwise, the event is set on each focus callback, not even if the border
already has focus.

* Do not like autoapply in keybinding dialog. :)


SVN revision: 22926
2006-05-27 17:09:08 +00:00
sndev b8ed636f52 1. The confirmation dialog on shelf delete is added. Somebody on IRC proposed to have it.
Also it is added on Key Binding deletion (see Key Bindings dialog).

Code duplicates were moved to a separate function e_confirm_dialog_show.

2. Two new events E_EVENT_BORDER_FOCUS_IN and E_EVENT_BORDER_FOCUS_OUT are added.


SVN revision: 22844
2006-05-22 20:28:33 +00:00
Carsten Haitzler 48e94671d8 satrun_vk's patch to make manipulating windows while maximized an option and
translation updates


SVN revision: 22638
2006-05-16 07:32:37 +00:00
Carsten Haitzler f0dae8e901 eap icons update realtime in borders based off on-disk changes etc. etc.
(editing icons seems to work like a charm for me so far).


SVN revision: 22598
2006-05-14 01:13:42 +00:00
Carsten Haitzler fbd972cdb9 e packages build again - also not much point having an enlightenment-data as
it's built as an arch specific package and it is intrinsically required by e
and cannot work without it nor is the data shared betwene e and other apps
unless e itself is installed too


SVN revision: 22260
2006-04-20 11:30:25 +00:00
e-taro 6d0f5cdf5f Re-format to e-style
SVN revision: 21732
2006-04-02 12:08:43 +00:00
e-taro cdff954962 After vertically maximizing a window, the user may horizontally move/resize it,
so on unmaximize only restore the saved y and h values.
Vice versa for horizontal maximization (only restore x and w).


SVN revision: 21730
2006-04-02 11:45:44 +00:00
Carsten Haitzler 1af8269df5 and detect the evilness - but still not doign the right thing (tm) yet.
SVN revision: 21097
2006-03-08 10:04:51 +00:00
Carsten Haitzler 826dc4b4dc and dialogs work again
SVN revision: 21093
2006-03-08 08:54:43 +00:00
stffrdhrn 218717c8dc Clean up compile warnings:
* char * -> const char * for stringshare strings
 * char * -> const char * where needed in functions
 * remove unused vars in some places


SVN revision: 20912
2006-03-02 12:03:48 +00:00
stffrdhrn 48d18c7535 Few stale memory plugs and cleanups:
* Free the e_app callback for e_border on shutdown
 * Free the prefix strings on shutdown
 * Make better intl errors
 * Worthless function commenting
 * Comment for disabled shutdown unroll (Why is it disabled?)


SVN revision: 20689
2006-02-21 15:00:10 +00:00
Carsten Haitzler a17594e55a anitgadget placement policy
SVN revision: 20221
2006-02-03 06:13:32 +00:00
Carsten Haitzler b68b3d725a add a stolen window id subsystem so the border code ignores such stolen
windows. als fix itray a little and add comments for fixes


SVN revision: 20144
2006-01-31 12:06:47 +00:00
Carsten Haitzler afdc6b19ef todo items gone. window icon is now choosable - eap or app provided one.
SVN revision: 20140
2006-01-31 08:02:18 +00:00
Carsten Haitzler 5f71f7acf5 2 pending patches in my inbox.
1. "allow overlap" patch for modules - needs better names in the gui (Allow
windows to overlap maybe - as allow overlap is very vague)
2. itray module (buggy - buggy - beware. i know why. beware i said!)
3. TODO items


SVN revision: 19911
2006-01-20 04:04:14 +00:00
Carsten Haitzler 5c33ead53a options to allow shading etc.
SVN revision: 19648
2006-01-08 12:32:16 +00:00
sebastid 6a638a7806 Fix EAPI warnings.
SVN revision: 19597
2006-01-07 10:39:46 +00:00
Carsten Haitzler eff5eeeac7 fix several bugs (cursors for example)... found some more... :)
SVN revision: 19555
2006-01-06 13:56:46 +00:00
Christopher Michael 162ae39c10 Export the e_border_unmaximize_vh as e_actions.c and e_int_border_menu.c are calling it
SVN revision: 19369
2005-12-29 14:23:18 +00:00
Christopher Michael cb40e2eeba Add parens in e_border_maximize and add E_MAXIMIZE_VERTICAL & E_MAXIMIZE_HORIZONTAL to e_border_unmaximize; both to quiet compiler warnings.
SVN revision: 19365
2005-12-29 13:42:44 +00:00
Carsten Haitzler 78d729a57b make symbol hiding actually work - fix some bugs, fixme's adjust bugs and
TODO, add exe history and actually use it etc.


SVN revision: 19313
2005-12-27 17:16:58 +00:00
rephorm e140fd2b09 When setting a border's zone, move it inside the zone if it isn't already. This fixes border dragging from a pager in one zone to a pager in another.
SVN revision: 19122
2005-12-18 21:43:59 +00:00
Carsten Haitzler 912cf96418 centralise getting icon evas object from app
SVN revision: 19038
2005-12-15 07:12:00 +00:00
Carsten Haitzler c426bec3db fix "last focused on desk" stuff
SVN revision: 18948
2005-12-11 05:56:26 +00:00
Carsten Haitzler a3d5f5c28d a lot more use of stringshare.
SVN revision: 18823
2005-12-04 12:03:59 +00:00
Carsten Haitzler cf7815a1da patches and stuff hanign in mail...
SVN revision: 18756
2005-12-01 07:10:32 +00:00
Carsten Haitzler f7e262683f always make icons work
SVN revision: 18428
2005-11-11 08:15:29 +00:00
Carsten Haitzler b44dc02703 asparagus time! :)
SVN revision: 18427
2005-11-11 08:03:49 +00:00
Carsten Haitzler b5be31c1c5 finish off border selector dialog
SVN revision: 18423
2005-11-11 04:26:25 +00:00
Carsten Haitzler 43e88e956e and working on maing a border selector
does NOTHING YET! BEWARE! do NOT useit if u dont want some pain. i need to
make ecore evas canavses accepssible form an evas pointer etc. to make the
livethumb stuff cleaner so it can work


SVN revision: 18335
2005-11-06 08:03:13 +00:00
sebastid 61e273d0df Fullscreen policy. Not tested since my stupid laptop only has one res.
Please test.


SVN revision: 18303
2005-11-04 23:30:18 +00:00
sebastid 4054e87a14 Seems like most movie players assume that the window will be resized to
actual full screen size. This fixes mplayer problems with fullscreen, and
doesn't seem to harm any other movie player.


SVN revision: 18299
2005-11-04 22:16:22 +00:00
sebastid 5d0184b19c The app may change the netwm icon.
SVN revision: 18273
2005-11-04 09:08:29 +00:00
Carsten Haitzler cfca0a1809 use managed calls
SVN revision: 18243
2005-11-03 11:34:55 +00:00
Carsten Haitzler 9eef59377f file selector is resizable now - cleaned up some unfinisehd code to make it
work :)


SVN revision: 18240
2005-11-03 06:17:08 +00:00
Carsten Haitzler ebefd8540e clean up sb removal. move menu border to its own file
SVN revision: 18149
2005-10-30 11:05:57 +00:00
Carsten Haitzler 7d7434fc10 harmless menu re-ordering
SVN revision: 17717
2005-10-21 02:38:55 +00:00
Carsten Haitzler 8a0ea631a8 remember stuff is now... a... DIALOG too :)
SVN revision: 17705
2005-10-20 12:49:47 +00:00
Carsten Haitzler d7b27f24fb added some object checking - i think we should make sure this object checking
is everywhere - if we can. anyone wondering about someothnig to do.. add in
the object check macros for any struct thats is an object :)


SVN revision: 17678
2005-10-19 09:31:35 +00:00
Carsten Haitzler e83b8a72de and actually delete the locks dialog if the window is deleted.
SVN revision: 17629
2005-10-17 12:01:33 +00:00
Carsten Haitzler be4f5dfbab locks have been dialogified :)
SVN revision: 17628
2005-10-17 11:51:46 +00:00
Carsten Haitzler 0adc7224c3 some widget work... and maybe a fix for disappearing windows?
SVN revision: 17596
2005-10-16 05:59:18 +00:00
Carsten Haitzler b7d8583c4c fix shade remember
SVN revision: 17591
2005-10-16 04:25:57 +00:00
sebastid 288dd7aa6c Not allow resize when shaded.
Only show resize handles if resize is allowed.


SVN revision: 17445
2005-10-11 20:21:50 +00:00
sebastid 0a8ea88d99 Change pointer on begin/end move/resize.
SVN revision: 17412
2005-10-10 22:08:51 +00:00
sebastid e85dd8ade4 Possible with more types for a drag. Doesn't make sense for internal dnd,
since we don't have a conversion function. Prepare for xdnd.
Declare variables.


SVN revision: 17276
2005-10-07 18:36:54 +00:00
tsauerbeck 7a28622910 free the mallocs, nuke the whales
SVN revision: 17209
2005-10-05 19:02:41 +00:00
sebastid e7fd7fe243 Don't allow borderless for fullscreen windows (from ilLogict).
SVN revision: 17197
2005-10-05 16:40:20 +00:00
sebastid b0ce160fa0 Dealy maximization until new_client == 0;
SVN revision: 17194
2005-10-05 12:39:53 +00:00
sebastid f901f8ce1f Remove space
SVN revision: 17155
2005-10-04 11:15:33 +00:00
handyande 60f00732d5 fix 'edit icon' entry
SVN revision: 17139
2005-10-03 14:39:42 +00:00
Carsten Haitzler 9f9468645d 1. centralise canvas creation.
2. allow xrender to be (*hard-coded) chosen.


SVN revision: 17126
2005-10-03 07:36:23 +00:00
sebastid a1836622d9 Call the netwm property by it's right name.
Let the startup id be unique (almost).


SVN revision: 17067
2005-09-29 15:01:04 +00:00
sebastid 69f5ef076d border positions is relative to container, not zone
SVN revision: 17065
2005-09-29 12:48:32 +00:00
sebastid 3a4ba210e1 This shouldn't happend, but better safe than sorry.
SVN revision: 17047
2005-09-28 19:53:42 +00:00
sebastid 282e843fcb Non need to raise a deleted window.
SVN revision: 17044
2005-09-28 19:24:58 +00:00
sebastid 5ee08cf2c9 After deletion, we aren't needed in the container stack.
SVN revision: 17043
2005-09-28 19:23:11 +00:00
sebastid 10df2cc9b1 Nameing convention.
SVN revision: 17036
2005-09-28 17:36:35 +00:00
sebastid ad38a59518 ref and unref bd app, and delete the pointer when app changes.
SVN revision: 17030
2005-09-28 12:45:14 +00:00
sebastid 6d4a242889 Move null check to equals function
SVN revision: 17029
2005-09-28 11:09:33 +00:00
sebastid 6c9fe9a36a NULL Check
SVN revision: 17028
2005-09-28 11:06:07 +00:00
sebastid 64b597732e Check for eap changes.
SVN revision: 17019
2005-09-28 03:28:48 +00:00
sebastid 27f3df3e13 Track the border icon eap.
SVN revision: 17018
2005-09-28 03:06:58 +00:00
tsauerbeck e3822ca730 'clicking-a-window-always-focuses-it' otherwise known as 'always-click-to-focus' is in. doesn't apply instantly, need to restart. i think that's the same with always-click-to-raise, so i'm not trying to do something about it
SVN revision: 16992
2005-09-27 16:36:14 +00:00
sebastid 16e771c87b Forget parent and leader
SVN revision: 16987
2005-09-27 09:35:05 +00:00
Carsten Haitzler 9ad9f64731 1. fix segv dnd border icon to ibar
2. border icon if from netwm has alpha set :)


SVN revision: 16979
2005-09-27 03:57:03 +00:00
sebastid a5991bd857 Only place manually windows which aren't already place.
SVN revision: 16975
2005-09-26 21:06:29 +00:00
sebastid e95ad85d54 Manual place relative to zone.
SVN revision: 16962
2005-09-26 14:31:35 +00:00
sebastid 31a1018075 Better initial placement with manual placement.
SVN revision: 16958
2005-09-26 10:52:44 +00:00
sebastid 6089dcd543 Don't use place func, we need the cursor pos.
SVN revision: 16956
2005-09-26 10:30:38 +00:00
sebastid 7312a63ef6 Use placement func to find x/y pos.
SVN revision: 16955
2005-09-26 10:07:48 +00:00
Carsten Haitzler 485f1e2a6c I have cleaned up app instance trackign a little. it's a bit complex really,
but works better now, and e now falls back to lookign for startup info and
app instances etc. to try find an icon, and finally uses the icon provided by
the app itself (netwm icon only) :)


SVN revision: 16951
2005-09-26 09:13:44 +00:00
Mike Frysinger 6e94a07501 looks like someone forgot they have to declare variables before using them
SVN revision: 16941
2005-09-25 22:04:20 +00:00
sebastid e2c59a74bd memleak
SVN revision: 16938
2005-09-25 17:04:57 +00:00
sebastid 88f778038a Reset values if fetching icons fail.
SVN revision: 16937
2005-09-25 16:56:46 +00:00
sebastid 6a725bba35 Fix freeing of netwm icons.
SVN revision: 16936
2005-09-25 16:53:00 +00:00
sebastid bae370b31d New netwm icon api.
SVN revision: 16934
2005-09-25 16:43:34 +00:00
sebastid 01c8cb23ce A child should have the same layer as its parent.
todo--


SVN revision: 16913
2005-09-24 11:45:09 +00:00
Carsten Haitzler 9063352d93 oh for gods sake! now all day was sunk into getting focus fixed for dialogs.
argh! i'll have to do the app cache after this... grrr....x


SVN revision: 16905
2005-09-24 09:04:39 +00:00
sebastid 2c2f9e3f5d Check netwm type when we want to check if a window is a dialog. Fetch netwm
window type if a window has a transient. If the app hasn't set window type
it will set it to dialog.

Maybe check if some apps set wrong netwm window type?


SVN revision: 16880
2005-09-23 18:58:35 +00:00
Carsten Haitzler df07e38102 resize handling patches from martin
SVN revision: 16870
2005-09-23 15:47:18 +00:00
sebastid 7c7cd5e8bd Don't manually place dialogs.
SVN revision: 16868
2005-09-23 15:04:19 +00:00
sebastid 1849a6ce39 Stacking is confusing, should be fixed
SVN revision: 16859
2005-09-23 00:47:35 +00:00
sebastid decdc33c2f Remove debug
SVN revision: 16856
2005-09-22 22:37:42 +00:00
sebastid f5ddf29d5e focus window on manual placement
SVN revision: 16854
2005-09-22 20:40:11 +00:00
sebastid bcce7a8bce Manual placement
SVN revision: 16850
2005-09-22 17:10:02 +00:00
Carsten Haitzler 3c9e205fdb signal bindings.!!!! this means you can completely rebind every event and
action on a window border theme/design to do what you want. the theme doesnt
determine this anymore. as with wheel bindings it still isnt exported to
config fiels and ipc yet, but the functionality is done.


SVN revision: 16848
2005-09-22 16:36:59 +00:00
Carsten Haitzler 00616d3fec wheel bindings! WERD! hard-coded ones for now, need to make these config
values that can be set/changed/deleted via ipc and are saved/loaded :)


SVN revision: 16847
2005-09-22 12:47:45 +00:00
sebastid f4bb8b5311 A sticky border should be visible
SVN revision: 16840
2005-09-22 07:36:47 +00:00
sebastid a5ceed4fb6 Don't allow to shade/unshade while shading.
SVN revision: 16826
2005-09-21 15:54:02 +00:00
Carsten Haitzler 6375b62f0f clean up canvas show - uncessesary exposure there. fixed.
SVN revision: 16824
2005-09-21 04:53:12 +00:00
Dan Sinclair b56a8b947b - make the cursor placement code keep the window fully onscreen
SVN revision: 16779
2005-09-20 05:14:57 +00:00
Dan Sinclair 3dc4584f68 - add the ability to change the initial window placement policy. currenlty
the default smart placement and place under cursor are available.

- configurable through enlightenment_remove -window-placement-set/get


SVN revision: 16702
2005-09-13 05:19:25 +00:00
sebastid b8359bedb4 Remove debug.
SVN revision: 16662
2005-09-07 15:48:48 +00:00
sebastid 5e4e707536 Merge Raise/Lower event to Stack event.
Fix raise/lower order.


SVN revision: 16661
2005-09-07 14:55:46 +00:00
sebastid eaa146e8af Set desk after unstick event.
SVN revision: 16642
2005-09-07 04:45:35 +00:00
sebastid 46d242a22e Delete animator on border free.
SVN revision: 16606
2005-09-06 00:23:39 +00:00
sebastid ce0cc748c9 Make modal windows optional. Is it a good config name?
SVN revision: 16599
2005-09-05 21:46:56 +00:00
sebastid 880a2f20e8 IF_FREE -> E_FREE
SVN revision: 16573
2005-09-05 15:24:07 +00:00
sebastid 3661b05017 * Show border on uniconify
SVN revision: 16514
2005-09-04 00:51:06 +00:00
sebastid c4276501e0 Remeber group leader for transient windows.
SVN revision: 16483
2005-09-03 12:05:51 +00:00
sebastid 3dd767f7da * Make sure that the window isn't transient for itself.
* If the window is transient for it's groups leader, don't register
  as a group member.


SVN revision: 16472
2005-09-02 21:23:39 +00:00
sebastid de2f972d16 * Windows can be transient and be part of a group
* Check for recursive focus


SVN revision: 16471
2005-09-02 21:06:57 +00:00
Dan Sinclair 9ee3373852 the _ should be there, just need to move the )
SVN revision: 16468
2005-09-02 17:51:34 +00:00
jcwong 9fe4d12b87 minus "_"
SVN revision: 16465
2005-09-02 14:22:17 +00:00
sebastid aa2bb0d2b3 * Add missing prototypes.
* Store client_leader info.
* Honour modal windows for group.


SVN revision: 16464
2005-09-02 09:56:01 +00:00
sebastid 25d9b5bba7 Honour modal windows.
SVN revision: 16463
2005-09-02 09:25:53 +00:00
sebastid d30da0bf8e * Add options
-	e_config->transient.move
-	e_config->transient.resize
-	e_config->transient.raise
-	e_config->transient.lower
-	e_config->transient.layer
-	e_config->transient.desktop
-	e_config->transient.iconify
* Implement
-	e_config->transient.raise
-	e_config->transient.lower
-	e_config->transient.layer
-	e_config->transient.desktop
-	e_config->transient.iconify
* Show hide border in e_border_desk_set
* Add e_border_layer_set()


SVN revision: 16460
2005-09-02 07:38:40 +00:00
sebastid 9af2046985 * Check and remember WM_TRANSIENT_FOR relationships.
* Only check if bd->client.icccm.transient_for is set,
  bd->client.netwm.type == ECORE_X_WINDOW_TYPE_DIALOG is only for
  decorations.
* When a border is raised, raise it's children above it.
* Should this behaviour be userdefineable?


SVN revision: 16459
2005-09-02 06:15:57 +00:00
sebastid 2c185b6888 Make sure that the border isn't deleted if we do an internal hide.
SVN revision: 16440
2005-08-31 04:41:48 +00:00
sebastid 9bcb2c5c1a Don't send netwm ping unless e_config->ping_clients is set.
SVN revision: 16423
2005-08-30 05:17:38 +00:00
rbdpngn 58c415404f Set the maximization policy to allow for toggling in all modes.
SVN revision: 16420
2005-08-30 04:33:27 +00:00
sebastid 6f9da0f43c Only be restricitive with actions when using fullscreen maximize.
SVN revision: 16419
2005-08-30 03:22:55 +00:00
sebastid b0c8995e17 Allow to go from maximized to fullscreen and vice versa.
SVN revision: 16418
2005-08-30 03:18:34 +00:00
sebastid eba7ac0ccd After shading move the client window to the original pos. Else the window
will move on restart.
Before unshading move the window to a starting pos.


SVN revision: 16417
2005-08-30 02:50:21 +00:00
sebastid 3f0262ad0b Indent.
SVN revision: 16416
2005-08-30 02:19:47 +00:00
sebastid 5e0e894c3c Code outside of e_border shouldn't care if we use icccm or netwm name.
SVN revision: 16415
2005-08-30 01:42:56 +00:00
sebastid af4803ee85 Support internal state hints.
SVN revision: 16412
2005-08-30 01:15:25 +00:00
sebastid c51ae6b1c5 Fix pager stacking issue. Maybe we should have a general stack event
instead of lower/raise?


SVN revision: 16408
2005-08-29 23:43:58 +00:00
sebastid 9f01af5e1d Honor lock flags in e_hints.c
SVN revision: 16406
2005-08-29 23:04:21 +00:00
Carsten Haitzler d9f6c78904 make cursors 32x32.
SVN revision: 16392
2005-08-28 15:30:58 +00:00
Carsten Haitzler cef4964c8d handle unfound stepping :)
SVN revision: 16370
2005-08-26 10:00:27 +00:00
Carsten Haitzler 66b989bc33 1 more todo item...
SVN revision: 16329
2005-08-25 07:42:44 +00:00
sebastid 990737543f If the aspect is to large, change the width.
SVN revision: 16294
2005-08-23 06:52:42 +00:00
Carsten Haitzler 8167cf314e handle circulates
SVN revision: 16293
2005-08-23 03:50:02 +00:00
sebastid e17deaedff If the aspect is wrong, never increase the size of the window.
SVN revision: 16285
2005-08-22 15:46:14 +00:00
Carsten Haitzler 92051d163c fix maximize on map
SVN revision: 16264
2005-08-22 04:16:25 +00:00
Carsten Haitzler cd285a1a9b use focus model stuff properly
SVN revision: 16262
2005-08-22 03:22:46 +00:00
sebastid e7eec22e11 Cleanup.
If maximize doesn't remember that it is maximized, unset the hints.


SVN revision: 16259
2005-08-21 23:35:09 +00:00
rephorm ead97b4eb5 When switching focus from a window to the desktop, the "passive" signal was being sent to the border twice, causing borked edje transitions. (thanks pr0t0cod7)
It looks like the section I commented out was unnecessary, and duplicated logic handled earlier in the function. (The original "else if ((!focus) && (bd->focused))" block). Can someone else verify this for me?


SVN revision: 16228
2005-08-18 05:03:15 +00:00
Carsten Haitzler 3dd562b97c bug--
SVN revision: 16223
2005-08-17 06:28:08 +00:00
Carsten Haitzler 9d8c3d322b fix - border menu goes when border goes now
SVN revision: 16178
2005-08-15 10:20:45 +00:00
sebastid 18bec70092 Recalc border on font change.
Don't call an iterator next.


SVN revision: 16166
2005-08-14 22:22:17 +00:00
Carsten Haitzler 103858369e bug--
SVN revision: 16117
2005-08-13 03:22:24 +00:00
Carsten Haitzler 27c37075ad fix small focus problem on key grabs...
SVN revision: 16108
2005-08-12 10:26:21 +00:00
sebastid 2bbeab6519 Cleanup.
SVN revision: 16103
2005-08-11 04:44:08 +00:00
Carsten Haitzler 8d074aafca there was a segv... and now it's fixed! :)
SVN revision: 16075
2005-08-09 02:42:34 +00:00
Carsten Haitzler 9029330e89 only produce border remvoes if we have already sent a border add
SVN revision: 16033
2005-08-05 03:08:28 +00:00
Carsten Haitzler 9ca7a6a0dc missed cases in autoraise foo - fixed.
SVN revision: 15984
2005-08-01 13:13:38 +00:00
Carsten Haitzler 9831d5c9a4 cleanies
SVN revision: 15971
2005-07-31 08:33:00 +00:00
Carsten Haitzler 4f114b2faa fix werid multihead xinerama problem :)
SVN revision: 15970
2005-07-31 08:25:08 +00:00
Carsten Haitzler 9e7cd72067 ok lots of things here...
1. e17 is now relocatable. the wm will determine its install prefix on the
fly when it is run. so you can use --prefix=/usr/local/e17 and just move the
base dir (/usr/local/e17) to anywhere you like at any later time and e will
adjust and find it. it still has built in fallbacks too so it will use the
compiled prefix as normal if its hunting and 2 checks dont pass.

2. edit mode for gadgets will work with alt+left click on a gadget and
instantly end when u lift the mouse. alst ctrl+alt+g will activate/deactivate
edit mode

3. borderless windows are not allowed to be shaded

4. shaded windows are not allowed to have their border changed

5. just have never seen the pager mess up bug - so until there is some way
of reproducing it or even knowing its still there - remove

6. autoraise timers should be fixed on focus changes

7. stickiness remembering works in the pager now on start of a remembered app


SVN revision: 15966
2005-07-31 06:22:31 +00:00
Carsten Haitzler 63d89d34cd accpet an icon class as a comma-delimited list, so you can do multiple
classes to match more than one
eg:

firefox,mozilla,web_browser,browser,application

ie the app (lets say it was firefox) is a member of multiple classes - the
first matched will be used, if none match, the .eap provided internal icon
will be used.


SVN revision: 15953
2005-07-30 08:12:05 +00:00
Carsten Haitzler 29ebbfd6d5 icons are now part of the theme and themable from the theme (always
falls back to default of course if theme doesnt provide them) and this
works for EAP icons too - if you give your EAP icons an icon class
like "web_browser" and if the theme provides a theme override for icons of
class "web_browser" then the theme icon is used instead of the .eap internal
image. not surethis is perfect as u want more "specific" and "more general"
levels - maybe i should make the eapp icon class a list of classes the icon
is part of...


SVN revision: 15951
2005-07-30 07:46:05 +00:00
Carsten Haitzler e4be61891a move out handling to container in... :)
SVN revision: 15937
2005-07-29 02:41:03 +00:00
Carsten Haitzler ac43219f17 shade bug --
SVN revision: 15929
2005-07-28 10:30:54 +00:00