Commit Graph

928 Commits

Author SHA1 Message Date
Carsten Haitzler 5d77ddb05a fill in logic hold with fulscreen borders + allow windows above
fullscreen windows.



SVN revision: 71696
2012-06-05 04:53:15 +00:00
Carsten Haitzler df6ccc8374 formatting.
SVN revision: 71575
2012-05-31 08:32:13 +00:00
Carsten Haitzler ef227bba1d fix soem formatting.
SVN revision: 71398
2012-05-24 07:07:04 +00:00
Carsten Haitzler d4ad6b0060 don't forget to process messages/signals before border frame calc.
SVN revision: 71163
2012-05-16 11:48:38 +00:00
Cedric BAIL 89ddff064e e: remove some warning.
Let's start by cleaning up this warning party !


SVN revision: 70694
2012-05-03 11:02:35 +00:00
Carsten Haitzler 4b9f45a538 printf--
SVN revision: 70371
2012-04-21 01:14:32 +00:00
Carsten Haitzler 183472fb39 fix placement code to respect desktop given not current visible stuff,
and add latent disabled feature to keep everythng on same screen/desk
off for now until config added.



SVN revision: 70370
2012-04-21 01:13:34 +00:00
Carsten Haitzler 10ea31e5f6 and only make it match first time for that instance.
SVN revision: 70369
2012-04-21 00:31:29 +00:00
Carsten Haitzler 81bb978614 after years, finally fix an annoyance... application windows, IF e can
match them back to something IT started (ibar, menus, evrything
etc.)... it will keep those windows ON the zone/desktop u started them
on... hoobloodyray!



SVN revision: 70368
2012-04-21 00:26:31 +00:00
Carsten Haitzler 6c2e868b3a 1. abstract "sub borders" into a function to return a list of them so
when operating on them we can determine the logic of inclusion of
sub-borders in 1 place.
2. fix transients when they are FOR a fullscreen window - if
fullscreen window loses focus, dont minimize it as transients are on
top and should stay there along with fullscreen window.
3. formatting. :)



SVN revision: 70165
2012-04-13 06:41:52 +00:00
Carsten Haitzler 027bb73b5d fix case for fullscreen window focus handling
SVN revision: 69905
2012-04-03 14:47:44 +00:00
Carsten Haitzler 2790f80ab6 fix alt+tab + fullscreen windows (and some formtting)
SVN revision: 69871
2012-04-02 20:30:36 +00:00
Carsten Haitzler b1d31afdb8 while hunting down what appears to be a memleak in e17.. my profiling
turned up that we keep lots of icons in mem that we don't use. frankly
we could do this better as we still may keep multiple copies (inside
an evas object as well as in the border netwm icons data etc.), but
this is better than keeping 3, 4 or 10 icons of various sizes where we
only use 1.



SVN revision: 69521
2012-03-20 08:07:05 +00:00
Carsten Haitzler 74784b5ac2 make fullscreen windows on layer 300 (well above everythign and
anything) as it should be.



SVN revision: 67850
2012-02-11 12:14:10 +00:00
Carsten Haitzler f674bd8a0b fix border events/grabs for move/resize and such.
SVN revision: 66703
2011-12-30 17:17:09 +00:00
Hannes Janetzek 3d1d1a89a9 e17: remove debug printf
SVN revision: 66571
2011-12-27 13:23:07 +00:00
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