Commit Graph

1112 Commits

Author SHA1 Message Date
Carsten Haitzler cdb864ed8e remove all traces of selecting engine in e17 - wont actuallly ever be
needed beyond compositor. :)



SVN revision: 66513
2011-12-26 06:24:59 +00:00
Carsten Haitzler cb148dd11e dont go hunt if ping to now interval not long enough in poller
SVN revision: 65290
2011-11-16 10:08:28 +00:00
Mike Blumenkrantz 54413de9b1 clean up some compiler warnings
SVN revision: 64873
2011-11-07 22:07:06 +00:00
Boris Faure ffe946c5fd e: send hide event for borders even if not visible
SVN revision: 64787
2011-11-05 18:29:30 +00:00
Cedric BAIL 0bb5631288 e: attach to the right desktop.
SVN revision: 64753
2011-11-05 08:41:51 +00:00
Carsten Haitzler baf1d40ccb implement some more correct icccm stacking support
SVN revision: 64402
2011-10-25 23:50:25 +00:00
Cedric BAIL e9d12e2d03 e: quick fix when shading a window with a linked video.
SVN revision: 64260
2011-10-21 16:25:45 +00:00
Cedric BAIL 0a59d65e3f e: actually let E17 handle direct video rendering path.
NOTE: There is still the following list of issue :
	- stacking, with window that could get between the video
layer and the application layer.
	- border, if I turn them off the window get resized to
1x1 and I don't understand yet why.
	- comp-scale, as we don't understand that this window
are one, it display them separatly.

I think that the only possible answer is to enable this feature
only when composite is tunerd on and make window a smart object
so we could merge the video layer and the application in one
object.



SVN revision: 64257
2011-10-21 15:31:35 +00:00
Hannes Janetzek ff7817d2be e17: find .desktops for libreoffice
SVN revision: 63989
2011-10-11 20:10:29 +00:00
Sebastian Dransfeld 422d601b41 e: Don't create circular transients list
This should fix #864

SVN revision: 63354
2011-09-13 04:35:26 +00:00
Sebastian Dransfeld 01aa375b20 e: Fix shadow warnings
SVN revision: 63353
2011-09-13 04:35:13 +00:00
Sebastian Dransfeld 506af69bb8 e: Remove FIXME, already fixed
SVN revision: 63352
2011-09-13 04:35:00 +00:00
Sebastian Dransfeld 8f5671bbd1 e: Fix shadow warning
SVN revision: 63351
2011-09-13 04:34:44 +00:00
Hannes Janetzek 2dd238ab26 e17: revert r63099, causes issues with tiling
SVN revision: 63347
2011-09-12 11:27:05 +00:00
Boris Faure c7d9b66d89 e: remove printf and a lonely tab
SVN revision: 63327
2011-09-11 15:39:17 +00:00
Hannes Janetzek 11fe807ade e17: use argb border only when compositing is enabled
SVN revision: 63170
2011-09-04 20:03:00 +00:00
Hannes Janetzek be4f610554 e17: move freeing of pending move/resize for new client up to eval0, before layout hook is called
SVN revision: 63099
2011-09-03 01:32:39 +00:00
Hannes Janetzek 0cdba19a2a e17: one more focus fix, e_border_focus_set_with_pointer could set bd->want_focus again.
SVN revision: 63088
2011-09-02 11:12:03 +00:00
Hannes Janetzek 2bb64c9745 e17: removed bd->changed from deleted border to prevent loop with illume hook calls
SVN revision: 63025
2011-08-31 11:36:46 +00:00
Hannes Janetzek 16622386e4 e17: fix icccm.class string replace
SVN revision: 62948
2011-08-29 14:06:00 +00:00
Hannes Janetzek 69076c2a32 e17: use stringshare for icccm/netwm properties
SVN revision: 62935
2011-08-29 08:24:55 +00:00
Hannes Janetzek b9525be763 e17/border: fix focus latest set
SVN revision: 62902
2011-08-28 06:49:59 +00:00
Hannes Janetzek 61d968c948 e17/border: fix formatting, tabs and trailing whitespace
SVN revision: 62901
2011-08-28 06:48:33 +00:00
Hannes Janetzek 8445b89578 e17: refactor code duplication.
- added _e_border_maximize used by e_border_maximze and eval for changed border  
- added _e_border_client_inset_calc, same code was used in various places


SVN revision: 62897
2011-08-28 04:22:29 +00:00
Hannes Janetzek b926a0b4d8 e17/focus: remove hack waiting for pointer warp to finish
SVN revision: 62896
2011-08-28 03:53:29 +00:00
Hannes Janetzek 239c288662 e17: fix focus with pointer.
- dont update focus_track when focus is frozen


SVN revision: 62822
2011-08-25 14:26:16 +00:00
Hannes Janetzek b44ac37ec8 e17: show fallback border icon again
SVN revision: 62611
2011-08-20 02:43:05 +00:00
Hannes Janetzek eb6e00b7e6 e17: send focus_out event before focus_in.
- fixes issue with illume kbd as it relies on this


SVN revision: 62567
2011-08-18 14:22:48 +00:00
Sebastian Dransfeld 0a0c4d5209 efreet: Revert changed flag
Only send event when cache is actually updated.

SVN revision: 62548
2011-08-18 07:34:02 +00:00
Hannes Janetzek 3f5b9c8705 e17: remove focus workaround for illume.
- keep track to which window was grabinput_focus set last, so that 
unfocusing last visible window will only set focus to container->bg_win
if no window is 'focusing' or 'focusing_next'   


SVN revision: 62529
2011-08-17 08:33:35 +00:00
Hannes Janetzek c1d2231e94 e17: set focus again, also if e believes that the border has it already. fixes input focus with illume for internal borders
SVN revision: 62528
2011-08-17 04:24:32 +00:00
Sebastian Dransfeld 70ed1d3def e: Ignore efreet cache update on no change
SVN revision: 62507
2011-08-16 12:46:47 +00:00
Hannes Janetzek 5b5034fc44 e17/border: cleanup focus debugging
SVN revision: 61820
2011-07-27 20:35:23 +00:00
Hannes Janetzek 1e317fd566 e17/border: use e/widgets/border/internal_fileman/border to define borderstyle for efm windows
SVN revision: 61819
2011-07-27 20:33:33 +00:00
Mike Blumenkrantz 9a0714a1ac RRRRRRRRRRRRRRRRRRRRRR SHUT UP E_BORDER!!!
SVN revision: 61450
2011-07-17 20:49:34 +00:00
Daniel Juyung Seo 52595240fd e17 e_border.c: Fixed popup position issue. Closed ticket #627. I
tested it and it works fine. Thanks Jim Duchek!

by Jim Duchek <jim.duchek@…> 

After adding a fourth monitor (above my center one) this bug became
utterly unbearable, as it started putting every popup on the bottom of
screens 1-3 as well as to the right on screens 2-4. Anyway, attached
is a patch -- it's a fairly obvious logic error.


SVN revision: 61352
2011-07-14 01:33:29 +00:00
Carsten Haitzler 2507034a26 for now... dont adjust children too. this seems to consume a fair bit
of time to do...



SVN revision: 61075
2011-07-06 09:11:16 +00:00
Carsten Haitzler 1407cc1547 dont change pri of e's own wins
SVN revision: 61074
2011-07-06 09:03:18 +00:00
Carsten Haitzler 9b540f77ca also adjust child process nice levels too.
SVN revision: 60942
2011-07-03 03:58:56 +00:00
Carsten Haitzler cbd40a06ba set default priority (nice val) of apps to 3, and introduce priority
raising of focused app.  :)



SVN revision: 60941
2011-07-02 16:00:45 +00:00
Hannes Janetzek cd3fceceb0 e17: fix resize of windows setting normal_hints. urxvt and others
SVN revision: 60688
2011-06-25 21:39:29 +00:00
Carsten Haitzler e0eeb1def3 get e17 to use the ecore pos map call to do accel/decel for shading,
and while we're at it allow more modes... like bouncing. pretty cool
to have bouncing shaded windows :)



