diff options
author | Manuel Bachmann <manuel.bachmann@open.eurogiciel.org> | 2014-03-07 17:49:07 +0100 |
---|---|---|
committer | Ossama Othman <ossama.othman@intel.com> | 2014-03-07 14:24:49 -0800 |
commit | d74310237df6e88f6978f5b57b3924e8b4514f37 (patch) | |
tree | 16b96a11ea16de8222c7fc3adaf603b716c0eff7 | |
parent | c4be9bb5d281a7dad9fc409cde43cab349a369b0 (diff) | |
download | weston-tizen_ivi_release.tar.gz weston-tizen_ivi_release.tar.bz2 weston-tizen_ivi_release.zip |
shell: position input panel layer above fullscreen layersubmit/tizen_ivi_release/20140315.035345submit/tizen_generic/20140410.064730submit/tizen/20140325.142705submit/tizen/20140307.222812accepted/tizen/mobile/20140310.030424accepted/tizen/ivi/release/20140315.035954accepted/tizen/ivi/panda/20140326.234436accepted/tizen/ivi/20140325.183517accepted/tizen/ivi/20140308.072200accepted/tizen/generic/20140410.065515accepted/tizen/generic/20140325.142838accepted/tizen/generic/20140310.074040tizen_ivi_releaseaccepted/tizen_ivi_releaseaccepted/tizen_ivi_pandaaccepted/tizen_generic
When a client calls the input panel (weston-keyboard e.g.)
and then goes fullscreen, the panel will not be hidden
anymore.
Bug-Tizen: TIVI-2228
Origin: http://lists.freedesktop.org/archives/wayland-devel/2014-March/013523.html
Change-Id: Ia8bb924a824e1356c28b4bcaf34a7697be6e59c2
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
-rw-r--r-- | desktop-shell/input-panel.c | 2 | ||||
-rw-r--r-- | desktop-shell/shell.c | 17 | ||||
-rw-r--r-- | packaging/weston.changes | 4 |
3 files changed, 14 insertions, 9 deletions
diff --git a/desktop-shell/input-panel.c b/desktop-shell/input-panel.c index c08a403f..12fe686f 100644 --- a/desktop-shell/input-panel.c +++ b/desktop-shell/input-panel.c @@ -63,7 +63,7 @@ show_input_panels(struct wl_listener *listener, void *data) shell->showing_input_panels = true; if (!shell->locked) - wl_list_insert(&shell->panel_layer.link, + wl_list_insert(&shell->compositor->cursor_layer.link, &shell->input_panel_layer.link); wl_list_for_each_safe(ipsurf, next, diff --git a/desktop-shell/shell.c b/desktop-shell/shell.c index 962dde02..8cd4401c 100644 --- a/desktop-shell/shell.c +++ b/desktop-shell/shell.c @@ -84,9 +84,9 @@ struct ping_timer { * in the following order (top-most first): * • Lock layer (only ever displayed on its own) * • Cursor layer + * • Input panel layer * • Fullscreen layer * • Panel layer - * • Input panel layer * • Workspace layers * • Background layer * @@ -3800,18 +3800,19 @@ resume_desktop(struct desktop_shell *shell) terminate_screensaver(shell); wl_list_remove(&shell->lock_layer.link); - wl_list_insert(&shell->compositor->cursor_layer.link, - &shell->fullscreen_layer.link); - wl_list_insert(&shell->fullscreen_layer.link, - &shell->panel_layer.link); if (shell->showing_input_panels) { - wl_list_insert(&shell->panel_layer.link, + wl_list_insert(&shell->compositor->cursor_layer.link, &shell->input_panel_layer.link); wl_list_insert(&shell->input_panel_layer.link, - &ws->layer.link); + &shell->fullscreen_layer.link); } else { - wl_list_insert(&shell->panel_layer.link, &ws->layer.link); + wl_list_insert(&shell->compositor->cursor_layer.link, + &shell->fullscreen_layer.link); } + wl_list_insert(&shell->fullscreen_layer.link, + &shell->panel_layer.link); + wl_list_insert(&shell->panel_layer.link, + &ws->layer.link), restore_focus_state(shell, get_current_workspace(shell)); diff --git a/packaging/weston.changes b/packaging/weston.changes index 6a35d430..df6408d0 100644 --- a/packaging/weston.changes +++ b/packaging/weston.changes @@ -1,3 +1,7 @@ +* Fri Mar 07 2014 Ossama Othman <ossama.othman@intel.com> accepted/tizen/mobile/20140306.215156@0a8cc4e +- shell: position input panel layer above fullscreen layer +- packaging: add weston-editor & weston-subsurfaces clients. + * Wed Mar 05 2014 Ossama Othman <ossama.othman@intel.com> accepted/tizen/mobile/20140227.071827@0aaa2e4 - toytoolkit: totally switch to xdg-shell protocol - compositor: use Mod-Tab to show/raise minimized surfaces |