Commit Graph

31 Commits

Author SHA1 Message Date
Ji-Youn Park bc6eb250a0 elm_win: remove elm_win_conformant_set/get from eo
conformant set api give information to enlighten ment, this window
need to know the change of conformant size.
but in the future, window have to section background and forground.
if user set layout as content of background part, the layout size is
not changed by clipborad or keybord.

if user set layout as content of forground part of window, the layout size
is changed by clipboard or keyboard state.
and the window notify to the enlightenment it has interest soft input's state
automatically, without users api call
2016-05-26 16:48:02 +08:30
Ji-Youn Park e3de1ab9f7 elm_win: remove elm_win_keyboard_win_set/get from eo.
this api is not used by wayland side.
and this kind of API can be implemented name set or class set api.
2016-05-26 15:43:49 +08:30
Ji-Youn Park 0c6b0efaee elm_win: add elm_win_indcator_type and elm_win_indicator_enabled into window's eo.
elm_window will be changed to control layout related with conformant.
remove opacity and overlap mode and add type set.
2016-05-23 19:44:54 +08:30
Mike Blumenkrantz ba06327527 elm_win: define EFL_TEAMWORK_VERSION in all cases 2016-05-20 16:10:28 -04:00
Mike Blumenkrantz 7510e42c1b elm_win: implement v2 of teamwork api using window-based display protocol
this adds support for wayland and makes teamwork integration trivial for any
application

@feature
2016-05-20 14:54:06 -04:00
Ji-Youn Park 3046b8ac4c elm_win: add elm_win_indcator_overlap mode into window's eo.
elm_window will be changed to control layout related with conformant.
one of features is overlap between indicator and layout.
2016-05-19 17:19:40 +08:30
Ji-Youn Park 0c2ad7ff10 elm_win: move quickpanel feature from eo to legacy
all quickpanel APIs were only supported in X.
quickpanel property can be managed by name property.
zone set canbe managed by aux_hint
minor, and major set are not used anymore
2016-05-16 15:36:58 +08:30
Chris Michael 08c9c70c27 elementary: Cleanup compiler warnings when not using X11
This patch cleans up various unused variables and unused function
parameters when not building for X11.

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-05-15 09:53:16 -04:00
Thiep Ha 3e2e5b6111 elm win: change to use legacy api for cocoa engine
Some APIs are move from eo to legacy as in ab3058d3,
but not all api calls are changed. This causes build break
in mac with cocoa backend.
This patch fixes it.

@fix
2016-05-11 11:20:33 +09:00
Tom Hacohen 0ca59b0402 Efl gfx: Remove the no longer needed .Base hack. 2016-05-10 12:25:44 +01:00
Ji-Youn Park 1ee72bbf04 elm_win: move elm_win_raise into eo again.
elm_win_raise is used not only x but also wayland.
so I modify doc and move again this api to eo.
2016-05-04 15:49:32 +08:30
Ji-Youn Park ab3058d342 elm_win: move API related with backed engine to legacy
There are several elm_win apis releated with backed engine.
we need to move these kind of api form eo to legacy.
2016-05-03 18:44:03 +08:30
Jean-Philippe Andre ff8ee01432 Efl: Rename some packing functions and return bool
This renames some APIs from Efl.Pack in order to try and
make them more sensible. Feedback welcome.

Also, most APIs now return bool, where false is quite unlikely
to happen.
2016-04-26 16:48:55 +09:00
Jean-Philippe Andre f7f1862489 Elm.Win: Implement container & pack APIs
This replaces resize_object APIs.
2016-04-26 14:09:36 +09:00
WooHyun Jung 1c6f3fd966 elm_focus: keep all focused states to be consistent when win loses and gets focus
Since focus_clear removed all the focused traces, focus was not reverted well
whenever win lost and got focus repeatedly.
For instance,
1. set focus to button1
2. set focus to button2
3. win focus out and in
4. remove button2
5. focus is on win not on button1