SVN revision: 60476
2011-06-18 14:38:54 +00:00
Carsten Haitzler 004bdade85 make bulb gadget change glow/brightness based on actual backlight
brightness.



SVN revision: 60306
2011-06-14 14:24:45 +00:00
Carsten Haitzler 965fc62fd8 fix resize if minx/max etc. props changed during reisze.
SVN revision: 60263
2011-06-13 09:12:50 +00:00
Carsten Haitzler a7ed0b519e fix shape input changes while hidden.
SVN revision: 59029
2011-04-29 07:11:08 +00:00
Boris Faure aa87cbeaaf e: remove trailing whitespaces in e_border.c
SVN revision: 58674
2011-04-14 21:26:53 +00:00
Boris Faure f9f62a5158 e: move/resize maximized windows but still keeping them maximized
SVN revision: 58673
2011-04-14 21:19:25 +00:00
Miculcy Brian ca2c5c152f e17/fullscreen: restore maximize correctly
SVN revision: 58626
2011-04-13 10:49:10 +00:00
Doyun Kang 7b56742304 From: Doyun Kang <doyoun.kang@samsung.com>
Add support for shape input inheritance alongside normal shape support.



SVN revision: 58622
2011-04-13 09:06:34 +00:00
Miculcy Brian e6491516df e17/fullscreen: simplify maximize restore
SVN revision: 58594
2011-04-12 14:00:50 +00:00
Miculcy Brian ae1512cebe e17/fullscreen: restore maximized if maximized before fullscreen
SVN revision: 58593
2011-04-12 13:52:30 +00:00
Hannes Janetzek e923d63c72 e17: fix dnd to invisible windows and fix e_border_comp_hidden_set
- dont drop e drags (e.g. efm files) to windows from other desks
- should also fix wrong last desk focus set with deskflip animations enabled


SVN revision: 58551
2011-04-11 12:22:17 +00:00
Carsten Haitzler ac2b91963a dont wait until its hung to kill -9 it .. as the user selected kill.
just give it a timeout from the sigint. :)



SVN revision: 58341
2011-04-04 23:51:46 +00:00
Hannes Janetzek 7a870a386f e17: allow focusing sticky windows from other desk again..
TODO need to have a zone overlay input window that locks all mouse input while deskflip anim and mous warp


SVN revision: 58126
2011-03-27 19:23:12 +00:00
Hannes Janetzek cd9583cd4d e17: deskflip anim.. dont set focus on windows from previous desk
SVN revision: 58093
2011-03-26 00:39:59 +00:00
Hannes Janetzek a39d970c77 e17: revert last commit. causes lost window on restart
SVN revision: 58091
2011-03-25 20:52:19 +00:00
Hannes Janetzek 401fef69de e17: set border fx offset directly. should give smoother desk flip animation
SVN revision: 58090
2011-03-25 20:26:06 +00:00
Hannes Janetzek 17fc4de8bd e17: remove redundant code:
line 2901: 
(bd->changes.pos && !bd->changes.size) || (!bd->changes.pos && bd->changes.size)
cant be the case as before (!bd->changes.pos) && (!bd->changes.size) was checked.

line 2935ff: new_client is always false after eval
bd->changes.size/pos is always false after eval


SVN revision: 58089
2011-03-25 20:22:52 +00:00
Boris Faure 0cddc7cee2 e: changing the border on maximized window keeps it maximized
Useful for vertical/horizontal maximization

SVN revision: 57944
2011-03-21 20:55:34 +00:00
Boris Faure 866c425d57 e: add vim-like bindings to move/resize windows
SVN revision: 57920
2011-03-20 19:22:59 +00:00
Hannes Janetzek 7b2760151a e17: focus fix. forgot to set bd->changed to handle want_focus in eval..
SVN revision: 57799
2011-03-16 13:31:43 +00:00
Hannes Janetzek 27a83bce9f e17: possible focus fix: wait for windows focus_in event also if it does not !take_focus
SVN revision: 57705
2011-03-12 16:59:02 +00:00
Hannes Janetzek c12717050e e17: fix focus new window with click to focus. delay setting focus again
SVN revision: 57704
2011-03-12 16:24:37 +00:00
Hannes Janetzek 267f8d52f5 e17: focus: on focus_set promote border in focus_next even if it has already focus.
this fixes the problem when within one mainloop iteration the currently focused
border is unfocused and refocused.


SVN revision: 57674
2011-03-10 16:23:57 +00:00
Hannes Janetzek f3b8b6ccb7 e17: remove redundant checks. lock_focus_out is check in e_boder_focus_set*
SVN revision: 57648
2011-03-10 02:44:02 +00:00
Hannes Janetzek c51acd3708 e17: set focus at the end of border_idler_before to the last focused window.
No need to sync ecore_x_window_focus then. in next mainloop 
iteration all requests should have been processed by X, or doesnt it? 


SVN revision: 57647
2011-03-10 02:29:01 +00:00
Hannes Janetzek 800be7c985 e17: fix, remove duplicated line
SVN revision: 57637
2011-03-09 22:07:32 +00:00
Hannes Janetzek ce5cf84240 e17: fetch netwm state ealier so netwm.state.modal is set before used in icccm.fetch.client_leader case
SVN revision: 57623
2011-03-09 13:28:31 +00:00
Hannes Janetzek d8929994b4 e17: simplify e_border_focus_set logic and fix (some) focus issue with
not focusing the last active window after deskswitch


SVN revision: 57622
2011-03-09 13:15:33 +00:00
Miculcy Brian c695554642 allow to change layer when locking border position
SVN revision: 57609
2011-03-09 00:05:03 +00:00
Boris Faure 7c6caaa267 e: fix variable scope + indenting
SVN revision: 57506
2011-03-03 22:05:12 +00:00
Boris Faure 62ae791ca4 e: fix bd->changes.border
this way it's possible to know whether the border has changed when hooking
on E_BORDER_HOOK_EVAL_POST_BORDER_ASSIGN

SVN revision: 57478
2011-03-02 22:09:05 +00:00
Hannes Janetzek 23428da6ea e17: allow themes to request argb window frames
if your window border theme will use transparency add:
data { item: "argb" "1" } to the respective border groups 


SVN revision: 57458
2011-03-01 16:17:23 +00:00
Sebastian Dransfeld 99ea2864cb Also update border icons on icon cache update
SVN revision: 56914
2011-02-10 14:26:04 +00:00
Sebastian Dransfeld 30a478c4fa use convenience macro
SVN revision: 56782
2011-02-07 21:19:23 +00:00
Eric Schuele 440c33eecf Allow users to remove border resistance on a per border basis.
SVN revision: 56745
2011-02-06 02:04:37 +00:00
Mike Blumenkrantz d9f8fbefd4 avoid using garbage values for z{x,y,w,h}; FIXME!!!
SVN revision: 55724
2010-12-22 23:36:46 +00:00
Mike Blumenkrantz a8f324517f I don't even know what to say about the formatting in this file except that it was terrible. ecrustified.
SVN revision: 55723
2010-12-22 23:32:42 +00:00
Mike Blumenkrantz 7f55007159 avoid null deref
SVN revision: 55710
2010-12-22 22:53:30 +00:00
Gustavo Sverzut Barbieri 6f2213cb25 convert init/shutdown to EINTERN, move some to _update().
Do not abuse the concept of e_*_init(), make them call-once and those
that needed multiple call are renamed to e_*_update(). To make sure
convert them to EINTERN so the symbols are not exported.

Actually I guess too much is exported as EAPI while they should be
EINTERN, but that would require manual investigation, while this patch
was basically created with sed + grep.



SVN revision: 54795
2010-11-22 15:21:32 +00:00
Christopher Michael 4b7b3742c8 Remove 'declared' function that was never defined.
SVN revision: 54558
2010-11-15 06:15:42 +00:00
Sebastian Dransfeld f0afd63652 We might loose move/resize ref
Keep a local ref and be sure that we keep our object

SVN revision: 54275
2010-11-07 12:34:40 +00:00
Sebastian Dransfeld 3678c820b9 Really cancel move/resize
SVN revision: 54274
2010-11-07 12:34:29 +00:00
Sebastian Dransfeld 48e98291bd Only focus parent if on current desk
SVN revision: 54273
2010-11-07 11:05:04 +00:00
Sebastian Dransfeld b4f9160c09 Remove duplicate code
We always hide border before border del, so we shouldn't be focused here

