Commit Graph

551 Commits

Author SHA1 Message Date
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