emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/w32term.h


From: Jason Rumney
Subject: [Emacs-diffs] Changes to emacs/src/w32term.h
Date: Fri, 25 Mar 2005 19:20:27 -0500

Index: emacs/src/w32term.h
diff -c emacs/src/w32term.h:1.61 emacs/src/w32term.h:1.62
*** emacs/src/w32term.h:1.61    Tue Sep  7 21:49:14 2004
--- emacs/src/w32term.h Sat Mar 26 00:20:27 2005
***************
*** 276,283 ****
--- 276,300 ----
  {
    PIX_TYPE background_pixel;
    PIX_TYPE foreground_pixel;
+ 
+   /* Keep track of focus.  May be EXPLICIT if we received a FocusIn for this
+      frame, or IMPLICIT if we received an EnterNotify.
+      FocusOut and LeaveNotify clears EXPLICIT/IMPLICIT. */
+   int focus_state;
+ 
  };
  
+ enum
+ {
+   /* Values for focus_state, used as bit mask.
+      EXPLICIT means we received a FocusIn for the frame and know it has
+      the focus.  IMPLICIT means we recevied an EnterNotify and the frame
+      may have the focus if no window manager is running.
+      FocusOut and LeaveNotify clears EXPLICIT/IMPLICIT. */
+   FOCUS_NONE     = 0,
+   FOCUS_IMPLICIT = 1,
+   FOCUS_EXPLICIT = 2
+ };
  
  struct w32_output
  {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]