SVN revision: 54272
2010-11-07 11:04:53 +00:00
Sebastian Dransfeld c12fafe377 Cleanup revert focus
SVN revision: 54271
2010-11-07 08:21:14 +00:00
Sebastian Dransfeld b047d83d7a Set focus when we delete the border
_e_border_cb_window_hide is not necessary called in the right order for
internal windows

Fixes #485 part 1

SVN revision: 54244
2010-11-06 19:35:35 +00:00
Sebastian Dransfeld 552a0ad0f2 use new fdo e_icon
SVN revision: 54195
2010-11-05 18:54:56 +00:00
Sebastian Dransfeld 3c12d4daba __UNUSED__ last
SVN revision: 54193
2010-11-05 18:40:31 +00:00
Sebastian Dransfeld a355da7bf8 Since we don̈́t grab, don't ungrab
This should help on some focus problems, please test

SVN revision: 54181
2010-11-05 13:48:28 +00:00
Christopher Michael df00292397 Fix up calls to ecore_x_icccm to use Eina_Bool to remove compiler
warnings.



SVN revision: 52834
2010-09-28 00:35:05 +00:00
Mike Blumenkrantz 61dadf430f add macro to insert function name in debugging
SVN revision: 52171
2010-09-12 18:44:10 +00:00
Mike Blumenkrantz 02aa9820c0 add debugging printf function for hunting down focus switching bugs, requires -DPRINT_LOTS_OF_DEBUG
SVN revision: 52170
2010-09-12 18:34:56 +00:00
Lucas De Marchi 25113159a5 Fix common misspellings
Some misspellings were manually reverted since in E there are tons of .po with
phrases in other languages. Other than that all the changes in the following
files were reverted:

 * src/modules/illume/dicts/English_(US).dic
 * src/modules/illume-keyboard/dicts/English_(US).dic


Following misspellings were fixed:

acquited->acquitted
adres->address
adress->address
alreayd->already
aquire->acquire
arbitarily->arbitrarily
cant->can't
Capetown->Cape
carefull->careful
causalities->casualties
Celcius->Celsius
certian->certain
commandoes->commandos
considerd->considered
conveyer->conveyor
dependant->dependent
didnt->didn't
discontentment->discontent
doesnt->doesn't
everytime->every
exemple->example
existance->existence
existant->existent
existince->existence
Farenheit->Fahrenheit
forbad->forbade
funguses->fungi
guage->gauge
guerilla->guerrilla
guerillas->guerrillas
happend->happened
hasnt->hasn't
heros->heroes
inbetween->between
independant->independent
inital->initial
intrusted->entrusted
irregardless->regardless
isnt->isn't
knifes->knives
layed->laid
loosing->losing
marrage->marriage
midwifes->midwives
miniscule->minuscule
monickers->monikers
mroe->more
noone->no one
occured->occurred
omre->more
paralell->parallel
payed->paid
planed->planned
quitted->quit
quizes->quizzes
seperated->separated
seperate->separate
shoudl->should
similiar->similar
simplier->simpler
specifiying->specifying
teh->the
toke->took
torpedos->torpedoes
Tuscon->Tucson
unecessary->unnecessary
useage->usage
usefull->useful
useing->using
waht->what
wanna->want
whith->with
wich->which
withing->within




SVN revision: 52006
2010-09-08 23:59:07 +00:00
Mike Blumenkrantz 015e43980c I give up. vim is too big and too stupid for me to fight
SVN revision: 51880
2010-09-04 06:24:49 +00:00
Mike Blumenkrantz 88e5bb4ff1 try fix broken vim formatting: VIM TABS ARE WRONG! I WILL SEND NINJAS AFTER THE NEXT PERSON WHO USES THEM!!!
SVN revision: 51879
2010-09-04 06:05:32 +00:00
Christopher Michael 1d59137b0e Add __UNUSED__ where needed.
Fix __UNUSED__ to be after the variable.
Remove unused variables.



SVN revision: 51301
2010-08-18 17:26:44 +00:00
Leif Middelschulte 935774e161 From: Leif Middelschulte <leif.middelschulte@gmail.com>
patch for ecore-x xrandr 1.3 support - breaks previous api. final api
change (i know about) before we go alpha. in to svn we go.



SVN revision: 51109
2010-08-14 10:21:03 +00:00
Lucas De Marchi 6638a10e20 FORMATTING
* Remove vim modelines:
 find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
 find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;

* Remove leading blank lines:
 find . -name '*.[cxh]' -exec sed -i '/./,$!d'

If you use vim, use this in your .vimrc:
set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0



SVN revision: 50816
2010-08-04 16:57:32 +00:00
Carsten Haitzler 81963af8d8 respect hidden comp state in border infra.
SVN revision: 50806
2010-08-04 06:24:06 +00:00
Carsten Haitzler 33eb15abc8 be like other compositors. work around the unmap thing and never unmap
if we have a compositor. just "mark" as unmapped and leave there.
pretend we are unmapped. disable events and stuff on the border to get
the behaviro right too so stacking or positioning is never affected.



SVN revision: 50761
2010-08-03 09:03:58 +00:00
Christopher Michael 5a7b450c04 Patch from rubenbb to fix ticket #562 (dpms being turned off by
fullscreen windows).

I modified this patch slightly. Removed some unused handlers. limits.h
is already included in e.h, so no need to reinclude it. Fixed formatting.



SVN revision: 50356
2010-07-18 19:06:00 +00:00
Andreas Volz 31663d7051 temoporary limited maximize algorithm
SVN revision: 50207
2010-07-12 22:12:02 +00:00
Andreas Volz c0a5d4e794 fix to prevent lost windows if resizing a window to offscreen coordinates
SVN revision: 50133
2010-07-08 21:05:34 +00:00
Andreas Volz 6e35928dea added two new configuration options for the geometry_manipulation conf plugin:
int         geometry_auto_move; // GUI
   int         geometry_auto_resize_limit; // GUI

This does influence the configure_request algorithm in the way that the user could disable the window 
geometry move and resize feature that is useful for e.g. Gnome fileselector or gnome-terminal tabs.
There was a use case on the list where this was not nice so I created an option to disable it. If one thinks
a special e.src shouldn't activate this feature by default, please change it.

SVN revision: 50083
2010-07-06 19:49:48 +00:00
Andreas Volz c86c1144fe req_window_oversize:
If a window likes to open with bigger 
initial coordinates bigger than the screen 
(minus ignore zones like not overlap allowed shelfes) 
the window should be sized to the maximum allowed size.

SVN revision: 50028
2010-07-04 19:10:09 +00:00
Andreas Volz c153c4b86e req_maximize_ignore_zone:
If a window likes to maximize while it stays below a ignore zone (like not overlap allowed shelfes) it should be maximized only in the overlap allowed zone. At returning to normal state it should be placed in the original position.

SVN revision: 49942
2010-06-29 21:04:34 +00:00
Andreas Volz bb3501c1c8 req_window_resize_move:
If a window resizes itself without border interaction it's moved to the next available coordinates which aren't covered by ignore zones like not overlap allowed shelfes.


SVN revision: 49910
2010-06-27 20:48:43 +00:00
Andreas Volz ce88316472 req_window_offscreen:
If a window likes to open with initial offscreen coordinates E should move it to the nearest onscreen coordinates.

req_window_ignore_zone:
If a window likes to open with initial coordinates in a window ignore zone (like not overlap allowed shelfes) if should be moved to the next allowed coordinates.



SVN revision: 49909
2010-06-27 20:41:52 +00:00
Cedric BAIL c6a118d738 * e: remove warning due to Ecore API change.
SVN revision: 49833
2010-06-24 16:19:12 +00:00
Andreas Volz cb1d2785fa temporary comment my latest change here.
while working with it I got some strange window placements. I need to analyze these situations before I release it to the public...


