Author: AlbrechtS
Date: 2010-04-06 13:20:18 -0700 (Tue, 06 Apr 2010)
New Revision: 7460
Log:
Fixed indentation of previous commit and added CHANGES info (STR #2082).


Modified:
   branches/branch-1.3/CHANGES
   branches/branch-1.3/src/Fl_x.cxx

Modified: branches/branch-1.3/CHANGES
===================================================================
--- branches/branch-1.3/CHANGES 2010-04-06 18:07:34 UTC (rev 7459)
+++ branches/branch-1.3/CHANGES 2010-04-06 20:20:18 UTC (rev 7460)
@@ -1,5 +1,7 @@
 CHANGES IN FLTK 1.3.0
 
+       - Fixed menu and tooltip window animation bug under X11 (compiz)
+         by setting an appropriate window type (STR #2082)
        - redesigned CMake files (STR #2317).
        - Fixed max. fd calculation, if USE_POLL is enabled (STR #2324)
        - Fixed clipping for offscreen rendering (OSX, STR #2330)

Modified: branches/branch-1.3/src/Fl_x.cxx
===================================================================
--- branches/branch-1.3/src/Fl_x.cxx    2010-04-06 18:07:34 UTC (rev 7459)
+++ branches/branch-1.3/src/Fl_x.cxx    2010-04-06 20:20:18 UTC (rev 7460)
@@ -1587,10 +1587,10 @@
     XSetWMHints(fl_display, xp->xid, hints);
     XFree(hints);
   }
- 
+
   // set the window type for menu and tooltip windows to avoid animations 
(compiz)
   if (win->menu_window() || win->tooltip_window()) {
-   Atom net_wm_type = XInternAtom(fl_display, "_NET_WM_WINDOW_TYPE", False);
+    Atom net_wm_type = XInternAtom(fl_display, "_NET_WM_WINDOW_TYPE", False);
     Atom net_wm_type_kind = XInternAtom(fl_display, 
"_NET_WM_WINDOW_TYPE_MENU", False);
     int ret = XChangeProperty(fl_display, xp->xid, net_wm_type, XA_ATOM, 32, 
PropModeReplace, (unsigned char*)&net_wm_type_kind, 1);
   }

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to