Commit Graph

694 Commits

Author SHA1 Message Date
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
Carsten Haitzler d2ea9aee5d 1. start work on dialog stuff
2. fix edge flip stuff
3. fix ghost windows stuff
4. spec


SVN revision: 15925
2005-07-28 04:35:45 +00:00
Carsten Haitzler f4f1ad13b4 fix flip
SVN revision: 15911
2005-07-27 04:51:42 +00:00
Carsten Haitzler 996483ee9d fix slight shape bug
SVN revision: 15895
2005-07-26 04:06:28 +00:00
Carsten Haitzler 744dfc58ff one way or the other i'm forced to add timestamps to events - i cant avoid it
anymore. sorry guys. really no way around it. :(


SVN revision: 15891
2005-07-25 09:55:47 +00:00
sebastid 6b6f98a2a2 Only allow borders in normal layers to change stacking from the menu.
Move fullscreen from desk to zone. It is the zone that is fullscreen, and
then each desk must set fullscreen state on the zone if requested.


SVN revision: 15838
2005-07-20 13:07:58 +00:00
sebastid dfed003f00 Don't need to pass coords to e_hints_window_saved_size_(get|set)()
SVN revision: 15821
2005-07-19 09:11:21 +00:00
sebastid 18ff16d9b3 Added button images from S��bastien HOUZEa.
Split user and application locks into submenus.


SVN revision: 15819
2005-07-19 08:51:12 +00:00
sebastid 0471b80b7e Add some comments.
SVN revision: 15817
2005-07-19 08:16:35 +00:00
sebastid f409c79e62 Focus is fixed, so remove focus fix function.
Add _e_border_menus_del()


SVN revision: 15816
2005-07-19 08:15:03 +00:00
sebastid 92f768a7f8 mazimize -> maximize
Remove some unused variables.


SVN revision: 15815
2005-07-19 08:04:20 +00:00
Carsten Haitzler 1a6b7d07b6 patches patches...
SVN revision: 15760
2005-07-13 02:59:31 +00:00
Carsten Haitzler 0e08ecd3fe fix winlist (alt tab) as it screwed up focsu order a bit - fixed now
fix up unfocus with want focus flag
fix up initial focus on wm start


SVN revision: 15753
2005-07-12 17:51:16 +00:00
Carsten Haitzler 493ffb5b2a 1. unset want focus...
2. initial focus :)


SVN revision: 15752
2005-07-12 17:37:28 +00:00
Carsten Haitzler 2202af8477 working on click to focus hangs.. fixed.... i think- test it guys!
SVN revision: 15750
2005-07-12 15:28:05 +00:00
Carsten Haitzler b0b86dde57 make click to focus behave a bit better - previously focused windwo gets the
focus now always - even in pointer focus. if flippign desktosp last window
focused on that desktop is focused bakc when u flip - they are options too :)


SVN revision: 15746
2005-07-12 11:07:57 +00:00
Carsten Haitzler 97902d95a3 more paranoid on the killing
SVN revision: 15745
2005-07-12 08:57:02 +00:00
Carsten Haitzler 6e73e8ff11 damn - um... patches from mailing list - fix patch with layer number. da.po -
waiting for da.po i can use.. etc :)


SVN revision: 15738
2005-07-12 03:53:56 +00:00
Carsten Haitzler ee64605f0c 1. an update to mad fin speak
2. houze's always below patch
3. work on pan smart object... the next step is a view smart obj (scrollbars
   around the pan obj)


SVN revision: 15731
2005-07-11 12:31:44 +00:00
Carsten Haitzler 30d026df6f e_win is a quick api wrapper for makign internal windows that the wm creates
then manages as if they were normal client windows. should work just fine and
is something to build better dialogs on top of


