Commit Graph

247 Commits

Author SHA1 Message Date
Mike Blumenkrantz 3a7a769edc improve BD_CHANGED macro to abort in debug mode 2013-06-25 09:00:27 +01:00
Yossi Kantor 3a68bf115b Tasks module - not updating task item on every border propery change anymore 2013-06-10 13:35:58 +01:00
Mike Blumenkrantz be9ee35f1b add e_border inline functions for getting client_inset w/h 2013-05-30 13:56:02 +01:00
Mike Blumenkrantz fce97f9d46 add new border hack for qemu sdl window shading 2013-05-30 11:23:48 +01:00
Mike Blumenkrantz d95369726b start a new "hacks" section for border clients to reduce repeated match attempts against broken clients 2013-05-30 11:05:58 +01:00
Mike Blumenkrantz c8d615f155 comp shape updates:
* move all shape rectangle stuff into e_container_shape

* use input rects for cutting comp shape when available

* set shape changed and render queue when container shape change callbacks are called

* create fewer comp wins (small memory improvement)
2013-05-21 11:21:05 +01:00
discomfitor d8dc6df8c4 add E_Exec_Instance to E_Border and vice versa 2013-05-18 19:39:51 +01:00
Mike Blumenkrantz f5a573abf4 typedef E_Event_Border_Simple 2013-05-10 10:39:36 +01:00
Chris Michael cdc1ce9452 Add API function for setting a border input object
Needed for wayland client support.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:55:00 +01:00
Chris Michael 9842c268c3 Add an input object to e_border structure.
Only setup input object callbacks once.
Use input object for mouse_in/out detection.

NB: This is needed for wayland clients to properly function with
regard to E's border pointer focus.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:54:59 +01:00
Mike Blumenkrantz 718dfef61d giant comp rejiggering commit #6:
* border->fx REMOVED, related border api REMOVED

* comp edc has new class of groups: e/comp/effects[/auto]
** these are effects which can be applied to any compositor object through the e_comp_win_effect* api and are written in embryo
*** two types - base and auto - base = manual, for use with animators; auto are "trigger and forget", for use as actual effects

* desk flip transition animations moved to comp effects and FIXED(ish)

* "zoom" effect renamed to "diagonal" for slightly less misleading name since it never did any zooming

* actual "zoom" effect added

* border hierarchy now as follows: cw->effect_obj swallows cw->shobj, cw->shobj swallows cw->bd->bg_object ?: cw->obj, if (cw->bd->bg_object) cw->bd->bg_object swallows cw->obj
** cw->effect_obj now used for all positioning and comp logic
** cw->effect_obj ONLY used for object transformation effects (moving, zooming, fading, etc)
** cw->shobj ONLY for comp visual/non-movement effects (focus effect, unfocus opacity, legacy shadows); this is a candidate for removal/rewrite in E19

* even more comp shape rewrites

* desk flip animation time now controlled by theme since edje doesn't support setting transition time in C; related config value removed

* desk flip transitions (in e_desk.c) rewritten

* various modules (evry/illume2) updated to use comp effects instead of fx offset

* desk flip configuration BROKEN(ish)
2013-04-15 08:39:16 +01:00
Mike Blumenkrantz 505cec1d91 giant comp rejiggering commit #5:
* border frame/object now drawn directly on compositor canvas

* border shadows now in border theme with edje hint, non-updated themes still receive comp object shadows FOR NOW

* e_border MOVE/RESIZE pointer mode defines are now e_pointer.h enums

* added BD_CHANGED() util macro for setting bd->changed and printing a debug line to assist in finding places where this all-important flag is wrongly set

* bd->bg_win removed entirely

* bd->pointer objects moved to compositor object; now only one pointer object exists for each compositor

* resizing windows now shows a new and totally-intended scaling effect for window contents

* some additional retooling of border deletion/free callbacks

* fixed lurking potential bug where window could recieve focus from autoraise timer after border had been deleted

* more comp shape improvements/rewrites

* desk transitions are now BROKEN(ish)

* various modules updated to not be totally broken with these changes
2013-04-15 08:39:16 +01:00
Mike Blumenkrantz 12ffdeb622 e's compositor now obeys _NET_WM_WINDOW_OPACITY as a normal atom in e_border
additionally:

* actions are now available for setting/changing window opacity

* window remembers can now remember window opacity

SVN revision: 84303
2013-02-22 09:33:13 +00:00
Mike Blumenkrantz aa6a2d173d giant comp rejiggering commit because anything smaller would have broken something:
* remove xwin for container canvas: now drawn directly on the compositor canvas

* added SHAPE_DEBUG define for bored developers

* bindings now use new e struct for mouse/wheel events

* container+zone now get mouse events from smart callbacks instead of x events

* rename comp api namespace

* change comp underlay theme to have a swallow for the wallpaper

* add names to all zone/container/comp objects to make debugging much easier

* some minor related updates to go along with this

SVN revision: 83752
2013-02-07 13:20:07 +00:00
Mike Blumenkrantz 25e3f657e3 cosmetically change some types in e_border
SVN revision: 83713
2013-02-07 08:02:52 +00:00
Mike Blumenkrantz 6773c911b6 unify all pointer warping code to rely on e_border_pointer_warp_to_center functions
SVN revision: 83636
2013-02-05 15:15:04 +00:00
Mike Blumenkrantz f66c6c6f2c unbreak compile with 1.7 branch
SVN revision: 80226
2012-12-05 09:59:02 +00:00
Gwanglim Lee 499b88748b From: Gwanglim Lee <gl77.lee@samsung.com>
Subject: Re: Re: Re: [E-devel] [RFC] Virtual desktop window profile

I've attached 4th patch. May the 4th be with you.

ecore patch has been merged with efl and all files are based on r80123.

Thanks & Regards,
Gwanglim

------- Original Message -------
Sender : Daniel Juyung Seo<seojuyung2@gmail.com>
Date : 2012-12-04 01:55 (GMT+09:00)
Title : Re: Re: [E-devel] [RFC] Virtual desktop window profile

It looks ok to me.
Sorry but can you re-generate the patch according to the recent ecore
merge to efl single tree?

Daniel Juyung Seo (SeoZ)


On Thu, Nov 29, 2012 at 12:29 AM, Gwanglim Lee <gl77.lee@samsung.com>
wrote:

Dear Raster and Daniel Juyung Seo,

I've attached 3rd patches and test_config according to your reviews.
These are based on r79782.

[elementary & ecore]
1. "profile,set" -> "profile,changed" - done
2. spaces after EINA_LIST_FOREACH - done
3. variable type - keep
4. author - done
5. removing deprecated marking in patch - done
6. add elm_win_available_profiles_get to test_config for the debugging
purpose - done

7. check whether a given profile is present in an available profiles.
otherwise window profile will be one of the item
    in available profiles. - newly added thing to the elm_win
        8. merge with EO - done. :(
        
        
            Any comments would be appreciated.
            


SVN revision: 80216
2012-12-05 06:51:16 +00:00
Mike Blumenkrantz 86a42a2e73 add functions for locking border focus
SVN revision: 80172
2012-12-04 14:57:35 +00:00
Sebastian Dransfeld 6004ba2eaa e: prevent events on modal parent
This fixes trapping of events on modal parents. We can't change event
mask, as that changes the event _we_ receive, not the client. We must
add and input window above the parent which traps the events.

SVN revision: 79367
2012-11-16 09:02:24 +00:00
Mike Blumenkrantz 64fc140c78 patch from Deon Thomas to fix lost window warp behavior
ticket #1680


SVN revision: 78693
2012-10-31 08:44:50 +00:00
Mike Blumenkrantz 3fc68c6c43 fix old FIXME regarding handling of NET_ACTIVE_WINDOW hint: new window focus option allows ignoring, animating, activating (current behavior is activating) on hint
right now this uses the "urgent" signal for the animate state, may want to change it to something else if separate theming is desired
ticket #1642


SVN revision: 78647
2012-10-30 11:57:35 +00:00
Cedric BAIL 76dc9409d5 e: prevent infinite call loop. If someone has a better fix than me, you are welcome.
SVN revision: 77975
2012-10-15 06:25:26 +00:00
Mike Blumenkrantz bdd879e7fc add new flag for preventing a window from being opened on restart by its remember, apply this to both the desktop editor and shelf config dialogs
SVN revision: 77407
2012-10-04 08:11:51 +00:00
Sebastian Dransfeld 6b479fae34 e: No need for was_fullscreen anymore
Fixed the issue with unfullscreen on desk change, and fullscreen on
focus is confusing.

SVN revision: 77349
2012-10-03 08:03:39 +00:00
Sebastian Dransfeld 436323bf59 e: cleanup layer handling
It seems people put random numbers as layers, so it is better to define
available layer numbers.

This patch also puts popups below fullscreen windows, as it sucks to get
popups during presentations. A better solution is maybe to put popups
above fullscreen, but have a presentation mode to put fullscreen windows
above popups?

SVN revision: 77293
2012-10-02 08:54:35 +00:00
Sebastian Dransfeld f2b9c969af e: Fix fullscreen and focus
iconifying fullscreen windows during focus change seems to be a bad
idea, as it triggers new focus events.

- Make window fullscreen
- Alt+Tab to new window
- Alt+Tab back
-> Window is still iconified
Can only get fullscreen window back by doing uniconify

Also switching desktops will result in a iconified window which the user
must hunt down (ticket #1550).

This should fix those issues.

SVN revision: 77259
2012-10-01 10:15:09 +00:00
Carsten Haitzler 07afc25add add send of sigchld to apps e things are efl apps to wake them up if
they are sleep()ing :)



SVN revision: 76877
2012-09-19 23:50:27 +00:00
Doyoun Kang f9b872ab6a From: Doyoun Kang <doyoun.kang@samsung.com>
Subject: [E-devel] [Patch][e] add code to handle the floating mode

I added code to handles the floating mode in e. 
I added the structure for floating mode in E_Border structure. If an
application sets the floating mode using elm_win_floating_mode_set(),
e gets this event - ECORE_X_EVENT_WINDOW_PROPERTY (atom:
ECORE_X_ATOM_E_ILLUME_WINDOW_STATE) - and sets floating mode
information to added structure in E_Border.



SVN revision: 76806
2012-09-18 11:41:55 +00:00
Carsten Haitzler 7a59e58273 add support for X-Enlightenment-Single-Instance :)
SVN revision: 76756
2012-09-17 11:51:04 +00:00
Eduardo de Barros Lima adac052c0a Actually fix unmaximize left/right
Revert previous commit and set correct values for E_MAXIMIZE_LEFT and
E_MAXIMIZE_RIGHT to save x and w values.


SVN revision: 76201
2012-09-05 15:15:13 +00:00
Eduardo de Barros Lima c112a36760 Fix unmaximize left/right
We need to save original x and width values in both cases.



SVN revision: 76200
2012-09-05 14:59:43 +00:00
Mike Blumenkrantz f1e4a5909f add two new maximize modes: left and right
these will maximize a window to either the left or the right half of the screen, respectively
work started by etrunko in ticket #1422


SVN revision: 76198
2012-09-05 13:46:15 +00:00
Mike Blumenkrantz 0dab993c45 add "hidden" flag for borders which is set only when border_hide(3) is called; this prevents borders from being automatically shown on desk change when previously hidden
SVN revision: 75757
2012-08-28 07:41:11 +00:00
Mike Blumenkrantz 97faa73719 modal windows now properly block events on their parent windows
SVN revision: 75073
2012-08-10 08:59:05 +00:00
Mike Blumenkrantz 968fda6d06 formatting
SVN revision: 75070
2012-08-10 07:55:59 +00:00
Mike Blumenkrantz 2408d29b01 save fullscreen policy for borders when a window fullscreens
SVN revision: 74046
2012-07-18 07:20:25 +00:00
Mike Blumenkrantz 09e526e2ba add an intercept function for e_border to allow adjustments for movement of borders
SVN revision: 73363
2012-07-05 14:53:28 +00:00
Carsten Haitzler b2fec5b8dc try and address some focus issues...
SVN revision: 72751
2012-06-24 04:18:01 +00:00
Vincent Torri c3b0637802 e17: whitespaces--
SVN revision: 72561
2012-06-21 06:19:43 +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
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 69076c2a32 e17: use stringshare for icccm/netwm properties
SVN revision: 62935
2011-08-29 08:24:55 +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
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
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
Eric Schuele 9e972367dd Keeping types consistent.
SVN revision: 56751
2011-02-06 16:25:52 +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