Enlightenment CVS committal
Author : sebastid
Project : e17
Module : apps/e
Dir : e17/apps/e/src/bin
Modified Files:
e_border.c
Log Message:
Always set maximize hints when maximizing.
Focus in/out changes seems to mess things up. Better wait until other
bugs are fixed until "fixing" the moveresize problem.
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_border.c,v
retrieving revision 1.305
retrieving revision 1.306
diff -u -3 -r1.305 -r1.306
--- e_border.c 1 Jul 2005 11:05:47 -0000 1.305
+++ e_border.c 1 Jul 2005 11:23:10 -0000 1.306
@@ -1205,10 +1205,9 @@
}
if (bd->maximized > E_MAXIMIZE_FULLSCREEN)
- {
- edje_object_signal_emit(bd->bg_object, "maximize", "");
- e_hints_window_maximized_set(bd, 1);
- }
+ edje_object_signal_emit(bd->bg_object, "maximize", "");
+ if (bd->maximized)
+ e_hints_window_maximized_set(bd, 1);
}
}
@@ -3092,15 +3091,20 @@
details[ev->detail]);
}
#endif
+ if (grabbed) return 1;
if (ev->event_win == bd->win)
{
e_focus_event_mouse_in(bd);
}
+#if 0
if ((ev->win != bd->win) &&
(ev->win != bd->event_win) &&
(ev->event_win != bd->win) &&
(ev->event_win != bd->event_win))
- return 1;
+ return 1;
+#else
+ if (ev->win != bd->event_win) return 1;
+#endif
bd->mouse.current.mx = ev->root.x;
bd->mouse.current.my = ev->root.y;
evas_event_feed_mouse_move(bd->bg_evas, ev->x, ev->y, NULL);
@@ -3147,6 +3151,7 @@
details[ev->detail]);
}
#endif
+ if (grabbed) return 1;
if (ev->event_win == bd->win)
{
if (bd->fullscreen)
@@ -3161,11 +3166,15 @@
return 1;
e_focus_event_mouse_out(bd);
}
+#if 0
if ((ev->win != bd->win) &&
(ev->win != bd->event_win) &&
(ev->event_win != bd->win) &&
(ev->event_win != bd->event_win))
return 1;
+#else
+ if (ev->win != bd->event_win) return 1;
+#endif
bd->mouse.current.mx = ev->root.x;
bd->mouse.current.my = ev->root.y;
evas_event_feed_mouse_move(bd->bg_evas, ev->x, ev->y, NULL);
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs