Enlightenment CVS committal
Author : sebastid
Project : e17
Module : apps/e
Dir : e17/apps/e/src/bin
Modified Files:
e_border.c e_manager.c
Log Message:
Don't allow move and resize while we are fullscreen. moveresize must be
allowed since we use it to exit fullscreen. This should fix firefox
fullscreen which does a move after requesting fullscreen. firefox does
many weird things.
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_border.c,v
retrieving revision 1.262
retrieving revision 1.263
diff -u -3 -r1.262 -r1.263
--- e_border.c 17 Jun 2005 09:05:38 -0000 1.262
+++ e_border.c 17 Jun 2005 20:16:12 -0000 1.263
@@ -590,6 +590,8 @@
E_OBJECT_CHECK(bd);
E_OBJECT_TYPE_CHECK(bd, E_BORDER_TYPE);
+
+ if (bd->fullscreen) return;
if (bd->new_client)
{
E_Border_Pending_Move_Resize *pnd;
@@ -633,6 +635,8 @@
E_Event_Border_Resize *ev;
E_OBJECT_CHECK(bd);
E_OBJECT_TYPE_CHECK(bd, E_BORDER_TYPE);
+
+ if (bd->fullscreen) return;
if (bd->new_client)
{
E_Border_Pending_Move_Resize *pnd;
@@ -1858,11 +1862,13 @@
y = bd->y;
x = bd->x;
-// printf("##- ASK FOR 0x%x TO MOVE TO [FLG X%liY%li] %i,%i\n",
-// bd->client.win,
-// e->value_mask & ECORE_X_WINDOW_CONFIGURE_MASK_X,
-// e->value_mask & ECORE_X_WINDOW_CONFIGURE_MASK_Y,
-// x, y);
+#if 0
+ printf("##- ASK FOR 0x%x TO MOVE TO [FLG X%liY%li] %i,%i\n",
+ bd->client.win,
+ e->value_mask & ECORE_X_WINDOW_CONFIGURE_MASK_X,
+ e->value_mask & ECORE_X_WINDOW_CONFIGURE_MASK_Y,
+ x, y);
+#endif
if (e->value_mask & ECORE_X_WINDOW_CONFIGURE_MASK_X)
x = e->x;
if (e->value_mask & ECORE_X_WINDOW_CONFIGURE_MASK_Y)
@@ -1878,11 +1884,13 @@
w = e->w + bd->client_inset.l + bd->client_inset.r;
if (e->value_mask & ECORE_X_WINDOW_CONFIGURE_MASK_H)
h = e->h + bd->client_inset.t + bd->client_inset.b;
-// printf("##- ASK FOR 0x%x TO RESIZE TO [FLG W%liH%li] %i,%i\n",
-// bd->client.win,
-// e->value_mask & ECORE_X_WINDOW_CONFIGURE_MASK_W,
-// e->value_mask & ECORE_X_WINDOW_CONFIGURE_MASK_H,
-// e->w, e->h);
+#if 0
+ printf("##- ASK FOR 0x%x TO RESIZE TO [FLG W%liH%li] %i,%i\n",
+ bd->client.win,
+ e->value_mask & ECORE_X_WINDOW_CONFIGURE_MASK_W,
+ e->value_mask & ECORE_X_WINDOW_CONFIGURE_MASK_H,
+ e->w, e->h);
+#endif
e_border_move_resize(bd, x, y, w, h);
}
else
@@ -1899,11 +1907,13 @@
w = e->w + bd->client_inset.l + bd->client_inset.r;
if (e->value_mask & ECORE_X_WINDOW_CONFIGURE_MASK_H)
h = e->h + bd->client_inset.t + bd->client_inset.b;
-// printf("##- ASK FOR 0x%x TO RESIZE TO [FLG W%liH%li] %i,%i\n",
-// bd->client.win,
-// e->value_mask & ECORE_X_WINDOW_CONFIGURE_MASK_W,
-// e->value_mask & ECORE_X_WINDOW_CONFIGURE_MASK_H,
-// e->w, e->h);
+#if 0
+ printf("##- ASK FOR 0x%x TO RESIZE TO [FLG W%liH%li] %i,%i\n",
+ bd->client.win,
+ e->value_mask & ECORE_X_WINDOW_CONFIGURE_MASK_W,
+ e->value_mask & ECORE_X_WINDOW_CONFIGURE_MASK_H,
+ e->w, e->h);
+#endif
e_border_resize(bd, w, h);
}
if ((e->value_mask & ECORE_X_WINDOW_CONFIGURE_MASK_STACK_MODE) &&
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_manager.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -3 -r1.33 -r1.34
--- e_manager.c 17 Jun 2005 08:00:24 -0000 1.33
+++ e_manager.c 17 Jun 2005 20:16:12 -0000 1.34
@@ -105,7 +105,6 @@
void
e_manager_manage_windows(E_Manager *man)
{
- /* FIXME: move this to an actual function to start managing */
Ecore_X_Window *windows;
int wnum;
-------------------------------------------------------
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