SVN revision: 15728
2005-07-11 09:19:17 +00:00
rbdpngn 6b57b60733 Fix TODO bug for maximized windows across restarts.
SVN revision: 15717
2005-07-10 17:12:01 +00:00
Carsten Haitzler c71c21a19d and now make sure focus goes to the right place on de-iconfiy and stuff
SVN revision: 15709
2005-07-10 10:48:08 +00:00
Carsten Haitzler 926d3ae86e fix dual focused window problem
SVN revision: 15708
2005-07-10 10:23:59 +00:00
Carsten Haitzler 8f7979acf7 todo--
SVN revision: 15701
2005-07-10 07:34:39 +00:00
Carsten Haitzler 6fedda67fd and use resize info flag config value
SVN revision: 15691
2005-07-09 15:42:03 +00:00
Carsten Haitzler 8e02e46a08 allow move resize box to follow the object its moving/resizing
SVN revision: 15690
2005-07-09 15:37:28 +00:00
Carsten Haitzler bb992161c3 TODO--
SVN revision: 15689
2005-07-09 14:55:40 +00:00
Carsten Haitzler edbe48cda4 todo--
SVN revision: 15670
2005-07-08 08:43:27 +00:00
Carsten Haitzler 78192f5973 create remember node if we dont have one
SVN revision: 15669
2005-07-08 06:14:35 +00:00
Carsten Haitzler 3b61670e70 add mroe ways to match a window :)
SVN revision: 15668
2005-07-08 04:42:50 +00:00
Carsten Haitzler 51e72668af fix remember on restart (positions)
SVN revision: 15660
2005-07-07 13:59:32 +00:00
Carsten Haitzler 2f97710e8f oh moozle!
e17 remembers stuff now. its very much not debuggued or used much - its a
nasty menu... but it seems to work ok right now. it saves the remember stuff
and loads it - and usess it... it should work ok :)


SVN revision: 15658
2005-07-07 09:27:04 +00:00
Carsten Haitzler 94d2f8e8bd fix shadow/shape bug :)
SVN revision: 15655
2005-07-07 03:49:35 +00:00
Carsten Haitzler 994022c05a only show whats implemented AND working
SVN revision: 15639
2005-07-04 11:34:57 +00:00
Carsten Haitzler b7e6e8b1f2 implement most of the locks
SVN revision: 15638
2005-07-04 10:24:22 +00:00
Carsten Haitzler f18b13c902 implemented position and size locking for user and client. now for more locks
to be implemented...


SVN revision: 15635
2005-07-04 08:19:44 +00:00
Carsten Haitzler d9142c3024 mmx for dropshadwo.. but disabled for now
SVN revision: 15634
2005-07-04 04:54:33 +00:00
Carsten Haitzler 52c5728635 lock flags can be modified - they DO nothing yet... but they can be modified.
added an enlightenment.desktop file so e appears in other dm's


SVN revision: 15629
2005-07-03 07:23:03 +00:00
Carsten Haitzler e0ae737480 hoo famn. segv. fixed.
SVN revision: 15615
2005-07-01 13:21:41 +00:00
sebastid 6eecc503a0 Always set maximize hints when maximizing.
Focus in/out changes seems to mess things up. Better wait until other
bugs are fixed until "fixing" the moveresize problem.


SVN revision: 15613
2005-07-01 11:23:10 +00:00
sebastid 768f894cd2 Hide desktop before windows, so that fullscreen can check if the desk
is visible or not.
Don't set desk_?_current in e_zone.c, it should only be done in e_desk_show


SVN revision: 15611
2005-07-01 11:05:48 +00:00
sebastid 0888177bd3 Don't unfullscreen if the desk isn't visible.
SVN revision: 15610
2005-07-01 10:24:58 +00:00
sebastid 086cb877a4 More checks if an focus in/out events belong to a border.
Store the active fullscreen window in it's desk.
Don't allow mouse focus out from a fullscreen window.


SVN revision: 15609
2005-07-01 10:07:25 +00:00
Carsten Haitzler 51ef8bbd42 fix that pussy properly!
SVN revision: 15604
2005-07-01 08:33:32 +00:00
sebastid 4dbd82ea61 Remove some commented out code that is deprecated in favor of e_focus.c
code.
Indent.


SVN revision: 15603
2005-07-01 08:26:06 +00:00
sebastid b49dde8e5d Change the event on flip to a pointer warp event.
SVN revision: 15602
2005-07-01 08:20:05 +00:00
Carsten Haitzler 38f024978a fix that kitten!
SVN revision: 15601
2005-07-01 08:17:59 +00:00
Carsten Haitzler 9d1a7da7e9 also support matching window roles
SVN revision: 15597
2005-07-01 04:41:34 +00:00
Carsten Haitzler 5c5ae983d7 todo--
SVN revision: 15596
2005-07-01 04:09:30 +00:00
Carsten Haitzler 3194e7112c handle re-emit of signals on border change
SVN revision: 15595
2005-07-01 02:50:55 +00:00
Carsten Haitzler 031ee35a63 todo--
SVN revision: 15566
2005-06-29 10:58:27 +00:00
Carsten Haitzler 2ebbd99565 TODO--
SVN revision: 15565
2005-06-29 08:49:54 +00:00
Carsten Haitzler 7cf61eb993 complain if freed object still has crumbs...
and disable resizing when shaded PROPERLY :)


SVN revision: 15558
2005-06-28 07:59:13 +00:00
Carsten Haitzler 4e9771e1f8 use "send_time" :)
SVN revision: 15556
2005-06-28 06:49:37 +00:00
Carsten Haitzler 791c7e0eb1 TODO--
SVN revision: 15555
2005-06-28 04:00:17 +00:00
Carsten Haitzler 0ba99fb510 focus policy patch - adjusted :)
SVN revision: 15544
2005-06-27 12:05:26 +00:00
Carsten Haitzler a6ec307a80 minimise cpu hape use if shape hasnt changed
SVN revision: 15542
2005-06-27 10:08:53 +00:00
Carsten Haitzler 49cec7c77c patches - opps
SVN revision: 15534
2005-06-26 04:41:29 +00:00
Carsten Haitzler a6abb22f0e object have breadcrumbs - this is a go at debugging info to help track that
dangling reference. its really intended not to remain permenantly - so one
day we'll remove it...


SVN revision: 15530
2005-06-25 06:54:22 +00:00
sebastid f5ce83df38 Update flip code. The desk_show code now makes sure a moving border stays
visible. So we only have to move the border to the right position.

Maybe change the event to a "pointer warp" event?


SVN revision: 15521
2005-06-24 09:26:44 +00:00
sebastid 237be5985d Q
SVN revision: 15520
2005-06-24 09:01:23 +00:00
Carsten Haitzler 1137819060 abort move if window hidden during move
SVN revision: 15518
2005-06-24 08:39:48 +00:00
Carsten Haitzler 5647dcf70f 2 more bugs gone
SVN revision: 15516
2005-06-24 04:46:28 +00:00
Carsten Haitzler e7c5fa6a01 2 more bugs gone
SVN revision: 15515
2005-06-24 04:10:18 +00:00
Carsten Haitzler cb4ea83664 bugs/fixes on top as i think these should take priority - todo list is leaner
now.


SVN revision: 15512
2005-06-24 03:12:05 +00:00
Carsten Haitzler 2cd2aa1858 make focus code clearer and easier to read
SVN revision: 15508
2005-06-23 15:35:37 +00:00
Carsten Haitzler 4ef9ea4922 hmm only kill pid if pid > 1
SVN revision: 15480
2005-06-22 06:40:18 +00:00
Carsten Haitzler 3517b05d8d no more printf's there
SVN revision: 15479
2005-06-22 06:33:02 +00:00
Carsten Haitzler ff50a472a4 ping stuff now can emit a hung/unhung signal to window borders and delete of
windows if hung will revert to a kill of the pid if it can (or the client) if
the app gets hung after 10 secs of waiting (should make this a config option
though)


SVN revision: 15477
2005-06-22 06:28:46 +00:00
Carsten Haitzler 91091f83e5 grabinput handling that allows winlist to pop up FROM the menu etc. hmm -
maybe i should have a stack of these too in grabinput that sends the input
back to the previous owner if its still there... and also actually send pings
around to clients every 10 seconds or so - if they dont respond, we have a
function that can do something - but right now it does nothing. shoudl mark
the window as "hung"


SVN revision: 15445
2005-06-20 08:56:54 +00:00
sebastid fe85e13185 Make the background black when doing fullscreen.
SVN revision: 15433
2005-06-19 19:00:04 +00:00
sebastid 30661f967f maximize zoom isn't a maximized mode, it's a fullscreen mode.
Check other windows when doing maximize fill.
Check windows of type dock when doing maximize expand and smart.


SVN revision: 15432
2005-06-19 17:13:37 +00:00
sebastid 8556b412c2 Maximize type as an arg to e_border_maximize. Makes it possible to use
several different maximization types in one session.
Fix the different maximization policies. They only care about gadgets now,
must be fixed to care about other constraints.


SVN revision: 15431
2005-06-19 14:59:41 +00:00
Carsten Haitzler 95e74747ff lost windows men TODO... answer seb's todo q. :)
SVN revision: 15427
2005-06-19 12:35:05 +00:00
sebastid cef3ed4690 Maximize update. Needs more work, but not now.
SVN revision: 15424
2005-06-18 15:49:24 +00:00
sebastid ff96193683 Maximize update. Only zoom fullscreen is lacking, but that is more a
fullscreen mode, not a maximize mode.
Please comment the implementation!