SVN revision: 49673
2010-06-14 19:44:56 +00:00
Andreas Volz 8610b9eaa9 Based on an IRC discussion I changed the smart placing mechanism to hit also if icccm.request_pos is true. Many Gnome based application try to start with coordinates below the shelfes and E allows it. This smoothly moves this windows away is smart placement is active. It's not as aggressive as Metacity, but now usable with vertical shelfes. If you don't like this change hit me and discuss it again on the list.
SVN revision: 49654
2010-06-12 12:54:18 +00:00
Gustavo Sverzut Barbieri 1c3afc74b2 Emit events when windows become or leave fullscreen.
SVN revision: 49258
2010-05-28 21:37:42 +00:00
Gustavo Sverzut Barbieri 5e42f12ffb if fullscreen border was moved between desks, update desk fullscreen count.
just happened to notice this possible error, no idea if paths could
really trigger it, but was simple enough to fix.



SVN revision: 49249
2010-05-28 18:54:25 +00:00
Jaime Thomas 202a06c9f6 Stop windows from jumping to (0,0) location when resizing using keybindings.
SVN revision: 48316
2010-04-25 18:50:14 +00:00
Christopher Michael 80c91b8d19 As per k-s, remove fix from e_config_dialog and instead, call e_border_show
inside uniconify.



SVN revision: 48138
2010-04-19 17:27:45 +00:00
Sebastian Dransfeld fadcb01bcb efreet: better naming
SVN revision: 48034
2010-04-15 19:21:03 +00:00
Sebastian Dransfeld 7c9c49eabc Make sure we free desktop before getting new
SVN revision: 47518
2010-03-27 20:53:41 +00:00
Sebastian Dransfeld fed2a494e1 Listen to cache update event
SVN revision: 47476
2010-03-26 05:34:10 +00:00
Sebastian Dransfeld 2277270e9c free desktop on border removal
SVN revision: 47474
2010-03-26 05:33:48 +00:00
Sebastian Dransfeld 346707729c Use efreet_desktop_get
We want to get a cached version which submits events for bd->desktop

SVN revision: 46845
2010-03-03 22:10:34 +00:00
Carsten Haitzler 07c6e7788d oooold patch from manio! in!
SVN revision: 46807
2010-03-03 00:32:39 +00:00
Carsten Haitzler fd7e0c09df hmmm something screwed with init done events.. remove 1 undone.
SVN revision: 46784
2010-03-02 12:31:20 +00:00
Sebastian Dransfeld cdd86db6ac Eet cache for efreet desktop
SVN revision: 46726
2010-03-01 18:16:32 +00:00
Christopher Michael 98e95cc950 Comment whole section as we never make use of it anyway.
SVN revision: 46674
2010-03-01 01:33:44 +00:00
Christopher Michael 3bc257bf8d Fix up formatting.
SVN revision: 46625
2010-02-27 22:51:19 +00:00
Carsten Haitzler 4513a24797 no more round trips! bad bad bad!
SVN revision: 46459
2010-02-25 12:26:10 +00:00
Christopher Michael 4461057e7a Add illume quickpanel zone fetch to border structure.
SVN revision: 46293
2010-02-19 03:21:30 +00:00
Christopher Michael 30b60b5bd3 No point in running find_by_client_window here as we do nothing with it
anyway.



SVN revision: 46104
2010-02-11 22:05:14 +00:00
Sebastian Dransfeld f098d9df85 Only create edge windows which have bindings
Previously all windows always existed, and edge bindings showed/hided
windows as needed. And e_zone_flip_win_disable/ e_zone_flip_win_restore
f**k'ed this up.

Will fix bug #483 soon.

SVN revision: 45366
2010-01-20 21:30:17 +00:00
Sebastian Dransfeld e64e721ff2 Make sure that we always resize on keypress
When using alt on a window which resizes in steps, we could get 0
movement. Fixes bug #338.

SVN revision: 45339
2010-01-19 19:46:09 +00:00
Sebastian Dransfeld b7f399d159 make clang happy
SVN revision: 45153
2010-01-14 23:48:59 +00:00
Sebastian Dransfeld 6136509b9f make clang happy
x and y are used later and might be garbage

SVN revision: 45150
2010-01-14 23:48:26 +00:00
Christopher Michael df9e501b10 No point in running find_by_client_window here, we don't use the border
anyway.



SVN revision: 45057
2010-01-12 03:33:34 +00:00
Carsten Haitzler 4ed5747b83 dont show ecore-evas of internal windows b4efore border evals! do it there!
SVN revision: 44995
2010-01-08 23:08:07 +00:00
Christopher Michael f435c770e4 Add illume atoms to e_border struct.
Add code to fetch illume atoms on border map & property changes (if needed).
    - This avoids a lot of round-trip calls to X when running illume2.
Remove whitespace & fix some formatting.
Use PATH_MAX instead of 4096.
Update illume2 code to use new border atoms and avoid round-trip X calls.



SVN revision: 44879
2010-01-04 18:15:56 +00:00
Christopher Michael 69581f2d37 A poller is not a timer. Use proper variable type, and proper delete function.
SVN revision: 44689
2009-12-23 14:04:22 +00:00
Christopher Michael 0007331545 Check that zone exists first before trying to use it.
No need to set border zone twice here.



SVN revision: 44640
2009-12-21 20:54:09 +00:00
Sebastian Dransfeld bda24a1f0d Make clang happy
SVN revision: 44230
2009-12-06 19:42:41 +00:00
Christopher Michael fc7e636c1f just some formatting I noticed while reading code.
SVN revision: 44205
2009-12-05 23:36:42 +00:00
Hannes Janetzek ad1669b3ec keep windows in current zone when it requests to be outside an existing zone
SVN revision: 43271
2009-10-25 15:58:19 +00:00
Hannes Janetzek 984c884fd6 fix pending_mode_resize
SVN revision: 42882
2009-10-05 03:05:10 +00:00
Hannes Janetzek cf7cfc3b58 cleanups and updated comment on sync.wait
SVN revision: 42837
2009-10-01 10:22:27 +00:00
Carsten Haitzler 09c4596276 from jeffdameth: fix sync protocol handling - re-enable it.
SVN revision: 42834
2009-10-01 08:45:24 +00:00
Hannes Janetzek 46c1c6000b fix unmaximize in smart and fill mode.
- move policy handling of move/resize to the externally accessible functions


SVN revision: 42751
2009-09-28 01:48:26 +00:00
Hannes Janetzek 0033fecdef reduce continous debug output for deleted borders
SVN revision: 42746
2009-09-27 22:22:39 +00:00
Hannes Janetzek 1321020294 - fix 'maximize fullscreen' action
- allow any maximized windows of any type to be manipulated when allow_manip is set
- remove 'maximize expand' option from config gui. this is the same as 'maximize smart'
- dont restirct iconify of fullscreen borders. this is policy that can be (and is) 
  restricted by gui.


SVN revision: 42735
2009-09-26 22:45:09 +00:00
Hannes Janetzek 8cc27a9ec8 - focus new window when it's the only one on current desk
- fix resizing by moveresize_request


SVN revision: 42681
2009-09-24 18:23:40 +00:00
Hannes Janetzek 273a513b04 e_border use e's macros for calloc/free
SVN revision: 42568
2009-09-19 17:08:34 +00:00
Hannes Janetzek 5d0fe47535 fix last commit: do not add pending move when doing only resize
SVN revision: 42567
2009-09-19 16:51:37 +00:00
Hannes Janetzek 2f92b4a7ff e_border: remove maximized state when maximized window is moved or resized
- merge _e_border_resize_internal with _e_border_move_resize_internal


SVN revision: 42566
2009-09-19 16:26:16 +00:00
Hannes Janetzek 5e2de9c09b refactor _e_border_cb_window_move_resize_reques. this screamed for a switch.
SVN revision: 42443
2009-09-12 15:51:44 +00:00
Hannes Janetzek b6836f77d0 refactor bd->changes.size evaluation
SVN revision: 42442
2009-09-12 15:24:28 +00:00
Hannes Janetzek f13cb425c1 factor duplicated ecore_evas_managed_move and ecore_x_icccm_move_resize_send
out to _e_border_client_move_resize_send(E_Border)