So, focus logic changes to not clear focused states when win loses focus.

@fix
2016-04-16 13:47:13 +09:00
WooHyun Jung f24dce9bc9 elm_win: remove duplicated focused/unfocused event call
These are already called in elm_widget's on_focus.

@fix
2016-04-16 10:37:34 +09:00
Mike Blumenkrantz b6f87499e1 elm_win: force opaque update on maximize state change
enforce csd recalc to ensure accurate maximize sizing

@fix
2016-04-08 15:50:44 -04:00
Jean-Philippe Andre a6d7efcf73 elm_win: Fix warning (unused variable) 2016-04-08 14:19:58 +09:00
Mike Blumenkrantz 0712218537 wayland: hook engine data from elm_win and update rect with evas size
the only way to accurately calculate the "evas" size in the engine from
window geometry is to have the size of the frame available to subtract from
window geometry

window geometry is NOT framespace--framespace is the entire csd region, possibly
containing a shadow, and window geometry is explicitly the region occupied by the
window, ie. not the shadowed part.

not my ideal solution to the synchronization issue here, but I guess this is a
benefit of the unified tree

fix T3396
2016-04-07 14:19:25 -04:00
Mike Blumenkrantz 6a1c466136 elm_win: handle icon object lifetimes more accurately, use icon_name in csd icon
in the case where an icon existed upon having an icon object set, the previous icon
object would be orphaned while still being visible. the new icon would then never
be set into the csd.

@fix
2016-04-07 14:19:25 -04:00
Mike Blumenkrantz 53f0b89671 elm_win: move frame obj creation/deletion for fullscreen property to state change cb
this was broken if the compositor unset fullscreen without being prompted by
the client (eg. ctrl+alt+f). it also created timing differences for csd calcs based
on when the fullscreen call occurred in the render cycle

@fix
2016-04-07 14:19:25 -04:00
Mike Blumenkrantz 01156d3469 elm_win: update wayland opaque region during pre-flush...always
@fix
2016-04-05 15:11:31 -04:00
WooHyun Jung fe7ba5af00 elm_win: newest is always unfocused when window just gets focus 2016-04-05 11:23:04 +09:00
Mike Blumenkrantz 3121ea07c2 elm_win: conditionally emit focus and maximize signals in frame creation
@fix
2016-04-04 18:00:26 -04:00
Mike Blumenkrantz e376db9189 elm_win: update opaque region while fullscreened
@fix
2016-04-04 18:00:24 -04:00
Mike Blumenkrantz c84a4e5a5f elm_win: unset opaque region when alpha is set
@fix
2016-04-04 16:30:53 -04:00
Carsten Haitzler d1f4f6c8af elm win - null out freed data on smart del
this fixes double-frees of strings in oddball cases where a deleted
window that is not done deleting is accessed.

@fix
2016-04-02 16:02:07 +09:00
Carsten Haitzler 1c2a5cec93 elm: fix window resize self-trigger
so there was/is a case where when an elm window is resized from
outside, it will happen to use the last known size (maybe old) and end
up requesting a resize to that size again itself. it basically
triggers its own resize request as a result of resize events. this
fixes that and stops the loop

@fix
2016-03-25 15:11:38 +09:00
Mike Blumenkrantz 25f0de1147 elm_win: monitor wl CONFIGURE events and unset resizing flag accordingly
resolves inability to resize again after resizing

@fix
2016-03-24 15:39:08 -04:00
Mike Blumenkrantz 2749775c74 elm_win: force resize during show if job is pending
this resolves the issue of all elm windows being created at 1x1 and
immediately resizing to another size after being shown, causing all
kinds of failures in various environments

@fix
2016-03-24 15:39:08 -04:00
Cedric BAIL c2a1c49ab2 elementary: move all legacy files to their expected new location. 2016-03-23 13:24:41 -07:00