Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        E.h actions.c edge.c 


Log Message:
Fix edge flip with fullscreen windows.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/E.h,v
retrieving revision 1.291
retrieving revision 1.292
diff -u -3 -r1.291 -r1.292
--- E.h 27 Jun 2004 20:24:25 -0000      1.291
+++ E.h 27 Jun 2004 22:30:52 -0000      1.292
@@ -1358,7 +1358,6 @@
    int                 last_button;
    Time                last_time;
    char                queue_up;
-   char                edge_flip_inhibit;
 }
 EMode;
 
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/actions.c,v
retrieving revision 1.169
retrieving revision 1.170
diff -u -3 -r1.169 -r1.170
--- actions.c   19 Jun 2004 21:31:39 -0000      1.169
+++ actions.c   27 Jun 2004 22:30:53 -0000      1.170
@@ -938,11 +938,6 @@
       on = 1;
    EwinSetFullscreen(ewin, on);
 
-   /* Inhibit edge flip while in fullscreen mode */
-   /* FIXME: Breaks when multiple windows enter/leave fullscreen state */
-   Mode.edge_flip_inhibit = on;
-   ShowEdgeWindows();
-
    return 0;
 }
 
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/edge.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- edge.c      31 May 2004 20:30:12 -0000      1.5
+++ edge.c      27 Jun 2004 22:30:53 -0000      1.6
@@ -30,11 +30,17 @@
 EdgeTimeout(int val, void *data)
 {
    int                 ax, ay, aw, ah, dx, dy, dax, day;
+   EWin               *ewin;
 
-   if (Mode.edge_flip_inhibit || (Mode.cur_menu_mode > 0))
+   if (Mode.cur_menu_mode > 0)
       return;
    if (!Conf.edge_flip_resistance)
       return;
+
+   ewin = GetEwinPointerInClient();
+   if (ewin && ewin->st.fullscreen)
+      return;
+
    throw_move_events_away = 1;
    GetCurrentArea(&ax, &ay);
    GetAreaSize(&aw, &ah);
@@ -93,7 +99,7 @@
 {
    int                 ax, ay, cx, cy;
 
-   if (Mode.edge_flip_inhibit || (Conf.edge_flip_resistance <= 0))
+   if (Conf.edge_flip_resistance <= 0)
      {
        HideEdgeWindows();
        return;




-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to