Commit Graph

523 Commits

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