SVN revision: 42441
2009-09-12 13:53:43 +00:00
Hannes Janetzek be82a34929 simplify code. only refactoring
SVN revision: 42440
2009-09-12 13:18:02 +00:00
Hannes Janetzek 7bcc49c2fe - fixed e_remember_default_match to set match values
since these are not set by e_remember_update anymore
- remove E_Remember parameter from e_remmber_update. 
  if update is possible bd->remember is already set
- do not overwrite bordername value of remember on update. 
  should only be set by conf_border dialog
- make sure on update that match values are set otherwise 
  delete remember 


SVN revision: 42435
2009-09-12 11:08:07 +00:00
Hannes Janetzek f9fc3d09aa move applying of remember properties for new windows from e_border to e_remember
SVN revision: 42433
2009-09-12 09:18:41 +00:00
Hannes Janetzek 81a9f94b4c - allow glob matching in window remember -> advanced dialog has now editable entries
- option added to remember desktop file for e window match. 
    means no more ugly openoffice provided icons (= even if i dont use it ..
- e_border: added fallback for transient windows to use .desktop from main window   
- fixed bug in e_remember to not delete all remembers when last item of the conf_remember list is deleted 


SVN revision: 42432
2009-09-12 07:04:32 +00:00
Carsten Haitzler fb4208b4a3 ecomorph hookes from <hannes.janetzek@googlemail.com>
SVN revision: 42203
2009-09-03 12:37:10 +00:00
Hannes Janetzek 1e8112a09e remember the borders' .desktop file after restart
SVN revision: 42067
2009-08-28 09:25:36 +00:00
Cedric BAIL f8c05999e4 * e: Cleanup use of Eina data structure.
Patch from Peter van de Werken <pwerken-e@a-eskwadraat.nl>.


SVN revision: 41916
2009-08-21 15:08:49 +00:00
Carsten Haitzler 13ced8509f move eval into 2 stages - much better for the illumes of this world.
SVN revision: 41835
2009-08-17 07:54:02 +00:00
Miculcy Brian 8e9a06ea44 no, we can't try to kill a window on request and then expect that it is killed and hide the border...
SVN revision: 41317
2009-07-13 00:24:15 +00:00
Gustavo Sverzut Barbieri 9da81cfce6 fix e_border handling of without_border flag.
Ooops! My last changes to introduce without_border broke things, often
unnoticed but it was in the way when we requested resize of existing
window, done in the patch to reuse the e_dialog while toggling between
basic<->advanced by manio.

Thanks manio for spotting and Sachiel for the time help debugging it.


SVN revision: 41313
2009-07-12 00:21:28 +00:00
Gustavo Sverzut Barbieri be4f4af8a9 Do not evaluate deleted borders.
This bug was showing when fast toggling between advanced<->basic in
config dialogs.

Note, however, that there are a remaining alien bug with fast
toggling. It's aborting due adding evas object as member of another
from other canvas, which is not allowed. I tried to debug it and it's
REALLY weird, the advanced or basic create_widgets() are being called
twice, from inside the same function, like if the create_widgets() was
calling itself, but the code do not do that, I traced some that would
happen from e_widget_button_add()!!! Like if we had threads of were
being preempted from nowhere, really strange... seems like a stack
corruption :-(


SVN revision: 41038
2009-06-15 01:33:41 +00:00
Gustavo Sverzut Barbieri 7120b06df7 proper alignment when there is non-autohide shelves.
SVN revision: 40384
2009-04-25 18:49:39 +00:00
Gustavo Sverzut Barbieri be6a6ba639 improvements to e_border positioning.
* e_border_center() will center window in a better way, accounting
   the shelves/panels instead of just centering on the screen. This is
   better and most noticeable if screens are small and a big shelf on
   just one edge.

 * e_border_move_without_border(), e_border_resize_without_border()
   and e_border_move_resize_without_border() will assume the given
   values do not acount border/decorations (client_inset) and will do
   automatically. As stated in documentation, this is specially useful
   when it is a new client and thus have no decorations when it is
   positioned, when decorations are added window would be placed at
   wrong position. One can try this by adding efwin window overflowing
   the bottom-right corner, closing it and when reopen fileman would
   try to make it inside the screen, this would not work well with
   part of the window still being outside.

 * e_win_move(), e_win_resize() and e_win_move_resize() will now use
   new e_border functions.



SVN revision: 40307
2009-04-23 02:24:59 +00:00
Vincent Torri 0e6ad24c60 remove useless subwindow code
SVN revision: 39975
2009-04-11 08:33:44 +00:00
Vincent Torri 7506655ca9 ecore_x_window_del -> ecore_x_window_free
SVN revision: 39924
2009-04-10 09:57:57 +00:00
Carsten Haitzler 634485d2bc and properly hide windows that ask to be iconified on start!
SVN revision: 39853
2009-04-04 07:18:55 +00:00
Carsten Haitzler 834952304f ghost windows-- ?
SVN revision: 39655
2009-03-23 13:39:24 +00:00
Hannes Janetzek 4598a292ed use ECORE_EVENT_MODIFIER
SVN revision: 39538
2009-03-17 21:55:33 +00:00
Cedric BAIL 46e8efcd8c Let me introduce you to Ecore_Input. The idea is to share as much as possible event
between all ecore graphic engine to ease porting of application and reduce the amount of
specific code per engine. This patch does just that.
	All your application should continu to work has previously, if it's not the case
please report any new behaviour regarding mouse and keyboard.


SVN revision: 39505
2009-03-16 16:24:43 +00:00
Davide Andreoli eb2d1db1dc Icon rename finished. Now we have a fully compliant icon theme :)
now I'm going to fix E-MODULE-EXTRA...


SVN revision: 39495
2009-03-15 17:41:46 +00:00
Viktor Kojouharov 4d1fea4705 add fullscreen state remember
SVN revision: 39414
2009-03-08 10:35:05 +00:00
Davide Andreoli f64a04ec46 Make a new function:
e_util_icon_theme_set(Evas_Object *obj, const char *icon)
to use in place of e_util_edje_icon_set.
The new function (as it works for menu) search the icon in E theme and FDO themes
according to the config option.

SVN revision: 39371
2009-03-04 22:29:23 +00:00
Viktor Kojouharov 2a1c4aaa9c reduce the count on del
SVN revision: 39317
2009-03-01 21:32:09 +00:00
Viktor Kojouharov 82404b049e option to restrict mouse desktop flipping if there are fullscreen windows
SVN revision: 39271
2009-02-27 18:36:08 +00:00
Carsten Haitzler 32f6b5c391 this apparently fixes some fullscreen maximising issues
SVN revision: 38461
2009-01-05 13:07:19 +00:00
Cedric BAIL 773d102291 This commit is huge. I did test it a lot on my computer, and it run fine here.
But is so big i fear i could have broken some piece of code. So report any wrong
behaviour to me (cedric on #edevelop).

So moving e17 and efreet to eina_hash. With a little efreet API break so they
must come together.


SVN revision: 38185
2008-12-17 15:33:43 +00:00
Carsten Haitzler f4afa96251 gtk and qt have bizarrely wrong logic. for every configure request they
EXPECT a configurenotify to match. this is wrong. wm's are free to ignore
configurerequests if they liek - and dont have to thus send
configurenotifies...



SVN revision: 37922
2008-12-04 10:07:16 +00:00
Carsten Haitzler a76420657d patches - see mail.
SVN revision: 37618
2008-11-14 10:22:57 +00:00
Carsten Haitzler e9b740c27d use the loop_time - better synced anim timepoints and less overhead on
gettimeofday :)



SVN revision: 37393
2008-11-02 02:36:10 +00:00
Sebastian Dransfeld 98d487c8df Clean up drag on border del.
SVN revision: 37245
2008-10-27 14:14:42 +00:00
Sebastian Dransfeld 45f4519087 Create global drag object for border so we can manipulate it.
SVN revision: 37241
2008-10-27 13:32:08 +00:00
Sebastian Dransfeld 92ff3dab37 Fix callback for list sorting.
SVN revision: 37202
2008-10-27 07:33:21 +00:00
Sebastian Dransfeld 6dc64c5559 Correct callback for eina_hash_foreach.
SVN revision: 37169
2008-10-26 20:48:44 +00:00
Gustavo Sverzut Barbieri acd223581c Enforce step limit while resizing windows with keyboard.
Patch by Ivan.


SVN revision: 37108
2008-10-26 02:04:47 +00:00
Jaime Thomas ae3fde694a Keyboard resizing should still respect max/min size.
SVN revision: 37005
2008-10-22 23:15:32 +00:00
Cedric BAIL 1087de2397 Remove Evas list and replace them with Eina list.
No change for ->next and ->data access right now, as the patch is already
big enough.



SVN revision: 36962
2008-10-22 11:49:33 +00:00
Cedric BAIL 3d6749983b Switch to eina_stringshare.
This could also change the usage of string share in E17.



SVN revision: 36679
2008-10-15 15:12:56 +00:00
Carsten Haitzler 1d3533c12a add option to disable cursor and diasble the idle cursor anim.
SVN revision: 36313
2008-09-29 14:01:30 +00:00
Gustavo Sverzut Barbieri cd2f6c6d44 keyboard move/resize no accept modifiers.
* Control: value * 2
 * Alt: value / 2



SVN revision: 36302
2008-09-28 23:29:21 +00:00
Gustavo Sverzut Barbieri 77e8ea0a36 Keyboard move/resize: show popup when action begins and hide it on timeout.
* Popup is now displayed when the action begins instead of the first move.
 * Popup is hidden when timeout expires.



SVN revision: 36301
2008-09-28 23:06:14 +00:00
Carsten Haitzler b370f8315f remove/comment out printfs and remove fixme (to be removed) fake mouse up funcs
SVN revision: 36229
2008-09-25 01:34:39 +00:00
Carsten Haitzler 0b625413e9 fix remember to actually rememebr skip* stuff and save it
SVN revision: 36227
2008-09-25 01:01:07 +00:00
Gustavo Sverzut Barbieri 51cefe3402 e/border: make keyboard move and resize actions configurable.
No GUI for that yet, but it's already exported in e_config so one can
write such in future.



SVN revision: 36134
2008-09-20 15:53:28 +00:00
Carsten Haitzler 0b0dfa93a7 and - that vlc fullscreen bug. found. fixed. but vlc's x11 code is really
nasty. does some utterly evil things. should i send off some suggestions to
them? (like 1. dont reparent the window in xcommon.c line 217, dont play with
wm focus policies in xcommon.c line 2269 - just dont send the
_NET_ACTIVE_WINDOW, you shouldnt' need to (wm should make the focus be
correct itself and wm's that don't should get a freindly reminder from users
when they dont remain consistent with focus policy), and then... xcommon.c
2317 remove the do {} while loop - i can think of many reasons the wm may
choose not to map your client window (yet - or ever), so this will never work
"reliably" always. just put in an XSync(p_vout->p_sys->p_display, False);
instead to force the x pipe to flush and do everything you asked before
returning control to the code and thus avoiding any badaccess stuff from x).



