projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2cf8504
)
Elm (wayland): Set frame clip. Fix maximize/unmaximize in wayland.
author
Christopher Michael
<cpmichael1@comcast.net>
Tue, 28 Feb 2012 22:52:34 +0000
(22:52 +0000)
committer
Christopher Michael
<cpmichael1@comcast.net>
Tue, 28 Feb 2012 22:52:34 +0000
(22:52 +0000)
SVN revision: 68524
src/lib/elm_win.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_win.c
b/src/lib/elm_win.c
index
dd8bc54
..
742822f
100644
(file)
--- a/
src/lib/elm_win.c
+++ b/
src/lib/elm_win.c
@@
-1533,8
+1533,9
@@
_elm_win_frame_cb_maximize(void *data, Evas_Object *obj __UNUSED__, const char *
Elm_Win *win;
if (!(win = data)) return;
- win->maximized = EINA_TRUE;
- ecore_evas_maximized_set(win->ee, EINA_TRUE);
+ if (win->maximized) win->maximized = EINA_FALSE;
+ else win->maximized = EINA_TRUE;
+ ecore_evas_maximized_set(win->ee, win->maximized);
}
static void
@@
-1887,7
+1888,7
@@
elm_win_add(Evas_Object *parent, const char *name, Elm_Win_Type type)
if (win->frame_obj)
{
-
//
evas_object_clip_set(win->win_obj, win->frame_obj);
+ evas_object_clip_set(win->win_obj, win->frame_obj);
evas_object_stack_below(win->frame_obj, win->win_obj);
}