platform/upstream/libwlmessage.git
9 years agoAdd configurable support for wl_shell and xdg-shell accepted/tizen/common/20140828.144215 submit/tizen_common/20140828.143012 submit/tizen_ivi/20140902.000000 submit/tizen_ivi/20140904.000000
Manuel Bachmann [Wed, 27 Aug 2014 10:15:08 +0000 (12:15 +0200)]
Add configurable support for wl_shell and xdg-shell

If libwlmessage is built with the "--enable-xdg-shell"
configure flag AND the "WLMESSAGE_USE_XDG_SHELL"
environment variable is defined, then xdg-shell will be
used. Otherwise, fall back to wl_shell.

Change-Id: I65bd32315e0cadd1ebcf50464ffb1ea7eb3e053c
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
9 years agoLittle syntax and style fixes to the Tizen packaging.
Manuel Bachmann [Tue, 19 Aug 2014 06:04:07 +0000 (08:04 +0200)]
Little syntax and style fixes to the Tizen packaging.

Change-Id: I932a58d5cad59acbf4897811dfeef60adfec8c55
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
9 years agoActivate the window when it gets focused
Manuel Bachmann [Tue, 19 Aug 2014 05:52:21 +0000 (07:52 +0200)]
Activate the window when it gets focused

Use the keyboard focus handler to trigger a redraw, and set the "active" window border each time the window gets focused (and not only when the pointer activates a widget).

Change-Id: I1ebf81d07e109fc19d20c53f14ae605d77860f0b
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
9 years agofix: prevent crash
Philippe Coval [Mon, 11 Aug 2014 12:56:21 +0000 (14:56 +0200)]
fix: prevent crash

when started as:
wlmessage  -titlebuttons Min

Change-Id: I75c9d9cf0953205a5b61f8aae7baa77341f0c5a6
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
Author:    Philippe Coval <philippe.coval@open.eurogiciel.org>

9 years agocleanup: rm generated file
Philippe Coval [Mon, 11 Aug 2014 12:50:23 +0000 (14:50 +0200)]
cleanup: rm generated file

Change-Id: I90a8c84c79f8f2be77b5e3fb35544aba7d232527
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
Author:    Philippe Coval <philippe.coval@open.eurogiciel.org>

10 years agoWorkaround: do not iterate through input devices when destroying
Manuel Bachmann [Wed, 2 Jul 2014 10:06:58 +0000 (12:06 +0200)]
Workaround: do not iterate through input devices when destroying

TEMPORARY FIX ! In some cases, when destroying a widget or a window,
toytoolkit tries to get the input device which is "focused" to this
widget or window ; but it may try if the input device list is
empty or incorrectly filled. *TODO* proper check

Change-Id: Ibf100bde3842b5e8dd8e10cbaeb81f0a12545374
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
10 years agoClarify API for error handling with the show() function
Manuel Bachmann [Thu, 5 Jun 2014 10:17:00 +0000 (12:17 +0200)]
Clarify API for error handling with the show() function

Make the API clearer in terms of returning errors from the show()
function.
Fix minor typo.

Change-Id: I035a553337baf7cd486a09672b54269bf3daf72b
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
10 years agoDo not core dump when destroying a non-fucntional "wlmessage"
Manuel Bachmann [Thu, 5 Jun 2014 07:53:57 +0000 (09:53 +0200)]
Do not core dump when destroying a non-fucntional "wlmessage"

If libwlmessage cannot run because a Wayland compositor has not been
found, and so the message window has not been completely initialized,
destroy it safely.

Change-Id: Iecf9ee0ba3c860ea9961b0b80cf2c3ceb007f5bf
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
10 years agoFix the Tizen packaging, third try, add a .pc file.
Manuel Bachmann [Sat, 31 May 2014 19:45:40 +0000 (21:45 +0200)]
Fix the Tizen packaging, third try, add a .pc file.

Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
10 years agoFix the Tizen packaging, second try.
Manuel Bachmann [Sat, 31 May 2014 17:42:19 +0000 (19:42 +0200)]
Fix the Tizen packaging, second try.

Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
10 years agoFix the Tizen packaging.
Manuel Bachmann [Sat, 31 May 2014 17:35:26 +0000 (19:35 +0200)]
Fix the Tizen packaging.
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
10 years agoReturn selected button and entered text, as intended.
Manuel Bachmann [Sat, 31 May 2014 16:01:29 +0000 (18:01 +0200)]
Return selected button and entered text, as intended.
Remove dead code.
Suppress annoying warning message.

Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
10 years agoActivate the virtual keyboard.
Manuel Bachmann [Fri, 30 May 2014 21:58:13 +0000 (23:58 +0200)]
Activate the virtual keyboard.

Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
10 years agoInitial commit.
Manuel Bachmann [Fri, 30 May 2014 17:29:09 +0000 (19:29 +0200)]
Initial commit.

Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>