SVN revision: 36093
2008-09-19 09:44:07 +00:00
Gustavo Sverzut Barbieri ba3e4fc00d Move and Resize using keyboard.
These new shortcuts will trigger move and resize modes that are
interactive using keyboard. Use arrows to move or resize (left/top =
shrink, right/bottom = enlarge), presse Escape to abort, Return or
mouse click or timeout to confirm.

This should work like WindowMaker or Kwin.

TODO:
 - add customizable thresholds.
 - figure out what to do with the old action "Move" and "Resize",
   they're really useless for keyboard, just works with mouse.




SVN revision: 36010
2008-09-16 00:11:26 +00:00
Gustavo Sverzut Barbieri 35b67bef0b e_border_resize() now updates the popup.
SVN revision: 35986
2008-09-14 20:31:03 +00:00
Carsten Haitzler bfc017e352 fix focus set loop.
SVN revision: 35928
2008-09-10 12:42:39 +00:00
Carsten Haitzler bf9ed932f9 some debugging printfs - also avoid feeding focus back to the last focused
window if its one of a set of types.



SVN revision: 35726
2008-08-29 03:30:45 +00:00
Carsten Haitzler dbaf8091ff emove debug printf's
SVN revision: 35676
2008-08-26 04:12:41 +00:00
Carsten Haitzler 6c0718f75f add soem debugging.
SVN revision: 35675
2008-08-26 03:04:07 +00:00
Carsten Haitzler bec9b880b0 1. set focuse on activate in illume
2. fix focus set when not visible



SVN revision: 35673
2008-08-26 02:21:51 +00:00
Carsten Haitzler b6089acc00 fix self-feeding grab + event and in/out loop!
SVN revision: 35652
2008-08-25 08:35:41 +00:00
Carsten Haitzler 286b140ea1 and only put border on latest focused once it actually is focused.
SVN revision: 35650
2008-08-25 04:34:19 +00:00
Sebastian Dransfeld 3199439ed8 fix against efreet API breakage
SVN revision: 35492
2008-08-14 20:49:37 +00:00
Carsten Haitzler 99fc29f7aa and respect focus lock out flag more
SVN revision: 35431
2008-08-11 01:22:33 +00:00
Carsten Haitzler 0fb524dc8c remove debugging! works!
SVN revision: 35375
2008-08-07 07:08:16 +00:00
Carsten Haitzler 235d4f9810 oops. missed case.
SVN revision: 35374
2008-08-07 06:45:02 +00:00
Carsten Haitzler bd78344930 try this...
SVN revision: 35373
2008-08-07 06:16:35 +00:00
Carsten Haitzler d9a47f051c add debugging... nasty focus issue to find...
SVN revision: 35372
2008-08-07 06:00:09 +00:00
Carsten Haitzler e465ff1575 more testing...
SVN revision: 35371
2008-08-07 05:11:45 +00:00
Carsten Haitzler 68488d9ba3 debugging...
SVN revision: 35370
2008-08-07 04:57:23 +00:00
Carsten Haitzler 32ab3af8ee try this now...
SVN revision: 35369
2008-08-07 04:30:02 +00:00
Carsten Haitzler 8012bce997 ok - try this instead.
SVN revision: 35368
2008-08-07 04:16:21 +00:00
Carsten Haitzler 204ed15db8 testing...
SVN revision: 35366
2008-08-07 03:09:46 +00:00
Carsten Haitzler dc88eeb646 handle bizarre focus properties. ie take_focus - but a window that never
actually takes focus...


SVN revision: 35365
2008-08-06 22:57:37 +00:00
Carsten Haitzler 9410a6265c fix java app focus.
SVN revision: 35317
2008-08-03 21:54:49 +00:00
Carsten Haitzler 46675b10c1 use ecore_x vkbd wrappers now.
SVN revision: 35209
2008-07-25 02:09:28 +00:00
Carsten Haitzler a582ec3e78 fix propery event for windows.
SVN revision: 35198
2008-07-23 22:10:10 +00:00
Miculcy Brian 010994d27d Reenable pointer warp - the fixme config option to disable it is already there:
config panel->windows->window focus->advanced->"slide pointer to a new focused window"


SVN revision: 35175
2008-07-20 20:21:03 +00:00
Miculcy Brian 50ecadbb80 Fix bugzilla id 398 - Unmaximize problems with xinerama.
SVN revision: 35174
2008-07-19 21:52:44 +00:00
Carsten Haitzler 77e26d9daa add a way to force e to not remember a window of its own .
SVN revision: 35139
2008-07-17 14:01:36 +00:00
Carsten Haitzler 51c5110b2c vkbd hints...
SVN revision: 35127
2008-07-16 17:06:23 +00:00
Carsten Haitzler c5a6384cf5 handle forced resized in about dialogs
SVN revision: 35037
2008-07-08 19:41:42 +00:00
Carsten Haitzler 85bdd7b5b8 use the cancel and turn off fakes... leave code - just complain.
SVN revision: 34609
2008-05-19 04:15:47 +00:00
Carsten Haitzler 9a417fc4b4 focus stack broken in focus new window and click to focus. fix.
SVN revision: 34596
2008-05-18 14:17:39 +00:00
Sebastian Dransfeld d558710860 formatting
SVN revision: 34396
2008-04-28 16:10:05 +00:00
Carsten Haitzler b1c69d3f5f put in some place markers in efm for categories in a fm widget - nothing
there currently but the entry, and fix focus of iconified windows. broke it
before.


SVN revision: 34389
2008-04-28 10:50:36 +00:00
Carsten Haitzler 7f2c0926ca dont focus iconified windows! that's just silly!
SVN revision: 34372
2008-04-26 06:41:48 +00:00
Carsten Haitzler 1186949fbc cedrics for web
SVN revision: 33971
2008-03-09 16:43:58 +00:00
Carsten Haitzler 1cf57c6566 support qtopia hint flags and also multiple netwm types
SVN revision: 33952
2008-03-07 11:51:31 +00:00
Carsten Haitzler 5551c78397 revert patch. never tested by submiter.
SVN revision: 33950
2008-03-07 10:35:58 +00:00
Carsten Haitzler 7cc26d7eea focus - deny entirely in any visual and technical way, if asked.
SVN revision: 33943
2008-03-06 10:17:39 +00:00
Carsten Haitzler db4a8f8ba4 patch from petet can de werken with sticky signals and maximize
SVN revision: 33925
2008-03-05 02:54:30 +00:00
Miculcy Brian 0c3c93f9ad Fixed: Pointer sliding (focus) shouldn't happen when dragging in...
Bugzilla: 380


SVN revision: 33684
2008-02-06 00:03:23 +00:00
Carsten Haitzler 4c72ca99bd no need to strdup to "" for name and class and machne - NULL is acceptable.
SVN revision: 33590
2008-01-24 23:59:16 +00:00
Sebastian Dransfeld 44f1e31aa1 Clean up unmaximize.
SVN revision: 33471
2008-01-13 18:53:58 +00:00
Sebastian Dransfeld bcd8b9c322 Fix unmaximize (bug #176)
SVN revision: 33470
2008-01-13 18:27:33 +00:00
Carsten Haitzler b70f5a0ecc e:
1. configure/build changes to allow cross-compiling painlessly
2. pager module namespace changes - this was still dirty afdter the namespace
cleanup, so clean it up
3. add a powersave subsystem - doesnt have an "automatic" way to turn on and
off right now, this i think is best provided by modules (that do things like
monitor acpi status's (eg close lid of laptop), AC power status etc. etc.
this allows e to nicely defer "power" expensive actions to avoid disk
spinups etc.
4. move to use the new ecore poller system  - discussed long ago as part of
power management/saving issues. now it exists
5. add a canvas idle flush call that helsp cope with the new shm greedy
software x11 engine stuff
6. use the new powersave subsystem where appropriate
7. fix non-zeroed/initted memory access in e_fm_main
8. fix mem leak for e menus
9. remove ipc handlers for changed/removed config values
10. use animaotr not timer for menu scrolls - then menu scrolls obey the fps
config
11. fix up timer/poll happienss of cursor idle stuff
12. remove avoid damage from popups for now - causing problems
13. change battery and temp readouts to b e shorter so they fit
14. pager can emit signals on focus change for mini-windows now
15. temperature module now uses a slave process and uses stdin/out to talk to
it and get output - this makes e smoother as in my expereicne i found getting
the temp on my laptop actually took like 200ms so e "hang" for 200ms while
reading the acpi files - so now the subprocess does it and just writesa back
to e when it gets it.

ecore:
1. add ecore_pollers. see the documentation on them in doxygen comments :)
2. fix timers to only go off when they have to - bug there that made e's
select time out a LOT more than it needed to. defensive coding hid the
problem. now fixed. e should be much more power friendly now.
3. formatting/niceness in ecore_exe stuff
4. some comments on comments with SIGIO ideas vs. select
5. add call to be able to add an idle enterer at the start of the list of
them, not just the end (as has been the default)
6. fix ecore_evas to support auto evas idler calls after 0.5 secs of idle in
all canvases - and to do it right
7. if argb destination - set the shape EVENT shape (to mask out events in
transparent regions much like shape does withotu translucency)
8. in ecore_x add support for the event shape

evas:
1. fix cache to work properly and not just always fill up (as it seemed to
like to think cahce useage dropped below 0 when it didnt and thus just
over-fill)
2. software x11 engine now ONLY uses shm segments - no ximages over the
socket. this ximage hack was there to avoid the 2 round trips involved in
setting up an shm image - now i mitigated that wih an shm image cache pool.
it keeps shm images around and repurposes them for new update regions if
appropriate. this means many fewer shm creates (about 1/100th the number) and
since we recycle the memory less 0 memory page filling by the kernel - in the
end, i recorded about a 10-20% speedup over the old software x11 engine.
simple tests i have seen up to 120% speedups. idle flush now does something -
it frees all the cached shm segments. it has a hard-coded limit of 4mb worth
of shm segments (or 32 segments - whichever comes first) to keep around. once
can never complain much about speedups methinks :). also evas will defer sync
until the NEXT frame is written - this means evas can calculate the next
frame of data while x dma's/copies the images to the screen at the same time
(if you hve a dual core or multi-cpu machnike or your xserver is able to use
DMA to copy image data to the screen/video ram then this should see a decent
speedup).


SVN revision: 33448
2008-01-11 07:33:57 +00:00
Eric Schuele 636d2ecf29 Change name for consistency
SVN revision: 33271
2007-12-28 22:58:48 +00:00
Miculcy Brian 73672354b3 Allows to focus a specified window on start using the remember settings.
This is for the users who don't want to give new windows by default the focus.


SVN revision: 33268
2007-12-28 03:18:37 +00:00
Miculcy Brian 38bf25eceb When a window is closed, the focus was given to a window on the wrong desktop. Fixies.
SVN revision: 33267
2007-12-28 02:49:39 +00:00
Eric Schuele beac12a11a Make sure xrandr is present before using it to change the display resolution during a fullcreen operation.
SVN revision: 33262
2007-12-27 06:38:28 +00:00
Miculcy Brian 7bb7bb21dd Allow to disable mouse slide on newly focused windows. This is consistent with sloppy and mouse
focus but some users don't like it much, so here is the option...
Remember: It breaks the focus logic when you for example have sloppy focus mode, pointer over a
window but focus on another window!