SVN revision: 15423
2005-06-18 14:31:17 +00:00
sebastid 0eeb25b536 Raise the border on click, even if move/resize is disabled.
Don't make the container black, need to do this pr. desk.


SVN revision: 15420
2005-06-18 13:03:00 +00:00
sebastid cfe111cbe1 IPC for maximize policy.
SVN revision: 15419
2005-06-18 12:51:00 +00:00
sebastid 89ce449586 Make the bg black when doing fullscreen.
Care about window constraints when doing fullscreen.


SVN revision: 15417
2005-06-18 05:08:17 +00:00
sebastid 5cf90d027c 1. Make _e_border_{move,resize}_begin return if the action is allowed.
This removes a lot of duplicate checks.
2. In the functions that uses _e_border_{move,resize}_begin, move this
   function to the beginning, and abort if the action isn't allowed.
3. Update conditions for when actions are allowed or not (iconify, move,
   resize, move_resize, shade...)
4. Begin with maximize policy. E_MAXIMIZE_FULLSCREEN should work, so don't
   let the users change this until the other policies work :)

BTW! For those who doesn't want an unstable system, please delay updating!


SVN revision: 15416
2005-06-18 04:35:40 +00:00
sebastid 76287489ce No move or resize whilst fullscreen.
SVN revision: 15412
2005-06-18 02:14:15 +00:00
Carsten Haitzler 2b59fb0143 fucking qt apps seem to be broken when it comes to take focus protocol. read
the icccm specs. grrr.

also - pooliepatch :)


SVN revision: 15409
2005-06-18 01:35:30 +00:00
sebastid d23b2ad285 Don't allow move and resize while we are fullscreen. moveresize must be
allowed since we use it to exit fullscreen. This should fix firefox
fullscreen which does a move after requesting fullscreen. firefox does
many weird things.


SVN revision: 15394
2005-06-17 20:16:12 +00:00
Carsten Haitzler 75a39d0d93 get client leader prop - special spot for placement if special window.
SVN revision: 15381
2005-06-17 09:05:38 +00:00
Carsten Haitzler ad3adb3286 follow x focus model explicitly :)
SVN revision: 15375
2005-06-17 06:14:12 +00:00
sebastid a21f36f807 smart maximize.
SVN revision: 15371
2005-06-16 22:23:25 +00:00
sebastid 1e7b648ebb Remove debug.
SVN revision: 15367
2005-06-16 15:00:58 +00:00
sebastid ce0ee0f46e Toggle borderless by menu.
SVN revision: 15366
2005-06-16 14:54:43 +00:00
Carsten Haitzler 650bb6ed85 fix focus re-order bug
SVN revision: 15356
2005-06-16 04:21:01 +00:00
Carsten Haitzler 3bbd1c65c6 fix shade unshade mumbo
SVN revision: 15318
2005-06-14 10:52:05 +00:00
Carsten Haitzler 76bda119c0 winlist alt-tab works (and dhift-alt-tab to go in reverse)... it is NOT
complete... gfx are ugly. i have fixme's. it doesnt work with pointer focus
really... etc.


SVN revision: 15264
2005-06-12 06:50:34 +00:00
handyande 4e125e3bff app_installed now in ecore_file
SVN revision: 15257
2005-06-11 13:32:29 +00:00
sebastid a1d95ce59a This should fix the maximization problem.
SVN revision: 15246
2005-06-10 23:37:16 +00:00
sebastid 7d5381158a ecore_x update.
SVN revision: 15228
2005-06-10 04:19:46 +00:00
sebastid b6c7577e52 Fix moving border on edge flip.
SVN revision: 15201
2005-06-08 14:06:28 +00:00
sebastid 1ab3a5cacf Remove printf
SVN revision: 15198
2005-06-08 13:10:52 +00:00
sebastid 2a9741297a Update TODO
SVN revision: 15197
2005-06-08 13:09:58 +00:00
sebastid 550eed698c netwm update.
SVN revision: 15180
2005-06-07 15:35:18 +00:00
sebastid 4f2f840dc7 Add fetch flag for netwm/icccm state. Easier to manipulate before a new
client is mapped.


SVN revision: 15176
2005-06-07 13:16:24 +00:00
sebastid eccc28f73f Don't sync when moving.
SVN revision: 15168
2005-06-06 17:46:36 +00:00
sebastid 3fb18e9990 netwm sync
SVN revision: 15163
2005-06-06 15:22:05 +00:00