SVN revision: 33202
2007-12-22 01:46:22 +00:00
Carsten Haitzler 4a2bc0e79c patches, caching fixes, zone dynamic creation/deletion handling, stuff.
SVN revision: 33127
2007-12-14 05:57:16 +00:00
Sebastian Dransfeld e9e513b86b Fix fullscreen on desktop change (patch by Hannes Janetzek).
SVN revision: 33066
2007-12-09 15:40:14 +00:00
Sebastian Dransfeld 2b60a23b28 formatting
SVN revision: 32948
2007-12-02 20:03:29 +00:00
Sebastian Dransfeld b2bd892200 Fix compile warnings.
SVN revision: 32947
2007-12-02 19:48:09 +00:00
Miculcy Brian 55760113f6 This patch fixes a few sloppy focus problems (mouse was over a window which doesn't have the focus,...). See bug #210.
Great work sECuRE!


SVN revision: 32892
2007-11-26 21:33:23 +00:00
Sebastian Dransfeld fa53aa99e0 Use convenience macro.
SVN revision: 32830
2007-11-22 20:38:35 +00:00
Carsten Haitzler d8b528ac8c send mroe signals.
SVN revision: 32404
2007-11-06 08:46:54 +00:00
Eric Schuele 3470430324 Fix issue with moving from unshaped borders to shaped borders (i.e. Fullscreen -> default).
SVN revision: 32174
2007-10-27 19:30:49 +00:00
Carsten Haitzler ec84855e6a use the shadowed window tree from ecore
SVN revision: 31977
2007-10-05 12:11:55 +00:00
Carsten Haitzler 8b7a332c73 this is ugly - but it reduces trails from dropshadow or desktop redraws on
slow boxes. i had to
1. use bg pixmaps
2. defer window moves until idle enterer that runs AFTER the rendering
3. simple resizes from top-left are handled, but if top-left of frame needs
to mvoe all bets are off and its not deferred anymore.


SVN revision: 31945
2007-10-03 07:13:02 +00:00
Christopher Michael 1f1db34ff6 Remove some efreet printfs.
SVN revision: 31894
2007-09-30 17:44:46 +00:00
Carsten Haitzler a6825b262b move init splash to its own process to make it smoother and able to be up
before the main loop.


SVN revision: 31795
2007-09-24 01:16:47 +00:00
Christopher Michael f211a9b33d Check that border has a "pointer" before trying to delete it. Working on
fixing bug #191.


SVN revision: 31614
2007-09-04 16:28:24 +00:00
Carsten Haitzler 8128302bd5 lok's xdnd work
SVN revision: 31378
2007-08-18 10:37:16 +00:00
Eric Schuele 549fc86562 I suspect this was intended.
SVN revision: 31375
2007-08-18 02:28:40 +00:00
Carsten Haitzler ea0b0dd7d8 winlist -> module!
SVN revision: 31178
2007-08-05 04:41:55 +00:00
Sebastian Dransfeld c0e8135c40 More desktop ref/free.
SVN revision: 30994
2007-07-26 12:38:18 +00:00
Sebastian Dransfeld 105936a464 More desktop ref/free.
SVN revision: 30993
2007-07-26 12:37:52 +00:00
Christopher Michael e0e2492e00 When using "fill available space", take into account if the border is on the
current desk or not. This fixes bug #113.

Fix minor formatting issue in e_border.c


SVN revision: 30915
2007-07-20 08:27:59 +00:00
Carsten Haitzler 2e875d3805 various patches from the devel mailing list in - and fixed where needed.
SVN revision: 30818
2007-07-15 08:28:11 +00:00
Carsten Haitzler 5af386933f add hook to borders to allow layout to b adjusted by modules
add a layout module - good proof of concept


SVN revision: 30517
2007-07-01 15:59:39 +00:00
Carsten Haitzler 34ce52f83c fix another bug - move started while resizienand vice-versa is bad. disallow.
SVN revision: 30296
2007-06-10 04:39:52 +00:00
Carsten Haitzler 1c05002461 fullscreen/maximuze UNmax/full to the current zone if the zone moved while
max/full.


SVN revision: 30294
2007-06-10 04:21:05 +00:00
Carsten Haitzler 1995d88b51 fwin windows have icon right now... :)
SVN revision: 30253
2007-06-05 13:58:05 +00:00
Carsten Haitzler ca9e193c8c load modules later.
SVN revision: 30135
2007-05-29 11:25:54 +00:00
Sebastian Dransfeld dca84398d8 No need to duplicate this function.
SVN revision: 29907
2007-05-07 18:01:43 +00:00
Eric Schuele b0e216db4e Setting max|=E_MAXIMIZE_BOTH after resizing it causes the hints to disagree with the geometry. This was causing max_vert or max_horz windows to come up max_both on a restart of E.
SVN revision: 29760
2007-04-29 03:24:16 +00:00
rephorm 0c0d0a5aff flag the border for updating when removing a .desktop
when a desktop is updated, check borders w/o matches to see if they now have a match. there is no need to update borders that have a match other than event->previous, since the one they have is good enough


SVN revision: 29560
2007-04-17 03:07:16 +00:00
rephorm 7c0d08d1f4 update all borders on efreet desktop update
SVN revision: 29490
2007-04-13 01:47:56 +00:00
Viktor Kojouharov 1157a68929 add an option to automatically re-maximize windows on shelf hide/show, and move away windows that are on top of the shelf away while the shelf is visible.
add more options to fine-tune the autohide in the shelf's config dialog. it needs some UI love though.


SVN revision: 29472
2007-04-11 15:37:04 +00:00
Sebastian Dransfeld 50e31e6ad8 No need to change the icon if we already have a desktop file.
SVN revision: 29423
2007-04-06 12:18:38 +00:00
Sebastian Dransfeld c08535a4c7 Listen for changes in .desktop files.
SVN revision: 29419
2007-04-06 11:09:03 +00:00
Sebastian Dransfeld 0696521bbd Match new efreet event name.
SVN revision: 29394
2007-04-05 20:58:07 +00:00
Sebastian Dransfeld 8e1c36d005 - nice config for thumbnailing. Needs config dialog.
- event for theme change.


SVN revision: 29381
2007-04-05 17:20:09 +00:00
Sebastian Dransfeld e8590e0357 - Add flag to indicate when main loop has ended.
- Don't allow (some) events during shutdown, as events wont be processed.
- Don't remove drop handlers on dnd shutdown, they should be removed by
  their creators.
- init/shutdown fwin
- Delete fwins on shutdown.
- Remove weird ipc wrapper function.
- Don't do additional shutdown functions on restart.


SVN revision: 29366
2007-04-05 06:59:02 +00:00
Sebastian Dransfeld fdabd62867 - Add return value.
- Remove unused function.


SVN revision: 29324
2007-04-03 19:08:27 +00:00
Sebastian Dransfeld 9d3b74c069 This is fixed now with the new efreet event.
SVN revision: 29320
2007-04-03 18:31:04 +00:00
Carsten Haitzler 062d5f9ee5 use efreets new event for desk list change
SVN revision: 29271
2007-03-31 01:59:42 +00:00
Sebastian Dransfeld 9bca1bc88e More efreet stuff. We need a .desktop file monitor.
SVN revision: 29133
2007-03-25 17:29:51 +00:00
Sebastian Dransfeld 47ad22217e Convert borders to efreet.
SVN revision: 29131
2007-03-25 17:23:49 +00:00
Sebastian Dransfeld 6e94e17dc8 Done
SVN revision: 29119
2007-03-25 13:49:29 +00:00
Sebastian Dransfeld d98b09b6ff internal_icons should always point to an icon, not to an e_app
SVN revision: 29012
2007-03-24 15:18:00 +00:00
Carsten Haitzler b2a0abb8eb a lot of patches - also my work on moving the IO stuff in e_fm to a slave
process to stop e from ever "locking up". this unfortunately breaks the other
source stuff and thus breaks the app editor config dialogs and anything using
fm2 for .desktop stuff from the e applications/all repo. i am doing this as i
expect this to go away with efreet anyway so not too much of an issue. not
all fm operatiosn work currently - note. so beware. it can view files though :)


SVN revision: 28528
2007-03-02 17:00:20 +00:00
Christopher Michael a1a0a7aaa5 Ravenlock's pin-cleanup and pin-action patches to address concerns about a
new border property versus reusing what exists. This now eliminates using a
new border property in favor of re-using the 3 properties that exist and
also adds a key/mouse binding.

Some formatting issues I found in e_border and e_action while
looking/testing this.


SVN revision: 28496
2007-02-27 16:16:03 +00:00
Sebastian Dransfeld 0e2eb2ec51 Add some else's so that only one placement rule is executed.
SVN revision: 28349
2007-02-14 02:43:34 +00:00
Sebastian Dransfeld cf0cf7ee2f Center dialogs without parent.
SVN revision: 28337
2007-02-13 02:34:09 +00:00
Sebastian Dransfeld 5ecd954206 No need for cast.
SVN revision: 27922
2007-01-12 13:14:54 +00:00
Carsten Haitzler 30c446194e fix segv in border - file prop work
SVN revision: 27894
2007-01-10 16:32:29 +00:00
Christopher Michael 4d11c880f3 Just some formatting cleanup, no functional changes.
SVN revision: 27864
2007-01-08 04:56:19 +00:00
Christopher Michael bd59455ec0 Add config option and implement "switch to desktop of new window (optional
too)" TODO item.


SVN revision: 27856
2007-01-07 23:45:35 +00:00
Sebastian Dransfeld c299f6aa14 Add a convert callback so that a drag can have several types.
Make it possible to drag pager windows to the ibar.


SVN revision: 27751
2007-01-03 06:14:04 +00:00
Sebastian Dransfeld 67352ce2f0 Don't need this info.
SVN revision: 27643
2006-12-29 15:53:49 +00:00
Sebastian Dransfeld 941564999b Fix border icon drag.
e_app_* functions should have E_App arg first.


SVN revision: 27593
2006-12-28 13:43:30 +00:00