1 2001-10-08 Dan Espen <dane@mk.telcordia.com>
3 * libs/Makefile.am (libfvwm_a_SOURCES): Add new file.
6 * libs/Cursor.c: Create new libs function fvwmCursorNameToIndex.
8 * fvwm/cursor.c: Extract cursor validation routine to become a libs
11 2001-10-08 Dominik Vogt <dominik.vogt@gmx.de>
14 changed version to 2.5.0
16 2001-10-08 olicha <olivier.chapuis@free.fr>
18 * fvwm/borders.c (RedrawTitle):
19 Fixed drawing of leftJustified stippled title and suppress warnings
20 in RelieveRectangle w/ RightJustified stippled title
22 2001-10-05 Dominik Vogt <dominik.vogt@gmx.de>
24 * fvwm/virtual.c (CMD_XineramaSlsSize):
27 2001-10-03 olicha <olivier.chapuis@free.fr>
29 * fvwm/style.c (CMD_Style):
31 Added the possibility to add an Xinerama screen to the 4 numerics
34 2001-10-03 olicha <olivier.chapuis@free.fr>
36 * fvwm/icons.c (AutoPlaceIcon):
37 Fixed a core dump with @c and fixed icon placement if the icon should
38 not be on the current page
40 2001-10-02 Dominik Vogt <dominik.vogt@gmx.de>
42 * fvwm/icons.c (AutoPlaceIcon):
43 * libs/FScreen.c (FScreenParseScreenBit):
44 added 'w' screen specifier for icon boxes
46 * fvwm/icons.c (AutoPlaceIcon):
47 fixed placement of icons in icon boxes on different screen
49 * fvwm/menus.c (get_menu_options):
50 reduced code duplication
52 2001-10-02 olicha <olivier.chapuis@free.fr>
54 * fvwm/menus.c (get_menu_options):
55 fixed Xinerama placement of menu with empty but not null position hints
57 2001-10-02 Dominik Vogt <dominik.vogt@gmx.de>
59 * fvwm/borders.c (RedrawTitle):
60 * libs/defaults.h (WINDOW_TITLE_STICKY_GAP):
61 suppress a warning in RelieveRectangle w/ small sticky windows
63 2001-09-30 Dominik Vogt <dominik.vogt@gmx.de>
65 * fvwm/menus.c (get_menu_options):
66 A 'rectangle' context rectangle for menus honours the '@screen' bit
68 * fvwm/move_resize.c (DisplayPosition):
69 coordinates of a window are show in relation to the screen, not the page
71 * libs/FScreen.c (FScreenTranslateCoordinates):
72 * fvwm/placement.c (PlaceWindow):
73 * fvwm/add_window.c (setup_window_placement):
74 Applied patches by Sidik Isani that adds the "fvwmscreen" X resource;
75 rewrote the library functionality to better match the rest of the
78 * fvwm/builtins.c (DestroyFvwmDecor):
81 * fvwm/icons.c (DrawIconWindow):
82 fixed race condition w/ expanding/collapsing icon titles
84 * fvwm/windowlist.c (CMD_WindowList):
85 fixed Xinerama placement of window list when called without options
87 2001-09-19 Dominik Vogt <dominik.vogt@gmx.de>
89 * libs/FScreen.c (FScreenSLSOnOff):
90 fixed core dump when calling XineramaSls before XineramaSlsSize
95 * libs/FShape.h (FHaveShapeExtension):
96 set macro to 1 when compiling w/ shape extension
98 2001-09-17 Dominik Vogt <dominik.vogt@gmx.de>
100 * libs/Bindings.c (AddBinding):
101 * fvwm/bindings.c (ParseBinding):
102 print a warning if a key with the given name does not exist
103 if there is an upper and a lower case version of the same key name,
104 always bind to the lower case version; this is problematic if the upper
105 case version is tied to a key without a modifier and the lower case
106 version is tied to the same key, but with a modifier (or both are tied
107 to different keys). I hope this good enough.
109 * libs/Bindings.c (FreeBindingList):
110 (MatchBindingExactly):
111 (CollectBindingList):
112 fixed some problems overriding keys
113 reduced duplication of logic
115 2001-09-16 Dominik Vogt <dominik.vogt@gmx.de>
117 * NEWS, configure.in:
118 changed version to 2.5.0
120 2001-09-16 Dominik Vogt <dominik.vogt@gmx.de>
123 changed version to 2.4.2
125 2001-09-16 Dominik Vogt <dominik.vogt@gmx.de>
128 (SetWindowBackground):
129 (SetRectangleBackground):
130 * fvwm/builtins.c (CMD_WindowShade):
132 (setup_style_and_decor):
139 (HandleConfigureRequest):
141 (InitEventHandlerJumpTable):
142 * fvwm/borders.c (struct):
145 * fvwm/decorations.c (SelectDecor):
150 * fvwm/fvwm.h (FvwmWindow):
153 moved shape support to library; its no longer necessary to
154 '#ifdef SHAPE' any code
156 * fvwm/borders.c (RedrawButtons):
158 fixed top border hilight drawing of title buttons
160 * libs/Graphics.c (do_relieve_rectangle):
163 allow alternate shading for title buttons
165 2001-09-15 Dominik Vogt <dominik.vogt@gmx.de>
168 Applied man page patch by Dmitry Yu. Bolkhovityanov:
169 Add a formal description of how fvwm maintains module's configs
170 Change manpages of individual modules to refer to fvwm2(1) for
171 details about specifying configuration
173 * fvwm/add_window.c (setup_window_placement):
174 desk and page can now really be given as X resources a la
177 * libs/XResource.c (GetResourceString):
178 resource -> lower case, class -> upper case
182 changed version to 2.5.0
184 * Makefile.am (distcheck2):
185 build distcheck before dist2; save a few seconds if the build fails
192 * libs/gethostname.c:
199 * libs/strncasecmp.c:
208 changed version to 2.4.1 again
210 2001-09-14 Dominik Vogt <dominik.vogt@gmx.de>
212 * libs/Bindings.c (FvwmStringToKeysym):
213 try both cases of the first letter of a key name
215 * fvwm/ConfigFvwmDefaults:
216 * fvwm/windowlist.c (winCompareReverse):
218 new WindowList option ReverseOrder; use the new option in the default
219 Alt-Tab binding. This makes it possible to hit Alt-Tab repeatedly to
220 cycle through the whole window list. The old behaviour only toggled
221 between two windows. Also, a simple Alt-Tab can be used to switch to
222 the next window instead of Alt-Tab-Tab.
224 * libs/FScreen.c (FScreenInit):
225 fixed a Xinerama crash
228 print a verbose error message and exit if X11 headers and libraries
231 2001-09-13 Dominik Vogt <dominik.vogt@gmx.de>
233 * fvwm/fvwm.c (main):
236 new library for X shape encapsulation
238 * fvwm/builtins.c (CMD_WindowShade):
239 * fvwm/borders.c (SetupFrame):
240 fixed shading of windows without title and border
241 fixed shading of shaped windows; fixes bug #732
243 * fvwm/builtins.c (CMD_SetEnv):
244 calling SetEnv without a value is the same as UnsetEnv
246 2001-09-10 Dominik Vogt <dominik.vogt@gmx.de>
248 * fvwm/events.c (HandleReparentNotify):
249 fixed vanishing windows in rapid map/unmap cycles; bug #770
251 * fvwm/add_window.c (hide_screen):
252 fixed possible BadWindow error
254 2001-09-09 Dominik Vogt <dominik.vogt@gmx.de>
256 * fvwm/virtual.c (MoveViewport):
258 (CMD_GotoDeskAndPage):
260 GotoDeskAndPage records its own history of last visited desk/page
262 * libs/FScreen.c (FScreenInit):
263 fixed a memory allocation bug pointed out by Giuseppe Della Ricca
265 2001-09-05 olicha <olivier.chapuis@free.fr>
267 * fvwm/session.c (MatchWinToSM):
268 * fvwm/add_window.c (setup_window_structure):
269 * fvwm/move_resize.c (moveLoop):
270 Fixed PlacedByButton3 condition
272 2001-09-05 Dominik Vogt <dominik.vogt@gmx.de>
275 * fvwm/functions.c (func_config):
276 * fvwm/module_interface.c (broadcast_xinerama_state):
277 * fvwm/virtual.c (CMD_Xinerama):
278 (CMD_XineramaPrimaryScreen):
280 (CMD_XineramaSlsSize):
282 split Xinerama command into Xinerama, XineramaPrimaryScreen,
283 XineramaSls and XineramaSlsSize
284 restructured parts of the FScreen code
286 * fvwm/functions.c (func_config):
287 new commands XineramaPrimaryScreen, XineramaSls and XineramaSlsSize
289 * libs/Graphics.c (RelieveRectangle):
290 allow calling the function with w == 0 or h == 0 without a message
292 * fvwm/window_flags.h (SET_STYLE_DELETED):
293 * fvwm/style.c (CMD_DestroyStyle):
294 (check_window_style_change):
295 * fvwm/fvwm.h (window_style):
296 update windows when a style is deleted
299 fixed xpm detection problem caused by wrong library order
301 2001-09-05 olicha <olivier.chapuis@free.fr>
305 2001-09-04 Dan Espen <dane@mk.telcordia.com>
307 * fvwm/fvwm2.1 (PlacedByFvwm): Grammar.
309 2001-09-04 olicha <olivier.chapuis@free.fr>
312 * fvwm/windows_flags.h:
313 * fvwm/placement.c (PlaceWindow):
314 * fvwm/add_window.c (setup_window_structure):
315 * fvwm/conditional.c (CreateConditionMask):
316 * fvwm/session.c (get_version_string):
319 Added a new windows_flags is_placed_by_fvwm and a new condition
322 2001-09-03 Dominik Vogt <dominik.vogt@gmx.de>
324 * fvwm/focus.c (focus_grab_buttons):
326 disabled xt/double click patch for now
328 2001-09-01 Dominik Vogt <dominik.vogt@gmx.de>
330 * libs/Graphics.c (RelieveRectangle):
331 print a warning if one of the dimensions is <= 0
333 * fvwm/placement.c (PlaceWindow):
334 take care of windows that have both, PPosition and USPosition set
335 take care of transient windows that have neither PPosition nor
338 2001-09-01 olicha <olivier.chapuis@free.fr>
340 * libs/FScreen.c (FScreenInit):
341 Fixed the position of the xinerama emulation delimiters
343 2001-08-31 Dominik Vogt <dominik.vogt@gmx.de>
346 Xinerama introduction
348 * fvwm/icons.c (AutoPlaceIcon):
349 try to place icons of screen with the window center, and if that fails
352 * libs/FScreen.c (FScreenGetScrRect):
353 performance improvement for non-xinerama systems
355 * fvwm/update.c (apply_window_updates):
356 (flush_window_updates):
357 update icon boxes and icon position when xinerama layout changes
359 * fvwm/icons.c (AutoPlaceIcon):
360 limit placement of icons using no icon box to screen boundaries
361 adapt icon boxes to xinerama layout whenever used
363 * fvwm/placement.c (PlaceWindow):
364 * fvwm/style.c (CMD_Style):
365 (check_window_style_change):
366 * fvwm/style.h (SUSE_NO_USPOSITION):
367 (SUSE_NO_TRANSIENT_PPOSITION):
368 (SUSE_NO_TRANSIENT_USPOSITION):
369 * fvwm/fvwm.h (struct):
370 implemented new styles NoUSPosition/UseUSPosition,
371 NoTransientPPosition/UseTransientPPosition,
372 NoTransientUSPosition/UseTransientUSPosition.
373 These work exactly like NoPPosition/UsePPosition.
374 Transient windows ignore the window position if neither the PPosition
375 nor the USPosition hint is set.
377 2001-08-28 Dominik Vogt <dominik.vogt@gmx.de>
379 * fvwm/focus.c (restore_focus_after_unmap):
380 fixed a bug transfering the focus when a window was iconified
382 2001-08-26 Dominik Vogt <dominik.vogt@gmx.de>
384 * fvwm/conditional.c (MatchesConditionMask):
385 * fvwm/move_resize.c (position_geometry_window):
386 * fvwm/placement.c (PlaceWindow):
387 * fvwm/menus.c (pop_menu_up):
388 * fvwm/move_resize.c (move_window_doit):
389 * fvwm/icons.c (do_all_iconboxes):
390 * fvwm/placement.c (PlaceWindow):
391 * fvwm/menus.c (update_menu):
392 adapted to new FScreen... signatures
394 * libs/FScreen.c (FScreenClipToScreen):
395 (FScreenGetScrCenterCenter):
396 (FScreenCenterCurrent):
397 (FScreenCenterPrimary):
398 (FScreenGetCurrent00):
399 (FScreenGetGlobalScrRect):
400 (FScreenGetPrimaryScrRect):
402 (FScreenIsRectangleOnScreen):
403 unified all the FSCreen... functions using a common signature, removed
406 * fvwm/style.c (CMD_Style):
409 * fvwm/move_resize.c (move_window_doit):
412 * libs/XineramaSupport.c:
413 * libs/XineramaSupport.h:
415 exported and renamed screen defines
423 * fvwm/move_resize.c:
424 * fvwm/module_interface.c:
429 * fvwm/conditional.c:
430 * libs/XineramaSupport.c:
431 renamed all XineramaSupport...() functions to FScreen...()
433 * fvwm/style.c (CMD_Style):
436 2001-08-25 Dan Espen <dane@mk.telcordia.com>
438 * fvwm/style.c (CMD_Style):
439 * fvwm/fvwm.h (icon_boxes_struct): Add screen to iconbox struct when
442 2001-08-25 Mikhael Goikhman <migo@homemail.com>
444 * libs/Strings.{c,h}:
445 new function QuoteString() to add and escape single quotes to strings
447 * fvwm/menus.c (MenuInteraction):
448 quote both missing function name and menu name for
449 MissingSubmenuFunction
451 * fvwm/functions.c (expand):
454 2001-08-25 Dan Espen <dane@mk.telcordia.com>
456 * fvwm/style.c (CMD_Style): Fix up iconboxes using negative geom specs.
458 2001-08-25 Dominik Vogt <dominik.vogt@gmx.de>
460 * fvwm/cursor.c (CMD_CursorStyle):
461 * fvwm/icons.c (GetXPMFile):
462 * libs/Colorset.c (SetWindowBackground):
465 * libs/Bindings.c (AddBinding):
466 tired to help with problem binding keys that have a keycode with no
467 modifiers and another keycode with some modifiers pressed, e.g.
468 kc 95 = F11, kc 67 = F1, kc 67 + shift = F11, which caused pressing
469 F1 generating the actioon bound to F11 sometimes
471 * fvwm/focus.c (focus_grab_buttons):
474 2001-08-23 Dan Espen <dane@mk.telcordia.com>
476 * libs/Bindings.c (MatchBinding): Unify XDisplayKeycodes avoidance.
478 2001-08-20 Bob Woodside <proteus@pcnet.com>
480 * fvwm/focus.c (MoveFocus, focus_grab_buttons): Fixed passive button
481 grab synchronization so apps using XtTranslations to catch double-
482 clicks don't get confused by extraneous Leave/EnterNotify events.
483 This fixes the "xfm/moxfm don't see double-clicks" problem.
485 2001-08-20 Dan Espen <dane@mk.telcordia.com>
487 * fvwm/icons.c (AutoPlaceIcon): Fix bug.
489 2001-08-19 Dan Espen <dane@mk.telcordia.com>
491 * fvwm/icons.c (AutoPlaceIcon): Apply screen dimensions as icon is
494 * fvwm/style.c (CMD_Style): Don't apply screen dimensions to iconbox
495 until later when the window is actually placed.
497 * fvwm/fvwm.h (icon_boxes_struct): Save sign for later screen
498 position calculation.
500 2001-08-19 Dominik Vogt <dominik.vogt@gmx.de>
502 * fvwm/update.c (flush_window_updates):
503 * fvwm/screen.h (ScreenInfo):
504 * fvwm/virtual.c (CMD_Xinerama):
506 * fvwm/move_resize.c (CMD_Maximize):
507 * fvwm/placement.c (PlaceWindow):
508 * libs/XineramaSupport.c (XineramaSupportGetNumberedScrRect):
512 describe new maximize options
514 * fvwm/move_resize.c (MaximizeWidth):
517 applied Dmitry's Xinerama patch for Maximize command
518 replaced "global" and "absolute" with "screen" which is more flexible
520 2001-08-16 Dominik Vogt <dominik.vogt@gmx.de>
522 * libs/Parse.c (SkipQuote):
523 fixed a bug in handling of caller specified quote pairs
525 * fvwm/move_resize.c (CMD_Maximize):
526 keep window on correct page when viewport does not start on a page
529 * libs/XError.c (error_name):
531 fixed core dump in error handling
533 2001-08-15 Mikhael Goikhman <migo@homemail.com>
539 renamed --disable-gnome to --disable-gnome-hints;
540 documented configure options --with-gnome*;
541 small improvements in documentation;
542 use underscore in version instead of dash that causes rpm problems
544 2001-08-14 Mikhael Goikhman <migo@homemail.com>
547 added fvwmrect.h to dist
549 2001-08-14 Dan Espen <dane@mk.telcordia.com>
551 * libs/XineramaSupport.c: Disable debug printing.
553 2001-08-13 Dominik Vogt <dominik.vogt@gmx.de>
555 * libs/defaults.h (DEFAULT_MENU_STYLE):
556 reset colour sets in default menu style too
558 2001-08-13 Mikhael Goikhman <migo@homemail.com>
562 completed the libstroke-0.5 compatibility fix
564 2001-08-10 Dominik Vogt <dominik.vogt@gmx.de>
566 * fvwm/move_resize.c (draw_move_resize_grid):
567 fixed drawing of resize grid when invoked from button or key press
569 * fvwm/placement.c (PlaceWindow):
570 rewrote a condition to improve readability
571 fixed StartsOn... w/ SkipMapping
573 2001-08-09 Dominik Vogt <dominik.vogt@gmx.de>
575 * fvwm/session.c (MatchWinToSM):
578 * fvwm/move_resize.c (CMD_Resize):
579 * fvwm/events.c (HandlePropertyNotify):
580 (HandleConfigureRequest):
581 * fvwm/move_resize.c (CMD_ResizeMove):
584 * fvwm/update.c (apply_window_updates):
585 * fvwm/add_window.c (AddWindow):
586 * fvwm/geometry.c (constrain_size):
587 (gravity_constrain_size):
588 the Resize command honors the window gravity
589 changing the size increment of maximized windows no longer shrinks the
593 keep expanded icon titles on screen
595 2001-08-08 Dominik Vogt <dominik.vogt@gmx.de>
597 * fvwm/icons.c (do_all_iconboxes):
598 default icon box fills the primary screen
600 * libs/XineramaSupport.c (XineramaSupportParseScreenBit):
601 fixed default_screen argument
603 * fvwm/style.c (merge_styles):
604 * fvwm/fvwm.h (window_style):
605 * fvwm/style.h (SSET_START_SCREEN):
606 * fvwm/add_window.c (setup_window_placement):
607 * fvwm/placement.c (PlaceWindow):
609 implemented StartsOnScreen style
611 * fvwm/placement.c (PlaceWindow):
617 Place new windows on xinerama screens
619 * libs/XineramaSupport.c (XineramaSupportParseGeometryWithScreen):
620 fixed core dump in debug output
622 2001-08-07 Dominik Vogt <dominik.vogt@gmx.de>
625 removed unused variable
627 2001-08-07 olicha <olivier.chapuis@free.fr>
630 FvwmIconBox, FvwmTaskBar and FvwmWinList support aliases
632 2001-08-06 Dominik Vogt <dominik.vogt@gmx.de>
634 * fvwm/virtual.c (CMD_Xinerama):
635 replaced XineramaEnable and ...Disable with XineramaCommand
637 * libs/XineramaSupport.c (XineramaSupportParseScreenBit):
638 (XineramaSupportGetScreenArgument):
641 * fvwm/functions.c (func_config):
642 * fvwm/move_resize.c (move_window_doit):
648 added new command MoveToScreen
650 2001-08-05 Dominik Vogt <dominik.vogt@gmx.de>
656 * libs/XineramaSupport.c (XineramaSupportParseGeometry):
657 fixed parsing of negative geometries
658 (XineramaSupportParseGeometryWithScreen):
660 (XineramaSupportGetNumberedScreenRect):
663 * sample.fvwmrc/system.fvwm2rc:
664 * sample.fvwmrc/new-features:
665 * sample.fvwmrc/system.fvwm2rc-sample-95:
666 * sample.fvwmrc/system.fvwm2rc-sample-2:
667 * sample.fvwmrc/system.fvwm2rc-sample-1:
669 updated for new condition
671 * fvwm/conditional.c (CreateConditionMask):
672 (MatchesConditionMask):
673 * fvwm/fvwm.h (WindowConditionMask):
674 implemented new condition AcceptsFocus to cope with applications like
675 xclock that have circulatehit but don't take focus
677 2001-08-02 Dominik Vogt <dominik.vogt@gmx.de>
679 * libs/XineramaSupport.c (XineramaSupportParseGeometry):
680 handle Xinerama screens
682 * fvwm/style.c (CMD_Style):
683 * fvwm/menus.c (get_menu_options):
684 cope with Xinerama like geometries with screen info
686 * fvwm/virtual.c (CMD_XineramaEnable):
687 XineramaEnable optionally takes the number of the primary screen as its
690 * fvwm/events.c (GetContext):
693 * fvwm/virtual.c (HandlePaging):
694 * fvwm/events.c (HandleButtonPress):
695 * fvwm/events.h (XEVMASK_PANFW):
696 fixed button and key event handling over pan frames; fixes bug #752
698 * fvwm/menus.c (get_menu_options):
699 fixed Xinerama placement of menus without options
701 2001-08-01 Mikhael Goikhman <migo@homemail.com>
708 Color enhancements in button vectors: @2 is bg color, @3 is fg color.
709 In addition to the existing: @0 is shadow color, @1 is hilight color.
712 Added the formal description of Vector that was absent.
714 2001-08-01 Dominik Vogt <dominik.vogt@gmx.de>
717 some man page corrections
719 2001-07-30 Dominik Vogt <dominik.vogt@gmx.de>
721 * fvwm/move_resize.c (handle_stick):
722 also redraw buttons when a window becomes sticky/slippery to make sure
723 that MWMDecorStick buttons are updated too; fixes bug #749
725 2001-07-30 Mikhael Goikhman <migo@homemail.com>
728 documented previous changes
731 improved output spacing
736 2001-07-29 Dominik Vogt <dominik.vogt@gmx.de>
738 * libs/XineramaSupport.c (XineramaSupportConfigureModule):
739 * fvwm/modconf.c (send_xinerama_state):
740 * fvwm/module_interface.c (broadcast_xinerama_state):
742 revised module support for Xinerama
744 * libs/XineramaSupport.c (XineramaSupportParseGeometryWithScreen):
745 (XineramaSupportParseGeometry):
746 (XineramaSupportGetGeometry):
747 make interface compatible with XineramaSupportParseGeometry().
748 (XineramaSupportGetPrimaryScreen):
751 * fvwm/stack.c (raise_over_unmanaged):
752 fixed restacking of windows with RaiseOverUnmanaged - windows were
753 raised in reverse order so that the top window became the bottom
754 window of the ones that were raised
755 also, ignore Scr.NoFocusWin and all InputOnly windows for raising since
758 2001-07-28 Dominik Vogt <dominik.vogt@gmx.de>
760 * sample.fvwmrc/system.fvwm2rc-sample-95:
761 fixed syntax of BugOpts command
763 * fvwm/ConfigFvwmDefaults:
764 resize window when clicking on the sides of the window by default
767 * fvwm/events.c (HandleEnterNotify):
768 do not delete MouseFocus when pointer moves from one particular sub
769 window of a frame to another one. Helps with xv/xmms vs unclutter
770 interaction and also with MouseFocus vs. Open Look applications
772 * fvwm/move_resize.c (DoSnapAttract):
773 * libs/XineramaSupport.c (XineramaSupportGetResistanceRect):
774 fixed snapping to Xinerama screen edges
775 (XineramaSupportIsEnabled):
776 return False is the X server provides only a single screen
779 Added descriptions of conditions CurrentDesk, CurrentPage,
780 CurrentScreen, CurrentGlobalPage, CurrentPageAnyDesk and
781 CurrentGlobalPageAnyDesk
783 * fvwm/fvwm.h (rectangle):
785 typedefs moved to libs/fvwmlib.h
787 * fvwm/conditional.c (MatchesConditionMask):
788 * fvwm/fvwm.h (WindowConditionMask):
789 * fvwm/conditional.c:
790 introduced new conditions CurrentGlobalPage and CurrentGlobalPageAnyDesk
793 * fvwm/modconf.c (CMD_Send_ConfigInfo):
794 (send_xinerama_state):
795 * fvwm/module_interface.c (broadcast_xinerama_state):
796 * libs/XineramaSupport.c (XineramaSUpportIsEnabled):
797 * libs/defaults.h (DEFAULT_XINERAMA_DISABLED):
798 communicate xinerama state at module startup
800 2001-07-27 Dominik Vogt <dominik.vogt@gmx.de>
802 * libs/XineramaSupport.c:
805 2001-07-25 Dominik Vogt <dominik.vogt@gmx.de>
807 * fvwm/move_resize.c (moveLoop):
808 windows were lost off screen w/ non opaque interactive move when motion
809 was aborted with Escape on a different page that it was started
811 * fvwm/move_resize.c (position_geometry_window):
819 * libs/XineramaSupport.c (GetMouseXY):
820 (XineramaSupportCenterCurrent):
821 (XineramaSupportGetCurrent00):
822 (XineramaSupportGetCurrentScrRect):
823 allow to pass in an event with the pointer position
824 minimize number of XQueryPointer calls in interactive move/resize
827 * fvwm/move_resize.c (resize_geometry_window):
830 border width of geometry window moved to defaults.h
831 moved strings for size window formatting to defaults.h
832 reworked calculations of geometry window dimensions
834 * fvwm/move_resize.c (resize_geometry_window):
835 (position_geometry_window):
839 * fvwm/builtins.c (ApplyDefaultFontAndColors):
840 * fvwm/fvwm.c (main):
841 funtions ResizeSizeWindow and PositionSizeWindow renamed to
842 resize_geometry_window and position_geometry_window
844 * fvwm/fvwm.c (main):
845 fixed resizing geometry window before creating it
847 * fvwm/move_resize.c (switch_move_resize_grid):
849 * fvwm/virtual.c (HandlePaging):
850 renamed MoveOutline to draw_move_resize_grid and made static
851 new function switch_move_resize_grid for external calls
852 delete grid before moving the geometry window to get rid of arifacts of
855 2001-07-24 Dominik Vogt <dominik.vogt@gmx.de>
857 * libs/XineramaSupport.c (XineramaSupportInit):
858 make the blank area in Xinerama emulation usable again
860 2001-07-23 Dominik Vogt <dominik.vogt@gmx.de>
862 * fvwm/menus.c (update_menu):
865 (calculate_item_sizes):
866 (size_menu_horizontally):
867 (size_menu_vertically):
868 menus are resized to fit their Xinerama screen every time they are
869 popped up and the screen size has changed
871 2001-07-23 olicha <olivier.chapuis@free.fr>
873 * libs/XineramaSupport.c (XineramaSupportInit):
874 Draw the xinerama simulation screens with orr windows
876 2001-07-23 Dominik Vogt <dominik.vogt@gmx.de>
878 * fvwm/windowlist.c (CMD_WindowList):
879 fixed windowlist placement w/ Xinerama
881 2001-07-22 Dominik Vogt <dominik.vogt@gmx.de>
883 * fvwm/menus.c (pop_menu_up):
884 fixed calculations that force a menu on screen w/ Xinerama
886 * fvwm/move_resize.c (DoSnapAttract):
887 removed some code that slipped in with xinerama patch and broke
888 vertical SnapAttraction
890 * fvwm/virtual.c (CMD_EdgeResistance):
893 * libs/XineramaSupport.c (XineramaSupportClipToScreen):
894 take reference position src_x/src_y to determine screen
896 * fvwm/windowlist.c (CMD_WindowList):
897 * fvwm/menus.c (get_menu_options):
901 handle Xinerama screens for positioning menus w/ posthints
903 * fvwm/menus.c (get_menu_options):
905 fix for icon/window context rectangle when window is in wrong state
907 2001-07-22 Mikhael Goikhman <migo@homemail.com>
910 s/XINERAMA/HAVE_XINERAMA/, now #ifdef'd xinerama code is finally ever
911 compiled in; fixed linking by adding -lXinerama; small corrections
913 2001-07-22 Dan Espen <dane@mk.telcordia.com>
915 * fvwm/fvwm2.1: Remove some test code, fix remaining .IP commands.
917 2001-07-22 Dominik Vogt <dominik.vogt@gmx.de>
919 * libs/XineramaSupport.c (XineramaSupportInit):
920 added xinerama emulation for developers
922 * fvwm/virtual.c (CMD_XineramaEnable):
923 (CMD_XineramaDisable):
924 * fvwm/module_interface.c (BroadcastConfigInfoString):
925 added function to communicate Xinerama on/off to modules
927 * fvwm/module_interface.c:
928 include time.h to fix warning
929 * libs/XineramaSupport.c:
930 * fvwm/fvwm.c (setVersionInfo):
934 cleanded up xinerama detection
935 added shape detection
937 2001-07-21 Dominik Vogt <dominik.vogt@gmx.de>
940 Added Xinerama introduction
942 * fvwm/fvwm.c (setVersionInfo):
943 print xinerama support
945 * fvwm/conditional.c (CreateConditionMask):
946 added CirculateHitShaded option for conditional commands that was
947 described in the man page but not implemented
949 * fvwm/fvwm.h (WindowConditionMask):
952 * fvwm/conditional.c (MatchesConditionMask):
953 fixed CirculateHitIcon option in conditional commands
956 reformatted man page source to improve readability
957 fixed some source formatting bugs
959 * libs/XineramaSupport.c (GetMouseXY):
960 don't poll the pointer if there is only one screen or if xinerama is
964 * fvwm/fvwm.c (main):
965 removed -noxinerama option
967 * fvwm/fvwm.c (main):
968 size window is positioned and sized in move_resize.c
970 * libs/XineramaSupport.c:
974 print Xinerama support in configure summary
977 applied Xinerama patch by Dmitry Yu. Bolkhovityanov
979 2001-07-17 Mikhael Goikhman <migo@homemail.com>
984 implemented a new convenient autoconf macro mg_DEFINE_IF_NOT;
985 define missing macros needed for old AIX keysymdef and old stroke.h
989 remove the previous compilation fixes, now handled by configure
991 2001-07-15 Dan Espen <dane@mk.telcordia.com>
993 * fvwm/fvwm2.1: Remove .BI with more than 6 args.
995 2001-07-15 Mikhael Goikhman <migo@homemail.com>
998 use libstroke-0.5 constant names while still supporting 0.3/0.4
1001 compiling fix for old AIX, which does not define XK_Page_Up/Down
1003 * module_interface.c:
1004 minor compiling fix for some proprietary preprocessors
1006 2001-07-10 Mikhael Goikhman <migo@homemail.com>
1009 use more compatible and structured syntax in SYNOPSIS
1011 2001-07-06 Mikhael Goikhman <migo@homemail.com>
1014 Replaced forgotten instances of IMLIB_{CFLAGS,LIBS} to GDK_IMLIB_*.
1015 This fixes "make FvwmGtk" on systems with bogus imlib-config.
1017 2001-07-05 Mikhael Goikhman <migo@homemail.com>
1020 changed version to 2.4.1
1023 small fix that should solve the problem with running autoconf
1024 (autoreconf is ok) from autoconf-2.50;
1025 applied a patch that adds gtk include dirs to gnome include dirs
1027 2001-07-03 Dominik Vogt <dominik.vogt@gmx.de>
1029 * NEWS, configure.in:
1030 changed version to 2.4.0.1
1032 * *: fvwm 2.4 has been released :-))
1034 2001-06-30 Dominik Vogt <dominik.vogt@gmx.de>
1036 * fvwm/menus.c (MenuInteraction):
1040 reduce network traffic during menu waits
1042 2001-06-30 Mikhael Goikhman <migo@homemail.com>
1047 * sample.fvwmrc/system.fvwm2rc-sample-95:
1048 Fixed several problems like position hints in WindowList should
1049 go before other args, invisible menu Greyed color, SelectOnRelease
1050 in the skipped window listing and text rewordings.
1051 In addition, some parts of Setup95 were based on earlier fvwm-themes,
1052 since then these parts are changed, so update some of them here too.
1053 This includes renaming desktop component to globalfeel, some changes
1054 in menus and more minor cleanups. It's still messy enough, but ok...
1056 2001-06-29 Dominik Vogt <dominik.vogt@gmx.de>
1058 * fvwm/stack.c (is_on_top_of_layer_ignore_rom):
1059 (is_on_top_of_layer):
1061 fixed RaiseLower with BugOpts RaiseOverUnmanaged
1063 2001-06-28 Dominik Vogt <dominik.vogt@gmx.de>
1066 changed version to 2.4.0-pre2
1071 updated for pre release 2.4.0-pre1
1073 2001-06-27 Dominik Vogt <dominik.vogt@gmx.de>
1075 * libs/Graphics.c (CreateGradientPixmap):
1076 fixed crash caused by signed/unsigned confusion
1084 2001-06-23 Dominik Vogt <dominik.vogt@gmx.de>
1086 * fvwm/add_window.c (setup_icon_font):
1087 adjust icon title y offset when the icon font changes
1089 * libs/GetFontSet.c (GetFontSetOrFixed):
1090 reformatted error message
1092 2001-06-23 Dan Espen <dane@mk.telcordia.com>
1094 * fvwm/fvwm2.1: Make the multiple Iconboxes rule a little clearer.
1096 * fvwm/fvwm.c (InitVariables): Add the vendor string for Reflection X
1097 to automatically set RaiseHackNeeded.
1099 2001-06-23 Mikhael Goikhman <migo@homemail.com>
1102 improve the WindowList double press example to work with all focus
1105 2001-06-22 Dominik Vogt <dominik.vogt@gmx.de>
1107 * NEWS, configure.in:
1108 changed version to 2.3.34
1110 2001-06-22 Dominik Vogt <dominik.vogt@gmx.de>
1112 * fvwm/events.c (flush_property_notify):
1113 accidentally flushed PropertyNotify events for all windows, not just the
1116 * fvwm/icons.c (Iconify):
1117 sticky icons on desks other than 0 are mapped during a restart
1119 * fvwm/misc.c (UngrabEm):
1120 fixed ungrabbing BUSY cursor when a menu is still open
1122 * fvwm/events.c (HandleMapRequestKeepRaised):
1123 don't grab the server when 'mapping' windows that start iconic
1124 fixes FvwmIconMan not noticing iconic state of windows starting iconic
1126 2001-06-17 Dominik Vogt <dominik.vogt@gmx.de>
1128 * fvwm/functions.c (execute_function):
1131 * fvwm/decorations.c (GetMwmHints):
1134 * fvwm/session.c (SaveWindowStates):
1135 make sure the string list is properly freed
1137 * libs/Makefile.am (libfvwm_a_SOURCES):
1138 * libs/Event.c (GetSubwindowFromEvent):
1139 new file and function
1141 * fvwm/functions.c (execute_function):
1144 * fvwm/session.c (MatchWinToSM):
1145 fixed a memory leak when using session management
1147 * fvwm/session.c (LoadWindowStates):
1149 * fvwm/builtins.c (CMD_StrokeFunc):
1150 use saferealloc instead of realloc
1151 use safemalloc instead of malloc
1153 2001-06-08 Dominik Vogt <dominik.vogt@gmx.de>
1155 * fvwm/add_window.c (destroy_icon_font):
1156 check if icon_font == default font before deleting the icon_font,
1157 not if title_font == default font
1159 2001-06-03 Mikhael Goikhman <migo@homemail.com>
1161 * fvwm/style.c (CMD_Style):
1162 accept style option Layer without argument
1164 2001-06-03 Dominik Vogt <dominik.vogt@gmx.de>
1166 * fvwm/virtual.c (map_window):
1167 prevent that dying windows are mapped again during a desk change
1169 2001-06-01 Dominik Vogt <dominik.vogt@gmx.de>
1171 * fvwm/focus.c (restore_focus_after_unmap):
1172 ignore transientfor windows on other desks and honour Skip... styles
1173 when restoring focus
1175 2001-05-29 Dominik Vogt <dominik.vogt@gmx.de>
1177 * fvwm/add_window.c (setup_key_and_button_grabs):
1178 fixed bug #711 (key bindings not properly removed)
1180 * fvwm/events.c (GetContext):
1181 fix to catch button presses with unclutter
1183 2001-05-29 Mikhael Goikhman <migo@homemail.com>
1186 a fix for autoconf-2.50
1188 * fvwm/module_interface.c (PositiveWrite):
1189 print module name and alias in "Failed to read descriptor" error
1191 2001-05-29 Dominik Vogt <dominik.vogt@gmx.de>
1193 * fvwm/add_window.c (destroy_window):
1194 unmap the window immediately when it's going to be destroyed so so that
1195 it does not hang around during a wait
1197 inform modules that window will be gone soon too
1199 * fvwm/builtins.c (CMD_Wait):
1202 * fvwm/misc.c (UngrabEm):
1203 workaround for wait hang caused "I" function patch
1205 2001-05-28 Dan Espen <dane@mk.telcordia.com>
1207 * INSTALL.fvwm: Identify LDFLAGS as a Makefile variable.
1209 2001-05-27 Dominik Vogt <dominik.vogt@gmx.de>
1211 * fvwm/focus.c (focus_grab_buttons_on_pointer_window):
1213 * fvwm/stack.c (LowerWindow):
1215 grab buttons on focused window after raise/lower to make sure that
1216 ...ClickRaises works if a window was raised above the window under the
1219 * fvwm/stack.c (LowerWindow):
1221 restored sending M_RAISE_WINDOW and M_LOWER_WINDOW that was accidentally
1222 removed somewhere after 2.2 - fixes missing raise/lower events in
1225 fixed an error message
1227 2001-05-27 Dan Espen <dane@mk.telcordia.com>
1229 * INSTALL.fvwm: Remove information about obsolete
1230 --disable-modality, --enable-move-bug-workaround.
1231 Supplement LDFLAGS with flags for other platforms.
1233 2001-05-27 Mikhael Goikhman <migo@homemail.com>
1235 * fvwm/functions.c (execute_function):
1236 print log commands after expansion rather than before
1238 2001-05-24 Mikhael Goikhman <migo@homemail.com>
1242 * fvwm/functions.c (expand):
1244 Module configuration commands are now processed like any other
1245 commands (so "+ I $0" when $0 is "*FvwmPager..." is now recognized
1246 as a module command, as well as "+ I *$0" when $0 is "FvwmPager...").
1247 This also means that parameters are expanded now in module lines,
1248 except for single alphabetical-letter parameters, which are not
1249 expanded for backward compatibility.
1252 make older bzip2 work too
1254 * fvwm/read.c (run_command_stream):
1255 strip trailing end of line in commands
1257 2001-05-22 Dominik Vogt <dominik.vogt@gmx.de>
1259 * fvwm/stack.c (is_on_top_of_layer):
1260 never consider a window to be "on top" with windows X servers
1262 * fvwm/virtual.c (checkPanFrames):
1263 cleaned up code duplication and logic
1265 * fvwm/events.c (HandleConfigureRequest):
1266 fixed random client window size when ConfigureNotify caused a restack
1267 but no size change; fixes "import -frame" problem
1269 2001-05-20 Mikhael Goikhman <migo@homemail.com>
1271 * INSTALL.fvwm: remove a note about the old Cygwin (hopefully fixed)
1272 * configure.in: say that rplay is needed for FvwmEvent only
1273 * fvwm/fvwm2.1: several typos and corrections
1274 * fvwm/gnome.c: use True/False instead of On/Off in WindowShade
1275 * README: s/2.3.0/2.4.0/
1277 2001-05-19 olicha <olivier.chapuis@free.fr>
1279 * fvwm/gnome.c (GNOME_HandlePropRequest):
1280 Fixed GNOME Shade state
1282 2001-05-16 Mikhael Goikhman <migo@homemail.com>
1285 more explanations about module aliases
1287 2001-05-14 Dan Espen <dane@mk.telcordia.com>
1289 * libs/Graphics.c (CreateGradientPixmap): Avoid divide by zero errors
1290 in S,C,Y Gradients with the help of a very smart horse.
1292 2001-05-14 olicha <olivier.chapuis@free.fr>
1295 Fixed (true) IMLIB test (never used) and say that we test GDK Imlib
1300 * fvwm/focus.c (warp_to_fvwm_window):
1301 WarpToWindow handles negative numbers
1303 2001-05-11 Dominik Vogt <dominik.vogt@gmx.de>
1305 * fvwm/focus.c (DoSetFocus):
1306 another attempt to fix "Globally Active" input model
1308 2001-05-10 Mikhael Goikhman <migo@homemail.com>
1310 * session.c (get_version_string):
1311 increment state file version since struct window_flags was changed
1313 2001-05-10 Dominik Vogt <dominik.vogt@gmx.de>
1315 * fvwm/events.c (HandlePropertyNotify):
1316 * fvwm/icons.c (Iconify):
1317 * fvwm/window_flags.h (HAS_ICON_CHANGED):
1318 * fvwm/fvwm.h (struct):
1319 Fixed active icon change when window was not iconified.
1321 * fvwm/focus.c (DoSetFocus):
1322 Fixed "Globally Active" input model
1324 2001-05-09 André Dahlqvist <anedah-9@sm.luth.se>
1326 * README: Minor wording change.
1328 2001-05-09 Dominik Vogt <dominik.vogt@gmx.de>
1331 added default menu binding to description
1333 2001-05-09 Dominik Vogt <dominik.vogt@gmx.de>
1335 * fvwm/functions.c (DeferExecution):
1336 fixed keyboard lockup
1338 * fvwm/events.c (HandleLeaveNotify):
1339 took out the rest of the icon title expansion patch
1341 2001-05-08 Mikhael Goikhman <migo@homemail.com>
1343 * sample.fvwmrc/system.fvwm2rc-sample-95:
1344 several fixes; use a new module config
1346 * fvwm/icons.c (DrawIconWindow):
1347 restored behaviour "enter icon - expand title, leave icon - collapse"
1350 2001-05-07 Dominik Vogt <dominik.vogt@gmx.de>
1352 * fvwm/icons.c (DrawIconWindow):
1353 fixed icon title expansion while icon has focus
1354 * fvwm/events.c (HandleLeaveNotify):
1355 fixed enter and leave notify events for icons in scripts
1357 2001-05-06 Dominik Vogt <dominik.vogt@gmx.de>
1360 FVWM --> fvwm in some places
1362 2001-05-06 Mikhael Goikhman <migo@homemail.com>
1368 renamed "Imlib" support to "GDK Imlib"
1370 2001-05-04 Mikhael Goikhman <migo@homemail.com>
1372 * NEWS, configure.in:
1373 changed version to 2.3.33
1375 2001-05-04 Mikhael Goikhman <migo@homemail.com>
1378 report gdk-imlib support in FvwmGtk; don't report gnome-libs and
1379 gdk-imlib support in FvwmGtk if FvwmGtk is not installed;
1380 rename $*_gnome to $*_gnomewm to reduce confusion
1383 added a note for Cygwin users, other minor documentation improvements
1386 document latest changes
1388 2001-05-03 Dominik Vogt <dominik.vogt@gmx.de>
1390 * fvwm/events.c (HandleEnterNotify):
1391 Another attempt to MouseFocus transition
1393 2001-05-03 Mikhael Goikhman <migo@homemail.com>
1396 enabled and fixed imlib test;
1397 don't write all verbose tips for imlib to stdout, but to config.log
1399 2001-05-02 Dan Espen <dane@mk.telcordia.com>
1401 * fvwm/events.c (HandleEnterNotify): Backout fixed MouseFocus
1402 transition w/ neverfocus and clicktofocus change and some debug stmts.
1404 2001-05-01 Dominik Vogt <dominik.vogt@gmx.de>
1406 * fvwm/events.c (HandleConfigureRequest):
1407 (HandleConfigureRequest):
1408 Applied Tk drawing after restack patch by Slaven Rezic
1409 (HandleEnterNotify):
1410 fixed MouseFocus transition w/ neverfocus and clicktofocus
1412 2001-05-01 Mikhael Goikhman <migo@homemail.com>
1415 added missing #include <time.h> needed for FVWM_DEBUG_TIME
1419 * fvwm/functions.c (execute_function):
1421 added --enable-command-log configure option using FVWM_COMMAND_LOG
1422 for logging all executed commands, this also enables reporting times
1425 restored previous underlying style using '='
1427 2001-04-28 Dan Espen <dane@mk.telcordia.com>
1429 * libs/Graphics.c (AllocNonlinearGradient): Removed aborts from
1430 gradient calculation consistency checks.
1432 2001-04-27 Dominik Vogt <dominik.vogt@gmx.de>
1434 * fvwm/events.c (HandleEnterNotify):
1435 (HandleLeaveNotify):
1436 tried to fix focus/grab interaction
1438 2001-04-26 Dominik Vogt <dominik.vogt@gmx.de>
1440 * fvwm/fvwm2.1 (Note):
1441 slightly better explanation of context window in functions
1443 * fvwm/stack.c (mark_transient_subtree):
1444 fixed collection of transients on same layer
1446 2001-04-23 Dan Espen <dane@mk.telcordia.com>
1448 * fvwm/placement.c (PlaceWindow): Ungrab the pointer when window
1449 disappears during placement.
1451 2001-04-23 Dominik Vogt <dominik.vogt@gmx.de>
1453 * fvwm/add_window.c (AddWindow):
1454 Explicitly destroy a window at the end of the function if the client
1455 window does not exist anymore.
1457 2001-04-22 Dominik Vogt <dominik.vogt@gmx.de>
1459 * fvwm/events.c (HandleEnterNotify):
1460 a little event handling clean up
1463 EnterNotify and LeaveNotify are generated only for the decor_w and the
1466 * fvwm/placement.c (PlaceWindow):
1467 do not free window structure in placement code; fixes core dump
1469 2001-04-21 Dominik Vogt <dominik.vogt@gmx.de>
1471 * fvwm/fvwm.c (FvwmErrorHandler):
1472 suppress error messages for X_ConfigureWindow requests
1474 * fvwm/events.c (HandleEnterNotify):
1475 make sure window under pointer gets the focus after a restart
1477 2001-04-20 Dominik Vogt <dominik.vogt@gmx.de>
1479 * libs/Target.c (fvwmlib_get_target_window):
1480 * libs/Grab.c (MyXGrabKeyboard):
1481 (MyXUngrabKeyboard):
1482 * fvwm/placement.c (PlaceWindow):
1484 * fvwm/move_resize.c (AnimatedMoveAnyWindow):
1488 (AnimatedMoveAnyWindow):
1490 * fvwm/functions.c (DeferExecution):
1491 * fvwm/builtins.c (CMD_StrokeFunc):
1492 * fvwm/menus.c (do_menu):
1493 new functions MyXGrabKeyboard and MyXUngrabKeyboard to handle multiple
1495 fixes focus lost during menu animation
1497 2001-04-19 Mikhael Goikhman <migo@homemail.com>
1500 corrected a spacing and contradicting info in FakeClick entry
1501 (it once suggested to use depth 1 and once depth 0 for the root)
1503 2001-04-15 Dominik Vogt <dominik.vogt@gmx.de>
1505 * fvwm/menus.c (get_one_menu_position_argument):
1508 * libs/Parse.c (GetSuffixedIntegerArguments):
1509 (SuffixToPercentValue):
1511 (GetNextTokenIndex):
1512 use pointers instead of arrays as function parameters to suppress some
1515 * fvwm/functions.c (DeferExecution):
1516 grab keyboard when selecting a window to fix similar problem
1518 * fvwm/placement.c (PlaceWindow):
1519 wire frame placement fix w/ keyboard
1521 2001-04-14 Dominik Vogt <dominik.vogt@gmx.de>
1523 * fvwm/move_resize.c (InteractiveMove):
1525 grab keyboard during wire frame moves too so that keyboard input is not
1526 passed to a window below; fixed moving window frames with the keyboard
1528 fixed X freeze when window disappeared before the server was grabbed
1529 check if a shaded window still exists too
1531 2001-04-11 Dominik Vogt <dominik.vogt@gmx.de>
1533 * fvwm/fvwm2.1 (Example):
1534 * fvwm/move_resize.c (CMD_SnapAttraction):
1535 * libs/defaults.h (DEFAULT_SNAP_ATTRACTION_ON_MODE):
1536 Some corrections in man page and SnapAttraction parsing
1538 2001-04-09 Dominik Vogt <dominik.vogt@gmx.de>
1540 * fvwm/icons.c (DeIconify):
1542 set focus to the correct window when iconifying transient window trees
1543 fix deiconifying windows on other pages
1545 * fvwm/icons.c (DeIconify):
1546 * fvwm/events.c (HandleUnmapNotify):
1547 * fvwm/add_window.c (destroy_window):
1548 * fvwm/focus.c (restore_focus_after_unmap):
1549 Delete and set focus when a window is moved to a desk or iconified or
1552 * fvwm/virtual.c (do_move_window_to_desk):
1553 delete focus when moving focused window to another desk
1555 2001-04-08 Dominik Vogt <dominik.vogt@gmx.de>
1557 * fvwm/borders.c (draw_clipped_decorations):
1558 (get_common_decorations):
1561 2001-04-07 Dan Espen <dane@mk.telcordia.com>
1563 * NEWS, configure.in:
1564 changed version to 2.3.32
1566 2001-04-07 Dominik Vogt <dominik.vogt@gmx.de>
1568 * sample.fvwmrc/DecorWin95:
1569 * sample.fvwmrc/DecorMwm:
1570 add "Destroydecor recreate DecorBase"
1572 * fvwm/builtins.c (DestroyFvwmDecor):
1574 added the recreate option to the DestroyDecor command
1577 * fvwm/misc.c (UngrabEm):
1579 * fvwm/icons.c (Iconify):
1580 * fvwm/add_window.c (destroy_window):
1581 * fvwm/events.c (HandleUnmapNotify):
1582 removed all of the code dealing with the old Scr.PreviousFocus window
1583 which was essentially a no-op with a host of unwanted side effects.
1584 The idea was to suppress the EnterNotify and LeaveNotify events caused
1585 by grabbing and ungrabbing the pointer by transferring the focus to
1586 Scr.NoFocusWin before grabbing and restoring it afterwards. But of
1587 course the focus has no effent on Enter/LeaveNotify events, only on
1588 FocusIn/FocusOut events which are not generated by grabbing or
1589 ungrabbing the pointer.
1591 * fvwm/misc.c (GrabEm):
1593 transfer focus to Scr.NoFocusWin for GRAB_BUSY also
1595 * fvwm/events.c (HandleEnterNotify):
1596 (HandleLeaveNotify):
1597 fixed Prev command with MosueFocus or SloppyFocus
1599 * fvwm/focus.c (clear_focus_window):
1602 * fvwm/events.c (HandlePropertyNotify):
1603 small focus handling fix
1605 * fvwm/focus.c (FocusOn):
1608 * fvwm/misc.c (GrabEm):
1611 * fvwm/focus.c (set_focus_window):
1612 (restore_prevfocus_window):
1614 (restore_focus_after_unmap):
1615 fixed window list order
1617 * fvwm/conditional.c (Circulate):
1623 2001-04-06 Dan Espen <dane@mk.telcordia.com>
1625 * sample.fvwmrc/DecorMwm:
1626 * sample.fvwmrc/DecorWin95: Use one decor, remove DestroyDecor.
1628 2001-04-07 Mikhael Goikhman <migo@homemail.com>
1630 * fvwm/menus (scanForHotkeys):
1631 don't set hotkey if a string after a mark is empty, this fixes the
1632 core dump later in draw_underline()
1635 use bold instead of quotes in "initialization functions" section
1637 2001-04-06 Dominik Vogt <dominik.vogt@gmx.de>
1639 * fvwm/move_resize.c (CMD_Maximize):
1640 fixed maximize - move - maximize on pages other than 0 0
1642 * fvwm/module_interface.c (make_named_packet):
1644 truncate packets longer than allowed max size
1646 * fvwm/fvwm.c (CatchRedirectError):
1650 2001-04-05 Dominik Vogt <dominik.vogt@gmx.de>
1652 * fvwm/menus.c (DestroyMenu):
1653 fixed menus being overwritten by copies of other menus
1655 2001-04-04 Dominik Vogt <dominik.vogt@gmx.de>
1657 * fvwm/virtual.c (MoveViewport):
1658 do not overwrite 'previous' page when switching pages without actually
1661 2001-04-05 Dominik Vogt <dominik.vogt@gmx.de>
1663 * fvwm/screen.h (ScreenInfo):
1664 * fvwm/events.c (HandleUnmapNotify):
1667 (HandlePropertyNotify):
1668 (HandleLeaveNotify):
1669 (HandleEnterNotify):
1670 (HandleButtonPress):
1671 (HandleUnmapNotify):
1673 (HandleMapRequestKeepRaised):
1674 (HandleEnterNotify):
1675 (HandleLeaveNotify):
1676 * fvwm/virtual.c (MapDesk):
1678 * fvwm/icons.c (DeIconify):
1680 * fvwm/fvwm.c (InitVariables):
1682 * fvwm/move_resize.c (CMD_Maximize):
1684 * fvwm/update.c (apply_decor_change):
1685 (flush_window_updates):
1686 * fvwm/windowlist.c (CMD_WindowList):
1687 * fvwm/conditional.c (Circulate):
1688 (MatchesConditionMask):
1689 * fvwm/builtins.c (CMD_WindowShade):
1690 * fvwm/add_window.c (CaptureAllWindows):
1692 * fvwm/misc.c (GrabEm):
1693 removed Focus, LastScreenFocus and PreviousFocus members from screen
1694 struct; handle these locally in focus.c and provide access functions
1695 fixed Prev condition in complex functions
1697 * fvwm/conditional.c (MatchesConditionMask):
1700 * fvwm/focus.c (get_focus_window):
1701 (get_current_focus_window):
1703 (store_prevfocus_window):
1706 2001-04-04 Dominik Vogt <dominik.vogt@gmx.de>
1708 * fvwm/functions.c (AddToFunction):
1709 allow "Click", "Hold", etc. in addition to single letter function
1711 (execute_complex_function):
1714 added a warning when a command or function name is used as the function
1717 2001-03-30 Dominik Vogt <dominik.vogt@gmx.de>
1719 * fvwm/focus.c (DoSetFocus):
1720 fixed keyboard input in active icons
1722 * fvwm/menus.c (MenuInteraction):
1723 fixed PopdownDelay when entering a menu item with a non existent sub
1726 fixed core dump and screwed up warping w/ animated menus
1728 * fvwm/virtual.c (MapDesk):
1729 return focus to window on other desk when switching desks
1731 * fvwm/borders.c (DrawButton):
1734 2001-03-28 Dan Espen <dane@mk.telcordia.com>
1736 * sample.fvwmrc/Makefile.am (EXTRA_DIST):
1737 * sample.fvwmrc/DecorMwm:
1738 * sample.fvwmrc/DecorWin95:
1739 * sample.fvwmrc/decor_examples: Decors come in separate files,
1740 Changing to a new decor is remembered.
1742 2001-03-29 Dominik Vogt <dominik.vogt@gmx.de>
1744 * NEWS, configure.in:
1745 changed version to 2.3.31
1747 2001-03-29 Dominik Vogt <dominik.vogt@gmx.de>
1749 * fvwm/move_resize.c (DoSnapAttract):
1750 fixed windows snapping off screen
1752 * fvwm/borders.c (RedrawBorder):
1753 rewrote and fixed handle drawing
1755 2001-03-28 Dominik Vogt <dominik.vogt@gmx.de>
1757 * sample.fvwmrc/system.fvwm2rc:
1758 fixed *FvwmIconMan*sort and ...*dontshow resources
1760 * sample.fvwmrc/decor_examples:
1761 * sample.fvwmrc/system.fvwm2rc-sample-1:
1762 * sample.fvwmrc/system.fvwm2rc:
1763 fixed MenuStyle commands
1765 * libs/Graphics.c (AllocLinearGradient):
1766 fixed rounding errors
1767 (AllocLinearGradient):
1770 * fvwm/move_resize.c (CMD_Resize):
1771 fixed resizing shaded windows
1773 2001-03-27 Mikhael Goikhman <migo@homemail.com>
1775 * fvwm/session.c (get_version_string):
1776 window_flags changed, so state file version should be increased
1778 2001-03-27 Dominik Vogt <dominik.vogt@gmx.de>
1780 * fvwm/add_window.c (setup_style_and_decor):
1781 * fvwm/builtins.c (CMD_ChangeDecor):
1782 * fvwm/window_flags.h:
1783 * fvwm/fvwm.h (struct):
1784 fixed (?) ChangeDecor/UseDecor/Style problem
1786 2001-03-26 Dan Espen <dane@mk.telcordia.com>
1788 * fvwm/add_window.c (setup_style_and_decor): Make useDecor work again.
1790 2001-03-26 Dominik Vogt <dominik.vogt@gmx.de>
1792 * fvwm/focus.c (ReturnFocusWindow):
1795 * fvwm/misc.c (UngrabEm):
1796 fixed pointer grabbing/focus after a menu closes
1798 * fvwm/move_resize.c (CMD_Resize):
1799 fixed resizing shaded windows w/ titleatbottom
1801 2001-03-25 Dominik Vogt <dominik.vogt@gmx.de>
1803 * INSTALL.fvwm (Note):
1808 * fvwm/builtins.c (CMD_BugOpts):
1809 * fvwm/fvwm.c (InitVariables):
1810 removed --enable-move-bug-workaround configure option
1811 removed --disable-modality configure option
1812 removed remnants of BUSYCURSOR configure option
1814 2001-03-24 Mikhael Goikhman <migo@homemail.com>
1817 * sample.fvwmrc/system.fvwm2rc-sample-2:
1818 small rewording/spelling
1820 2001-03-24 Dominik Vogt <dominik.vogt@gmx.de>
1822 * fvwm/modconf.c (CMD_Send_ConfigInfo):
1823 * fvwm/module_interface.c (CMD_SendToModule):
1824 * fvwm/builtins.c (CMD_Beep):
1826 * fvwm/gnome.c (CMD_GnomeShowDesks):
1828 * fvwm/modconf.c (CMD_DestroyModuleConfig):
1829 * fvwm/windowlist.c (CMD_WindowList):
1830 * fvwm/virtual.c (CMD_EdgeThickness):
1832 (CMD_EdgeResistance):
1835 (CMD_GotoDeskAndPage):
1839 * fvwm/update.c (CMD_UpdateStyles):
1840 * fvwm/style.c (CMD_DestroyStyle):
1842 * fvwm/stack.c (CMD_Raise):
1846 (CMD_DefaultLayers):
1847 * fvwm/session.c (CMD_QuitSession):
1849 (CMD_SaveQuitSession):
1850 * fvwm/repeat.c (CMD_Repeat):
1851 * fvwm/read.c (CMD_Read):
1853 * fvwm/placement.c (CMD_PlaceAgain):
1854 * fvwm/move_resize.c (CMD_ResizeMove):
1858 (CMD_MoveThreshold):
1859 (CMD_OpaqueMoveSize):
1860 (CMD_HideGeometryWindow):
1861 (CMD_SnapAttraction):
1868 * fvwm/module_interface.c (CMD_Module):
1869 (CMD_ExecuteModuleSynchronous):
1872 (CMD_set_sync_mask):
1873 (CMD_set_nograb_mask):
1874 * fvwm/menus.c (CMD_DestroyMenu):
1876 (CMD_DestroyMenuStyle):
1877 (CMD_CopyMenuStyle):
1879 (CMD_ChangeMenuStyle):
1881 * fvwm/icons.c (CMD_Iconify):
1882 * fvwm/focus.c (CMD_FlipFocus):
1885 * fvwm/cursor.c (CMD_CursorStyle):
1887 * fvwm/conditional.c (CMD_Prev):
1895 * fvwm/builtins.c (CMD_WindowShade):
1909 (CMD_RefreshWindow):
1911 (CMD_RefreshWindow):
1916 (CMD_ColormapFocus):
1922 (CMD_ModuleTimeout):
1924 (CMD_HilightColorset):
1926 (CMD_AddTitleStyle):
1929 (CMD_DefaultColorset):
1930 (CMD_DefaultColors):
1939 (CMD_AddButtonStyle):
1947 (CMD_WindowShadeAnimate):
1951 * fvwm/borders.c (CMD_ButtonState):
1953 * fvwm/bindings.c (CMD_Stroke):
1957 (CMD_IgnoreModifiers):
1958 * fvwm/add_window.c (CMD_RecaptureWindow):
1960 * fvwm/functions.c (CMD_Silent):
1961 * fvwm/functions.c (func_config):
1963 renamed all functions for external commands to "CMD_commandname"
1965 * fvwm/functions.c (func_config):
1966 introduced a command table macro and added a column that hold the old
1967 spelling of the command names
1970 * fvwm/fvwm2.1 (sub-menu):
1974 * sample.fvwmrc/system.fvwm2rc-sample-95:
1975 * sample.fvwmrc/system.fvwm2rc-sample-2:
1976 * sample.fvwmrc/system.fvwm2rc-sample-1:
1977 * sample.fvwmrc/system.fvwm2rc:
1978 * sample.fvwmrc/decor_examples:
1979 * sample.fvwmrc/new-features:
1980 * fvwm/ConfigFvwmSetup:
1981 converted to new placement style names
1983 2001-03-23 Dominik Vogt <dominik.vogt@gmx.de>
1985 * fvwm/borders.c (RedrawButtons):
1989 2001-03-22 Dominik Vogt <dominik.vogt@gmx.de>
1991 * fvwm/functions.c (execute_complex_function):
1992 fixed button presses being passed to other applications with functions
1993 that only have immediate actions
1995 * libs/Parse.c (ParseToggleArgument):
1996 backed out to allow '1' and '0' as true and false because it breaks
1997 parsing in several places
1999 2001-03-21 Dominik Vogt <dominik.vogt@gmx.de>
2001 * fvwm/builtins.c (do_title_style):
2004 2001-03-22 Dominik Vogt <dominik.vogt@gmx.de>
2006 * fvwm/events.c (HandleMapRequestKeepRaised):
2007 * fvwm/virtual.c (unmap_window):
2009 disabled ICCCM2 patch that unmaps the client window whenever the frame
2010 is unmapped since it causes way too mouch trouble. #define
2011 ICCCM2_UNMAP_WINDOW_PATCH to enable it
2013 * libs/Graphics.c (ParseGradient):
2014 added an error message if number of gradient segments does not match
2015 the given number of colours and percentages
2017 (CreateGradientPixmapFromString):
2018 improved error messages
2022 2001-03-21 Dominik Vogt <dominik.vogt@gmx.de>
2024 * fvwm/fvwm.c (MappedNotOverride):
2025 * fvwm/builtins.c (RecaptureWindow):
2028 * fvwm/fvwm.c (Reborder):
2031 (CaptureAllWindows):
2032 functions moved to add_window.c
2034 * fvwm/session.c (RestartInSession):
2035 fixed windows travelling upon restart with outdated session state file
2037 2001-03-19 Dominik Vogt <dominik.vogt@gmx.de>
2039 * fvwm/builtins.c (button_states):
2042 * fvwm/events.c (HandleUnmapNotify):
2043 call XSync() after releasing a client window
2045 2001-03-18 Dominik Vogt <dominik.vogt@gmx.de>
2047 * fvwm/borders.c (RedrawTitle):
2050 (draw_clipped_decorations):
2051 vastly improved speed of window motion with pixmap backgrounds in
2054 removed debug statement
2056 * fvwm/builtins.c (ReadTitleButton):
2057 * fvwm/fvwm.c (DestroyAllButtons):
2059 * fvwm/borders.c (get_button_state):
2060 renamed button states
2062 * sample.fvwmrc/system.fvwm2rc-sample-2:
2063 * sample.fvwmrc/system.fvwm2rc-sample-1:
2064 * sample.fvwmrc/system.fvwm2rc:
2065 * sample.fvwmrc/decor_examples:
2066 * sample.fvwmrc/new-features:
2067 converted to new config file format
2069 * fvwm/builtins.c (SetGlobalOptions):
2070 cleaned up parsing, save some bytes
2072 * libs/Parse.c (ParseToggleArgument):
2073 allow '1' and '0' as toggling arguments
2075 * fvwm/builtins.c (ReadTitleButton):
2077 prevent unnecessary multiple parsing
2079 * fvwm/menus.c (MenuInteraction):
2080 fixed menus no longer popping up or down under certain circumstances
2082 small performance enhancement for non animated menus
2083 removed old debug statements
2085 2001-03-17 Dominik Vogt <dominik.vogt@gmx.de>
2088 initialise PressedW with "None"
2089 (HandleButtonPress):
2090 do not redraw decoration when an unbound mouse button is used
2092 2001-03-14 Mikhael Goikhman <migo@homemail.com>
2094 * fvwm/session.c (MatchWinToSM):
2095 fixed a case when win->name becomes NULL (if there is window role);
2096 (new get_version_string):
2097 make a state file version static (2.4-1 for now);
2098 (new unspace_string):
2099 fixed matching windows with command line arguments having spaces
2101 2001-03-14 Dominik Vogt <dominik.vogt@gmx.de>
2103 * libs/WinMagic.c (SlideWindow):
2104 better math to protect against integer overflows
2106 fixed percent list sliding spec
2108 * fvwm/events.c (HandleConfigureRequest):
2109 fixed XMoveResize requests that leave the x/y position unchanged for
2110 windows with South/East gravity
2112 * fvwm/move_resize.c (DoSnapAttract):
2115 2001-03-12 Dominik Vogt <dominik.vogt@gmx.de>
2117 * libs/Picture.c (GetColor):
2118 allocate colours from a colour set
2119 removed unused variable
2121 * fvwm/move_resize.c (moveLoop):
2124 (get_outline_rects):
2125 reactivated wire frame interleaving to reduce flickering
2128 * fvwm/menus.c (paint_menu):
2129 moved a macro to defaults.h
2131 2001-03-11 Dominik Vogt <dominik.vogt@gmx.de>
2133 * fvwm/move_resize.c (SetSnapAttraction):
2136 * fvwm/icccm2.c (SetupICCCM2):
2139 * fvwm/menus.c (do_menu):
2141 * fvwm/fvwm.c (main):
2143 (MappedNotOverride):
2144 * fvwm/icccm2.c (SetupICCCM2):
2145 * fvwm/virtual.c (initPanFrames):
2146 * fvwm/menus.c (MenuInteraction):
2147 * fvwm/icons.c (CreateIconWindow):
2149 * fvwm/add_window.c (setup_parent_window):
2150 (setup_button_windows):
2151 (setup_decor_window):
2152 (setup_resize_handle_windows):
2154 (setup_frame_window):
2155 * fvwm/events.c (HandleReparentNotify):
2157 * fvwm/add_window.h:
2158 all window event masks are defined as macros in events.h
2159 frame window selects VisibilityNotifyMask so that the raised/visible
2160 conditions work again
2162 * vms/make_fvwm.mms (BaseDirFix):
2164 * sample.fvwmrc/system.fvwm2rc-sample-95:
2165 * sample.fvwmrc/decor_examples:
2170 * fvwm/module_interface.c:
2171 changed some comments so that they don't look like cvs conflict markers
2173 * fvwm/move_resize.c (SetSnapAttraction):
2175 * libs/defaults.h (DEFAULT_SNAP_GRID_X):
2176 fixed a bug in SnapAttraction parsing
2177 cut down CPU requirements when verious parts of SnapAttraction are
2178 disabled; this makes window movement more smooth
2179 fixed a bug that mad it impossible to snap to windows so that the x or y
2180 coordinate became -1
2182 * fvwm/move_resize.c (MoveOutline):
2183 moving windows looks a bit more smooth
2185 2001-03-10 Dominik Vogt <dominik.vogt@gmx.de>
2187 * tests/FvwmButtons/FvwmButtons.sh:
2188 Make sure some styles are set properly for FvwmButtons
2189 new options -S and -k
2192 * tests/purify/purify.fvwm2rc:
2193 merged ImagePath and SetEnv tests and enhanced SetEnv tests
2195 * fvwm/move_resize.c (MoveOutline):
2196 revised outline drawing code for small windows and simplified code
2198 2001-03-10 Dan Espen <dane@mk.telcordia.com>
2200 * tests/FvwmButtons/FvwmButtons.sh: More tests.
2201 * tests/purify/purify.fvwm2rc: Add xbm bitmap as a side pic,
2204 2001-03-10 Dominik Vogt <dominik.vogt@gmx.de>
2206 * fvwm/events.c (HandleReparentNotify):
2207 * fvwm/add_window.c (setup_frame_window):
2208 * fvwm/add_window.h:
2209 discard events after window was reparented
2211 * fvwm/stack.c (mark_transient_subtree):
2214 * libs/ColorUtils.c (GetShadowOrHiliteColor):
2215 attempt to 'fix' UMR
2217 * fvwm/colors.c (FreeColors):
2218 * fvwm/builtins.c (SetDefaultColors):
2219 * fvwm/module_interface.c (send_list_func):
2220 * fvwm/events.c (HandleFocusIn):
2221 * fvwm/cursor.c (CursorStyle):
2222 * fvwm/menus.c (NewMenuStyle):
2224 * fvwm/fvwm.c (InitVariables):
2227 * libs/defaults.h (DEFAULT_BACK_COLOR):
2228 Define some default colours in defaults.h and use them everywhere.
2230 * libs/Colorset.c (AllocColorset):
2231 hardware portability patch; don't assume layout of the colorset_struct
2234 * libs/envvar.c (getEnv):
2235 initialise a temporary variable
2237 * fvwm/builtins.c (add_to_env_list):
2238 fixed SetEnv memory leak
2240 * fvwm/session.c (saveQuitSession):
2243 * libs/envvar.c (strIns):
2244 commented debug code
2248 * fvwm/add_window.c (free_window_names):
2251 * libs/Picture.c (LoadPicture):
2252 fixed core dump with xmb files
2254 * fvwm/menus.c (MenuInteraction):
2257 2001-03-10 Mikhael Goikhman <migo@homemail.com>
2260 documented xsm DiscardCommand workaround using $SESSION_MANAGER_NAME
2262 * fvwm/windowlist.c:
2263 safety fix, this fixes core dump in WindowList under xsm
2265 2001-03-07 Dominik Vogt <dominik.vogt@gmx.de>
2267 * fvwm/menus.c (DestroyMenu):
2269 fixed handling of continuation menus with dynamic menu actions
2271 * fvwm/menus.c (pop_menu_down):
2274 (merge_continuation_menus):
2275 * fvwm/windowlist.c (do_windowList):
2276 fixed deleting menus from dynamic menu actions
2278 * fvwm/menus.c (DestroyMenu):
2279 Fixed menu list corruption
2281 do not resize menu if it has other mapped copies
2283 do not update menu style for menus with copies
2285 returns if menu was actually destroyed or not
2287 2001-03-05 Dominik Vogt <dominik.vogt@gmx.de>
2289 * fvwm/menus.c (size_menu_vertically):
2290 fixed continuation menus with embedded spacing and quoting characters in
2293 * libs/Parse.c (EscapeStripng):
2296 2001-03-04 Dan Espen <dane@mk.telcordia.com>
2298 * tests/FvwmButtons/FvwmButtons.sh: Framework for tests.
2300 2001-03-02 Dan Espen <dane@mk.telcordia.com>
2302 * fvwm/fvwm2.1 (FakeClick): Add example. Style changes focusing on
2305 2001-03-03 Dominik Vogt <dominik.vogt@gmx.de>
2307 * fvwm/geometry.c (get_unshaded_geometry):
2308 * fvwm/update.c (apply_window_updates):
2309 fixed recapturing shaded windows on pages other than 0 0
2311 * fvwm/builtins.c (fake_click):
2312 fixed a bug in button number parsing
2314 properly deliver faked events
2316 * libs/ColorUtils.c (GetShadowColor):
2318 finished reverting back to 2.3.22 colour calculations
2320 * fvwm/menus.c (MenuInteraction):
2321 fixed busy wait with PopupDelay menu style
2323 2001-03-02 Dan Espen <dane@mk.telcordia.com>
2325 * AUTHORS: Added some nice background information for Chuck Hines.
2327 2001-03-02 Dominik Vogt <dominik.vogt@gmx.de>
2329 * NEWS, configure.in:
2330 changed version to 2.3.30
2332 2001-03-02 Dominik Vogt <dominik.vogt@gmx.de>
2335 * fvwm/builtins.c (do_recapture):
2338 * fvwm/stack.c (verify_stack_ring_consistency):
2340 (verify_stack_ring_consistency):
2341 * fvwm/fvwm.c (main):
2342 disabled stack ring debugging by default
2343 to enable use the -debug_stack_ring option
2344 verify stack ring consistency after a recapture
2346 * fvwm/borders.c (draw_clipped_decorations):
2347 (get_common_decorations):
2348 further performance enhancement
2350 * fvwm/borders.c (draw_clipped_decorations):
2351 removed duplicate get_common_decorations call
2353 * fvwm/borders.c (draw_clipped_decorations):
2354 * fvwm/window_flags.h (SET_WINDOW_BORDER_DRAWN):
2356 force resetting the window border background on initial border drawing
2358 * libs/ColorUtils.c (GetHiliteColor):
2360 fixed parameters to GetShadowOrHiliteColor calls screwing up colour
2363 * fvwm/events.c (HandleMapRequestKeepRaised):
2364 icon position hint was sometimes used although it was not set
2365 (fake_map_unmap_notify):
2366 (HandleMapRequestKeepRaised):
2367 simply fake a MapNotify if a MapRequest for an already mapped window
2369 fake an UnmapNotify when a window starts iconic
2371 2001-03-01 Dominik Vogt <dominik.vogt@gmx.de>
2373 * fvwm/style.c (ProcessNewStyle):
2374 fixed reversers window group options
2376 2001-02-28 Dominik Vogt <dominik.vogt@gmx.de>
2379 * fvwm/style.c (ProcessNewStyle):
2381 * fvwm/window_flags.h (DO_ICONIFY_WINDOW_GROUPS):
2382 * fvwm/fvwm.h (struct):
2383 * fvwm/stack.h (mark_transient_subtree):
2384 * fvwm/stack.c (mark_transient_subtree):
2385 (collect_transients_recursive):
2386 * fvwm/icons.c (DeIconify):
2388 new styles IconifyWindowGroups/IconifyWindowGroupsOff.
2390 * fvwm/placement.c (PlaceWindow):
2391 fixed a small bug in window group handling
2393 * fvwm/placement.c (PlaceWindow):
2394 * fvwm/style.c (ProcessNewStyle):
2396 * fvwm/window_flags.h (DO_IGNORE_WINDOW_GROUP_HINT):
2397 * fvwm/fvwm.h (struct):
2398 new styles KeepWindowGroupsOnDesk/ScatterWindowGroups for use with
2399 mozilla which misuses the window group hint
2401 2001-02-27 Dominik Vogt <dominik.vogt@gmx.de>
2403 * fvwm/menus.c (do_menu):
2404 gixed event selection when returning from submenus
2406 * fvwm/placement.c (PlaceWindow):
2407 small performance enhancement
2410 commented unused code
2412 2001-02-26 Dan Espen <dane@mk.telcordia.com>
2414 * NEWS: Update news with 2.2.5, identify 2.2.5 as the latest
2417 2001-02-26 Dominik Vogt <dominik.vogt@gmx.de>
2419 * fvwm/events.c (HandleUnmapNotify):
2420 applied deadlock fix from Hippo
2422 2001-02-25 Michael Han <mikehan@mikehan.com>
2427 Backing out mkstemp() -- not useful/necessary
2429 2001-02-26 Dominik Vogt <dominik.vogt@gmx.de>
2431 * fvwm/stack.c (must_move_transients):
2432 (RaiseOrLowerWindow):
2433 * fvwm/icons.c (Iconify):
2437 2001-02-24 Dominik Vogt <dominik.vogt@gmx.de>
2439 * fvwm/events.c (HandleMapRequestKeepRaised):
2440 hide icons swallowed by parent icon on restart
2442 * fvwm/icons.c (Iconify):
2443 fixed iconic state in modules when an icon that was swallowed by a
2444 parent icon was recaptured
2446 * fvwm/icons.c (Iconify):
2448 * fvwm/stack.c (mark_transient_subtree):
2449 (collect_transients_recursive):
2450 iconify/deiconify transients recursively
2452 * fvwm/stack.c (mark_transient_subtree):
2455 * fvwm/stack.c (must_move_transients):
2456 (RaiseOrLowerWindow):
2457 (mark_transient_subtree):
2458 ignore icons when restacking transients
2460 2001-02-21 Mikhael Goikhman <migo@homemail.com>
2463 minor typo; updated Focus description; added a link to www.fvwm.org
2466 clarified --enable-move-bug-workaround, --disable-modality
2468 2001-02-21 Dominik Vogt <dominik.vogt@gmx.de>
2470 * fvwm/borders.c (DrawButton):
2472 more clipping code for pixmap buttons
2474 2001-02-20 Michael Han <mikehan@mikehan.com>
2479 Added replacement function mkstemp() based on glibc-2.2.2 code
2481 2001-02-20 Dominik Vogt <dominik.vogt@gmx.de>
2483 * fvwm/menus.c (MenuInteraction):
2484 small modification to posting behaviour
2486 * fvwm/menus.c (MenuInteraction):
2487 * fvwm/menus.h (struct):
2488 rewrote posting logic
2490 2001-02-19 Dominik Vogt <dominik.vogt@gmx.de>
2492 * fvwm/add_window.c (RestoreWithdrawnLocation):
2493 * fvwm/fvwm.c (CaptureAllWindows):
2497 * fvwm/builtins.c (do_recapture):
2498 fixed windows migrating to current page on recapture
2500 * fvwm/menus.c (MenuInteraction):
2503 * fvwm/stack.c (RaiseOrLowerWindow):
2504 reduce flickering when raising windows
2506 * fvwm/misc.c (intersect_xrectangles):
2507 * fvwm/borders.c (RedrawBorder):
2508 Fixed clipping of depresser dorder parts
2510 * fvwm/move_resize.c (Maximize):
2512 * fvwm/builtins.c (WindowShade):
2513 * fvwm/icons.c (DeIconify):
2514 regrab buttons on focused window when deiconifying or unshading or
2515 (un)maximizing or (un)sticking a window
2517 * fvwm/borders.c (DrawButton):
2519 * fvwm/menus.c (paint_menu):
2520 * libs/Graphics.c (CreateGradientPixmap):
2521 (CreateGradientPixmapFromString):
2522 * fvwm/borders.c (RedrawBorder):
2525 (draw_clipped_decorations):
2526 * fvwm/events.c (HandleExpose):
2527 Reworked decoration redrawing code so that only the exposed parts are
2528 redrawn. This should dramatically reduce flickering during window
2529 moves. However, Title buttons and titles with Pixmap, TiledPixmap or
2530 MiniIcon title styles do not fully benefit from the patch.
2532 * fvwm/misc.c (merge_rectangles):
2535 2001-02-18 Dominik Vogt <dominik.vogt@gmx.de>
2537 * fvwm/borders.c (RedrawBorder):
2538 Do not draw inverted left and right borders on shaded windows
2542 * fvwm/update.c (apply_window_updates):
2543 Changes in MaxWindowSize style are handles properly for shaded and
2546 * fvwm/style.c (ProcessNewStyle):
2547 Small values of MaxWindosSize style are no longer ignored
2549 * fvwm/fvwm.c (InitVariables):
2550 * fvwm/screen.h (ScreenInfo):
2551 * fvwm/builtins.c (SetBugOptions):
2552 * fvwm/events.c (HandleFocusIn):
2553 suppress focus flickering with application modal Qt dialog windows with
2554 the FlickeringQtDialogsWorkaround bug option.
2556 2001-02-12 Mikhael Goikhman <migo@homemail.com>
2558 * INSTALL.fvwm: document --disable-sm
2559 * fvwm2.1: update -version description
2561 2001-02-12 Dominik Vogt <dominik.vogt@gmx.de>
2563 * fvwm/menus.c (MenuInteraction):
2565 zero out mp structure
2567 * fvwm/functions.c (execute_function):
2568 fixed parsing of one character commands.
2569 * fvwm/style.c (ProcessNewStyle):
2570 added some syntax error messages
2572 * libs/Graphics.c (ParseGradient):
2574 * libs/Parse.c (CopyToken):
2577 2001-02-11 Dan Espen <dane@mk.telcordia.com>
2579 * tests/menus/menus.read: Put /tmp in the imagepath for menus test.
2581 2001-02-11 Dominik Vogt <dominik.vogt@gmx.de>
2583 * fvwm/menus.c (MenuInteraction):
2587 * libs/safemalloc.c:
2591 2001-02-10 Dominik Vogt <dominik.vogt@gmx.de>
2593 * fvwm/borders.c (SetupFrame):
2594 * fvwm/builtins.c (WindowShade):
2595 * fvwm/add_window.c (RestoreWithdrawnLocation):
2596 keep client window at same root coordinates when shaded
2598 2001-02-10 Mikhael Goikhman <migo@homemail.com>
2600 * fvwm/{builtins,functions,fvwm,menus,module_interface}.c:
2601 * fvwm/{move_resize,read,session,style,windowlist}.c:
2602 * libs/{Parse.c,envvar.c,safemalloc.c,safemalloc.h}:
2603 safestrdup patch by Lorenz Minder
2605 2001-02-06 Dan Espen <dane@mk.telcordia.com>
2607 * AUTHORS: Incorporate change from Dan Astoorian.
2609 2001-02-05 Mikhael Goikhman <migo@homemail.com>
2613 Display a problem description near every "no" in configure.
2615 2001-02-04 Dan Espen <dane@mk.telcordia.com>
2617 * tests/purify/README: Update.
2619 * tests/purify/purify.read: Remove random action testes.
2621 * tests/purify/purify.fvwm2rc: Finally, all the tests are in man page
2622 order. Missing or inadequate tests are documented with a comment.
2624 2001-02-03 Mikhael Goikhman <migo@homemail.com>
2626 * sample.fvwmrc/system.fvwm2rc-sample-95:
2627 changes inspired by the Lorenz Minder's patch
2629 2001-02-02 Dominik Vogt <dominik.vogt@gmx.de>
2631 * fvwm/stack.c (get_transientfor_fvwmwindow):
2632 * fvwm/add_window.c (setup_layer):
2633 workaround for windows that are their own transients %-\
2635 * fvwm/events.c (HandleConfigureRequest):
2636 shaded applications cannot move their windows anymore. this helps with
2639 * fvwm/builtins.c (DestroyDecor):
2640 * fvwm/builtins.c (ChangeDecor):
2641 fixed changing the decor of a window
2643 * fvwm/add_window.c (setup_style_and_decor):
2644 only update the decor if none is selected yet
2646 * fvwm/bindings.c (ParseBinding):
2647 Binding mouse button '0' enabled title buttons also
2649 2001-01-28 Mikhael Goikhman <migo@homemail.com>
2654 New configure option --disable-package-subdirs.
2655 Show the instalation directories in configure.
2657 2001-01-27 Dominik Vogt <dominik.vogt@gmx.de>
2659 * fvwm/placement.c (test_fit):
2660 * libs/defaults.h (PLACEMENT_AVOID_BELOW):
2661 lower avoidance factor for windows on lower layers
2663 * fvwm/icons.c (AutoPlaceIcon):
2664 * fvwm/style.c (ProcessNewStyle):
2665 new icon box option "none" to disable all icon boxes, including the
2668 * fvwm/add_window.c (setup_icon_boxes):
2669 fixed icon box count that could lead to a core dump with multiple icon
2672 * fvwm/style.c (merge_styles):
2673 fixed IconBox style without arguments
2675 * fvwm/menus.c (MenuInteraction):
2676 suppress unnecessary sub menu popdown
2678 2001-01-26 Dominik Vogt <dominik.vogt@gmx.de>
2680 * fvwm/fvwm.c (setVersionInfo):
2681 "I18N_MB" -> "Multibyte"
2684 * INSTALL.fvwm (http):
2685 renamed "kanji" option to "multibyte" in some supporting files
2687 * fvwm/add_window.c (get_name_property):
2688 fixed icon title core dump with multibyte support
2690 2001-01-25 Dan Espen <dane@mk.telcordia.com>
2694 changed version to 2.3.29:
2696 2001-01-24 Mikhael Goikhman <migo@homemail.com>
2698 * configure.in: renamed --enable-kanji to --enable-multibyte
2699 * acinclude.m4: renamed want_gnome to with_gnomelibs
2700 * fvwm/fvwm.c: show multibyte support in -version
2702 2001-01-23 Dominik Vogt <dominik.vogt@gmx.de>
2704 * configure.in (Configuration):
2705 print I18N_MB option in configure summary
2707 * fvwm/virtual.c (MoveViewport):
2708 regrab buttons on focused window after a page flip
2710 2001-01-21 Dominik Vogt <dominik.vogt@gmx.de>
2712 * fvwm/update.c (apply_window_updates):
2713 * fvwm/add_window.c (setup_window_font):
2714 * fvwm/events.c (SendConfigureNotify):
2715 (HandleConfigureRequest):
2716 * fvwm/builtins.c (WindowShade):
2717 * fvwm/borders.c (SetupFrame):
2719 * fvwm/fvwm.h (FvwmWindow):
2720 simplified bottom title code a bit to make to prevent futurew bugs
2722 * fvwm/events.c (HandleConfigureRequest):
2723 fixed configure requests for windows with bottom titles
2725 2001-01-21 Mikhael Goikhman <migo@homemail.com>
2727 * fvwm/fvwm2.1: typos
2728 * todo-3.0: added entries 37 to 41, some comments
2730 2001-01-20 Dominik Vogt <dominik.vogt@gmx.de>
2736 * fvwm/menus.c (parse_vertical_spacing_line):
2737 moved some variables to defaults.h
2739 fixed drawing with large relief widths and a title after a separator or
2742 fixed problem with calculation of vertical item offsets with very thick
2745 * fvwm/fvwm.c (SetRCDefaults):
2746 * libs/defaults.h (DEFAULT_MENU_STYLE):
2747 moved default menu style to defaults.h
2749 * fvwm/menus.c (size_menu_horizontally):
2750 (size_menu_vertically):
2751 menu item layout fix w/ long titles
2752 allow negative spacing arguments
2753 corrected hilighting area of item with only one %| in the item format
2754 allow trailing dot in item format, e.g. "%10.r"
2755 allow %<Space> and %<Tab> in addition to <Space> and <Tab> without '%'
2756 fixed layout of items with a sub menu triangle only
2758 2001-01-20 Mikhael Goikhman <migo@homemail.com>
2760 * fvwm/add_window.c (setup_icon, AddWindow):
2761 * fvwm/events.c (HandleProperyNotify):
2763 * fvwm/window_flags.h:
2764 Fixed "Untitled" icon name; it is updated from window name as usual.
2765 Implemented a full synchronization of window name and icon name when
2766 no icon name is provided (it was only updated on the first change)
2767 by adding a new window flag was_icon_name_provided.
2769 2001-01-19 Dominik Vogt <dominik.vogt@gmx.de>
2771 * fvwm/fvwm.c (main):
2772 use / instead of . as home directory if $HOME is not set
2774 * fvwm/update.c (apply_window_updates):
2775 * fvwm/geometry.c (get_unshaded_geometry):
2776 * fvwm/add_window.c (RestoreWithdrawnLocation):
2777 geometry got screwed up when recapturing shaded windows
2779 * fvwm/menus.c (make_menu):
2780 (size_menu_horizontally):
2781 (size_menu_vertically):
2782 (calculate_item_sizes):
2783 fome menu sizing fixes
2787 properly provide decalration of SetMWM_INFO
2789 2001-01-18 Dan Espen <dane@mk.telcordia.com>
2791 * fvwm/fvwm2.1: Document the fact that ModalityIsEvil can't be turned
2794 * fvwm/builtins.c (SetBugOptions): When ModalityIsEvil is turned on,
2795 call SetMWM_INFO to turn it on.
2797 * fvwm/fvwm.c (SetMWM_INFO): Enable "BugOpts ModalityIsEvil" to actually
2800 2001-01-18 Dominik Vogt <dominik.vogt@gmx.de>
2802 * fvwm/fvwm.c (CaptureAllWindows):
2803 explicitly store focused window over a recapture
2805 * fvwm/icons.c (CreateIconWindow):
2806 * fvwm/events.c (HandlePropertyNotify):
2807 cleaned up icon override code
2809 * fvwm/events.c (HandlePropertyNotify):
2812 * fvwm/menus.c (size_menu_horizontally):
2813 removed some debug stuff
2815 2001-01-18 Mikhael Goikhman <migo@homemail.com>
2817 * fvwm/fvwm.c: issue a warning when restarting as 'Restart fvwm2'
2818 * fvwm/fvwm2.1: enhanced Restart entry
2819 * fvwm/ConfigFvwmSetup: s/Restart fvwm2/Restart/
2820 * todo-2.4: closed 170, added an old annoying problem 171
2822 * fvwm/menus.h: removed incorect leading #
2823 * fvwm/menus.c: corrected an error message
2824 * docs/FAQ: minor corrections in 3.18
2826 2001-01-18 Dominik Vogt <dominik.vogt@gmx.de>
2828 * fvwm/fvwm2.1 (quotes):
2829 Tried to clarify expansion a bit
2831 2001-01-17 Dominik Vogt <dominik.vogt@gmx.de>
2833 * fvwm/menus.c (scanForPixmap):
2834 changed error message when menu pixmap can not be loaded
2835 (size_menu_horizontally):
2837 (size_menu_horizontally):
2838 fixed width of a tab in the item format
2839 (size_menu_horizontally):
2840 (size_menu_vertically):
2842 fixed vertical sizing of items with suppressed, tall mini icons
2843 (size_menu_vertically):
2844 fixed vertical sizing of items without text or icons
2845 (size_menu_vertically):
2846 fixed vertical sizing of titles
2848 2001-01-18 Chris Rankin <rankinc@zipworld.com.au>
2850 * lib/fvwmsignal.c (fvwmSelect):
2851 Always return -1 on failure; returning 0 means "timeout". Make
2852 sure that errno is always set correctly on failure instead.
2854 * fvwm.module_interface.c (PositiveWrite):
2855 Don't retry the select() if we received a "terminate" signal,
2856 because this is the reason we have fvwmSelect().
2858 2001-01-17 Dan Espen <dane@mk.telcordia.com>
2860 * fvwm/add_window.c (increase_icon_hint_count):
2861 * fvwm/icons.c (CreateIconWindow):
2863 * fvwm/events.c (HandlePropertyNotify): Made icon debugging a compile
2865 * tests/purify/purify.fvwm2rc: More tests.
2866 * fvwm/fvwm2.1: A little rewording in CopyMenuStyle and Placement.
2868 2001-01-17 Dominik Vogt <dominik.vogt@gmx.de>
2870 * fvwm/events.c (HandlePropertyNotify):
2872 More work on NoActiveIconOverride
2874 * fvwm/icons.c (CreateIconWindow):
2875 check for cpm icons before looking for monochrome bitmaps to save some
2878 2001-01-14 Dominik Vogt <dominik.vogt@gmx.de>
2880 * fvwm/events.c (HandlePropertyNotify):
2881 * fvwm/icons.c (CreateIconWindow):
2882 reinstated old active icon logic
2884 2001-01-13 Dominik Vogt <dominik.vogt@gmx.de>
2886 * fvwm/style.c (check_window_style_change):
2888 * fvwm/style.h (SUSE_BORDER_COLORSET):
2889 * fvwm/placement.c (PlaceWindow):
2890 * fvwm/builtins.c (SetGlobalOptions):
2891 * fvwm/placement.c (PlaceWindow):
2892 some cleanup in placement code
2893 fixed handling of old Clever+Dumb+Random Placement
2894 Replaced ActivePlacementHonors... with ManualPlacementHonors...
2896 2001-01-13 olicha <olivier.chapuis@free.fr>
2899 Removed test for lex and yacc
2901 * fvwm/placement.c (PlaceAgain_func):
2902 Fixed geometry state if PlaceAgain is used without anim
2904 * fvwm/menus.c (CopyMenuStle):
2905 finished a -Wall fix
2907 2001-01-13 olicha <olivier.chapuis@free.fr>
2909 * fvwm/placement.c (*):
2911 * fvwm/styles.c (ProcessNewStyle):
2913 * fvwm/ConfigFvwmDefaults:
2915 * tests/purify/purify.fvwm2rc
2916 Replace Dump/SmartPlacement, Active/RandomPlacement,
2917 SmartPlacement(Off) style by ManualPlacement / CascadePlacement /
2918 MinOverlapPlacement / MinOverlapPercentPlacement / TileManualPlacement
2919 /TileCascadePlacement (The old style are still supported)
2920 We have two "clever" placement algorithm: MinOverlapPlacement /
2921 MinOverlapPercentPlacement
2923 2001-01-12 Dominik Vogt <dominik.vogt@gmx.de>
2925 * fvwm/events.c (HandleFocusIn):
2926 * fvwm/focus.c (DoSetFocus):
2927 * fvwm/window_flags.h (SET_FOCUS_CHANGE_BROADCAST_PENDING):
2929 send M_FOCUS_CHANGE packet if window was created under the pointer too
2930 fixed focus in modules and FvwmAuto
2932 * fvwm/menus.c (MenuInteraction):
2933 cleaned up some code
2935 * fvwm/windowlist.c (do_windowList):
2938 * fvwm/add_window.c (setup_icon):
2939 (setup_window_name):
2940 (get_name_property):
2941 common code to fetch window and icon name properties handling I18N_MB
2942 (free_window_names):
2943 (free_text_property):
2944 same for freeing the window and icon name
2946 (free_window_names):
2947 -Wall fix for I18N_MB
2950 * fvwm/menus.c (CopyMenuStyle):
2953 * fvwm/borders.c (DrawButton):
2954 Fixed clipping bug in tiled pixmap buttons
2956 2001-01-12 olicha <olivier.chapuis@free.fr>
2958 * fvwm/menu.c (CopyMenuStyle):
2960 * fvwm/function.{c,h}:
2962 * test/purify/purify.fvwm2rc:
2964 New function and config command CopyMenuStyle which copy a menu style
2967 2001-01-11 Dan Espen <dane@mk.telcordia.com>
2969 * tests/purify/purify.fvwm2rc: More tests.
2971 2001-01-09 Dominik Vogt <dominik.vogt@gmx.de>
2973 * fvwm/menus.c (MenuInteraction):
2974 tried to fix core dump w/ windowlist
2976 Fixed RemoveSubmenus menu style; affects keyboard navigation only
2977 Clicking on a posted menu item unposts the menu
2978 Changed item hilighting with popdown delays at cost of the drawing speed
2979 of overlapping B/D gradient sub menus
2981 2001-01-09 Mikhael Goikhman <migo@homemail.com>
2983 * fvwm/fvwm.c (main):
2984 allocate g_argv and add -s to it when dual head is detected;
2985 (usage): added missing -cmd, removed obsolete -blackout
2987 2001-01-09 Dominik Vogt <dominik.vogt@gmx.de>
2989 * fvwm/menus.c (GetMenuOptions):
2990 properly handle missing width and height arguments if reference
2991 rectangle of position hints
2992 (get_prefered_popup_position):
2995 fixed menu placement
2997 * fvwm/icons.c (CreateIconWindow):
2998 * fvwm/events.c (HandlePropertyNotify):
2999 different definition of active icons
3001 2001-01-08 Dominik Vogt <dominik.vogt@gmx.de>
3003 * tests/purify/purify.fvwm2rc:
3004 added Popdown... menu style tests
3006 * fvwm/conditional.c (WindowIdFunc):
3007 fixed WindowId syntax
3009 2001-01-07 Dominik Vogt <dominik.vogt@gmx.de>
3011 * fvwm/menus.c (MenuInteraction):
3015 fixed a small problem with posted menus
3017 2001-01-06 Dominik Vogt <dominik.vogt@gmx.de>
3020 renamed some macros and moved them to defaults.h
3022 fixed maximum item relief thickness
3025 delay popping down a menu to next loop pass so that the background does
3026 not shine through if the area is immediately covered again
3028 new menu styles PopdownImmediately/PopdownDelayed which is a trivial
3029 byproduct of above fixes; also introduced PopdownDelay
3031 posted menus are not unmapped when the pointer enters the root window
3033 fixed a popup logic bug
3036 reduced redrawing with D/B gradients
3038 * fvwm/events.c (flush_accumulate_expose):
3039 fixed logic in vertical direction; cures menu redraw problem
3041 * fvwm/virtual.c (HandlePaging):
3042 reindented some code
3045 tuning parameters for keyboard shortcut handling go here
3047 * libs/Target.c (fvwmlib_keyboard_shortcuts):
3048 do generate MotionNotify events even if the pointer did not move because
3049 it hit the screen edge
3051 2001-01-05 Dominik Vogt <dominik.vogt@gmx.de>
3053 * fvwm/session.c (DisableRestoringState):
3056 2001-01-04 Dominik Vogt <dominik.vogt@gmx.de>
3058 * fvwm/icons.c (CreateIconWindow):
3059 properly determine the icon to use, honouring icon override style
3061 2001-01-04 Mikhael Goikhman <migo@homemail.com>
3064 small rewordings in the SM command line options and HideGeometryWindow
3065 * tests/purify/purify.fvwm2rc:
3066 replaced Next [window] with a more correct Next (window) syntax
3068 2001-01-03 Dominik Vogt <dominik.vogt@gmx.de>
3070 * NEWS, configure.in:
3071 changed version to 2.3.28
3073 2001-01-03 Dominik Vogt <dominik.vogt@gmx.de>
3075 * fvwm/events.c (HandlePropertyNotify):
3076 icon override logic applies for existing windows when the icon hint
3078 (HandlePropertyNotify):
3081 * fvwm/style.c (ProcessNewStyle):
3082 (check_window_style_change):
3084 icon_override member is now part of the common flags; was a style member
3087 * fvwm/virtual.c (HandlePaging):
3088 fixed a problem that sometimes prevented a window from being moved over
3089 the edge of the screen by paging; possibly fixes that old "nescape-
3090 won't-go-over-the-screen-edge" problem.
3092 * fvwm/events.c (discard_window_events):
3095 * libs/Target.c (fvwmlib_keyboard_shortcuts):
3096 suppress superfluous events when pointer did not move
3098 2001-01-02 Dan Espen <dane@mk.telcordia.com>
3100 * tests/purify/purify.fvwm2rc: More tests.
3102 2000-12-31 Dominik Vogt <dominik.vogt@gmx.de>
3104 * fvwm/placement.c (PlaceWindow):
3105 suppress active placement when an application starts iconic
3107 2000-12-30 Dominik Vogt <dominik.vogt@gmx.de>
3109 * fvwm/placement.c (PlaceWindow):
3110 use normal placement algorithm when creating iconic windows
3112 * fvwm/events.c (HandlePropertyNotify):
3113 removed xemacs race condition hack
3114 (HandleMapRequestKeepRaised):
3115 icon position hint fix
3117 * fvwm/focus.c (FocusOn):
3118 fixed focus problems when trying to give focus to a window on a
3119 different desk but using NoWarp option
3121 * fvwm/virtual.c (MoveViewport):
3122 M_ICON_LOCATION packets are no longer sent for windows that are not
3123 iconified when switching pages
3125 * fvwm/focus.c (restore_focus_after_unmap):
3126 transfer focus to last focused window also whith sloppy focus
3128 2000-12-29 Dominik Vogt <dominik.vogt@gmx.de>
3130 * fvwm/session.c (LoadWindowStates):
3134 (VerifyVersionInfo):
3135 ignore state file if the version or build date changed between the
3136 running fvwm and the one being restarted
3138 * fvwm/session.c (DisableSM):
3139 * fvwm/fvwm.c (StartupStuff):
3140 turn off the SM stuff after the initial capture so that new windows will
3141 not be matched by accident.
3143 * fvwm/session.c (MatchWinToSM):
3144 do not preserve desk number for sticky windows over a restart
3146 * fvwm/fvwm.c (main):
3149 2000-12-27 Dan Espen <dane@mk.telcordia.com>
3151 * tests/purify/purify.fvwm2rc: more test updates.
3153 2000-12-27 Dominik Vogt <dominik.vogt@gmx.de>
3155 * fvwm/events.c (HandleMapRequestKeepRaised):
3156 fixed off screen focus grabbing
3158 2000-12-26 Dan Espen <dane@mk.telcordia.com>
3160 * fvwm/stack.c (get_transientfor_fvwmwindow): Treat root window list
3161 as a null terminated list.
3163 2000-12-26 Dominik Vogt <dominik.vogt@gmx.de>
3165 * NEWS, configure.in:
3166 changed version to 2.3.27
3168 2000-12-25 Dominik Vogt <dominik.vogt@gmx.de>
3175 * libs/Bindings.c (GrabAllWindowKeysAndButtons):
3176 (GrabAllWindowButtons):
3177 (GrabAllWindowKeys):
3178 Don't call XSync after grabbing/ungrabbing the server. This is done
3179 automatically in the library.
3181 * libs/Grab.c (MyXUngrabServer):
3183 sync the server after grabbing/releasing the server
3185 2000-12-22 Dan Espen <dane@mk.telcordia.com>
3187 * tests/purify/purify.fvwm2rc: A few more tests.
3189 2000-12-23 Dominik Vogt <dominik.vogt@gmx.de>
3191 * fvwm/module_interface.c (PositiveWrite):
3192 retry select() if it failed with EINTR
3194 * libs/fvwmsignal.c (fvwmSelect):
3195 Return 0 instead of -1 if select() was not really executed. Otherwise
3196 the caller might evaluate an invalid "errno".
3198 2000-12-22 Dominik Vogt <dominik.vogt@gmx.de>
3200 * fvwm/events.c (HandleEvents):
3201 * fvwm/add_window.c (destroy_window):
3202 * fvwm/update.c (destroy_sceduled_windows):
3203 (flush_window_updates):
3204 fixed new window destruction logic; forgot to actually destroy the
3205 frames of windows that were destroyed in a complex function under some
3208 * fvwm/icons.c (CreateIconWindow):
3209 remove the shape from an icon window if necessary
3211 2000-12-21 Dominik Vogt <dominik.vogt@gmx.de>
3213 * fvwm/fvwm.c (catch_exit):
3214 atexit function that tries to release any server, keyboard and pointer
3215 grabs when fvwm shuts down
3217 * fvwm/move_resize.c (InteractiveMove):
3218 cope with large desktops and large OpaqueMoveSize values (e.g. 1600x1200
3219 and OpaqueMoveSize 2000 caused an integer overflow)
3221 * fvwm/fvwm.c (CaptureOneWindow):
3222 fixed recapture -> wire frame moves
3224 2000-12-17 Dominik Vogt <dominik.vogt@gmx.de>
3226 * fvwm/builtins.c (wait_func):
3227 wait function preserves the Tmp_win so that further commands in a
3228 complex function do not crash or operate on a different window
3230 * fvwm/add_window.c (destroy_window):
3231 fixed close/delete problem
3233 * fvwm/stack.c (RaiseOrLowerWindow):
3234 fixed stack ring problem
3236 * fvwm/events.c (HandleMapRequestKeepRaised):
3237 (HandleReparentNotify):
3238 fake a MAP packet when a window is created on a different desk to allow
3239 FvwmButtons to swallow it
3241 2000-12-17 Dan Espen <dane@mk.telcordia.com>
3243 * fvwm/add_window.c (AddWindow/destroy_window):
3244 * fvwm/events.c (HandleMapRequestKeepRaised):
3245 * fvwm/placement.c (PlaceWindow): Fix inconsistent declaration of
3246 PPosOverride as both Bool and Boolean. Fixes fvwm doing interactive
3247 placement during startup and recapture.
3249 2000-12-17 Dominik Vogt <dominik.vogt@gmx.de>
3251 * fvwm/menus.c (DestroyMenuStyle):
3254 improved error messages
3256 * fvwm/fvwm.c (InitVariables):
3257 * fvwm/menus.c (MenuInteraction):
3261 * fvwm/menus.h (MenuFeel):
3262 DoubleClickTime and PopupDelay can now be menu specific
3264 removed unused flags member
3266 * fvwm/stack.c (verify_stack_ring_consistency):
3268 (remove_window_from_stack_ring):
3269 Set stack pointers to NULL after removing a window from the stack ring.
3270 At least, this should cause a core dump as sooner.
3273 removed some comments
3277 prevent possible FvwmWindow pointer corruption
3279 * fvwm/stack.c (add_window_to_stack_ring_after):
3280 * fvwm/events.c (HandleConfigureRequest):
3281 safety patch for broken ConfigureRequest packets when a window requests
3282 to be placed relative to itself or its own fframe window
3284 fixed possible fvwm window corruption; a pointer to a just deleted
3285 window was remembered under certain circumstances
3287 * fvwm/stack.c (RaiseOrLowerWindow):
3288 use functions to add/delete windows from stack ring
3290 * fvwm/session.c (MatchWinToSM):
3291 removed '#if 0'ed stacking order code
3293 * fvwm/move_resize.c (moveLoop):
3295 removed XAllowEvents calls
3297 * fvwm/events.c (HandleButtonPress):
3298 * fvwm/events.c (WaitForButtonsUp):
3299 fixed hang with actions bound to a button on an icon
3301 * fvwm/stack.c (new_layer):
3302 (mark_transient_subtree):
3303 fixed stack ring corruption with applications that use the GNOME layer
3306 * fvwm/window_flags.h (SET_IN_TRANSIENT_SUBTREE):
3307 * fvwm/fvwm.h (struct):
3308 new flag to fix stack ring problem
3310 * fvwm/add_window.c (setup_layer):
3311 transients inherit layer from transientfor window when created
3313 * fvwm/stack.c (get_transientfor_window):
3316 2000-12-07 Dan Espen <dane@mk.telcordia.com>
3318 * tests/purify/purify.fvwm2rc: Move CreateWindows before WindowList so
3319 WindowList can use the windows. Add Layer/Condition/Placement
3320 tests to WindowList.
3321 Upgrade AnimatedMove and Lower tests.
3323 2000-12-06 Dominik Vogt <dominik.vogt@gmx.de>
3325 * fvwm/ConfigFvwmDefaults:
3326 back to default: UseIconPosition
3328 * fvwm/icons.c (do_all_iconboxes):
3329 fixed default icon box dimension - this accidentally swapped width and
3330 height of the screen
3332 * fvwm/events.c (HandlePropertyNotify):
3333 (flush_property_notify):
3334 discard excess PropertyNotify events to reduce chance of core dump
3336 * fvwm/icons.c (CreateIconWindow):
3337 prevent flickering when icon changes
3339 * fvwm/menus.c (MenuInteraction):
3340 Moving off a menu now properly unmaps the popup menu if necessary. This
3341 worked only for borderless menus without a sidepic before.
3343 * fvwm/windowlist.c (do_windowList):
3344 Renamed WindowList 'Layers' option to 'Layer'
3346 2000-12-05 Dominik Vogt <dominik.vogt@gmx.de>
3348 * fvwm/add_window.c (destroy_auxiliary_windows):
3351 2000-12-05 Dan Espen <dane@mk.telcordia.com>
3353 * tests/purify/purify.fvwm2rc: Fix step logging.
3354 Upgrade WindowList test to match man page description.
3357 2000-12-05 Dominik Vogt <dominik.vogt@gmx.de>
3359 * libs/Graphics.c (fvwmlib_XCreateGC):
3360 core dump fix for buggy FvwmScript
3362 * fvwm/fvwm.c (Reborder):
3364 fixed state of windows after restart
3366 * fvwm/builtins.c (LoadDefaultFont):
3367 removed duplicate error message
3369 * libs/GetFont.c (GetFontOrFixed):
3370 (GetFontSetOrFixed):
3371 suppress stupid error message, added newlines after error messages
3372 can be called with NULL fontname to load fixed font
3374 * fvwm/add_window.c (destroy_icon_font):
3375 (destroy_window_font):
3376 use default font when no font is currently loaded to fix an esoteric
3377 race condition with restart/destroy/recapture
3379 * fvwm/menus.c (pop_menu_down_and_repaint_parent):
3381 * fvwm/events.c (flush_accumulate_expose):
3382 fixed redrawing of grandparent menus, PopupImmediately takes effect only
3383 after one pass through the loop, so there is a chance to handle events
3384 first and thus leave the popup item before the sub menu is popped up
3386 * fvwm/fvwm.c (CaptureOneWindow):
3387 * fvwm/add_window.c (destroy_window):
3388 (destroy_auxiliary_windows):
3389 (destroy_title_window):
3390 (destroy_button_windows):
3391 (destroy_resize_handle_windows):
3392 (destroy_icon_boxes):
3393 fix core dump caused by destroy followed by a recapture in complex
3396 * fvwm/update.c (flush_window_updates):
3397 * fvwm/add_window.c (destroy_window):
3398 * fvwm/window_flags.h (IS_SCHEDULED_FOR_DESTROY):
3399 * fvwm/screen.h (ScreenInfo):
3400 * fvwm/fvwm.h (struct):
3401 * fvwm/functions.c (execute_complex_function):
3404 set a global flag when in a complex function
3405 use this flag to mark windows to be destroyed after the last complex
3406 function has finished
3408 * tests/purify/purify.fvwm2rc:
3409 removed 'recapture' from BusyCursor test
3410 destroy makewindows function before adding to it
3411 moved some tests behind window creation
3413 * fvwm/menus.c (DestroyMenuStyle):
3414 no error message when trying to destroy a menu style that does not exist
3416 * fvwm/icons.c (CreateIconWindow):
3417 removed icon font hack
3419 * NEWS, configure.in:
3420 changed version to 2.3.26
3422 2000-12-05 Dominik Vogt <dominik.vogt@gmx.de>
3424 * fvwm/events.c (HandleMapRequestKeepRaised):
3425 fixed starting windows on other desks
3427 2000-12-03 Dominik Vogt <dominik.vogt@gmx.de>
3429 * fvwm/functions.c (CheckActionType):
3430 added some debug code
3436 * fvwm/move_resize.c:
3438 use fvwmlib_XCreateGC instead of XCreateGC; this seems to speed up
3439 everything a lot, at least on XFree 3.3.6 and XFree 4.0
3441 * libs/Graphics.c (fvwmlib_XCreateGC):
3443 replacement for XCreateGC
3445 * fvwm/events.c (HandleMapRequestKeepRaised):
3446 Oops, commented one line too many
3448 * fvwm/cursor.c (setBusyCursor):
3450 * fvwm/fvwm.c (Reborder):
3453 * fvwm/events.c (HandleUnmapNotify):
3454 * fvwm/add_window.c (RestoreWithdrawnLocation):
3455 (RestoreWithdrawnLocation):
3456 * fvwm/builtins.c (do_recapture):
3458 * fvwm/fvwm.c (CaptureOneWindow):
3459 (CaptureAllWindows):
3460 Reinstated some kind of the old blackout window but do not draw
3461 anything in it; hopefully this means that the old state of the desktop
3462 is visible during a recapture. This way it is not necessary to unmap
3463 windows during a recapture and thus applications like ddd do not
3465 Removed the BUSY_RECAPTURE busy cursor context which is now obsolete.
3467 * fvwm/fvwm.c (main):
3468 grap pointer asynchronously to prevent lockup in window placement now
3469 that most XAllowEvents() calls are gone
3471 2000-12-02 Dominik Vogt <dominik.vogt@gmx.de>
3473 * libs/Parse.c (CopyToken):
3474 safety checks on token length
3476 * libs/envvar.c (strIns):
3479 * fvwm/builtins.c (InitFvwmDecor):
3480 zero out new decors completely before adding styles to prevent UMRs
3482 * fvwm/icons.c (iconify_function):
3483 x_root and y_root members do not exist for random X events;
3484 use library function GetLocationFromEventOrQuery() instead
3486 * fvwm/builtins.c (UnsetEnv):
3487 the UnsetEnv command used putenv() but did not add '=' after the
3488 variable name thus causing an ABR
3490 * fvwm/events.c (HandleUnmapNotify):
3491 * fvwm/add_window.c (destroy_window):
3492 * fvwm/focus.c (restore_focus_after_unmap):
3493 don't give offscreen windows the focus when deleting a window
3495 2000-12-02 Chris Rankin <rankinc@zipworld.com.au>
3497 * libs/Picture.c (LoadPicture)
3498 Blocking delivery of SIGCHLD seems to work OK, but could cause
3499 trouble later since we might break XPM's pclose() call. Restore
3500 the default SIGCHLD handler around this function instead.
3502 2000-11-29 Chris Rankin <rankinc@zipworld.com.au>
3504 * libs/Picture.c (LoadPicture)
3505 Replace DEBUG code, now that we know that OSF gets XpmFileInvalid
3506 error from XpmReadFileToXpmImage(). Try blocking receipt of SIGCHLD
3507 signal around this XPM function.
3509 2000-11-29 Dominik Vogt <dominik.vogt@gmx.de>
3511 * fvwm/functions.c (CheckActionType):
3512 do not sleep after an event was received but proceed immediately
3514 * fvwm/events.c (HandleMapNotify):
3515 proper hilighting after de-iconify by a key press
3517 * fvwm/fvwm.h (FvwmWindow):
3518 resorted some members of this struct to ease debugging
3520 * fvwm/add_window.c (setup_icon_font):
3521 got another icon font core dump
3523 * tests/purify/purify.fvwm2rc:
3524 bind test menu to a button so you can run multiple tests
3525 fix the menu cursor colours after the CursorStyle test
3526 removed the test with 1234678 colour sets - this will take days
3528 2000-11-28 Dan Espen <dane@mk.telcordia.com>
3530 * fvwm/icons.c (CreateIconWindow): Hack to avoid core dump when no
3532 * tests/purify/purify.fvwm2rc: Rewritten using a menu driver.
3533 You can run all tests, or just pick one.
3535 2000-11-28 Chris Rankin <rankinc@zipworld.com.au>
3537 * libs/Picture.c (LoadPicture)
3538 Added some DEBUG code so that we get a clue why OSF can't load
3541 2000-11-28 Chris Rankin <rankinc@zipworld.com.au>
3543 * fvwm/module_interface.c (executeModuleSync):
3544 Fix select()-handling so that it either exits if FVWM receives
3545 a terminate signal, or restarts the select call.
3547 2000-11-28 olicha <olivier.chapuis@free.fr>
3549 * fvwm/placement.c (test_fit):
3552 A try for a final cleverplacement algorithm. The code is
3553 not pretty for pratical reason, but it will be.
3555 2000-11-28 Dominik Vogt <dominik.vogt@gmx.de>
3557 * fvwm/builtins.c (FreeDecorFace):
3559 * fvwm/borders.c (DrawButton):
3560 * fvwm/fvwm.c (LoadDefaultLeftButton):
3561 (LoadDefaultRightButton):
3562 * fvwm/screen.h (enum):
3563 when a vector button is applied to a button/title style it erases the
3564 default vector first.
3566 * fvwm/borders.c (DrawButton):
3567 TiledPixmapButton works in window titles and buttons; heck, has this
3570 * NEWS, configure.in:
3571 changed version to 2.3.25
3573 2000-11-28 Dominik Vogt <dominik.vogt@gmx.de>
3575 * fvwm/menus.c (do_menu):
3576 handle expose in WaitForButtonsUp
3578 * fvwm/move_resize.c (InteractiveMove):
3580 if we don't grab the keyboard during opaque move/resize operations,
3581 keyboard events may get through to the application
3583 * fvwm/events.c (WaitForButtonsUp):
3584 reduced network traffic
3585 also eat up keyboard events in case of moving windows with the keyboard
3587 * fvwm/move_resize.c (moveLoop):
3589 properly handle Expose events after an interactive move has been
3590 aborted and is now waiting for the last button to be released
3592 * fvwm/misc.c (GrabEm):
3594 * fvwm/misc.h (GRAB_PASSIVE):
3595 new kind of grab context that does not grab but delays the following
3599 * fvwm/events.c (HandleButtonRelease):
3600 (HandleButtonPress):
3601 * fvwm/functions.c (execute_function):
3603 do not wait for buttons to become unpressed; do this in the caller's
3606 * libs/Bindings.c (GrabWindowButton):
3607 grab buttons synchronously
3609 * fvwm/move_resize.c (moveLoop):
3611 * fvwm/functions.c (DeferExecution):
3612 removed calls to XAllowEvents()
3614 * fvwm/events.c (WaitForButtonsUp):
3615 * fvwm/builtins.c (do_recapture):
3616 * fvwm/move_resize.c (InteractiveMove):
3618 use discard_events()
3620 * fvwm/events.c (discard_events):
3623 moved from misc.c to events.c where it logically belongs
3625 * fvwm/events.c (HandleButtonPress):
3626 * fvwm/focus.c (focus_grab_buttons):
3627 improved focus grabbing for ClickToFocus windows
3628 general fixes to button event propagation
3630 * fvwm/misc.c (WaitForButtonsUp):
3631 don't let pointer events pass to other clients
3633 * fvwm/events.c (HandleMapRequestKeepRaised):
3634 regrab buttons on focused window
3636 * libs/Bindings.c (GrabWindowButton):
3637 (GrabAllWindowKeys):
3638 (GrabAllWindowButtons):
3639 (GrabAllWindowKeysAndButtons):
3640 * fvwm/focus.c (focus_grab_buttons):
3641 button grabs become active immediately by calling XSync; otherwise the
3642 server does not yet know that a button is grabbed when it it pressed.
3643 reduced X server communication
3645 * fvwm/events.c (HandleEnterNotify):
3646 correctly set initial value of Scr.flags.is_pointer_on_this_screen which
3647 lead to a ClickToFocus problem
3649 * fvwm/virtual.c (map_window):
3650 ignore MapRequest events as a result of desk switching; another desk
3653 * fvwm/screen.h (ScreenInfo):
3654 * fvwm/virtual.c (MapDesk):
3657 repaired code that remembers focus between desk switches; could not
3658 properly handle desk -1
3663 2000-11-26 Chris Rankin <rankinc@zipworld.com.au>
3665 * fvwm/fvwm.c (InstallSignals)
3666 Invoke the SIGCHLD handler manually after installing all the signal
3667 handlers. This should mean that any Zombies created while the default
3668 SIGCHLD handler was in place (for instance, after a restart) will be
3671 2000-11-26 Mikhael Goikhman <migo@homemail.com>
3674 moved 163, 167 to closed; updated some "to discuss" items
3676 2000-11-26 Chris Rankin <rankinc@zipworld.com.au>
3680 Provide "safe" route out of My_XNextEvent loops if FVWM dies.
3682 2000-11-26 olicha <olivier.chapuis@free.fr>
3684 * fvwm/menus.c (FreeMenuStyle):
3687 2000-11-26 olicha <olivier.chapuis@free.fr>
3689 * fvwm/builtins.c (strokeFunc):
3690 Fixed problems with window title bar and frame
3692 2000-11-26 Dan Espen <dane@mk.telcordia.com>
3694 * tests/purify/purify.fvwm2rc: Add Menu command, MenuStyle, BusyCursor,
3695 CursorStyle brought up to date, DefaultColors, DefaultColorset,
3696 DefaultFont, DefaultIcon, DefaultLayers, Emulate, IconFont.
3698 2000-11-26 Chris Rankin <rankinc@zipworld.com.au>
3700 * fvwm/events.c (My_XNextEvent)
3701 Restart the call to fvwmSelect if (and only if) it was
3702 interrupted by a harmless signal like SIGCHLD or SIGPIPE.
3704 2000-11-26 Chris Rankin <rankinc@zipworld.com.au>
3706 * lib/fvwmsignal.h (New macro BSD_BLOCK_ALL_SIGNALS)
3707 * fvwm/fvwm.c (InstallSignals)
3710 * fvwm/events.c (My_XNextEvent)
3711 Timeout is undefined when fvwmSelect returns, so must be reinitialised
3712 Also, select has only timed out if it return 0. If it returns -1 then
3713 this is an error and we would like to know about it.
3715 2000-11-26 Dominik Vogt <dominik.vogt@gmx.de>
3717 * fvwm/virtual.c (map_window):
3718 "finished" ICCCM fix
3720 * fvwm/events.c (HandleMapRequestKeepRaised):
3721 workaround for buggy transientfor hint
3723 * fvwm/add_window.c (destroy_window_font):
3724 (setup_window_font):
3725 (destroy_icon_font):
3727 * fvwm/window_flags.h (SETM_USING_DEFAULT_ICON_FONT):
3728 * fvwm/fvwm.h (struct):
3729 fixed font core dumpsm
3731 * fvwm/menus.c (MenuInteraction):
3732 fixed MissingSubmenuFunction
3734 2000-11-25 Dominik Vogt <dominik.vogt@gmx.de>
3736 * fvwm/add_window.c (destroy_window_font):
3737 (destroy_icon_font):
3740 * fvwm/focus.c (focus_grab_buttons):
3741 * fvwm/fvwm.h (FvwmWindow):
3742 * fvwm/bindings.c (ParseBinding):
3744 * fvwm/fvwm.c (InitVariables):
3745 * libs/defaults.h (DEFAULT_BUTTONS_TO_GRAB):
3746 * fvwm/focus.c (update_focus_grabs):
3747 (update_window_focus_grab):
3748 * fvwm/bindings.c (binding_cmd):
3749 overhauled whole button grabbing code grab now work immediately and are
3750 applied with normal window updates
3752 * fvwm/builtins.c (fake_click):
3753 implemented a command allowing to fake mouse clicks for debug purposes
3755 * fvwm/focus.c (warp_func):
3756 WarpToWindow handles unmanaged windows and windows on other screens too
3758 * fvwm/conditional.c (WindowIdFunc):
3759 * libs/fvwmlib.h (C_UNMANAGED):
3760 WindowId command handles unmanaged windows too and can fetch the window
3761 id of the root window of any screen
3763 * fvwm/conditional.c (PrevFunc):
3771 * fvwm/builtins.c (AddToDecor):
3774 * fvwm/repeat.c (repeat_function):
3775 * fvwm/fvwm.c (main):
3779 * fvwm/windowlist.c (do_windowList):
3780 * fvwm/gnome.c (GNOME_HandlePropRequest):
3781 * fvwm/events.c (HandleButtonRelease):
3783 (HandlePropertyNotify):
3784 (HandleClientMessage):
3785 * fvwm/module_interface.c (ExecuteModuleCommand):
3786 * fvwm/read.c (run_command_stream):
3787 * fvwm/menus.c (MenuInteraction):
3794 * fvwm/functions.c (execute_complex_function):
3796 * fvwm/functions.c (execute_function):
3797 (old_execute_function):
3798 * fvwm/functions.h (struct):
3799 ExecuteFunction() and ExecuteFunctionSaveTmpwin were replaced by
3800 execute_function(). The new function takes a struct pointer as its
3801 argument. The old syntax is still provided as old_execute_function().
3803 * fvwm/virtual.c (unmap_window):
3806 * fvwm/menus.c (MenuInteraction):
3807 added a missing redraw
3809 2000-11-25 Chris Rankin <rankinc@zipworld.com.au>
3818 Explicit SIGCHLD handling, so that dead child processes are
3819 reaped automatically and asynchronously. Also some extra
3820 macros to make non-sigaction signals less ugly.
3822 2000-11-25 Dominik Vogt <dominik.vogt@gmx.de>
3824 * NEWS, configure.in:
3825 changed version to 2.3.24
3827 2000-11-25 Dominik Vogt <dominik.vogt@gmx.de>
3829 * fvwm/fvwm2.1 (Examples):
3830 documented inability to handle whitespace in function names
3832 * fvwm/functions.c (ExecuteFunction):
3833 reverted back to old quoting of command names (see last patch there)
3835 * fvwm/events.c (HandleEnterNotify):
3836 (HandleLeaveNotify):
3837 * fvwm/fvwm.c (InitVariables):
3838 * fvwm/add_window.c (destroy_window):
3839 * fvwm/screen.h (ScreenInfo):
3840 remember last focused window when leaving screen and thus fixed the last
3841 known multi head focus problem
3843 * fvwm/icons.c (Iconify):
3844 * fvwm/misc.c (GrabEm):
3846 * fvwm/update.c (flush_window_updates):
3847 * fvwm/virtual.c (MapDesk):
3848 * fvwm/events.c (HandlePropertyNotify):
3850 (HandleMapRequestKeepRaised):
3851 (HandleUnmapNotify):
3852 (HandleButtonPress):
3853 (HandleEnterNotify):
3854 (HandleLeaveNotify):
3855 * fvwm/add_window.c (destroy_window):
3856 use new focus functions
3858 * fvwm/focus.c (DoSetFocus):
3862 replaced SetFocus() with SetFocusWindow(), DeleteFocus() and
3865 * fvwm/events.c (HandleEnterNotify):
3866 * fvwm/screen.h (ScreenInfo):
3868 * fvwm/builtins.c (ReadDecorFace):
3869 Guess I got the memory leak this time. Code allocated 6 =
3870 MaxButtonState button states but freed only three when destroying the
3873 * fvwm/fvwm.c (LoadDefaultRightButton):
3874 (LoadDefaultLeftButton):
3875 * fvwm/builtins.c (ReadDecorFace):
3876 * fvwm/borders.c (DrawButton):
3877 * fvwm/builtins.c (FreeDecorFace):
3878 * fvwm/screen.h (DecorFace):
3879 removed vector button patch from 22-Nov
3881 * fvwm/fvwm.c (DestroyAllButtons):
3885 * fvwm/update.c (init_style):
3888 * fvwm/fvwm.c (SetRCDefaults):
3889 default menu is called with 'Menu' instead of 'Popup'
3891 2000-11-24 Dan Espen <dane@mk.telcordia.com>
3893 * tests/purify/purify.fvwm2rc: Add DestroyMenuStyle, fix duplications.
3894 Add Menu, MenuStyle.
3895 * fvwm/fvwm2.1 (DestroyMenuStyle): Typo.
3897 2000-11-23 Dan Espen <dane@mk.telcordia.com>
3899 * tests/purify/purify.fvwm2rc: Starting to add tests in man page order.
3900 Added ChangeMenuStyle, DestroyMenu.
3902 2000-11-23 Dominik Vogt <dominik.vogt@gmx.de>
3904 * libs/defaults.h (NUMBER_OF_MOUSE_BUTTONS):
3905 fvwm now supports 5 mouse buttons
3908 removed debug code; my focus problems are not the fault of fvwm - it
3909 misses button presses although the pointer is grabbed - must be my
3912 2000-11-22 Dominik Vogt <dominik.vogt@gmx.de>
3914 * fvwm/stack.c (BroadcastRestack):
3915 (BroadcastRestackAllWindows):
3916 (RaiseOrLowerWindow):
3918 * fvwm/virtual.c (goto_desk):
3919 (gotoDeskAndPage_func):
3920 new function BroadcastRestackAllWindows() hiding a bit more of the
3921 stacking code from other modules
3923 * fvwm/stack.c (BroadcastRestack):
3924 funtion forgot to fill out the last window in a M_RESTACK packet
3925 --> fixes UMR in FvwmPager (and probably other modules)
3926 fixed some bugs in the logic that cause problems if the only managed
3927 window was restacked
3929 * fvwm/events.c (HandleFocusIn):
3930 fixed length of M_FOCUS_CHANGE packet
3932 * fvwm/add_window.c (setup_icon_font):
3933 (destroy_window_font):
3934 (setup_window_font):
3935 (destroy_icon_font):
3938 * fvwm/fvwm.c (LoadDefaultRightButton):
3939 (LoadDefaultLeftButton):
3940 * fvwm/builtins.c (ReadDecorFace):
3941 * fvwm/borders.c (DrawButton):
3942 * fvwm/builtins.c (FreeDecorFace):
3943 * fvwm/screen.h (DecorFace):
3944 removed vector_coords from union to make sure the allocated default
3945 buttons can be freed
3947 * fvwm/builtins.c (add_to_env_list):
3948 fixed uninitialised memory
3952 2000-11-21 Dominik Vogt <dominik.vogt@gmx.de>
3954 * fvwm/ConfigFvwmDefaults:
3957 * fvwm/icons.c (AutoPlaceIcon):
3959 * fvwm/window_flags.h:
3961 new style NoIconPosition/UseIconPosition which works exactly like
3962 ...PPosition except that it works for the icon position hint and is
3965 * libs/ColorUtils.c (GetHiliteColor):
3971 (GetShadowOrHiliteColor):
3972 UMR fixes and cleanup
3973 removed old shadow/hilight calculations
3975 * libs/Colorset.c (AllocColorset):
3976 removed previous realloc safety patch
3978 * libs/safemalloc.c (saferealloc):
3979 NULL pointer safety patch
3981 * fvwm/add_window.c (setup_window_font):
3983 fixed memory leak and simplified logic
3985 * fvwm/update.c (apply_window_updates):
3986 do not access window/icon font here
3988 * libs/Picture.c (DestroyPicture):
3989 fixed xpm memory leak (?)
3991 * fvwm/add_window.c (destroy_window):
3992 fixed icon font memory leak
3994 * fvwm/builtins.c (SetEnv):
3997 fixed the setenv memory leak; I wonder if this is worth the trouble
3999 * fvwm/menus.c (AddToMenu):
4000 fixed free memory read "title top" menu items
4002 * fvwm/fvwm.c (ResetOrDestroyAllButtons):
4003 fixed another memory leak
4005 * fvwm/module_interface.c (do_execute_module):
4008 * libs/Colorset.c (AllocColorset):
4011 * fvwm/add_window.c (setup_window_font):
4012 fixed free memory read
4014 * libs/Parse.c (GetQuotedString):
4015 fixed return parameter thus fixing multiple free memory reads
4017 * fvwm/events.c (HandlePropertyNotify):
4020 * fvwm/style.c (ProcessNewStyle):
4023 * fvwm/builtins.c (DestroyFvwmDecor):
4025 * fvwm/fvwm.c (ResetOrDestroyAllButtons):
4027 fixed a braindead memory leak; would you expect the DestroyFvwmDecor
4028 function to first delete memory and then allocate new? :-P
4030 * fvwm/builtins.c (ReadDecorFace):
4036 * fvwm/module_interface.c (do_execute_module):
4039 * fvwm/style.c (merge_styles):
4040 fixed memory leaks w/ hilight_back/fore colours
4042 * libs/Colorset.c (AllocColorset):
4046 added stack ring debugging code
4048 2000-11-20 Dominik Vogt <dominik.vogt@gmx.de>
4052 * fvwm/misc.c (GrabEm):
4054 (change_grab_cursor):
4056 * fvwm/menus.c (pop_menu_up):
4059 Rewrote pointer grabbing code. The old code may have released a grab
4060 although it was still needed. The busy cursor patch in the menu code is
4061 now nicely integrated into the normal grabbing code.
4063 * fvwm/read.c (run_command_stream):
4064 workaround for redrawing in long term PipeRead commands from a menu
4066 * fvwm/events.c (handle_all_expose):
4069 2000-11-20 olicha <olivier.chapuis@free.fr>
4071 * utils/fvwm-menu-desktop.in:
4074 2000-11-20 Dan Espen <dane@mk.telcordia.com>
4076 * tests/purify/purify.fvwm2rc: Change timing on FvwmBanner test to
4077 more reasonable 10 seconds.
4078 Add some of the fvwm variables to the Exec test.
4079 Put quit back into test_func.
4081 2000-11-19 olicha <olivier.chapuis@free.fr>
4083 * fvwm/utils/fvwm-menu-desktop.{in,1}
4086 2000-11-19 Dominik Vogt <dominik.vogt@gmx.de>
4088 * fvwm/menus.c (pop_menu_down_and_repaint_parent):
4089 fixed a core dump w/ when the dynamic popdown action destroyed the menu
4092 removed forgotten XSynchronize call
4094 * fvwm/menus.c (do_menu):
4095 fixed keyboard-events-missing in menus invoked from
4096 no-input-hint windows when lenience is active
4099 * fvwm/placement.c (test_fit):
4101 fixed placement rounding error by using floats instead of ints for the
4104 moved macros to defaults.h
4105 removed the NO_STUBBORN_PLACEMENT option. To get this behaviour, set
4106 PLACEMENT_AVOID_ICON to 0 in defaults.h
4108 * fvwm/focus.c (DoSetFocus):
4109 fixed mousey focus transition between multiple screens
4111 2000-11-18 Dominik Vogt <dominik.vogt@gmx.de>
4113 * fvwm/repeat.c (repeat_function):
4114 removed debug printf
4116 * fvwm/style.c (merge_styles):
4117 fixed icon boxes bug (icon boxes were ignored)
4119 2000-11-14 Dan Espen <dane@mk.telcordia.com>
4121 * todo-2.4: Remove completed GlobalOpts issue.
4123 2000-11-11 olicha <olivier.chapuis@free.fr>
4125 * sample.fvwmrc/system.fvwm2rc-sample-95
4126 Use more portable font
4128 2000-11-10 Dan Espen <dane@mk.telcordia.com>
4130 * libs/Strings.c (stripcpy): Only strncpy when length is not zero.
4132 2000-11-09 Dan Espen <dane@mk.telcordia.com>
4134 * tests/purify/purify.fvwm2rc: Move ModulePath tests to end to leave a
4135 working modulepath for most of the tests.
4136 Make menus readable at end of test, (no yellow on green).
4138 2000-11-10 Mikhael Goikhman <migo@homemail.com>
4140 * NEWS, configure.in:
4141 changed version to 2.3.23
4143 2000-11-09 Mikhael Goikhman <migo@homemail.com>
4147 * sample.fvwmrc/system.fvwm2rc-sample-95:
4148 use new script alias names FvwmScript-Flavor;
4149 updated fvwm man pages menu in config, some more
4151 * fvwm/ConfigFvwmSetup:
4152 small clean up, replaced Iconify -1 with Iconify false
4154 2000-11-08 Mikhael Goikhman <migo@homemail.com>
4157 * fvwm/ConfigFvwmSetup:
4159 * sample.fvwmrc/system.fvwm2rc-sample-95:
4160 use new form alias names FvwmForm-Flavor
4162 * fvwm/modconf.c (DestroyModConfig):
4163 handle spaces propertly after DestroyModuleConfig with a new syntax
4165 * libs/Picture.c (GetSimpleColor):
4166 * libs/Graphics.c (AllocLinearGradient):
4167 make "Cannot parse color " error message more meaningful
4169 2000-11-05 Dan Espen <dane@mk.telcordia.com>
4171 * tests/purify/purify.fvwm2rc: Add timestamping, my ModulePath.
4173 2000-11-06 Mikhael Goikhman <migo@homemail.com>
4175 * tests/purify/purify.fvwm2rc:
4176 many fixes to list here, try diff
4178 2000-11-04 Dan Espen <dane@mk.telcordia.com>
4180 * tests/purify/purify.fvwm2rc: Ran file thru conversion tool, misc
4181 fixes. Changed to echo steps to log file. Still needs work for
4184 2000-11-04 Mikhael Goikhman <migo@homemail.com>
4186 * fvwm/style.c (ProcessNewStyle):
4187 fixed incomplete IconFill style option
4189 2000-11-01 Mikhael Goikhman <migo@homemail.com>
4191 * fvwm/style.c (merge_styles):
4192 restored a call to free_icon_boxes, since remove_icon_boxes_from_style
4193 causes icon boxes not to work
4195 2000-10-29 Mikhael Goikhman <migo@homemail.com>
4198 revised to be up to date
4200 * fvwm/fvwm.c (main, setVersionInfo):
4201 clean up in -version, it is now dumped to stdout as GNU suggests
4204 * fvwm/read.c (run_command_file, push_read_file, pop_read_file,
4205 get_current_read_file, get_current_read_dir):
4206 implemented read file stack, thus making it possible to implement $.,
4207 to fix an fvwm lock up on recursive read and some more
4209 * fvwm/module_interface.c (do_execute_module):
4210 use the new read.h interface function instead of the global variable
4214 * fvwm/functions.c (expand, expand_extended_var):
4215 implemented $. (the current Read directory, intended for specifying
4216 relative file resources), $[page.nx] and $[page.ny].
4218 2000-10-22 Dominik Vogt <dominik.vogt@gmx.de>
4221 fixed core dump when accessing already deleted icon boxes in
4224 * fvwm/style.c (remove_icon_boxes_from_style):
4229 set icon_boxes member of a style to NULL after deleting the icon boxes
4231 2000-10-13 Dominik Vogt <dominik.vogt@gmx.de>
4233 * fvwm/events.c (HandleConfigureRequest):
4234 activated anti-race-condition patch
4236 2000-10-21 Mikhael Goikhman <migo@homemail.com>
4238 * fvwm/icccm2.c (SetupICCCM2):
4239 patch from Matthias, s/WIN_Sx/WM_Sx/ as ICCCM2 requires
4241 * fvwm/builtins.c (UnsetEnv):
4245 A new command UnsetEnv to be able to undo SetEnv.
4247 2000-10-17 Mikhael Goikhman <migo@homemail.com>
4249 * acinclude.m4: fixed gnome detection outside of X
4251 2000-10-13 Dominik Vogt <dominik.vogt@gmx.de>
4253 * fvwm/functions.c (expand):
4254 whitespace after empty parameters is not removed anymore
4255 (execute_complex_function):
4256 remove trailing newlines from $* parameter
4258 2000-10-12 Dominik Vogt <dominik.vogt@gmx.de>
4260 * libs/vpacket.h (ConfigWinPacket):
4261 border_width member is unsigned short
4263 * fvwm/menus.c (NewMenuStyle):
4264 fixed core dump with uninitialised menu styles like "MenuStyle foo"
4266 * fvwm/builtins.c (Emulate):
4267 fixed potential coredump and unnecessary redrawing
4269 * fvwm/module_interface.c (do_execute_module):
4270 fixed core dump with maximum number of allowed module arguments
4271 modules can now have an unlimited number of arguments
4273 * fvwm/functions.c (ExecuteFunction):
4274 fixed core dump when adding non-builtin functions to decors
4276 * fvwm/misc.c (fvwm_msg):
4277 * fvwm/builtins.c (echo_func):
4278 fixed coredump with "echo %*"
4280 * fvwm/functions.c (func_config):
4283 fixed coredump with command string: silent"
4285 2000-10-11 Dominik Vogt <dominik.vogt@gmx.de>
4287 * fvwm/menus.c (size_menu_vertically):
4288 (size_menu_horizontally):
4290 fixed sizing and geometry of menu items without text but with a picture
4292 * fvwm/virtual.c (MoveViewport):
4293 fixed unnecessary redraw when moving the viewport one page down or right
4294 and a window was exactly at the bottom or right border
4296 * fvwm/events.c (HandleMapRequestKeepRaised):
4297 MouseFocusClickRaises works if a newly mapped window is placed over the
4298 currently focused window
4300 * fvwm/fvwm.c (InitVariables):
4301 * libs/defaults.h (DEFAULT_MOVE_RESISTANCE):
4302 (DEFAULT_SNAP_ATTRACTION):
4305 * fvwm/decorations.c (SelectDecor):
4306 * libs/defaults.h (MAX_HANDLE_WIDTH):
4310 * fvwm/fvwm.h (FvwmWindow):
4311 * fvwm/style.c (ProcessNewStyle):
4312 made boundary_width, border_width and handle_width short instead of int
4314 * fvwm/fvwm.h (struct):
4315 use NUMBER_OF_BUTTONS macro
4317 * fvwm/decorations.h:
4318 * fvwm/decorations.c (SelectDecor):
4319 * fvwm/add_window.c (setup_style_and_decor):
4320 simplified signature of SelectDecor
4322 * fvwm/decorations.c (SelectDecor):
4323 * fvwm/fvwm.c (InitVariables):
4324 * fvwm/fvwm.h (BOUNDARY_WIDTH):
4325 * fvwm/screen.h (ScreenInfo):
4326 removed BoundaryWidth and NoBoundaryWidth members; use macros from
4329 * fvwm/menus.c (menu_func):
4331 zero mops variable to fix UMR
4334 initialise some globals
4336 * fvwm/menus.c (do_menu):
4339 * fvwm/Makefile.am (fvwm2_SOURCES):
4340 sorted .c filed by size
4342 * tests/test_options:
4343 made test script work again
4345 * fvwm/move_resize.c (move_window_doit):
4346 fixed MoveToPage command
4348 2000-10-10 Dominik Vogt <dominik.vogt@gmx.de>
4350 * fvwm/style.c (SAFEFREE):
4351 tried to fix style core dump
4353 * fvwm/menus.c (MenuInteraction):
4354 fixed menu animation core dump
4356 * fvwm/move_resize.c (moveLoop):
4357 fixed activeplacement
4359 2000-10-09 Mikhael Goikhman <migo@homemail.com>
4361 * libs/Picture.c (GetColor):
4362 fixed core dump when parsing $[bg.cs3i]
4364 2000-10-08 Dominik Vogt <dominik.vogt@gmx.de>
4367 added a warning about the PointerKey command
4369 * libs/Bindings.c (AddBinding):
4372 * fvwm/bindings.c (ParseBinding):
4375 2000-10-08 Chris Rankin <rankinc@zipworld.com.au>
4378 Fix build problem - XrmCombineDatabase returns void.
4380 2000-10-08 Dominik Vogt <dominik.vogt@gmx.de>
4382 * fvwm/stack.c (raise_over_unmanaged):
4383 * fvwm/add_window.c (setup_window_name):
4384 * fvwm/virtual.c (unmap_window):
4385 * fvwm/menus.c (is_submenu_mapped):
4386 * fvwm/icons.c (Iconify):
4387 * fvwm/fvwm.c (InitVariables):
4388 * fvwm/colormaps.c (HandleColormapNotify):
4389 (InstallWindowColormaps):
4390 (FetchWmColormapWindows):
4391 (EnterSubWindowColormap):
4392 * fvwm/menus.c (get_prefered_popup_position):
4395 (animated_move_back):
4398 (pop_menu_down_and_repaint_parent):
4399 * libs/Colorset.c (SetWindowBackground):
4400 * fvwm/move_resize.c (resize_move_window):
4401 (AnimatedMoveAnyWindow):
4405 * fvwm/icons.c (GetIconBitmap):
4406 * fvwm/session.c (matchWin):
4408 honour return code of XGetGeometry(), XGetWindowAttributes(),
4409 XGetWMName(), XGetWMNormalHints(), XGetCommand(), XQueryTree()
4411 * libs/Graphics.c (CalculateGradientDimensions):
4412 * fvwm/events.c (HandleConfigureRequest):
4413 * fvwm/add_window.c (setup_style_and_decor):
4415 fixed no longer ignore return codes of several X functions
4417 * fvwm/decorations.c:
4420 2000-10-06 olicha <olivier.chapuis@free.fr>
4422 * fvwm/cursor.c (setBusyCursor):
4423 More memory leaks fix
4425 2000-10-06 Dominik Vogt <dominik.vogt@gmx.de>
4427 * fvwm/cursor.c (setBusyCursor):
4428 * fvwm/conditional.c (AllFunc):
4430 * fvwm/add_window.c (destroy_icon):
4431 * fvwm/cursor.c (CursorStyle):
4432 * fvwm/functions.c (ExecuteFunction):
4433 * fvwm/style.c (ProcessNewStyle):
4436 * libs/Bindings.c (MatchBindingExactly):
4437 (RemoveMatchingBinding):
4438 fixed removal of binding broken with last patch
4439 new function MatchBindingExactly()
4441 2000-10-05 Dominik Vogt <dominik.vogt@gmx.de>
4443 * fvwm/add_window.c (setup_style_and_decor):
4444 fixed UMR in FvwmWindow.wShaped
4446 * fvwm/fvwm.c (main):
4447 * fvwm/move_resize.c (resize_window):
4449 * fvwm/misc.c (WaitForButtonsUp):
4450 * fvwm/functions.c (CheckActionType):
4451 * fvwm/focus.c (focus_grab_buttons):
4452 * fvwm/bindings.c (ParseBinding):
4453 * libs/Bindings.c (GrabWindowButton):
4454 the number of supported buttons is now a macro in defaults.h
4455 theoretically it should be possible to support 5 mouse buttons now
4457 * libs/defaults.h (NUMBER_OF_MOUSE_BUTTONS):
4458 moved it here instead
4460 * fvwm/fvwm.h (MAX_BUTTONS):
4461 removed unused macro
4463 * fvwm/bindings.c (ParseBinding):
4466 * libs/Bindings.c (DestroyBinding):
4468 (RemoveMatchingBinding):
4469 partially rewrote binding list handling
4471 performance enhancements and bugfixes
4473 2000-10-03 Dan Espen <dane@mk.telcordia.com>
4475 * libs/fvwmlib.h: remove #define MTRACE_DEBUGGING, its not portable.
4477 2000-10-03 olicha <olivier.chapuis@free.fr>
4479 * fvwm/bindings.c (ParseBinding):
4480 * libs/Bindings.c (RemoveBinding):
4482 Try to fix the Add/Remove bindings code
4484 2000-09-30 olicha <olivier.chapuis@free.fr>
4486 * libs/Bindings.c (MatchBinding):
4487 * fvwm/read.c (run_command_file):
4488 * fvwm/module_interface.c (DeleteMessageQueueBuff):
4489 Applied dmalloc suggestions
4491 2000-09-24 olicha <olivier.chapuis@free.fr>
4493 * fvwm/gnome.c (GNOME_ProcessClientMessage):
4494 fixed my previous commit
4496 2000-09-25 Mikhael Goikhman <migo@homemail.com>
4498 * fvwm/session.c (SetClientID):
4500 implemented forgotten function, thus fixing a bad bug with timeout
4502 2000-09-24 olicha <olivier.chapuis@free.fr>
4504 * fvwm/gnome.c (GNOME_ProcessClientMessage):
4505 fixed a gnome hints core dump
4507 2000-09-24 olicha <olivier.chapuis@free.fr>
4509 * utils/fvwm-menu-desktop.in:
4510 fixed a problem with directory with a space in its name
4512 2000-09-24 Mikhael Goikhman <migo@homemail.com>
4514 * fvwm/modconf.c (SendConfigToModule):
4515 fixed sending new module config to existing modules, which want it,
4516 now it only sends to modules with the matching name/alias
4518 2000-09-17 Dominik Vogt <dominik.vogt@gmx.de>
4520 * fvwm/events.c (HandleButtonPress):
4521 (HandleEnterNotify):
4522 * fvwm/focus.c (focus_grab_buttons):
4523 MouseFocusClickRaises applies to NeverFocus windows too.
4525 * libs/Parse.c (SkipSpaces):
4526 removed static prefix
4528 * fvwm/functions.c (ExecuteFunction):
4529 whitespace ate the start of module config and comment lines are ignored
4530 this helps cut-and-past with module configs
4532 * fvwm/focus.c (focus_grab_buttons):
4533 removed redundant code
4535 2000-09-16 Mikhael Goikhman <migo@homemail.com>
4538 added #include "config.h" (for string.h) to avoid warning
4541 'unset' is now used only on shells which support it;
4542 reverted to the old smr_CHECK_LIB, so readline usage is twice again;
4543 added --with-termcap-library and --with-ncurses-library
4547 updated documentation
4549 * NEWS: s/Sped/Speed/, some more
4552 added files and rules for generating bzip2 and rpm archives
4554 2000-09-16 Dominik Vogt <dominik.vogt@gmx.de>
4556 * fvwm/fvwm2.1 (Example):
4557 removed some text about xview workarounds
4559 2000-09-15 Dominik Vogt <dominik.vogt@gmx.de>
4561 * fvwm/window_flags.h:
4563 * fvwm/misc.c (GrabEm):
4564 * fvwm/add_window.c (regrab_focus_win):
4565 (setup_key_and_button_grabs):
4566 (setup_focus_policy):
4567 * fvwm/events.c (HandleEnterNotify):
4568 (HandleButtonPress):
4570 * fvwm/focus.c (focus_grab_buttons):
4573 (do_accept_input_focus):
4574 * fvwm/focus.h (focus_grab_buttons):
4575 fixed focus problems with xview applications/clicktofocus and cleaned
4576 up the whole focus regrabbing code
4578 2000-09-15 Dominik Vogt <dominik.vogt@gmx.de>
4582 new file with configure support for strdup needed for ULTRIX
4584 * libs/Makefile.in (libfvwm_a_SOURCES):
4585 * libs/GetFontSet.c:
4586 removed file libs/GetFontSet.c
4588 2000-09-13 Dominik Vogt <dominik.vogt@gmx.de>
4591 * fvwm/style.c (ProcessNewStyle):
4593 * fvwm/gnome.c (GNOME_GetHints):
4594 (GNOME_ProcessClientMessage):
4595 (GNOME_HandlePropRequest):
4596 implemented and documented GNOMEIgnoreHints and GNOMEUseHints styles
4598 * fvwm/gnome.c (GNOME_GetHintIcons):
4599 (GNOME_GetHintLayer):
4600 (GNOME_GetHintState):
4601 (GNOME_GetHintAppState):
4602 (GNOME_GetHintDesktop):
4604 (GNOME_GetExpandedSize):
4611 * fvwm/window_flags.h (DO_IGNORE_GNOME_HINTS):
4612 * fvwm/fvwm.h (struct):
4613 new window flag do_ignore_gnome_hints
4615 2000-09-12 Dominik Vogt <dominik.vogt@gmx.de>
4617 * fvwm/gnome.c (GNOME_HandlePropRequest):
4618 removed debug messages
4620 * libs/GetFont.c (GetFontSetOrFixed):
4622 function is only compiled in with I18N_MB defined
4624 2000-09-08 Mikhael Goikhman <migo@homemail.com>
4626 * fvwm/modconf.c (AddToModList, ModuleConfig, DestroyModConfig):
4628 Fixed synchronous sending of new syntax config commands.
4629 DestroyModuleConfig now supports a non conflicting syntax too,
4630 no globbing in alias is allowed. DestroyModuleConfig FvwmPager: Geomet*
4632 2000-09-07 Dominik Vogt <dominik.vogt@gmx.de>
4634 * fvwm/stack.c (raise_over_unmanaged):
4635 fixed bug in raising of transients which resulted in only the first
4636 transient to be raised with FvwmAuto when the transient paren was
4639 * fvwm/borders.c (SetupTitleBar):
4640 fixes drawing of title buttons in windows with very low width
4642 * fvwm/events.c (HandleButtonPress):
4643 fixed redundant raising of non focused ClickToFocus +
4644 ClickToFocusRaisesOff windows when clicking on the decorations.
4646 2000-09-06 Dominik Vogt <dominik.vogt@gmx.de>
4648 * fvwm/stack.c (RaiseOrLowerWindow):
4649 * fvwm/events.c (HandleButtonPress):
4651 Fixed at least one problem that caused focus loss of xview windows when
4652 a normal ClickToFocus is entered.
4654 * fvwm/window_flags.h (IS_SCHEDULED_FOR_RAISE):
4655 (SET_SCHEDULED_FOR_RAISE):
4656 * fvwm/fvwm.h (is_just_restacked):
4657 Fixed Lower/RaiseLower problems in conjunction with ClickToFocus plus
4660 2000-09-05 Dominik Vogt <dominik.vogt@gmx.de>
4662 * fvwm/fvwm2.1 (Example):
4663 hopefully clarified problems with xview a bit
4665 * fvwm/focus.c (FocusOn):
4666 * fvwm/virtual.c (MapDesk):
4667 * fvwm/events.c (HandleMapRequestKeepRaised):
4669 (HandleButtonPress):
4670 * fvwm/borders.c (DrawDecorations):
4671 tried to fix handling of windows with "Input hint = false"
4673 * fvwm/functions.c (ExecuteFunction):
4674 removed redundant code
4676 * fvwm/windowlist.c (do_windowList):
4677 * fvwm/conditional.c:
4678 * fvwm/gnome.c (GNOME_HandlePropRequest):
4679 * fvwm/functions.c (ExecuteFunction):
4680 (execute_complex_function):
4681 * fvwm/module_interface.c (ExecuteModuleCommand):
4682 * fvwm/read.c (run_command_stream):
4683 * fvwm/fvwm.c (main):
4688 * fvwm/events.c (HandleKeyPress):
4689 (HandlePropertyNotify):
4690 (HandleButtonPress):
4691 (HandleButtonRelease):
4692 * fvwm/builtins.c (AddToDecor):
4695 * fvwm/menus.c (do_menu):
4698 Replaced expand_cmd parameter of the ExecuteFunction() with exec_flags
4699 and added a flag to indicate that the function has to wait for a button
4700 release before proceeding. This is supposed to speed up startup and
4701 script execution over slow network connections dramatically.
4703 * fvwm/functions.c (ExecuteFunctionSaveTmpWin):
4705 * fvwm/repeat.c (repeat_function):
4706 * fvwm/module_interface.c (executeModuleDesperate):
4708 (executeModuleSync):
4709 * fvwm/builtins.c (ButtonStyle):
4713 * fvwm/move_resize.c (handle_stick):
4716 * fvwm/menus.c (popup_func):
4721 use the F_PASS_ARGS/F_EXEC_ARGS/F_PASS_EXEC_ARGS macros
4723 * fvwm/builtins.c (setModuleTimeout):
4724 removed empty declarations
4726 * fvwm/fvwm.h (F_EXEC_ARGS):
4730 * fvwm/misc.h (F_CMD_ARGS):
4731 removed duplicate macro (already in fvwm.h)
4733 2000-09-04 Dominik Vogt <dominik.vogt@gmx.de>
4735 * configure.in: changed version to 2.3.22
4737 2000-09-04 Dominik Vogt <dominik.vogt@gmx.de>
4739 * fvwm/functions.c (AddToFunction):
4740 * fvwm/module_interface.c (SendStrToModule):
4743 2000-09-02 Mikhael Goikhman <migo@homemail.com>
4745 * fvwm/functions.c (AddToFunc):
4746 allow only a strict syntax, i.e. I|C|D|M|H as the first parameter
4748 * fvwm/move_resize.c (GetOnePositionArgument):
4749 correct rounding errors: 'Move w+1 w+1' + 'Move w-1 w-1' = 'Move w w'
4751 * fvwm/modconf.c (AddToModList, SendDataToModule):
4752 * fvwm/module_interface.c (skipModuleAliasToken):
4753 * fvwm/module_interface.h:
4756 module configuration now can be delimited by a colon and optional
4757 spaces, like: *FvwmIconBox: MaxIconSize 48x48
4760 fixes like s/MwmButton|MwmDecorMaximize/MwmDecorMax/ and spacing;
4761 added an entry *module_config_line
4763 2000-08-29 Dan Espen <dane@mk.telcordia.com>
4765 * fvwm/read.c (ReadFile): remove extra quotes in debug message.
4767 2000-08-28 Dan Espen <dane@mk.telcordia.com>
4769 * fvwm/fvwm.c (main): Read commands from config files without
4770 doing XSync on each comamnd. (Speed up.)
4772 * fvwm/misc.c (fvwm_msg): Add ifdef'd timing logic to fvwm_msg.
4774 * fvwm/read.c (ReadFile): Add information to existing debug lines.
4776 * fvwm/add_window.c (setup_window_name): Add debugging to window
4779 2000-08-19 Mikhael Goikhman <migo@homemail.com>
4781 * fvwm/module_interface.c:
4782 SendToModule now can accept an alias too.
4783 Syncronize with appropriate messages regardless of myxgrabcount.
4785 * NEWS: document new GNOME defaults, StrokeWidth and SendToModule
4786 * AUTHORS: tried to keep a reverse chronological order
4789 SendToModule; s/COMMAND LINE PARAMETER EXPANSION/COMMAND EXPANSION/.
4791 2000-08-13 olicha <olivier.chapuis@free.fr>
4796 Applied J. Zellner <johannes@zellner.org> StrokeWidth patch
4798 2000-07-21 Mikhael Goikhman <migo@homemail.com>
4803 GNOME window manager hints are now on by default (--disable-gnome).
4804 Compiling with GNOME is now autoconfigured, this fixes "todo #159".
4805 Some tweaks to make 'configure --help' nicer.
4807 * fvwm/module_interface.c (do_execute_module):
4808 support [0-9.-] chars in module aliases
4811 added #include <stdlib.h>
4813 2000-07-04 Dominik Vogt <dominik.vogt@gmx.de>
4815 * configure.in: changed version to 2.3.21
4817 2000-07-04 Dominik Vogt <dominik.vogt@gmx.de>
4819 * fvwm/stack.c (RaiseOrLowerWindow):
4821 fixed transient stacking bug
4822 (ResyncXStackingOrder):
4823 new function to synchronize X stacking order with internal stack ring
4825 2000-06-30 Mikhael Goikhman <migo@homemail.com>
4827 * fvwm/module_interface.c:
4828 KillModule now supports optional alias parameter, so it is now
4829 possible to stop individual modules started by alias.
4833 Documented KillModule additional parameter.
4834 Improved description of Module command.
4836 2000-06-27 olicha <olivier.chapuis@free.fr>
4838 * fvwm/placement.c (NEW_CLEVERPLACEMENT_CODE):
4839 Clever Placement try to be more clever
4841 2000-06-23 Mikhael Goikhman <migo@homemail.com>
4843 * fvwm/functions.c: patch by Christophe Martin - fixed $$ and $y
4847 * fvwm/module_interface.c: ExecuteCommandQueue is now reentrant and
4848 the Wait command now allows module command to work.
4852 * fvwm/functions.*: Removed undocumented command AddModuleConfig.
4853 * fvwm/modconf.*: Removed trailing newlines from module config lines.
4855 2000-06-15 Dominik Vogt <dominik.vogt@gmx.de>
4857 * fvwm/builtins.c (WindowShade):
4858 * fvwm/move_resize.c (Maximize):
4860 don't maximize/shade/resize iconified windows
4862 fixed normal geometry when window was maximized twice
4864 2000-06-14 Dominik Vogt <dominik.vogt@gmx.de>
4866 * fvwm/misc.c (GrabEm):
4867 retry to grab busy cursor only once - rather don't whow a busy cursor
4870 * libs/WinMagic.c (GetEqualSizeChildren):
4871 * libs/Colorset.c (SetWindowBackground):
4872 * libs/Graphics.c (ParseGradient):
4873 * fvwm/geometry.c (gravity_constrain_size):
4874 * fvwm/add_window.c (AddWindow):
4875 * fvwm/events.c (HandleConfigureRequest):
4876 * fvwm/style.c (blockand):
4878 * fvwm/move_resize.c:
4879 * fvwm/fvwm.c (SetMWM_INFO):
4880 * fvwm/menus.c (paint_menu):
4883 * fvwm/fvwm.h (icon_boxes_struct):
4884 fix for ANSI C bitfields
4886 * fvwm/functions.c (execute_complex_function):
4887 fixed parameter expansion in non-immediate function actions
4889 2000-06-14 Dominik Vogt <dominik.vogt@gmx.de>
4891 * fvwm/borders.c (SetupTitleBar):
4894 ... and removed some unnecessary code again
4896 and another bug if no buttons were configured
4898 2000-06-12 Brad Giaccio <bgiaccio@psrw.com>
4900 * fvwm/fvwm.c: fvwm/borders.c:
4901 * fvwm/module_interface.c: fvwm/move_resize.c:
4902 * modules/FvwmIconBox/FvwmIconBox.c: modules/FvwmIconMan/FvwmIconMan.c:
4903 * modules/FvwmWinList/FvwmWinList.c:
4904 now builds with FVWM_DEBUG_MSGS defined
4906 2000-06-10 olicha <olivier.chapuis@free.fr>
4908 * sample/system.fvwm2rc-sample-95:
4909 Fixed pager swallowing
4913 * fvwm/move_resize.c: moved EdgeResistance code into doSnapAttraction()
4915 2000-06-07 Dominik Vogt <dominik.vogt@gmx.de>
4917 * fvwm/borders.c (SetupTitleBar):
4918 fixed placement of title and button windows in a short title bar
4920 * fvwm/menus.c (menu_func):
4921 menus invoked from modules were executed in wrong window context
4923 2000-06-06 Dominik Vogt <dominik.vogt@gmx.de>
4925 * fvwm/functions.c (execute_complex_function):
4927 allow expose events while waiting for buttons to be released
4929 * fvwm/borders.c (RedrawBorder):
4930 (draw_frame_relief):
4931 fixed drawing of depressed fvwm borders on bottom and right side
4933 * fvwm/cursor.c (CursorStyle):
4934 fixed update of SYS cursorstyle for title buttons
4935 fixed update of DEFAULT cursorstyle for windows and icons
4937 * fvwm/update.c (apply_window_updates):
4938 fixed off screen decoration changes
4940 * fvwm/borders.c (SetupTitleBar):
4941 fixed top-left cursor over 'title' when windows are too small
4943 * fvwm/events.c (HandleButtonRelease):
4944 fixed title button being depressed if non-existing function bound to
4947 2000-06-04 Dominik Vogt <dominik.vogt@gmx.de>
4949 * configure.in: changed version to 2.3.20
4951 2000-06-04 Dominik Vogt <dominik.vogt@gmx.de>
4953 * fvwm/add_window.c (destroy_window):
4954 fixed bug: when an unfocused transient was closed it stole away the
4955 focus and transfered it to some other window
4957 2000-06-02 Dominik Vogt <dominik.vogt@gmx.de>
4959 * fvwm/menus.c (do_menu):
4962 * fvwm/session.c (MatchWinToSM):
4963 * fvwm/window_flags.h:
4964 * fvwm/events.c (HandleMapRequestKeepRaised):
4966 fixed hard coded is_icon_moved flag after a restart 2/ session mgr
4967 this flag is now preserved over a restart and used once during a restart
4968 to place the icon appropriately (to do list item #120)
4970 * fvwm/builtins.c (do_recapture):
4971 workaround for freeze w/ recapture when an icon is focused (to do list
4974 * fvwm/builtins.c (do_recapture):
4975 a busycursor fix (pointer grabbed twice)
4977 * fvwm/misc.c (GrabEm):
4978 * libs/Target.c (fvwmlib_get_target_window):
4979 improved grabbing logic
4982 removed commit from 27-May-2000
4984 2000-05-31 Dominik Vogt <dominik.vogt@gmx.de>
4986 * fvwm/placement.c (SmartPlacement):
4987 fixed bugs in smart placement code
4989 * fvwm/functions.c (ComplexFunction):
4990 (execute_complex_function):
4992 fixed parameter expansion with nested complex functions and quoting
4993 removed ComplexFunction(), instead handle the "Function" command in a
4994 special way in ExecuteFunction().
4996 2000-05-30 Dominik Vogt <dominik.vogt@gmx.de>
4998 * fvwm/add_window.c (GetWindowSizeHints):
4999 fixed core dump when size_inc is zero
5001 * fvwm/fvwm2.1 (Note):
5002 * fvwm/update.c (update_styles_func):
5003 * fvwm/functions.c (func_config):
5004 * fvwm/functions.h (enum):
5005 New command UpdateStyles to apply all style updates immediately. Less
5006 disruptive than Refresh since it does not force a redraw.
5008 * fvwm/functions.c (execute_complex_function):
5009 fixed core dump when undefined arguments were accessed
5011 variables in $[...] may contain spaces (not useful, but less buggy)
5013 fixed core dump when $[...] arguments expand to a string that is
5014 shorter than the '...'
5016 fixed temporary waste of memory
5018 performance enhancement
5021 * fvwm/functions.c (execute_complex_function):
5024 implemented '$*' function argument
5025 (expand_extended_var):
5026 implemented several very trivial new extended variables:
5027 $[desk.width], $[desk.height]
5028 $[vp.x], $[vp.y], $[vp.width], $[vp.height]
5029 $[w.x], $[w.y], $[w.width], $[w.height]
5031 $[<environment variable>]
5033 2000-05-27 Dominik Vogt <dominik.vogt@gmx.de>
5035 * fvwm/stack.c (RaiseOrLowerWindow):
5036 performance enhancement
5037 reindented some code
5039 2000-05-25 Dominik Vogt <dominik.vogt@fvwm.org>
5041 * configure.in: changed version to 2.3.19
5043 2000-05-25 Dominik Vogt <dominik.vogt@gmx.de>
5045 * fvwm/conditional.c (CreateConditionMask):
5047 renamed MovedButton3 contidion to PlacedByButton3
5050 * fvwm/events.c (HandleButtonPress):
5051 * fvwm/style.c (ProcessNewStyle):
5052 * fvwm/stack.c (RaiseOrLowerWindow):
5054 * fvwm/window_flags.h:
5056 removed (Dont)FlipTransient styles
5058 * fvwm/conditional.c (CreateConditionMask):
5059 conditions can be separated by commas
5061 2000-05-20 olicha <olivier.chapuis@free.fr>
5063 * sample/system.fvwm2rc-sample-95
5064 Corrected some miss prints (thanks to sa)
5066 2000-05-20 olicha <olivier.chapuis@free.fr>
5068 * fvwm/update{c,h} (apply_window_updates):
5069 * fvwm/styles.c (check_window_style_change):
5070 Send a CONFIGURE_WINDOW message to module in the case of a
5071 WindowListSkip/Hit and (No)Icon style changes.
5073 2000-05-19 Dominik Vogt <dominik.vogt@gmx.de>
5075 * fvwm/events.c (HandleEnterNotify):
5076 fixed mouse focus and removed one - buggy - half of the "focus lost when
5077 root window is entered" workaround and removed a misleading comment
5079 2000-05-18 Mikhael Goikhman <migo@homemail.com>
5081 * configure.in: display "no" for gnome if not supported
5083 2000-05-17 olicha <olivier.chapuis@free.fr>
5085 * samples/system.fvwm2rc-sample-95
5090 * fvwm/events.c (My_XNextEvent): fixed X events getting lost & tuned up
5092 2000-05-16 Dominik Vogt <dominik.vogt@gmx.de>
5094 * fvwm/events.c (HandleFocusIn):
5095 fixed focus getting lost when transients are opened
5096 (HandleLeaveNotify):
5097 (HandleEnterNotify):
5098 tried to write a workaround for "focus lost when root window is entered"
5100 2000-05-15 Dominik Vogt <dominik.vogt@gmx.de>
5102 * fvwm/module_interface.h:
5103 * fvwm/module_interface.c (ExecuteCommandQueue):
5104 * fvwm/events.c (My_XNextEvent):
5105 workaround for event delay problem
5108 stack ring fix, final version
5110 * fvwm/menus.c (menuShortcuts):
5111 fixed meta-up/down and ctrl-up/down menu key shortcuts
5113 2000-05-15 Dominik Vogt <dominik.vogt@gmx.de>
5116 experimental 'fix' for stack ring problem.
5118 2000-05-14 Mikhael Goikhman <migo@homemail.com>
5120 * fvwm/fvwm2.1 (Style): removed a wrong sentence stated that Style
5121 commands based on name override those based on class and resource.
5122 * NEWS: s/GroUp/GrowUp/; increased to 2.3.18
5123 * ChangeLog: some clean up in number of entries
5125 2000-05-13 Dominik Vogt <dominik.vogt@gmx.de>
5128 added some missing prototypes
5131 * fvwm/fvwm.c (InitVariables):
5132 * fvwm/screen.h (ScreenInfo):
5133 * fvwm/move_resize.h (stick_function):
5135 * fvwm/move_resize.c (SetMoveSmoothness):
5138 * fvwm/functions.c (func_config):
5139 removed MoveSmoothness command
5141 * fvwm/move_resize.c (InteractiveMove):
5143 fixed opaque icon moving
5145 * fvwm/add_window.c (destroy_icon_font):
5146 (destroy_window_font):
5147 does not destroy the default font anymore
5148 destroy old font even if no new font was specified
5151 * fvwm/style.c (ProcessNewStyle):
5159 * fvwm/module_interface.c
5160 * fvwm/module_interface.h
5161 * fvwm/move_resize.c
5163 Added queueing system for module commands.
5164 Speeded up module command processing.
5165 New convenience functions SendUnlockNotification() &
5166 SendQuitNotification() for use by modules.
5167 Removed FINISHED_STARTUP, UNLOCK & KILLME commands.
5169 2000-05-11 Dominik Vogt <dominik_vogt@gmx.de>
5171 * configure.in: changed version to 2.3.18
5173 2000-05-10 Paul D. Smith <psmith@gnu.org>
5175 * vms/vms.c (VMS_msg): Put va_start/va_end close for cleanliness.
5176 (VMS_ExecL): Add missing va_end call.
5178 * fvwm/misc.c (fvwm_msg): Wrap _each_ instance of vsprintf() in
5179 va_start()/va_end().
5181 2000-05-10 Dan Espen <dane@mk.telcordia.com>
5183 * fvwm/add_window.c (AddWindow): remove some debug stuff.
5185 2000-05-10 Dominik Vogt <dominik.vogt@gmx.de>
5187 * fvwm/functions.c (ExecuteFunction):
5188 another parameter expansion fix
5190 * fvwm/misc.c (IntersectsInterval):
5193 * fvwm/move_resize.c (move_window_doit):
5194 some fixes to MoveToPage command
5196 * fvwm/functions.c (ExecuteFunction):
5199 2000-05-09 Dominik Vogt <dominik.vogt@gmx.de>
5202 applied man page updates by brooke@jump.net (placement styles)
5204 * fvwm/functions.c (ExecuteFunction):
5205 fixed expansion of command names in '+' entries in a function or menu
5207 * configure.in (FVWM_CONFDIR):
5208 removed busycursor configure option
5210 * fvwm/functions.h (enum):
5211 * fvwm/screen.h (ScreenInfo):
5217 * fvwm/module_interface.c (executeModuleSync):
5218 * fvwm/menus.c (MenuInteraction):
5220 * fvwm/misc.c (GrabEm):
5223 * fvwm/fvwm.c (MAX_CFG_CMDS):
5225 * fvwm/functions.c (func_config):
5226 * fvwm/cursor.c (setBusyCursor):
5227 * fvwm/builtins.c (wait_func):
5229 removed BUSYCURSOR ifdef
5231 * fvwm/builtins.c (wait_func):
5232 removed "#if 0"ed code
5234 2000-05-08 Dominik Vogt <dominik.vogt@gmx.de>
5236 * fvwm/builtins.c (echo_func):
5237 removed debug fprintf
5239 support old syntax too; strip leading and trailing whitespace
5241 * fvwm/fvwm2.1 (Example):
5242 clarified Close command
5244 * fvwm/focus.c (DoSetFocus):
5245 fixed setting focus to an icon after moving it to another page
5247 * fvwm/menus.c (MenuInteraction):
5249 fixed core dump if 'Popup ""' was used in DynamicPopupAction
5251 2000-05-06 Dominik Vogt <dominik.vogt@gmx.de>
5254 * ChangeLog-pre-2.2:
5255 moved old ChangeLog entries into new file
5257 * fvwm/focus.h (FOCUS_SET):
5258 fixed focus problem if clock was set backwards in time but less than
5261 * fvwm/events.c (StashEventTime):
5262 * libs/defaults.h (CLOCK_SKEW_MS):
5263 new macro replaces hard coded 30s in StashEventTime
5266 * fvwm/misc.c (ButtonPosition):
5267 moved function to borders.c
5271 moved extern decalrations to externs.h
5274 * fvwm/misc.c (flush_expose):
5276 (CoerceEnterNotifyOnCurrentWindow):
5277 moved event related functions to events.c
5279 2000-05-05 Dominik Vogt <dominik.vogt@gmx.de>
5281 * fvwm/gnome.c (GNOME_HandlePropRequest):
5282 * fvwm/repeat.c (repeat_function):
5283 * fvwm/read.c (run_command_stream):
5284 * fvwm/windowlist.c (do_windowList):
5285 * fvwm/conditional.c (PrevFunc):
5293 * fvwm/module_interface.c (HandleModuleInput):
5294 * fvwm/fvwm.c (main):
5298 * fvwm/events.c (HandleKeyPress):
5299 (HandlePropertyNotify):
5300 (HandleClientMessage):
5301 (HandleButtonPress):
5302 (HandleButtonRelease):
5303 * fvwm/builtins.c (AddToDecor):
5306 * fvwm/menus.c (do_menu):
5311 * fvwm/functions.c (execute_complex_function):
5313 fixed expansion of complex function arguments
5315 2000-05-04 Mikhael Goikhman <migo@homemail.com>
5317 * configure.in: added GNOME support info,
5318 $with_gnome is now awailable for auto-generated stuff.
5319 * fvwm/fvwm2.1: fixed PipeRead usage example
5321 2000-05-04 Dominik Vogt <dominik.vogt@gmx.de>
5323 * fvwm/placement.c (PlaceWindow):
5324 * fvwm/move_resize.c (moveLoop):
5327 fixed opaque resize w/ active placement
5328 removed AddWindow argument from moveLoop(): this can be checked via
5331 * fvwm/window_flags.h:
5332 * fvwm/move_resize.h:
5335 * fvwm/conditional.c:
5336 * fvwm/move_resize.c:
5337 removed POST_24_FEATURES ifdef
5339 * fvwm/move_resize.c (resize_move_window):
5340 renamed moveresize command to resizemove
5342 * fvwm/move_resize.c (GetMoveArguments):
5343 replaced "-" Move argument with "keep"
5344 (GetResizeArguments):
5345 replaced "0" Resize argument with "keep"
5347 2000-05-03 Michael Han <mikehan@best.com>
5350 * FvwmCommandS.c (process_message):
5351 * FvwmCommand.c (process_message):
5353 Converted to ConfigWinPacket when parsing packet bodies
5355 2000-05-02 Michael Han <mikehan@best.com>
5358 * FvwmSave.c (add_window):
5359 Converted to ConfigWinPacket when parsing packet bodies
5361 Convert some bitwise tests to use the standard flag macros instead
5363 * FvwmSaveDesk.c (add_window):
5364 Converted to ConfigWinPacket when parsing packet bodies
5366 Convert some bitwise tests to use the standard flag macros instead
5368 2000-05-03 Dominik Vogt <dominik.vogt@gmx.de>
5370 * fvwm/builtins.c (refresh_window):
5371 Refresh and RefreshWindow apply style updates too
5374 * fvwm/move_resize.h (stick_function):
5376 * fvwm/functions.c (func_config):
5377 * fvwm/move_resize.c (move_resize_window):
5378 (GetResizeArguments):
5379 * fvwm/move_resize.c (move_window_doit):
5380 (GetGeometryArguments):
5381 resize command accepts negative size arguments which are interpreted as
5382 screen size minus given size
5383 resize command interprets '0' as 'do not change dimension'
5384 move command interprets '-' as 'do not change coordinate'
5385 new command MoveResize
5387 * libs/Parse.h (EatWS):
5388 removed unused macro
5390 * fvwm/conditional.c (CreateConditionMask):
5391 * fvwm/move_resize.c (moveLoop):
5395 * fvwm/window_flags.h (IS_PLACED_WB3):
5396 * fvwm/fvwm.h (struct):
5397 new condition MovedButton3 is set when the last interactive move was
5398 finished with mouse button 3. This is useful to hook fvwm functions to
5399 add_window events via FvwmEvent
5401 2000-05-01 Michael Han <mikehan@best.com>
5403 * modules/FvwmIconMan/fvwm.c (set_win_configuration)
5406 Convert the add_config_data union member from m_add_config_data to
5407 ConfigWinPacket from vpacket, and fix up differences between the structs
5408 * modules/FvwmIdent/FvwmIdent.c (list_configure):
5409 Convert from reading the packet body array to ConfigWinPacket struct
5411 2000-05-01 Michael Han <mikehan@best.com>
5413 * modules/FvwmPager/x_pager.c (UpdateWindowShape):
5414 * modules/FvwmButtons/FvwmButtons.c (change_colorset):
5416 * fvwm/cursor.c (myCursorNameToIndex):
5420 -Wall -ansi fixes, mostly removing extraneous semicolons.
5422 2000-05-01 Bob Woodside <proteus@pcnet.com>
5424 * fvwm/module_interface.c (make_new_vpacket, CONFIGARGSNEW):
5425 fixed misaligned fields in M_CONFIGURE_WINDOW packet on systems where
5426 an int and a long have different lengths.
5428 Added layer in the old dummy slot where the pre-GSFR flags used to go.
5430 2000-04-30 Michael Han <mikehan@best.com>
5432 * fvwm/bindings.c (ParseBinding):
5434 -Wall fixes to hide variables if they're not going to be used
5436 2000-04-27 Dominik Vogt <dominik.vogt@gmx.de>
5438 * fvwm/menus.c (get_selectable_item_count):
5440 cleand up menu shorcut code and fixed several minor bugs
5442 * fvwm/menus.c (MenuInteraction):
5443 fixed bug: pressing 'right' when a menu is posted but nothing in it
5444 selected sometimes closed all open menus instead of entering the submenu
5446 * fvwm/menus.c (do_menu):
5452 some minor position hint fixes
5453 fixed previous position hint patch
5455 * fvwm/menus.c (GetMenuOptions):
5458 menus invoked with 'Menu' honour position hints even if they are invoked
5459 from a menu without specifying 'SelectInPlace'
5461 2000-04-26 Dominik Vogt <dominik.vogt@gmx.de>
5463 * fvwm/icons.c (DeIconify):
5464 fixed shade-iconify-drag_to_other_page-deiconify-unshade
5465 fixed maximize-iconify-drag_to_other_page-deiconify-unmaximize
5467 * fvwm/geometry.c (update_relative_geometry):
5470 * fvwm/virtual.c (gotoDeskAndPage_func):
5472 completed FvwmPager workaround for sticky windows with brute force.
5473 Each desk change is followed by a complete set of restack messages.
5476 renamed MapIt() to map_window()
5477 renamed UnmapIt() to unmap_window()
5479 * fvwm/virtual.h (gotoDeskAndPage_func):
5480 * fvwm/virtual.c (goto_desk_func):
5482 * fvwm/session.c (LoadGlobalState):
5483 * fvwm/placement.c (PlaceWindow):
5484 * fvwm/functions.h (enum):
5485 * fvwm/gnome.c (GNOME_ProcessClientMessage):
5486 * fvwm/focus.c (WarpOn):
5488 * fvwm/functions.c (func_config):
5489 renamed chageDesks() to goto_desk()
5490 renamed chageDesks_func() to goto_desk_func()
5495 2000-04-26 Mikhael Goikhman <migo@homemail.com>
5497 * NEWS, configure.in, fvwm/Makefile.am, fvwm/externs.h, fvwm/fvwm.c,
5498 * fvwm/fvwm2.1, fvwm/module_interface.c, fvwm/read.c, fvwm/read.h,
5499 * sample.fvwmrc/Makefile.am, sample.fvwmrc/system.fvwm2rc-sample-95,
5501 Changes in defaults of FVWM_DATADIR & FVWM_USERDIR;
5502 renamings and rewordings.
5504 2000-04-25 olicha <olivier.chapuis@free.fr>
5506 * sample.fvwmrc/system.fvwm2rc-sample-95:
5507 Fixed some miss prints
5509 2000-04-23 Mikhael Goikhman <migo@homemail.com>
5511 * fvwm/menus.c (paint_item):
5512 Fixed non-first menu titles for different relief heights.
5513 * fvwm/builtins.c (wait_func):
5514 Wait now parses it's argument, like: Wait "my win". Error returned
5515 on old (now incorrect) usage: Wait my win.
5517 2000-04-23 Dominik Vogt <dominik.vogt@gmx.de>
5519 * fvwm/virtual.c (changeDesks):
5520 workaround for pager problem: after switching desks, all sticky windows
5521 migrate to the top of the stacking order in the pager
5523 2000-04-23 Mikhael Goikhman <migo@homemail.com>
5525 * libs/Target.c (fvwmlib_get_target_window): patch from Michael Han
5527 2000-04-22 Mikhael Goikhman <migo@homemail.com>
5529 * fvwm/windowlist.c (do_windowList): don't free Function before
5530 the last menu entry is added
5532 2000-04-20 olicha <olivier.chapuis@free.fr>
5534 * sample.fvwmrc/system.fvwm2rc-sample-95:
5535 Added a CDE support and a new FAST/SLOW X server option.
5538 2000-04-17 Dominik Vogt <dominik.vogt@gmx.de>
5540 * configure.in: changed version to 2.3.17
5542 2000-04-17 Dominik Vogt <dominik.vogt@gmx.de>
5544 * fvwm/style.c (remove_all_of_style_from_list):
5546 (remove_all_of_style_from_list):
5547 performance enhancement if style doesn't exist
5549 merge adjacent styles with same name
5550 (simplify_style_list):
5551 fixed bug preventing that styles were merged properly
5556 2000-04-17 Dominik Vogt <dominik.vogt@gmx.de>
5561 * fvwm/add_window.c (setup_window_name):
5562 small change in I18N fix
5564 2000-04-16 olicha <olivier.chapuis@free.fr>
5566 * sample.fvwmrc/system.fvwm2rc-sample-95:
5567 replaced FVWM_icons by fvwm_icons
5569 2000-04-16 Dan Espen <dane@mk.telcordia.com>
5571 * sample.fvwmrc/system.fvwm2rc-sample-95: first pass on adustments.
5573 2000-04-16 olicha <olivier.chapuis@free.fr>
5575 * sample.fvwmrc/system.fvwm2rc-sample-95:
5576 Minor modifications. In particular, added "flags" for helping
5577 menus/styles parsing and for multi-files building. Began a CDE
5580 2000-04-13 olicha <olivier.chapuis@free.fr>
5582 * sample.fvwmrc/system.fvwm2rc-sample-95:
5583 Fixed sample-95 building.
5585 2000-04-13 Dan Espen <dane@mk.telcordia.com>
5587 * fvwm/add_window.c (setup_window_name): applied I18N patch from
5590 2000-04-12 Mikhael Goikhman <migo@homemail.com>
5593 $with_<feature> vars are now awailable for auto-generated stuff.
5594 * sample.fvwmrc/system.fvwm2rc-sample-95:
5595 some spell cheching, not enough at all
5597 2000-04-11 Dominik Vogt <dominik.vogt@gmx.de>
5599 * fvwm/functions.c (execute_complex_function):
5600 finally fixed that annoying rxvt selection bug
5602 2000-04-11 olicha <olivier.chapuis@free.fr>
5604 * sample.fvwmrc/system.fvwm2rc-sample-95:
5605 * sample.fvwmrc/Makefile.am
5606 sample-95 revolution. system.fvwm2rc-sample-95 is installed in
5607 the config directory.
5610 Added an entries for ScriptFvwmSetup95 in the root menu.
5611 Also added an entries for restarting fvwm.
5613 2000-04-11 olicha <olivier.chapuis@free.fr>
5615 * style.c (merge_styles, ProcessNewStyle, check_window_style_change
5616 update_style_colorset, update_window_color_style,
5617 update_window_color_hi_style):
5620 * border.c (get_common_decorations, DrawDecorations):
5623 New styles option BorderColorset and HilightBorderColorset
5625 2000-04-07 Dominik Vogt <dominik.vogt@gmx.de>
5627 * fvwm/decorations.c (SelectDecor):
5628 fixed bug: shaped windows had no title instead of no border
5629 removed unused macro DECOR_BORDER
5631 * fvwm/events.c (HandleConfigureRequest):
5632 use SendConfigureNotify()
5633 fixed xterm font size change when maximised
5635 * fvwm/borders.c (SetupFrame):
5636 * fvwm/move_resize.c (AnimatedMoveAnyWindow):
5638 use SendConfigureNotify()
5640 * fvwm/events.c (SendConfigureNotify):
5641 New function SendConfigureNotify()
5643 * fvwm/decorations.c (SelectDecor):
5645 fixed OL hints with windows that have no such hints
5647 2000-04-06 Mikhael Goikhman <migo@homemail.com>
5649 * configure.in: added generation of utils/fvwm-config, the default
5650 ImagePath $FVWM_IMAGEPATH is now available for auto-generated stuff.
5652 2000-04-03 Dan Espen <dane@mk.telcordia.com>
5654 * fvwm/events.c (HandleMapRequestKeepRaised): remove debug statement.
5656 2000-03-31 Mikhael Goikhman <migo@homemail.com>
5658 * configure.in: replace the second smr_CHECK_LIB in readline check
5659 with a less elegant equivalent, but which does not adds the
5660 --with-readline-* usage for the second time.
5662 2000-03-29 Mikhael Goikhman <migo@homemail.com>
5664 * configure.in: added --disable-sm to disable session management
5665 functionality, the default is enable if the library is found.
5666 Also added a commented in code for options --with-sm-libs and
5667 --with-sm-includes, but I am not sure whether they may be useful.
5669 2000-03-29 Dominik Vogt <dominik.vogt@gmx.de>
5671 * fvwm/style.c (free_style_mask):
5672 fixed coredump when overriding styles that were not set in any previous
5675 2000-03-27 Dominik Vogt <dominik.vogt@gmx.de>
5677 * libs/defaults.h (DEFAULT_MODULE_TIMEOUT):
5678 increased module timeout to 30 seconds
5680 2000-03-25 Mikhael Goikhman <migo@homemail.com>
5682 * configure.in: removed duplicated checks for libxpg4 and Xsetlocale,
5683 added X_CFLAGS to stroke check to fix header detection
5685 * fvwm/bindings.c (ParseBinding): patch by Olivier, remove the
5686 old binding first; this fixes memory leaks and an eventual crash
5688 2000-03-24 Dominik Vogt <dominik.vogt@gmx.de>
5690 * fvwm/builtins.c (movecursor):
5691 fixed MoveCursor command with Xinerama
5693 * fvwm/functions.c (func_config):
5695 * libs/Module.c (SetNoGrabMask):
5696 introduced SET_NOGRAB_MASK command to specify the packets that are not
5697 sent to the module while the server is grabbed and transmission is in
5698 locked mode; the mask must be a subset of the SET_SYNC_MASK mask.
5699 fixes problem that icons forget iconified state during recapture or
5700 when applications start up iconic
5702 2000-03-17 Dominik Vogt <dominik.vogt@gmx.de>
5704 * fvwm/placement.c (PlaceWindow):
5705 fixed random placement offsets
5707 * fvwm/add_window.c (GetWindowSizeHints):
5708 suppress broken size hints warning with zero size increment and
5709 identical max and min values
5711 * fvwm/events.c (HandleEnterNotify):
5712 (HandleLeaveNotify):
5713 * fvwm/move_resize.c (InteractiveMove):
5715 * fvwm/screen.h (ScreenInfo):
5716 Ignore LeaveNotify and EnterNotify events while the wire frame is
5717 visible. This may have unwanted effects on the window list; perhaps
5718 only if the mouse is not grabbed on the window, e.g. if the motion was
5721 2000-03-08 olicha <olivier.chapuis@free.fr>
5723 * AUTHORS: update my entries for my ego :)
5725 2000-02-29 Dominik Vogt <dominik.vogt@gmx.de>
5727 * fvwm/icons.c (CreateIconWindow):
5730 fixed NoIconTitle core dump
5732 2000-02-28 Dominik Vogt <dominik.vogt@gmx.de>
5735 removed trash entries
5738 fixed version number broken by release building script tests
5740 2000-02-25 Dominik Vogt <dominik.vogt@gmx.de>
5742 * configure.in: changed version to 2.3.16
5744 * fvwm/style.c (simplify_style_list):
5745 (add_style_to_list):
5746 (ProcessDestroyStyle):
5748 * fvwm/events.c (HandleEvents):
5749 * fvwm/screen.h (ScreenInfo):
5750 speed up style merging by waiting until fvwm has nothing else to do
5751 before simplifying the style list
5753 * fvwm/conditional.c (MatchesConditionMask):
5754 * fvwm/style.c (blockcmpmask):
5755 renamed cmp_maked_flags to blockcmpmask
5758 added missing description of gotodeskandpage command
5759 removed references to obsolete Desk command; use GotoDesk instead
5761 * fvwm/virtual.c (GetDeskNumber):
5762 (gotoDeskAndPage_func):
5764 gotodesk, gotodeskandpage and movetodesk accept 'prev' to indicate last
5767 2000-02-24 Dominik Vogt <dominik.vogt@gmx.de>
5769 * fvwm/style.c (simplify_style_list):
5772 2000-02-23 Dominik Vogt <dominik.vogt@gmx.de>
5774 * configure.in: changed version to 2.3.15
5776 * fvwm/style.c (add_style_to_list):
5777 (simplify_style_list):
5778 (remove_all_of_style_from_list):
5779 style list is now a double linked list
5780 more aggressive style merging logic
5782 * fvwm/style.h (SGET_PREV_STYLE):
5786 * fvwm/fvwm.h (window_style):
5789 * fvwm/style.c (simplify_style_list):
5790 renamed from merge_style_list()
5792 2000-02-22 Dan Espen <dane@mk.telcordia.com>
5794 * fvwm/fvwm2.1: Added Michael Han's description of pan frames to the
5797 2000-02-21 Dominik Vogt <dominik.vogt@gmx.de>
5799 * fvwm/functions.c (CheckActionType):
5800 fixed MoveThreshold command: move was triggered one pixel too early
5802 2000-02-20 Dan Espen <dane@mk.telcordia.com>
5804 * fvwm/ConfigFvwmSetup: use new styles Font, IconFont and Hilight...
5806 2000-02-19 Chris Rankin <rankinc@zipworld.com.au>
5812 * fvwm/module_interface.c
5814 Add a new global configuration parameter ModuleTimeout to
5815 determine how long fvwm will wait for a module to respond before
5816 killing it. Default value is 5 seconds.
5820 * fvwm/{{fvwm,style}.h,{add_window,style}.c}: New style flags
5821 ParentalRelativity, Opacity.
5825 * fvwm/add_window.{c,h}: Simplified window creation calls,
5826 BackingStore controllable on client and decoration.
5827 * fvwm/borders.c: removed some pointless testing
5828 * fvwm/builtins.c: unshading now displays the frame properly and in
5829 3D if backing store is on
5831 2000-02-14 Dominik Vogt <dominik.vogt@gmx.de>
5837 * fvwm/style.c (ProcessNewStyle):
5839 fixed type: stiple -> stipple
5841 2000-02-11 Dominik Vogt <dominik.vogt@gmx.de>
5843 * fvwm/misc.c (fvwm_msg):
5846 * fvwm/functions.c (execute_complex_function):
5849 2000-02-11 Mikhael Goikhman <migo@homemail.com>
5851 * fvwm/fvwm.c (main): use HOSTDISPLAY postfix in restart state file
5852 * fvwm/fvwm2.1: fixed -restore entry
5854 2000-02-10 Dominik Vogt <dominik.vogt@gmx.de>
5856 * fvwm/fvwm.c (main):
5857 fixed startup core dump
5859 2000-02-10 Mikhael Goikhman <migo@homemail.com>
5861 From a patch by Mark Rainford.
5862 * fvwm/functions.c (expand): fixed $v
5863 * fvwm/misc.c (fvwm_msg): indicate screen number if >1
5865 2000-02-10 Dominik Vogt <dominik.vogt@gmx.de>
5867 * fvwm/placement.c (SmartPlacement):
5868 fixed hang introduced with previous placement patch
5870 * fvwm/style.c (remove_all_of_style_from_list):
5873 2000-02-10 Dominik Vogt <dominik.vogt@gmx.de>
5876 finished man page rewrite
5879 * fvwm/windowlist.c (do_windowList):
5880 implemented SelectOnRelease option for window list
5882 2000-02-09 Dominik Vogt <dominik.vogt@gmx.de>
5884 * fvwm/menus.c (NewMenuStyle):
5886 * fvwm/menus.h (MenuLook):
5887 implemented reversed menu selection
5888 fixed bug in item drawing introduced with ActiveColorset patch
5890 * fvwm/menus.c (find_entry):
5891 fixed function with thick reliefs
5893 * fvwm/placement.c (PlaceWindow):
5896 * fvwm/add_window.c (setup_window_placement):
5897 made PlaceAgain work as documented in the man page
5898 fixed bug causing windows to be placed off screen
5900 * fvwm/menus.c (paint_item):
5902 ActiveColorset doesn't force a hilit background anymore
5906 * fvwm/screen.h (ScreenInfo):
5907 renamed global cur_decor to Scr.cur_decor
5912 issue a warning when trying to add illegal commands to a decor
5914 * fvwm/builtins.c (SetHiColor):
5918 more work on man page rewrite
5920 2000-02-06 Darren Stuart Embry <dsembr01@slug.louisville.edu>
5922 * fvwm/menus.h (MenuLook):
5923 * fvwm/menus.c (paint_item):
5926 ActiveColorstyle relief and shadow colors are now used in menus.
5928 2000-02-08 Chris Rankin <rankinc@zipworld.com.au>
5930 * fvwm/module_interface.c (PositiveWrite)
5931 Increased the "dead module" timeout to 5 seconds to save FvwmAnimate
5933 2000-02-07 olicha <olivier.chapuis@free.fr>
5935 * fvwm/virtual.c (checkPanFrames):
5936 Fixed check pan frames if y edgescroll is 0 and x edgescroll is not
5939 2000-02-07 Dominik Vogt <dominik.vogt@gmx.de>
5941 * fvwm/update.c (apply_window_updates):
5942 fixed issuing SlipperyIcon/StickyIcon at run time
5944 2000-02-05 Mikhael Goikhman <migo@homemail.com>
5946 * fvwm/menus.c (paint_item): fixed the text y coordinate in
5948 * fvwm/windowlist.c (do_windowList): removed a space in geometry
5949 * fvwm/functions.c (expand): fixed the core dump on the expanding
5950 of several variables, something like: + I All ($r) Iconify $0
5952 2000-02-04 Dominik Vogt <dominik.vogt@gmx.de>
5954 * fvwm/focus.c (DoSetFocus):
5955 windows that have the InputFocus hint set to false are not hilighted
5956 against their will if 'Lenience' isn't used
5958 * fvwm/screen.h (struct):
5959 use 'unsigned : 3' instead of 'DecorFaceType : 3'
5960 use 'unsigned : 2' instead of 'JustificationType : 2'
5962 * fvwm/icons.c (AutoPlaceIcon):
5963 another page flipping fix:
5964 style * icon, iconify, movetopage 1 1, deiconify, iconify; the
5965 latter two issued from FvwmConsole
5966 and another page flipping fix:
5967 style * noicon, iconify, movetopage 1 1, deiconify, iconify; the
5968 latter two issued from FvwmConsole
5970 * fvwm/virtual.c (MoveViewport):
5971 fixed page flipping with sticky icons of shaded windows:
5972 Style * stickyicon, shade, iconify, flip page, deiconify, unshade
5973 fixed another page flipping bug:
5974 shade, iconify, movetopage 1 1, switch to page 1 1, deiconify, unshade
5976 2000-02-03 Dan Espen <dane@mk.telcordia.com>
5978 * fvwm/fvwm2.1 (file): Add description of Style SlipperyIcon.
5980 2000-02-03 Dominik Vogt <dominik.vogt@gmx.de>
5982 * fvwm/menus.c (AddToMenu):
5983 fixed core dump in labels containing only a pixmap
5984 removed some pretty stupid redundant cut-n-paste code
5986 fixed automatic hotkey overriding user specified hotkeys
5988 2000-02-03 Darren Stuart Embry <dsembr01@slug.louisville.edu>
5990 * fvwm/menus.c (paint_item):
5991 * fvwm/menus.c (NewMenuStyle):
5992 fixed ActiveColorstyle for menus; would not work without also
5993 setting HilightBack and ActiveFore.
5995 2000-02-03 Dominik Vogt <dominik.vogt@gmx.de>
5997 * fvwm/functions.c (execute_complex_function):
5998 fixed duoble click move tolerance
6000 * fvwm/placement.c (test_fit):
6003 2000-02-02 Dan Espen <dane@mk.telcordia.com>
6005 * fvwm/module_interface.c (HandleModuleInput): Access module message
6006 header fields as longs, for Tru64 UNIX.
6008 2000-02-02 Dominik Vogt <dominik.vogt@gmx.de>
6010 * fvwm/style.c (ProcessNewStyle):
6011 fixed problem with Clever/Smart placement
6013 2000-02-02 Brad Giaccio <bgiaccio@psrw.com>
6015 * fvwm/menus.c (menuShortcuts): set inital value for ckeychar to get
6016 rid of UMR [could have done without but this cleans up purify nicelly]
6018 * fvwm/builtins.c (ReadDecorFace): fixed ABR caused by faulty pointer
6021 2000-02-02 Dominik Vogt <dominik.vogt@gmx.de>
6023 * fvwm/borders.c (RedrawBorder):
6024 fixed noinset fvwm borders
6026 * fvwm/functions.c (ExecuteFunction):
6027 fixed memory leak in function code (hopefully)
6029 * fvwm/style.c (merge_style_list):
6030 fixed memory leak when merging the style list
6032 2000-01-31 Dominik Vogt <dominik.vogt@gmx.de>
6034 * fvwm/style.c (merge_styles):
6035 * fvwm/update.c (apply_window_updates):
6036 * fvwm/add_window.c (setup_style_and_decor):
6037 * fvwm/builtins.c (setShadeAnim):
6038 fixed 'WindowShadeSteps' style
6040 * fvwm/style.c (ProcessNewStyle):
6041 (check_window_style_change):
6043 * fvwm/window_flags.h:
6045 * fvwm/style.c (ProcessNewStyle):
6046 * fvwm/placement.c (PlaceWindow):
6047 * fvwm/session.c (SaveGlobalState):
6049 * fvwm/borders.c (RedrawTitle):
6050 * fvwm/add_window.c (setup_focus_policy):
6052 * fvwm/events.c (HandleButtonPress):
6053 * fvwm/builtins.c (SetGlobalOptions):
6054 removed GlobalOpts and WindowShadeAnimate commands in favour of styles
6056 * fvwm/add_window.c (AddWindow):
6057 fixed placement to honour the layer
6059 * fvwm/add_window.c (GetWindowSizeHints):
6060 * fvwm/fvwm.h (struct):
6061 * fvwm/events.c (HandlePropertyNotify):
6062 a hack to workaround buggy apps that map their window and then change
6063 the width_inc/height_inc hints before the window is mapped and expect
6064 that the window doesn't change its size.
6066 2000-01-31 Brad Giaccio <bgiaccio@psrw.com>
6068 * fvwm/placement.c (PlaceWindow): fixed UMR on final_g width and height
6070 * fvwm/move_resize.c (move_window_doit): fixed UMR on FinalX and FinalY
6072 2000-01-31 Dominik Vogt <dominik.vogt@gmx.de>
6074 * fvwm/events.c (HandleMapRequestKeepRaised):
6075 fixed 'GrabFocus' style for transients of the root window
6077 * fvwm/icons.c (Iconify):
6078 set is_icon_entered flag to false when a window is iconified to make
6081 * fvwm/menus.c (GetMenuOptions):
6082 safety fix to prevent core dump with 'this'
6084 * fvwm/functions.c (expand):
6085 fixed quoting of $n/$r/$c with embedded single quotes
6087 * fvwm/move_resize.c (InteractiveMove):
6088 fixed screwed up geometry of window outlines when dragging out of pager
6090 fixed internal window coordinates when the icon is moved
6092 fixed cancelling moving an icon
6094 2000-01-30 Chris Rankin <rankinc@zipworld.com.au>
6096 * fvwm/module_interface.c:
6097 Modified PositiveWrite so that it selects on the descriptor
6098 rather than actively polling it.
6100 2000-01-28 Dominik Vogt <dominik.vogt@gmx.de>
6103 * libs/Bindings.c (FvwmStringToKeysym):
6104 * fvwm/bindings.c (ParseBinding):
6105 * fvwm/icccm2.c (SetupICCCM2):
6106 * fvwm/fvwm.h (NO_FOCUS_WIN_MENU_EVMASK):
6107 * fvwm/fvwm.c (main):
6108 * fvwm/menus.c (do_menu):
6112 new menu style SelectOnRelease to better emulate Alt-Tab
6113 new library function FvwmStringToKeysym
6115 * fvwm/add_window.c (setup_style_and_decor):
6116 * fvwm/style.c (check_window_style_change):
6117 fixed core dump w/ ol_decor and noicontitle
6118 oldecor overrides icontitle/noicontitle
6120 2000-01-27 Dominik Vogt <dominik.vogt@gmx.de>
6122 * libs/WinMagic.c (SlideWindow):
6123 removed debug fprintf
6125 * fvwm/events.c (HandleMapRequestKeepRaised):
6126 removed debug fprintf
6128 * fvwm/virtual.c (MapIt):
6129 * fvwm/events.c (HandleMapNotify):
6130 * fvwm/virtual.c (UnmapIt):
6131 fixed is_map_pending flag and reduced usage of it
6133 * fvwm/fvwm2.1 (Move):
6134 finished man page entry
6136 * fvwm/move_resize.c (move_window_doit):
6137 new option 'pointer' to move command; inteded for use with FvwmPager
6139 2000-01-26 Dominik Vogt <dominik.vogt@gmx.de>
6141 * fvwm/module_interface.c (PositiveWrite):
6142 fixed 'dying module' bug
6144 2000-01-27 Dominik Vogt <dominik.vogt@gmx.de>
6146 * fvwm/events.c (HandleMapNotify):
6147 * fvwm/icons.c (Iconify):
6149 * fvwm/window_flags.h:
6151 fixed 'hollow' windows when iconifying thrice in a function
6153 2000-01-26 olicha <olivier.chapuis@free.fr>
6154 * fvwm/screen.h: a "-Wall" fix to BUSYCURSOR ifdef
6155 * libs/WinMagic.c: corrected a missprint
6159 * fvwm/fvwm.h: split into fvwm.h and externs.h for FvwmIdent
6160 * fvwm/*.c: added #include "externs.h"
6162 2000-01-23 Dan Espen <dane@mk.telcordia.com>
6164 * fvwm/events.c (HandleMapRequestKeepRaised): Fix problem with
6165 windows retaining there iconification status across quit, restart.
6167 2000-01-23 Dominik Vogt <dominik.vogt@gmx.de>
6169 * configure.in: changed version to 2.3.14
6171 * libs/System.c (getFileStamp):
6174 * fvwm/borders.c (draw_frame_relief):
6175 fixed border drawing core dump on some systems
6177 2000-01-21 Dominik Vogt <dominik.vogt@gmx.de>
6179 * fvwm/add_window.c (setup_style_and_decor):
6180 * fvwm/update.c (apply_window_updates):
6181 * fvwm/update.h (struct):
6182 * fvwm/style.c (check_window_style_change):
6183 fixed DecorateTransient/NakedTransient styles; also make them take
6184 effect without a recapture
6186 2000-01-21 Chris Rankin <rankinc@zipworld.com.au>
6189 Changed SA_INTERRUPT to SA_RESTART
6191 2000-01-21 Dominik Vogt <dominik.vogt@gmx.de>
6193 * fvwm/borders.c (RedrawBorder):
6196 * fvwm/borders.c (RedrawBorder):
6197 fixed depressable border
6199 2000-01-20 Dominik Vogt <dominik.vogt@gmx.de>
6201 * fvwm/menus.c (size_menu_horizontally):
6204 * fvwm/fvwm.c (startFuncName):
6207 2000-01-19 Dominik Vogt <dominik.vogt@gmx.de>
6209 * fvwm/fvwm2.1 (Examples):
6210 * fvwm/conditional.c (PickFunc):
6211 Pick command can handle a condition mask.
6213 replaced a malloc call by safemalloc
6217 * libs/ColorUtils.c: Removed the color cache
6219 2000-01-18 olicha <olivier.chapuis@free.fr>
6221 * fvwm/builtins.c (wait_func, recapture):
6222 * fvwm/cursor.{c,h} (setBusyCursor):
6223 * fvwm/function.{c,h}:
6224 * fvwm/fvwm.{c,h} (StartupStuff, InitVariables):
6225 * fvwm/menus.c (MenuInteraction, pop_menu_up):
6226 * fvwm/misc.{c,h} (GrabEm, UngrabEm):
6227 * fvwm/module_interface.c (ExecuteModuleSync):
6228 * fvwm/read.c (cursor_control, ReadFile, PipeRead):
6229 * fvwm/screen.h (ScreenInfo):
6230 Do so that we can disable the "Busy Cursor" patch
6232 2000-01-18 Dominik Vogt <dominik.vogt@gmx.de>
6234 * fvwm/functions.c (execute_complex_function):
6235 fixed executing multiple immediate functions that need a target in a
6238 2000-01-18 Mikhael Goikhman <migo@homemail.com>
6240 * libs/System.c (getFileStamp, setFileStamp, isFileStampChanged):
6242 * libs/Picture.h (struct Picture):
6243 * libs/Picture.c (LoadPicture, CachePicture):
6244 Added an interface for verifying cached files by setting FileStamp,
6245 this fixed the problem of always using the old cached images,
6246 now every requested image should be up to date.
6248 * libs/ColorUtils.c (GetShadowColor): added absent "+ 50"
6250 2000-01-17 olicha <olivier.chapuis@free.fr>
6252 Fixed a complet freeze at startup: ungrab the Busy Cursor at startup
6253 before the init fuctions are executed. If not, we've got a complet
6254 freeze if one of these functions does not finish.
6256 2000-01-16 Dominik Vogt <dominik.vogt@gmx.de>
6258 * libs/ColorUtils.c:
6259 added some colour caching logic; will fail miserably if used with a
6260 non-default colour map
6262 * fvwm/menus.c (MenuInteraction):
6263 prevent some unnecessary menu animations
6268 * fvwm/menus.c (MenuInteraction):
6269 eliminate network traffic in idle menus
6271 * fvwm/style.c (ProcessNewStyle):
6272 fixed unnecessary icon update when style '*' is changed
6274 2000-01-15 Dominik Vogt <dominik.vogt@gmx.de>
6276 * fvwm/style.c (check_window_style_change):
6277 fixed coredump when changind style 'NoIcon' to 'Icon' [the font was not
6280 * fvwm/fvwm.c (Done):
6281 * fvwm/session.c (RestartInSession):
6282 call CLosePipes() after CloseICCCM2() because otherwise fvwm might
6283 ignore map requests while it still has substructureredirect selected on
6284 the root window ==> windows end up in nirvana
6286 * fvwm/move_resize.c (DoSnapAttract):
6287 fixed snapping icons with titles to other icons
6289 2000-01-14 Mikhael Goikhman <migo@homemail.com>
6291 * libs/System.c (setPath): fixed expanding '+' not at the end
6293 2000-01-11 Dominik Vogt <dominik.vogt@gmx.de>
6295 * libs/Picture.c (color_reduce_pixmap):
6298 * fvwm/borders.c (RedrawBorder):
6300 * fvwm/fvwm.h (FvwmWindow):
6301 fixed handle marks on small windows
6303 2000-01-10 Dominik Vogt <dominik.vogt@gmx.de>
6305 * fvwm/borders.c (SetupFrame):
6306 fixed size of corner windows after the windows was very small
6308 fixed resizing the button windows that resized icons and other parts of
6311 * fvwm/style.c (ProcessNewStyle):
6312 fixed UseStyle core dump
6314 * fvwm/screen.h (struct):
6317 2000-01-10 Ben Winslow <rain@insane.loonybin.net>
6319 * fvwm/gnome.c (GNOME_SetWinArea): Brad applied Ben's patch
6321 2000-01-10 Dan Espen <dane@mk.telcordia.com>
6323 * libs/Picture.c (color_reduce_pixmap): Handle xpm with only grayscale
6324 or monochrome definitions without additional mallocs.
6326 2000-01-09 Dominik Vogt <dominik.vogt@gmx.de>
6328 * fvwm/screen.h (enum):
6329 * fvwm/fvwm.c (ResetAllButtons):
6330 * fvwm/decorations.c (SelectDecor):
6331 fixed mwm decor hints
6333 * fvwm/bindings.c (update_nr_buttons):
6335 * fvwm/cursor.c (CursorStyle):
6336 * fvwm/decorations.c (SelectDecor):
6337 * fvwm/misc.c (ButtonPosition):
6338 * fvwm/add_window.c (setup_button_windows):
6339 * fvwm/style.c (ProcessNewStyle):
6340 * fvwm/borders.c (RedrawButtons):
6342 (set_decor_gravity):
6343 * fvwm/move_resize.c (resize_window):
6344 * fvwm/fvwm.c (LoadDefaultButton):
6345 * fvwm/events.c (GetContext):
6346 * fvwm/builtins.c (InitFvwmDecor):
6351 * fvwm/menus.c (GetMenuOptions):
6352 fixed title button bugs
6353 revised button members of decors and windows
6355 * libs/Picture.c (xpmcolor_require_c_color):
6356 (color_reduce_pixmap):
6357 applied core dump fix by Kevin Ryde
6359 * libs/Colorset.c (SetWindowBackground):
6360 (CreateBackgroundPixmap)
6361 some changes for FvwmTHeme 'Transparent' option
6363 * fvwm/events.c (HandleConfigureRequest):
6364 removed previous configure request patch
6366 2000-01-07 Dominik Vogt <dominik.vogt@gmx.de>
6368 * fvwm/events.c (HandleConfigureRequest):
6369 fixed ConfigureRequest handling
6371 2000-01-07 Mikhael Goikhman <migo@homemail.com>
6373 * fvwm/style.c (ProcessNewStyle): fixed Style * Button/NoButton
6376 2000-01-05 Dominik Vogt <dominik.vogt@gmx.de>
6378 * fvwm/misc.c (ButtonPosition):
6379 * fvwm/borders.c (SetupTitleBar):
6380 fixed number of buttons on windows
6382 * libs/ColorUtils.c (GetShadowColor):
6384 Use old code for 'medium' colours.
6386 * fvwm/events.c (HandleFocusIn):
6387 * fvwm/module_interface.c (send_list_func):
6388 added hilight colour set to M_FOCUS_CHANGE packet
6390 * fvwm/events.c (HandleFocusIn):
6391 fixed hilight colour in M_FOCUS_CHANGE packets
6393 2000-01-04 Dominik Vogt <dominik.vogt@gmx.de>
6395 * fvwm/builtins.c (InitFvwmDecor):
6396 removed default call to 'WindowFont' in decors
6398 * fvwm/events.c (HandleEnterNotify):
6399 Fixed a focus problem with Motif applications and ClickToFocus (#535)
6401 2000-01-03 Dominik Vogt <dominik.vogt@gmx.de>
6403 * fvwm/update.c (flush_window_updates):
6404 fixed similar problem
6406 * fvwm/builtins.c (do_recapture):
6407 fixed hang when recapture is called while an icon is focused
6409 * fvwm/geometry.c (gravity_constrain_size):
6410 * fvwm/update.c (apply_window_updates):
6411 changing maxwindowsize style applies to normal_g and max_g too
6413 2000-01-02 Dominik Vogt <dominik.vogt@gmx.de>
6415 * sample.fvwmrc/decor_examples:
6416 * sample.fvwmrc/system.fvwm2rc-sample-95:
6417 * sample.fvwmrc/system.fvwm2rc-sample-2:
6418 * sample.fvwmrc/system.fvwm2rc-sample-1:
6419 * sample.fvwmrc/system.fvwm2rc:
6420 * sample.fvwmrc/new-features:
6421 use new styles Font, IconFont and Hilight...
6423 * fvwm/menus.c (UpdateMenuStyle):
6425 use new LoadFvwmFont library function instead of I18N_MB ifdef
6427 * libs/GetFontSet.c:
6428 removed file (merged with GetFont.c)
6431 include fvwmlib.h before fvwm.h
6432 * fvwm/fvwm.h (MyFont):
6433 struct moved to fvwmlib.h
6435 * fvwm/window_flags.h:
6436 * fvwm/focus.c (WarpOn):
6438 * fvwm/icons.h (ICON_HEIGHT):
6439 * fvwm/screen.h (ScreenInfo):
6440 * fvwm/icons.c (CreateIconWindow):
6444 * fvwm/builtins.c (ApplyDefaultFontAndColors):
6448 * fvwm/fvwm.c (InitVariables):
6449 * fvwm/update.c (flush_window_updates):
6450 (apply_window_updates):
6451 * fvwm/screen.h (ScreenInfo):
6452 * fvwm/style.c (merge_styles):
6455 (check_window_style_change):
6456 new Style 'IconFont' replaces old IconFont command
6458 * fvwm/borders.c (RedrawTitle):
6459 fixed I18N_MB reference to removed WindowFont
6461 * fvwm/builtins.c (do_title_style):
6464 * fvwm/session.h (sm_fd):
6465 fixed typo: sm_id -> sm_fd
6466 * fvwm/session.c (setRealStateFilename):
6467 fixed screwed up macro
6469 2000-01-01 Dominik Vogt <dominik.vogt@gmx.de>
6473 * fvwm/move_resize.c:
6475 * fvwm/screen.h (ScreenInfo):
6476 renamed StdFont to DefaultFont
6479 * fvwm/decorations.c:
6483 * fvwm/add_window.c:
6484 * fvwm/style.c (ProcessNewStyle):
6487 * fvwm/window_flags.h:
6488 * fvwm/add_window.c (setup_window_font):
6489 (setup_style_and_decor):
6490 * fvwm/fvwm.h (FvwmWindow):
6491 new Style 'Font' replaces old WindowFont command
6493 * fvwm/style.c (ProcessNewStyle):
6494 fixed 'UseDecor' style flag
6496 * fvwm/windowlist.c:
6497 reactivated WindowList menu style
6498 * fvwm/move_resize.c:
6499 * fvwm/module_interface.c (send_list_func):
6501 * fvwm/fvwm.c (usage):
6505 * fvwm/borders.c (get_common_decorations):
6506 removed some '#if 0's with the old HilightColor/HilightColorset code et
6509 * fvwm/builtins.c (ApplyWindowFont):
6510 * fvwm/borders.c (SetupFrame):
6511 fixed updating the window font
6513 * fvwm/placement.c (PlaceWindow):
6514 * fvwm/add_window.c (AddWindow):
6515 (setup_window_placement):
6516 signature of PlaceWindow() changed to return True or False only
6518 * fvwm/add_window.c (AddWindow):
6519 fixed memory leak when window disappears before AddWindow() completes
6521 1999-12-30 Dominik Vogt <dominik.vogt@gmx.de>
6523 * configure.in: changed version to 2.3.12
6525 * fvwm/borders.c (SetupFrame):
6526 corner and side windows are placed properly on shaded windows
6528 * fvwm/update.c (apply_window_updates):
6529 prevent paging a window when unmaximizing after style update
6531 * fvwm/move_resize.c (handle_stick):
6532 removed unnecessary code
6534 * fvwm/geometry.c (maximize_adjust_offset):
6535 check if window is maximized before doing anything
6536 fixed shading to different page when window was maximised, moved,
6537 minimised, resized and then shaded
6539 * fvwm/update.c (apply_window_updates):
6540 warp shaded windows to new position when titleattop/bottom changes
6542 * fvwm/fvwm2.1 (Examples):
6543 removed remnant of experimental 'MouseClick' command
6545 * fvwm/functions.h (enum):
6546 * fvwm/functions.c (func_config):
6547 * fvwm/bindings.c (activate_binding):
6549 (pointerkey_binding):
6551 new command 'PointerKey'
6553 * fvwm/bindings.c (activate_binding):
6554 a small performance enhancement
6556 * fvwm/borders.c (draw_frame_relief):
6558 more work on fvwm borders
6560 * libs/Graphics.c (RelieveRectangle):
6561 fixed drawing top/right and bottom/left pixels
6563 * fvwm/borders.c (RedrawBorder):
6564 fixed drawing depressable borders
6566 * fvwm/bindings.c (ParseBinding):
6567 key and stroke bindings cause title buttons to appear too
6569 * fvwm/update.c (apply_window_updates):
6570 * fvwm/cursor.c (CursorStyle):
6571 * fvwm/decorations.c (SelectDecor):
6572 * fvwm/misc.c (ButtonPosition):
6573 * fvwm/add_window.h:
6574 * fvwm/add_window.c (setup_button_windows):
6575 (destroy_button_windows):
6576 (change_button_windows):
6577 (setup_auxiliary_windows):
6578 (change_auxiliary_windows):
6579 * fvwm/fvwm.c (ResetAllButtons):
6580 (LoadDefaultButton):
6581 * fvwm/builtins.c (do_button_style):
6584 * fvwm/borders.c (SetupTitleBar):
6585 (set_decor_gravity):
6587 * fvwm/screen.h (FvwmDecor):
6588 * fvwm/move_resize.c (resize_window):
6589 * fvwm/events.c (GetContext):
6590 * fvwm/menus.c (GetMenuOptions):
6592 rereplaced left_w and right_w arrays with one button_w array
6593 similar change for decors; left_buttons + right_buttons -> buttons
6594 sames lots of duplicate code for little added complexity
6597 fixed compile problem
6599 1999-12-29 Dominik Vogt <dominik.vogt@gmx.de>
6601 * fvwm/add_window.c (setup_key_and_button_grabs):
6602 * fvwm/events.c (GetContext):
6603 fixed key bindings on decorations
6605 * fvwm/events.c (HandleEvents):
6606 * fvwm/update.c (flush_window_updates):
6609 * fvwm/bindings.c (ParseBinding):
6610 * fvwm/add_window.c (setup_button_windows):
6611 destroying bindings properly updates title buttons
6613 * fvwm/bindings.c (ParseBinding):
6616 * fvwm/fvwm.c (InitVariables):
6617 some new default macros
6619 * fvwm/update.c (update_windows):
6620 * fvwm/bindings.c (ParseBinding):
6621 adding/removing bindings may affect decorations
6623 * fvwm/functions.c (DeferExecution):
6624 fixed button bindings over client window
6626 * fvwm/windowlist.c (do_windowList):
6627 implemented windowlist options NoOnBottom, OnBottom and OnlyOnBottom.
6629 * fvwm/fvwm.c (InitVariables):
6630 * fvwm/screen.h (ScreenInfo):
6631 * fvwm/borders.c (RedrawBorder):
6632 * fvwm/builtins.c (SetGlobalOptions):
6633 removed border...priority globalopts
6634 handle 2 pixel wide borders differently
6636 * fvwm/add_window.c (setup_style_and_decor):
6637 fixed butto/nobutton style
6639 1999-12-29 Chris Rankin <rankinc@zipworld.com.au>
6642 Fixed build problem on machines without STROKE support.
6643 Also fixed TAB-busted indentation.
6645 1999-12-29 Dominik Vogt <dominik.vogt@gmx.de>
6647 * libs/ColorUtils.c:
6648 raised brightness percentage to 85%
6651 * fvwm/events.c (MyXNextEvent):
6652 * fvwm/fvwm.c (main):
6653 * fvwm/session.h (SessionInit):
6656 * fvwm/virtual.c (SetDeskSize):
6659 (gotoDeskAndPage_func):
6660 (do_move_window_to_desk):
6661 * fvwm/update.c (apply_window_updates):
6662 * fvwm/style.c (lookup_style):
6663 * fvwm/stack.c (new_layer):
6664 * fvwm/move_resize.c (AnimatedMoveAnyWindow):
6670 * fvwm/icons.c (DeIconify):
6671 * fvwm/fvwm.c (CaptureOneWindow):
6673 * fvwm/events.c (HandleClientMessage):
6674 (HandleDestroyNotify):
6675 (HandleMapRequestKeepRaised):
6676 (HandleUnmapNotify):
6677 (HandleButtonPress):
6678 (HandleButtonRelease):
6679 (HandleConfigureRequest):
6680 * fvwm/builtins.c (WindowShade):
6681 * fvwm/add_window.c (AddWindow):
6682 handle GNOME by using empty macros if undefined; dramatically reduces
6685 * libs/Bindings.c (GrabAllWindowKeysAndButtons):
6686 * fvwm/events.c (HandleEnterNotify):
6687 * fvwm/events.h (STROKE_CODE):
6688 * fvwm/builtins.h (FreeDecorFace):
6689 * fvwm/bindings.h (ignore_modifiers):
6690 * fvwm/functions.c (func_config):
6691 * fvwm/functions.h (enum):
6692 * fvwm/fvwm.c (setVersionInfo):
6693 * fvwm/module_interface.c:
6694 * libs/fvwmlib.h (STROKE_ARG):
6696 macros to simplify stroke code
6700 unbinding keys with '-' action works without recapture
6702 * fvwm/functions.c (ExecuteFunction):
6703 removed some '#if 0'ed code
6705 * fvwm/conditional.c (DirectionFunc):
6706 fixed score calcutaltions that preferred to switch to windows farther
6709 * fvwm/placement.c (SmartPlacement):
6712 * fvwm/session.c (SaveWindowStates):
6714 * fvwm/virtual.c (MoveViewport):
6715 * fvwm/module_interface.c:
6716 * fvwm/icons.c (CreateIconWindow):
6720 * fvwm/add_window.c (destroy_icon):
6721 * fvwm/move_resize.c (move_window_doit):
6726 * fvwm/events.c (HandleConfigureRequest):
6727 (HandlePropertyNotify):
6728 * fvwm/fvwm.h (FvwmWindow):
6729 replaced icon_x/y_loc and icon_w_... members with icon_g
6731 1999-12-28 Dominik Vogt <dominik.vogt@gmx.de>
6733 * fvwm/fvwm2.1 (PipeRead):
6734 added a example and wrote a more detailed explanation
6736 * fvwm/builtins.c (WindowShade):
6737 fixed keyboard focus that got lost when a window was shaded
6739 * fvwm/focus.h (FOCUS_RESET):
6740 * fvwm/focus.c (DoSetFocus):
6741 * fvwm/focus.h (FOCUS_SET):
6742 new convenience macro so that only focus.c needs to call XSetInputFocus
6744 1999-12-27 Dominik Vogt <dominik.vogt@gmx.de>
6746 * fvwm/fvwm2.1 (PipeRead):
6747 fixed PipeRead manpage
6749 1999-12-21 Dominik Vogt <dominik.vogt@gmx.de>
6751 * fvwm/windowlist.c (do_windowList):
6752 fixed several parsing bugs
6754 1999-12-22 Mikhael Goikhman <migo@homemail.com>
6756 fvwm/menus.c (menuShortcuts): added XK_ISO_Left_Tab (like XK_Tab),
6757 {Ctrl,Alt}-{Up,Down} bindings synchronized with [Shift-]{Ctrl,Alt}-Tab,
6758 some regrouping of 'case' sections
6760 1999-12-20 Dominik Vogt <dominik.vogt@gmx.de>
6762 * libs/ColorUtils.c (GetShadowColor):
6764 fixed calculations with brightness > 0x7fff treated as a negative value
6765 which totally screwed up colour calculations
6767 * fvwm/add_window.c (AddWindow):
6768 fixed recapturing a shaded window twice
6771 fixed update.h compile error
6773 * fvwm/builtins.c (SetHiColorset):
6774 fixed a bug in HilightColorset command
6778 1999-12-20 Dan Espen <dane@mk.telcordia.com>
6780 * libs/ColorUtils.c: Use Lesstif's shadow/hilite calcs.
6781 Note: FvwmTheme not changed yet, bug observed in pixel_to_color_string.
6783 1999-12-19 Dominik Vogt <dominik.vogt@gmx.de>
6785 * fvwm/move_resize.c (AnimatedMoveAnyWindow):
6788 1999-12-18 Dominik Vogt <dominik.vogt@gmx.de>
6790 * fvwm/events.c (HandleFocusIn):
6791 * fvwm/fvwm.c (SetRCDefaults):
6792 * fvwm/update.c (apply_window_updates):
6793 * fvwm/module_interface.c:
6794 * fvwm/icons.c (DrawIconWindow):
6795 * fvwm/add_window.c (get_default_window_background):
6796 (setup_style_and_decor):
6797 * fvwm/style.c (update_window_color_style):
6799 (update_window_color_style):
6800 * fvwm/borders.c (get_common_decorations):
6801 * fvwm/fvwm.h (FvwmWindow):
6802 new styles HiligtFore, HilightBack and HilightColorset; old commands
6803 HilightColor and HilightColorset are obsolete
6805 * fvwm/fvwm.c (CreateGCs):
6806 * fvwm/screen.h (ScreenInfo):
6809 * fvwm/misc.c (NewFontAndColor):
6810 renamed ScratchGC3 to TitleGC
6812 1999-12-17 Dominik Vogt <dominik.vogt@gmx.de>
6814 * fvwm/borders.c (SetBorderStyle):
6815 * fvwm/builtins.c (do_button_style):
6817 moved lots of duplicate code into a common function
6819 ButtonStyle, TitleStyle and BorderStyle commands take effect without a
6822 * fvwm/fvwm.c (InitFvwmDecor):
6830 separated style updating from the code that determined which parts to
6831 update; moved the updating code to new files update.[ch] so that this
6832 can handle ...Style changes too without calling the same code several
6835 * fvwm/windowlist.c (do_windowList):
6836 * fvwm/menus.c(change_mr_menu_style):
6837 WindowList uses 'WindowList' menu style if defined
6839 * fvwm/screen.h (ScreenInfo):
6840 * fvwm/fvwm.c (CreateGCs):
6841 * fvwm/cursor.c (CursorStyle):
6842 new members Scr.MonoGC, Scr.ScratchMonoPixmap for creating empty cursors
6843 cursorstyle command understands new cursor names 'none' and 'tiny'
6845 * fvwm/colors.c (CreateGCs):
6846 function moved to fvwm.c
6848 * fvwm/add_window.c (destroy_icon):
6849 reset icon size to zero
6851 1999-12-17 Mikhael Goikhman <migo@homemail.com>
6853 * NEWS: a note about fvwm-menu-headlines
6854 * configure.in: added fvwm-menu-headlines generation, added a warning
6855 when perl is not found
6857 1999-12-17 Dominik Vogt <dominik.vogt@gmx.de>
6859 * fvwm/borders.c (RedrawBorder):
6860 removed debug code that reversed the BorderPriority global option
6862 * configure.in: changed version to 2.3.12
6865 sticy icons are marked just like sticky windows
6867 * fvwm/cursor.c (CursorStyle):
6868 omit cursor name to reset to default
6870 * fvwm/windowlist.c (do_windowList):
6871 new WindowList option 'NoHotkey'
6873 * fvwm/cursor.c (CursorStyle):
6874 cursor xpm doesn't need to have a hot spot defined
6876 1999-12-16 Dominik Vogt <dominik.vogt@gmx.de>
6878 * fvwm/builtins.c (refresh_window):
6879 new function called by refresh_function and refresh_win_function; saves
6882 * fvwm/add_window.c (setup_frame_attributes):
6883 * fvwm/fvwm.c (main):
6884 * fvwm/style.c (ProcessNewStyle):
6885 (handle_window_style_change):
6888 new styles BackingStore/BackingStoreOff and SaveUnder/SaveUnderOff
6890 * fvwm/borders.c (RedrawBorder):
6891 finished border drawing updates
6893 * fvwm/add_window.c (GetWindowSizeHints):
6894 fixed min size hints: no min size hints plus base width/height 0 caused
6895 width/height 0 to be allowed
6897 1999-12-15 Bob Woodside <proteus@pcnet.com>
6899 * fvwm/add_window.c (regrab_focus_win): added code to restore a
6900 button grab that was released from a MouseFocusClickRaises window
6901 when it was so raised, if adding a new window displaces it from the
6904 1999-12-16 Dominik Vogt <dominik.vogt@gmx.de>
6906 * libs/ColorUtils.c (color_mult):
6907 make sure the hilight and shadow colours have a minimum contrast to the
6910 * fvwm/events.c (HandleButtonPress):
6911 release grab explicitly after a button grab; fixes transient pager and
6912 possibly some other grabbing problems
6914 * fvwm/modconf.c (SendDataToModule):
6915 send DesktopSize to modules
6917 1999-12-15 Dominik Vogt <dominik.vogt@gmx.de>
6919 * fvwm/gnome.c (GNOME_SetDesk):
6920 (GNOME_SetCurrentDesk):
6921 fixed GNOME 'unknown desk' bug
6923 * fvwm/virtual.c (MoveViewport):
6924 * fvwm/style.c (handle_window_style_change):
6925 * fvwm/icons.c (DeIconify):
6926 * fvwm/move_resize.c (move_window_doit):
6927 (AnimatedMoveAnyWindow):
6929 * fvwm/events.c (HandleConfigureRequest):
6930 (HandlePropertyNotify):
6931 * fvwm/builtins.c (WindowShade):
6932 * fvwm/add_window.c (AddWindow):
6933 * fvwm/geometry.c (update_absolute_geometry):
6934 call GNOME_SetWinArea at the correct places; *don't* call it in
6935 update_absolute_geometry
6937 * fvwm/gnome.c (GNOME_SetWinArea):
6941 * fvwm/move_resize.c:
6943 applied XA_WIN_AREA patch by Ben Winslow
6944 fixed the patch to set the current viewport if the window is visible
6946 * fvwm/style.c (handle_window_style_change):
6947 fixed adding/removing title of shaded windows
6949 * fvwm/borders.c (draw_frame_relief):
6950 fixed size of lower/right outer relief with FvwmBorder style
6951 (draw_frame_relief):
6954 * fvwm/style.c (merge_style_list):
6955 fixed bug that merged styles that had different upper/lower case
6956 letters, i.e. 'ddd*' and 'DDD*' are not merged anymore
6960 * fvwm/screen.h,borders.c: New GlobalOpt BorderColorPriority
6961 * fvwm/borders.c: Restored the flush_expose() so that windowshading
6962 only causes one border repaint.
6964 1999-12-14 Dominik Vogt <dominik.vogt@gmx.de>
6966 * fvwm/icons.c (DeIconify):
6967 reactivated raising after deiconify
6969 * libs/Colorset.c (SetWindowBackground):
6970 removed latest shaping patch
6972 1999-12-10 Dominik Vogt <dominik.vogt@gmx.de>
6974 * libs/Colorset.c (SetWindowBackground):
6975 shape from colour set can be removed too
6977 1999-12-09 olicha <olivier.chapuis@free.fr>
6979 * libs/WinMagic.c (SlideWindow):
6981 Minimum size and resize hints can be use by SlideWindow
6983 1999-12-09 Bob Woodside <proteus@pcnet.com>
6985 * fvwm/add_window.c (setup_focus_policy):
6986 * fvwm/events.c (HandleButtonPress):
6987 * fvwm/focus.c (DoSetFocus):
6988 More fixes to grab/ungrab for focus.
6990 1999-12-09 Dominik Vogt <dominik.vogt@gmx.de>
6992 * fvwm/events.c (HandleButtonPress):
6993 * fvwm/add_window.c (setup_key_and_button_grabs):
6994 switched back to grabbing keys on parent window
6996 1999-12-09 Mikhael Goikhman <migo@homemail.com>
6999 * fvwm/session.c (LoadGlobalState): restore only the current desk
7000 and page, and not other global state parameters (but they are still
7001 stored for now); some indenting in session.c
7003 1999-12-07 Bob Woodside <proteus@pcnet.com>
7005 * fvwm/virtual.c (gotoDeskAndPage_func): Pager desk-switch fix,
7008 1999-12-06 Dan Espen <dane@mk.telcordia.com>
7012 1999-12-06 Dominik Vogt <dominik.vogt@gmx.de>
7014 * fvwm/events.c (HandleFocusIn):
7015 fixed M_FOCUS_CHANGE packet sending
7018 added 2.2.x NEWS up to 2.2.4
7020 1999-12-05 Dominik Vogt <dominik.vogt@gmx.de>
7022 * fvwm/add_window.c (setup_focus_policy):
7023 (setup_key_and_button_grabs):
7024 * fvwm/events.c (GetContext):
7025 (HandleButtonPress):
7026 grab buttons on client window instead of parent window; this prevents
7027 some unnecessary Leave/EnterNotify events but doesn't fix the broken
7030 * fvwm/gnome.c (HandleGnomePropRequest):
7031 use DrawDecorations() instead of old SetBorder()
7033 1999-12-04 Dominik Vogt <dominik.vogt@gmx.de>
7039 applied gnome patches by Matt Rossmiller
7041 1999-12-04 Dan Espen <dane@mk.telcordia.com>
7043 * fvwm/fvwm2.1 (vectorbuttonsytles): Point the reader to the web
7044 pages instead of the samples for examples.
7046 * sample.fvwmrc/system.fvwm2rc-sample-1,2: remove buttonstyle comments,
7047 the samples are now on a web page.
7049 * fvwm/add_window.c (AddWindow): Since I committed some debugging
7050 by accident, I'm backing that out, but adding some error messages
7051 when AddWindow encounters error conditions.
7053 1999-12-03 Dominik Vogt <dominik.vogt@gmx.de>
7055 * fvwm/borders.c (DrawDecorations):
7056 don't ever set the background of the frame window
7058 * fvwm/add_window.c (setup_frame_window):
7059 set BackingStoreNotUseful for frame window
7061 * fvwm/events.c (HandleFocusIn):
7062 fixed clicktofocus in pager
7064 1999-12-01 Tomas Ogren <stric@ing.umu.se>
7066 * fvwm/Makefile.am: Added geometry.h to fvwm2_SOURCES.
7068 1999-11-30 Paul D. Smith <psmith@gnu.org>
7070 * configure.in (dmalloc): Allow the user to add --enable-dmalloc
7071 to enable the dmalloc heap debugging library.
7073 * libs/fvwmlib.h: #include dmalloc.h if it exists and we're
7074 building with dmalloc support.
7075 * fvwm/fvwmdebug.h: Ditto.
7077 1999-11-30 Dominik Vogt <dominik.vogt@gmx.de>
7079 * fvwm/borders.c (RedrawBorder):
7080 * fvwm/events.c (HandleButtonPress):
7081 fixed depressed borders without handles
7082 * fvwm/borders.c (RedrawBorder):
7083 (draw_frame_relief):
7084 improved drawing of thin borders
7086 1999-11-29 olicha <olivier.chapuis@free.fr>
7088 * fvwm/bindings.c (ParseBinding):
7089 * fvwm/builtins.c (strokeFunc):
7090 * fvwm/events.c (HandleButtonRelease):
7092 * libs/Bindings.c (AddBinding):
7094 * libs/fvwmlibs.h (struct Binding):
7095 Now we can use numeric pad grid for defining Stroke sequence;
7096 the telephone grid is still the default
7097 Now a stroke sequence is stored in a string in the Binding
7099 Replaced the fprintf to stderr by some fvwm_msg in ParseBinding.
7100 Tried to improve a little bit the Stroke doc
7102 1999-11-29 Dominik Vogt <dominik.vogt@gmx.de>
7104 * fvwm/virtual.c (MoveViewport):
7105 improved page switching code to minimise redraws: map windows top down,
7106 then unmap bottom up
7107 removed debug code and duplicate if condition
7109 * fvwm/add_window.c (AddWindow):
7110 removed XSynchronize call :-)
7112 1999-11-28 Dan Espen <dane@mk.telcordia.com>
7114 * fvwm/fvwm2.1: Minor adjustment to StrokeFunc description.
7116 1999-11-28 Dominik Vogt <dominik.vogt@gmx.de>
7118 * fvwm/placement.c (PlaceWindow):
7119 fixed screwed up previous commit
7121 * fvwm/geometry.c (gravity_get_naked_geometry):
7122 removed undeclared variable
7124 * fvwm/builtins.c (SetHiColorset):
7127 * fvwm/events.c (HandlePropertyNotify):
7128 (HandleConfigureRequest):
7129 * fvwm/add_window.c (AddWindow):
7130 use new function gravity_constrain_size
7132 * fvwm/borders.c (update_absolute_geometry):
7133 * fvwm/move_resize.c (ConstrainSize):
7134 (maximize_adjust_offset):
7136 (get_shaded_geometry):
7137 (gravity_translate_to_northwest_geometry_no_bw):
7138 (gravity_translate_to_northwest_geometry):
7139 (get_relative_geometry):
7140 (gravity_add_decoration):
7141 (gravity_get_naked_geometry):
7144 (gravity_get_offsets):
7145 functions moved to geometry.c
7147 * fvwm/Makefile.am (fvwm2_SOURCES):
7152 * fvwm/add_window.c (AddWindow):
7153 * fvwm/placement.c (PlaceWindow):
7154 overhauled placement code
7156 1999-11-28 olicha <olivier.chapuis@free.fr>
7158 * fvwm/builtins.c (strokeFunc):
7160 New options DrawMotion and FeedBack to the StrokeFunc
7162 1999-11-27 Dominik Vogt <dominik.vogt@gmx.de>
7164 * fvwm/borders.c (RedrawBorder):
7165 don't draw a relief around the border if it would cover the whole border
7167 * fvwm/move_resize.c:
7168 * fvwm/fvwm.c (InitVariables):
7169 * fvwm/screen.h (ScreenInfo):
7170 renamed Scr.DrawGC to Scr.XorGC
7172 * configure.in: changed version to 2.3.11
7174 * fvwm/events.c (HandleButtonPress):
7177 * fvwm/move_resize.c (hide_options):
7178 'none' option to HideGeometryWindow renamed to 'never'
7180 * fvwm/borders.c (RedrawBorder):
7181 implemented 'flat' and 'sunk' BorderStyle
7183 * fvwm/borders.c (SetupFrame):
7184 fixed X error when recapturing a shaded window
7187 include minimal set of header files
7189 * fvwm/menus.c (MenuInteraction):
7193 fixed double click action over submenu items
7195 1999-11-23 Dominik Vogt <dominik.vogt@gmx.de>
7197 * fvwm/events.c (HandleMapRequestKeepRaised):
7198 broadcast WINDOWSHADE packet when adding a shaded window
7200 1999-11-25 Dominik Vogt <dominik.vogt@gmx.de>
7203 removed old window flags
7205 * fvwm/virtual.c (gotoDeskAndPage_func):
7206 fixed sending wrong desk number in M_NEW_PAGE packets with the
7207 GotoDeskAndPage function
7209 * fvwm/builtins.c (ApplyHilightColors):
7210 * fvwm/borders.c (get_common_decorations):
7211 finalised HilightColorset command
7213 1999-11-24 Dominik Vogt <dominik.vogt@gmx.de>
7216 fixed name of man page(?)
7218 * fvwm/builtins.c (HandleColorset):
7219 * fvwm/builtins.c (ApplyHilightColors):
7220 * fvwm/fvwm.c (InitFvwmDecor):
7221 * fvwm/functions.h (enum):
7222 * fvwm/functions.c (func_config):
7223 * fvwm/builtins.c (SetHiColorset):
7224 * fvwm/screen.h (FvwmDecor):
7225 new command HilightColorset
7227 * fvwm/builtins.c (SetDefaultColorset):
7230 1999-11-24 Dan Espen <dane@mk.telcordia.com>
7232 * fvwm/fvwm2.1: Once again changed the "NAME" part of the man page
7233 back to fvwm2. This is needed on Solaris when you use the "windex"
7234 stuff for "man fvwm2" to work.
7236 1999-11-23 Dominik Vogt <dominik.vogt@gmx.de>
7238 * fvwm/menus.c (do_menu):
7239 modify KeyPress so that the final press appears at the position where
7240 the pointer is warped to
7242 * fvwm/session.c (MatchWinToSM):
7243 read desk from SM too
7245 * fvwm/style.c (handle_style_changes):
7246 fixed focus going down the dumps when styles change while no window is
7247 focused; e.g. when restarting
7249 * fvwm/events.c (GetContext):
7250 An event on the frame now has 'C_WINDOW' context. Since the decor_w
7251 covers the whole frame this can only happen when the click was inside
7252 the client/parent window but button events were not selected for them.
7254 * fvwm/functions.c (execute_complex_function):
7255 fixed complex function when the last item requires no function
7257 * fvwm/move_resize.c (GetOnePositionArgument):
7258 fixed negative offsets from mouse position
7260 removed screwed patch to reduce function overhead
7262 * fvwm/fvwm.c (main):
7263 SIGUSR1 restarts correctly as if 'Restart' without arguments was
7264 called. Otherwise it doesn't work with the preprocessor.
7266 * fvwm/virtual.c (MoveViewport):
7267 removed debug output
7269 1999-11-23 Dan Espen <dane@mk.telcordia.com>
7271 * fvwm/fvwm2.1 (DestroyStyle): Removed duplicated section.
7273 1999-11-23 Dominik Vogt <dominik.vogt@gmx.de>
7275 * fvwm/virtual.c (MoveViewport):
7276 fixed problem when switching pages that caused windows to move off the
7277 current page although sticky.
7281 * Fvwm/add_window.c: chnaged order of message when a window
7282 is created so that FvwmIconBox gets the correct icon. M_ICON_FILE
7283 is sent before M_RES_NAME & M_RES_CLASS
7284 * libs/Xerror.c: added error code names
7286 1999-11-22 Dominik Vogt <dominik.vogt@gmx.de>
7288 * fvwm/add_window.c (setup_window_structure):
7290 preserve 'shaded' state over a recapture
7292 * fvwm/events.c (HandleMapRequestKeepRaised):
7293 * fvwm/fvwm.c (CaptureOneWindow):
7294 fixed fvwm forgetting iconic state over a restart; I must have been
7295 really confused when I wrote the 'bugfix' that caused this :)
7297 1999-11-21 Dominik Vogt <dominik.vogt@gmx.de>
7299 * fvwm/style.c (reset_style_changes):
7300 clear change mask after a style was applied
7302 * fvwm/builtins.c (WindowShade):
7303 fixed flash when shading/unshading without animation
7305 * fvwm/borders.c (SetupFrame):
7306 improved opaque resizing
7308 * fvwm/events.c (HandleExpose):
7309 reduced redrawing with expose events
7311 * fvwm/borders.c (SetupTitleBar):
7312 fixed bug that cause buttons to be drawn over the border
7314 * fvwm/stack.c (RaiseOrLowerWindow):
7315 removed useless function
7316 (inner_RaiseOrLowerWindow):
7317 renamed to RaiseOrLowerWindow
7318 (RaiseOrLowerWindow):
7319 draw decorations immediately after raising
7321 * fvwm/focus.c (FocusOn):
7323 * fvwm/placement.c (PlaceAgain_func):
7324 * fvwm/icons.c (AutoPlaceIcon):
7325 * fvwm/add_window.c (AddWindow):
7326 * fvwm/style.c (handle_window_style_change):
7327 * fvwm/virtual.c (MoveViewport):
7328 * fvwm/move_resize.c (move_window_doit):
7332 * fvwm/events.c (HandlePropertyNotify):
7333 (HandleConfigureRequest):
7334 * fvwm/builtins.c (WindowShade):
7338 * fvwm/borders.c (ForceSetupFrame):
7340 removed unused 'curr_shading' argument from SetupFrame
7342 1999-11-20 Dan Espen <dane@mk.telcordia.com>
7344 * fvwm/fvwm2.1 (Note): Fixed up the PipeRead example so the whole
7345 example gets displayed. Removed unnecessary quoting.
7347 1999-11-20 Dominik Vogt <dominik.vogt@gmx.de>
7349 * fvwm/style.c (handle_window_style_change):
7350 handle borderwidth/handlewidth changes without recapture
7352 * fvwm/module_interface.c (HandleModuleInput):
7353 module commands don't fake a ButtonPress with the frame location;
7354 XQueryPointer is always used.
7356 * fvwm/move_resize.c (GetMoveArguments):
7357 A 'm' before the move arguments denotes movement relative to current
7360 * fvwm/builtins.c (ApplyWindowFont):
7361 changing the window font now honours the gravity
7364 hopefully fixed all 'sticky window' bugs once and for all
7366 * fvwm/builtins.c (WindowShade):
7367 shading/unshading is perfectly smooth now, even with bottom titles
7370 functions moved to move_resize.c
7372 * fvwm/move_resize.c (Maximize):
7373 maximize on pages other than 0-0, 0-1, 1-0 and 1-1 didn't work if the
7374 window was not visible
7377 nearly a complete rewrite of the sizing and positioning bits in the
7378 FvwmWindow structure. Had to touch many, many files and functions, but
7379 I hope the benefit is that all calculations are much easier now.
7380 Perhaps the most important change is that the normal_g/max_g members
7381 now are the authorative source of the window position. Whenever the
7382 frame is moved, the 'update_absolute_geometry' function has to be
7383 called to re-adjust the appropriate values. Even if the window is
7384 maximized the code moves the normal geometry if the maximized window
7385 gets too far away from its unmaximized version, i.e. if the maximized
7386 window is moved by more than a page width or height. This may cause
7387 that a window in unmaximized off screen if the viewport is not at a
7388 page boundary, but at least it's consistent. The absolute geometry of
7389 sticky windows is updated when the viewport is moved. Thus, sticking
7390 a window now is as easy as resetting the flag.
7391 I have scrapped the xdiff/ydiff members of the FvwmWindow structure.
7392 There are now some functions for decorating, moveing, resizing, etc.
7393 a window while taking gravity into account.
7395 1999-11-17 Dominik Vogt <dominik.vogt@gmx.de>
7397 * fvwm/add_window.c (setup_style_and_decor):
7398 * fvwm/events.c (HandleFocusIn):
7400 * fvwm/fvwm.h (FvwmWindow):
7401 * fvwm/builtins.c (*):
7402 renamed all occurences of 'fl' to 'decor'
7405 * configure.in (FVWM_CONFIGDIR):
7407 removed GRADIENT_BUTTONS, PIXMAP_BUTTONS, VECTOR_BUTTONS, BORDERSTYLE,
7408 EXTENDED_TITLESTYLE, ACTIVEDOWN_BTNS and INACTIVE_BTNS options
7410 1999-11-18 olicha <olivier.chapuis@free.fr>
7412 * libs/Module.{c,h} (SendFvwmPipe): Added SendFvwmPipe form
7415 1999-11-17 Mikhael Goikhman <migo@homemail.com>
7417 * fvwm/menu.c (pop_menu_up): fixed y-location of title menu for
7418 TitleAtBottom windows.
7420 1999-11-17 olicha <olivier.chapuis@free.fr>
7422 * fvwm/module_interface.c (HandleModuleInput):
7423 Added some ERR fvwm_msg to indicate that fvwm2 decides to kill
7424 a module because of a communication problem.
7426 1999-11-16 Dan Espen <dane@mk.telcordia.com>
7428 * fvwm/fvwm2.1: Minor adjustment to man page.
7430 1999-11-16 olicha <olivier.chapuis@free.fr>
7432 * fvwm/event.c (HandleButtonRelease):
7434 Did so that Modifiers work with Stroke
7436 1999-11-16 Dominik Vogt <dominik.vogt@gmx.de>
7438 * fvwm/events.c (HandleButtonPress):
7442 * fvwm/borders.c (RedrawBorder):
7445 (get_common_decorations):
7447 Restructured border and title drawing to minimise redrawing.
7448 Had to touch tons of files.
7449 Also fixed a bug w/ shading/depressable borders/pressing on the top
7451 Title, frame and buttons can now be drawn independently with the
7452 'DrawDecorations' function.
7454 1999-11-15 Dominik Vogt <dominik.vogt@gmx.de>
7456 * fvwm/menus.c (pop_menu_up):
7457 fixed menus from window buttons with bottom titles
7459 * fvwm/move_resize.c (AnimatedMoveAnyWindow):
7462 * fvwm/borders.c (SetupFrame):
7464 * fvwm/events.c (HandleConfigureRequest):
7465 fixed bottom title bugs
7467 * fvwm/builtins.c (WindowShade):
7468 Worked *very* hard to reduce flickering with animated shading bottom
7469 titles. It can't be completely suppressed without tremendous efforts.
7471 * fvwm/borders.c (SetupTitleBar):
7472 code to place buttons and title bar moved to a separate function.
7474 * fvwm/builtins.c (WindowShade):
7475 fixed screwed animation of windowshading in pager by disabling it.
7477 * fvwm/add_window.c (setup_frame_window):
7478 fixed accessing the border of windows without handles.
7480 * fvwm/menus.c (menuShortcuts):
7481 fixed xhift-meta-tab, shift-tab bindings
7486 1999-11-14 Dominik Vogt <dominik.vogt@gmx.de>
7488 * fvwm/session.c (LoadWindowStates):
7490 * fvwm/add_window.c (AddWindow):
7491 * fvwm/builtins.c (WindowShade):
7492 * fvwm/move_resize.c (Maximize):
7494 * fvwm/borders.c (RedrawBorder):
7495 * fvwm/builtins.c (WindowShade):
7496 shaded windows get a full border
7497 new style 'TitleAtBottom'
7499 * fvwm/borders.c (SetupFrame):
7501 * fvwm/window_flags.h:
7502 * fvwm/fvwm.h (struct):
7503 * fvwm/style.c (ProcessNewStyle):
7505 * fvwm/builtins.c (WindowShade):
7506 windows without title can be shaded too
7508 * fvwm/style.c (handle_window_style_change):
7509 * fvwm/add_window.c (setup_style_and_decor):
7510 (destroy_title_window):
7511 (change_title_window):
7512 (setup_button_windows):
7513 (destroy_button_windows):
7514 (change_button_windows):
7515 (setup_resize_handle_windows):
7516 (destroy_resize_handle_windows):
7517 (change_resize_handle_windows):
7518 (setup_frame_stacking):
7519 (setup_auxiliary_windows):
7520 (change_auxiliary_windows):
7521 (destroy_auxiliary_windows):
7523 changind decor related styles is much faster
7524 minimised overhead for changed decorations
7526 * fvwm/decorations.c (SelectDecor):
7527 return a bit mask for selected buttons instead of messing with the
7530 * fvwm/add_window.c (change_icon_boxes):
7531 (destroy_icon_boxes):
7533 * fvwm/style.c (handle_window_style_change):
7534 handle icon related style changes without recapture
7537 documented menu key bindings
7539 * fvwm/menus.c (menuShortcuts):
7540 new alt-tab bindings
7542 * fvwm/style.c (handle_window_style_change):
7543 * fvwm/add_window.c (change_mini_icon):
7544 handle MiniIcon style change without recapture
7546 * fvwm/style.c (handle_window_style_change):
7547 handle MaxWindowSize style change without recapture
7549 * fvwm/add_window.c (AddWindow):
7550 * fvwm/borders.c (ForceSetupFrame):
7551 new function ForceSetupFrame
7553 * fvwm/style.c (handle_style_changes):
7554 * fvwm/focus.c (DoSetFocus):
7555 focus policy style changes update
7557 * fvwm/focus.c (DoSetFocus):
7558 fixed title buttons with clicktofocus; broken in decor_w patch
7561 fixed a subtle bug with clicktofocus/grabfocusoff
7563 1999-11-12 olicha <olivier.chapuis@free.fr>
7565 * fvwm/module_interface.c (PoistiveWrite):
7566 * fvwm/module_interface.h (MAX_MASK):
7568 Remove the "lock on send code" based on M_LOCKONSEND. Replace
7569 M_LOCKONSEND by M_NOTUSED. So, we have a free type.
7571 1999-11-12 Dominik Vogt <dominik.vogt@gmx.de>
7573 * fvwm/add_window.c (setup_title_window):
7574 (setup_frame_window):
7575 (setup_button_windows):
7576 (setup_resize_handle_windows):
7577 (setup_auxiliary_windows):
7578 (setup_focus_policy):
7579 (setup_key_and_button_grabs):
7580 (destroy_auxiliary_windows):
7581 (setup_key_and_button_grabs):
7582 * fvwm/bindings.c (activate_binding):
7583 * fvwm/borders.c (RedrawBorder):
7585 * fvwm/misc.c (flush_expose):
7586 * fvwm/fvwm.h (FvwmWindow):
7587 * fvwm/builtins.c (WindowShade):
7588 * fvwm/events.c (GetContext):
7590 (HandleButtonPress):
7592 * fvwm/focus.c (DoSetFocus):
7593 * fvwm/functions.c (DeferExecution):
7594 * fvwm/fvwmdebug.c (DB_WI_SUBWINS):
7596 * fvwm/virtual.c (MapIt):
7597 New frame window 'decor_w', parent of all decorative subwindows; this
7598 is a patch to improve the current implementation of 'transparency' in
7599 rxvt, aterm, ... These require that the background of their ancestros
7602 1999-11-12 Dominik Vogt <dominik.vogt@gmx.de>
7604 * fvwm/add_window.c (setup_window_placement):
7605 completed previous fix
7607 * fvwm/add_window.c (AddWindow):
7608 fixed handling of border width during window placement
7610 1999-11-11 olicha <olivier.chapuis@free.fr>
7612 * fvwm/module_interface.{c,h} (initModules):
7613 (do_execute_module):
7616 * fvwm/function.{c,h} (functions):
7617 * libs/Module.{c,h} (SetSyncMask):
7618 Implemented a synchronous mask that lists the messages that fvwm
7619 will treat as synchronous. See FvwmWinList for an example.
7621 1999-11-11 olicha <olivier.chapuis@free.fr>
7623 * NEWS: New builtin function StrokeFunc
7624 * fvwm/builtins.{c,h} (strokeFunc): New builtin function StrokeFunc
7625 * fvwm/cursor.{c,h}: New context CRS_STROKE, default: XC_plus
7626 * fvwm/functions.{c,h}: New builtin function StrokeFunc
7627 * fvwm/fvwm2.1: StrokeFunc doc. Update CursorStyle and Stroke entries.
7628 * libs/Bindings.c (CheckBinding): Check the button in Stroke bindings
7630 1999-11-11 Dan Espen <dane@mk.telcordia.com>
7632 * fvwm/fvwm2.1 (http): Rewording in CursorStyle and StrokeFunc.
7634 1999-11-07 Dominik Vogt <dominik.vogt@gmx.de>
7636 * fvwm/fvwm.c (CaptureOneWindow):
7637 * fvwm/events.c (HandleDestroyNotify):
7638 (HandleUnmapNotify):
7639 * fvwm/builtins.c (destroy_function):
7641 * fvwm/add_window.c (destroy_window):
7642 renamed Destroy() to destroy_window()
7644 * fvwm/misc.c (free_window_names):
7646 (RestoreWithdrawnLocation):
7647 functions moved to add_window.c
7649 * fvwm/add_window.c (GetWindowSizeHints):
7650 better explanation of broken size hints
7652 1999-11-08 Dominik Vogt <dominik.vogt@gmx.de>
7654 * fvwm/move_resize.c (resize_window):
7655 don't allow shaded windows to be resized opaque
7657 * fvwm/windowlist.c (do_windowList):
7658 enhanced window list spacing
7662 * libs/Target.c: new function fvwmlib_client_window() to replace
7664 * fvwm/add_window.c: reordered stacking of client in frame so that
7665 fvwmib_client_window finds the client faster.
7667 1999-11-04 Dominik Vogt <dominik.vogt@gmx.de>
7669 * fvwm/menus.c (...):
7670 menus can now be 'posted' by clicking on their invoking item so that
7671 they stay up when the mouse moves somehwere else.
7673 1999-11-03 Dominik Vogt <dominik.vogt@gmx.de>
7675 * fvwm/style.c (ProcessNewStyle):
7676 fixed height in MaxWindowSize style
7678 1999-11-04 Mikhael Goikhman <migo@homemail.com>
7680 * fvwm/cursor.c (CursorStyle): don't reset the root cursor
7681 on CursorStyle "non-root"
7685 * libs/Colorset.h: removed global nColorsets
7687 1999-11-03 Dominik Vogt <dominik.vogt@gmx.de>
7689 * fvwm/borders.c (SetupFrame):
7690 fixed page switching with shaded XEmacs
7692 * fvwm/windowlist.c (do_windowList):
7693 * fvwm/menus.c (MenuInteraction):
7695 * fvwm/menus.h (MenuParameters):
7696 * fvwm/menus.c (...):
7697 * fvwm/windowlist.c (do_windowList):
7698 rewrote return code use a return struct instead of an integer;
7699 improved double-clicking on menus without a title
7701 1999-11-02 Dominik Vogt <dominik.vogt@gmx.de>
7703 * fvwm/functions.c (ExecuteFunction):
7704 no error message when empty command is encountered
7706 * fvwm/session.c (MatchWinToSM):
7707 * fvwm/module_interface.c:
7711 * fvwm/fvwm2.1: clarified default action with "Menu" and "Popup"
7713 1999-11-01 Mikhael Goikhman <migo@homemail.com>
7715 * NEWS: a note about the new default root cursor
7717 * fvwm/cursor.c (setBusyCursor):
7718 'BusyCursor *' addition by Ben Winslow, some clean up.
7720 1999-10-30 Olivier Chapuis <olivier.chapuis@free.fr>
7722 * NEWS: BusyCursor, EscapeFunc and CursorStyle.
7723 * fvwm/ConfigFvwmDefaults: add the binding Key Escape A MC EscapeFunc
7724 * fvwm/builtins.c (wait_func, recapture): Busy cursor stuff
7725 * fvwm/cursor.{c,h} (cursor_type, default_cursors, CursorStyle,
7726 setBusyCursor, myCusorNameToIndex):
7727 Add CRS_ROOT and ROOT context for CursorStyle. We can use X11 cursor
7728 name in the CursorStyle command. Busy cursor stuff.
7729 * fvwm/focus.c (FocusOn): update GrabEm and GrabEm.
7730 * fvwm/function.{c,h} (func_config, execute_complex_function,
7732 New functions BusyCursor and EscapeFunc. Busy cursor stuff.
7733 * fvwm/fvwm.{c,h} (StartupStuff, InitVariables):
7734 Some Busy cursor stuff, the new external int GrabPointerState.
7735 * fvwm/fvwm2.1: BusyCursor and EscapeFunc documentation.
7736 Update CursorStyle documentation.
7737 * fvwm/menus.c (MenuInteraction, pop_menu_up): Busy cursor stuff.
7738 * fvwm/misc.{c,h} (GrabEm, UngrabEm):
7739 Busy cursor stuff. Grab context bits for GrabPointerState.
7740 * fvwm/module_interface.c (ExecuteModuleSync):
7741 Busy cursor stuff and some logic fixes.
7742 * fvwm/move_resize.c (InteractiveMove, resize_window):
7743 update GrabEm and UngrabEm.
7744 * fvwm/module_interface.c (do_execute_module, SendStrToModule,
7746 Comments some not useful (IMHO) UngarbEm for the Busy cursor stuff.
7747 And ... Busy cursor stuff !
7748 * fvwm/placement.c (PlaceWindow): update GrabEm and UngrabEm.
7749 * fvwm/read.c (cursor_control, ReadFile, PipeRead): Busy cursor stuff.
7750 * fvwm/screen.h (ScreenInfo): BusyCursor
7752 (added by Mikhael Goikhman)
7753 * fvwm/ConfigFvwmSetup:
7755 * sample.fvwmrc/system.fvwm2rc:
7756 * sample.fvwmrc/system.fvwm2rc-sample-95:
7757 Removed xsetroot -cursor_name in initialization functions.
7761 * libs/fvwmlib.h,fvwmlib.h: CreateGradientPixmapFromString returns
7762 a list of alloc'ed pixels.
7763 * libs/Colorset.h: extra members of colorset_struct for removing
7764 color leakage (private to FvwMTheme)
7766 1999-10-24 Chris Rankin <rankinc@zipworld.com.au>
7768 * libs/Module.c (SendText): made the message parameter "const"
7770 1999-10-21 Dan Espen <dane@mk.telcordia.com>
7772 * fvwm/ConfigFvwmDefaults, fvwm/fvwm2.1: The ability to raise,
7773 lower, resize, and move windows is built-in.
7775 1999-10-21 Mikhael Goikhman <migo@homemail.com>
7777 * fvwm/session.c (matchWin): reimplemented disabled code, so it
7778 still compares window ids on Restarting, but only when all other
7779 components agree. This is needed, so windows with the same
7780 resources/names are not randomly switched.
7784 * libs/Colorset.{h,c}: AllocColorset duplicates colorset 0 into new
7786 * libs/safemalloc.{h,c}: new function saferealloc().
7787 * fvwm/fvwm.c: colorset 0 defaults to black on grey in case FvwmTheme
7789 * fvwm/fvwm2.1: Documented DefaultColorset command.
7790 * fvwm/*.c: clean up colorset references.
7792 1999-10-20 Mikhael Goikhman <migo@homemail.com>
7794 * fvwm/session.c (matchWin): removed '#if 0 if (Restarting)' code
7795 (MatchWinToSM): commented the code, which, instead of restoring the
7796 original window stacking order when the state was saved, breaks it,
7797 until figuring what to do with this code
7799 1999-10-19 Dominik Vogt <dominik.vogt@gmx.de>
7801 * fvwm/style.h (SMSET_FOCUS_MODE):
7806 * libs/Colorset: changed signature of AllocColorset
7807 * fvwm/functions.c: New function DefaultColorset
7808 * fvwm/builtins.c: New function DefaultColorset, DefaultColors does
7809 not mess with colorsets.
7811 1999-10-18 Dominik Vogt <dominik.vogt@gmx.de>
7813 * fvwm/module_interface.c (executeModuleSync):
7814 made a small performance enhancement
7816 1999-10-18 Olivier Chapuis <olivier.chapuis@free.fr>
7818 * module_interface.c (executeModuleSync): New logic in the
7819 executeModuleSynch loop. Ctl-Alt-Escape allows to exit from a
7820 ModuleSynchronous command.
7822 1999-10-18 Dominik Vogt <dominik.vogt@gmx.de>
7824 * fvwm/add_window.c: moved most window creation stuff into separate
7825 functions; still in progress
7828 * fvwm/move_resize.c (resize_window):
7829 the ButtonRelease after aborting a resize operation doesn't get passed
7830 to the window below anymore
7832 1999-10-16 Eric Gillespie Jr. <epg@pobox.com>
7834 * fvwm/conditional.c (MatchesConditionMask): Tests for the
7835 do_circulate_skip_shaded flag.
7837 * fvwm/session.c (MatchWinToSM): Sets whether window has the
7838 do_circulate_skip_shaded flag after session restart.
7840 * fvwm/window_flags.h (DO_SKIP_SHADED_CIRCULATE):
7841 (SET_DO_SKIP_SHADED_CIRCULATE):
7842 (SETM_DO_SKIP_SHADED_CIRCULATE): New macros.
7844 * fvwm/style.c (ProcessNewStyle): Looks for CirculateSkipShaded and
7845 CirculateHitShaded styles.
7847 * fvwm/fvwm.h: New flag do_circulate_skip_shaded
7849 1999-10-18 Dominik Vogt <dominik.vogt@gmx.de>
7851 * libs/XError.c (PrintXErrorAndCoredump):
7852 removed unused variable msg
7854 * fvwm/move_resize.c (moveLoop):
7855 window jumps back to original position immediately when a move is
7856 terminated (fixes bug #59)
7857 unmap geometry window immediately when the move ends
7859 * fvwm/fvwm.c (FvwmErrorHandler):
7860 * fvwm/move_resize.c (moveLoop):
7862 global 'bad_window' allows to terminate opaque move/resize when the
7865 * fvwm/move_resize.c (moveLoop):
7866 'Escape' switches back to original page
7868 * fvwm/functions.c (ExecuteFunction):
7869 (execute_complex_function):
7870 * fvwm/move_resize.c (resize_window):
7872 * fvwm/menus.c (do_menu):
7873 use new signature of WaitForButtonsUp
7875 * fvwm/misc.c (WaitForButtonsUp):
7876 can handle expose events
7878 * fvwm/add_window.c (AddWindow):
7879 * fvwm/move_resize.c (moveLoop):
7880 * fvwm/placement.c (PlaceWindow):
7881 replaced global 'NeedToResizeToo' with function return values
7883 * fvwm/placement.c (SmartPlacement): now static
7885 1999-10-17 Dominik Vogt <dominik.vogt@gmx.de>
7887 * fvwm/move_resize.c (HideGeometryWindow): function renamed
7889 * fvwm/session.c (SaveWindowStates): fixed session management fix
7890 (RestartInSession): call CloseICCCM2().
7892 1999-10-17 Dominik Vogt <dominik.vogt@gmx.de>
7895 * fvwm/gnome.c (GNOME_GetStyle):
7896 * fvwm/add_window.c (AddWIndow):
7897 common styles now have access macros
7899 1999-10-16 Mikhael Goikhman <migo@homemail.com>
7901 * fvwm/fvwm2.1: several fixes; added the advice for using
7902 initialization functions to start modules and applications.
7904 1999-10-16 Dominik Vogt <dominik.vogt@gmx.de>
7906 * fvwm/focus.c (SetPointerEventPosition): fixed focus bug
7908 * fvwm/style.c (handle_window_style_change):
7909 * fvwm/builtins.c (HandleColorset):
7910 * fvwm/style.c (update_style_colorset):
7911 new style "colorset"
7913 * fvwm/style.c (handle_window_style_change):
7914 window foreground and background colours are updated immediately when
7917 * fvwm/icons.c (DeIconify):
7918 deiconify parent too if a transient is deiconified
7920 * fvwm/fvwm.c (CaptureOneWindow):
7921 * fvwm/events.c (HandleMapRequestKeepRaised):
7922 * fvwm/icons.c (Iconify):
7923 Remember IS_ICONIFIED_BY_PARENT over a recapture
7925 * fvwm/functions.c (execute_complex_function):
7928 $[??.cs<n>] variables are not expanded in 'AddToFunc' commands
7930 * fvwm/style.c (ProcessNewStyle): COLOR style handles 'rgb:rr/gg/bb'
7933 * libs/Picture.c (GetSimpleColor): patch to prevent X server from
7934 dumping core with colours like 'rgb:1234'
7936 * fvwm/move_resize.c (HideSizeWindow):
7937 * fvwm/functions.h (enum):
7938 * fvwm/module_interface.c (func_config):
7939 new function 'HideSizeWindow'
7941 * fvwm/module_interface.c (do_execute_module):
7942 (executeModuleDesperate):
7943 * fvwm/functions.c (ExecuteFunction):
7944 more intelligible error message when a command is not known by fvwm
7946 * fvwm/functions.c (ExecuteFunction): fixed cordump with commands
7947 made up only of whitespace
7949 * fvwm/windowlist.c (do_windowList): removed useless strlen(tname)
7950 (do_windowList): some minor patches
7952 1999-10-15 Dominik Vogt <dominik.vogt@gmx.de>
7954 * fvwm/fvwm.c (Done): CloseICCCM2() was called too early, so apps had
7955 the chance to resize their windows themselves.
7957 * fvwm/events.c (HandleConfigureRequest): Inform apps that request
7958 nonsense height values about their real height by sending an event.
7960 1999-10-15 Dominik Vogt <dominik.vogt@gmx.de>
7962 * fvwm/module_interface.c (HandleModuleInput): query the pointer
7963 when handling module input
7965 * fvwm/focus.c (FocusOn):
7966 (WarpOn): mangle pointer position in event when warping the pointer
7968 * fvwm/windowlist.c (do_windowList): reset nogeometrywithinfo when
7969 using geometry or nogeometry
7971 1999-10-15 Dominik Vogt <dominik.vogt@gmx.de>
7973 * fvwm/windowlist.c (do_windowList): applied
7975 * fvwm/builtins.c (ReadDecorFace): terminate 'style' string
7977 1999-10-14 Brad Giaccio <bgiaccio@psrw.com>
7979 * fvwm/builtins.c (HandleColorset):
7981 (ApplyDefaultFontAndColors):
7982 * fvwm/add_window.c (AddWindow):
7983 * fvwm/fvwm.c (main):
7985 * fvwm/icons.c (CreateIconWindow):
7988 added DefaultColors Colorset <n> command
7990 1999-10-14 Dominik Vogt <dominik.vogt@gmx.de>
7992 * fvwm/style.c (handle_window_style_change): handle 'StickyIcon' and
7993 'SlipperyIcon' style changes
7995 * fvwm/session.c (SaveWindowStates):
7996 (matchWin): fixed several session management bugs:
7997 SM tried to remember states of modules (which is impossible since the
7998 modules are killed and get new windows over a restart)
7999 SM simply matched by window id over a restart (which fails for the
8002 * fvwm/fvwm.h (FvwmWindow): removed unused member 'style'
8005 * fvwm/style.c (handle_window_style_change):
8006 update static window styles immediately
8008 * fvwm/gnome.c (GNOME_GetStyle):
8009 * fvwm/style.c (ProcessNewStyle):
8011 common window flags divided into dynamic and static part
8013 * fvwm/move_resize.c (moveLoop): prevent configure notify events if
8014 the position didn't change
8018 * fvwm/fvwm.c: fixed some X errors with multiheaded displays.
8020 1999-10-13 Dominik Vogt <dominik.vogt@gmx.de>
8022 * fvwm/module_interface.c (KillModule): removed unused argument 'place'
8024 1999-10-12 Dominik Vogt <dominik.vogt@gmx.de>
8026 * libs/XError.c (PrintXErrorAndCoredump): don't use X call in error
8029 1999-10-11 Dominik Vogt <dominik.vogt@gmx.de>
8031 * fvwm/style.c (reset_style_changes):
8032 (handle_style_changes):
8033 * fvwm/events.c (My_XNextEvent):
8034 Code to handle style changes without recapture. Doesn't do anything
8037 * fvwm/style.c (merge_styles):
8038 (ProcessNewStyle): all style flags (i.e. all styles) have a change_mask
8039 indicationg that the style has changed. * fvwm/add_window.c (AddWindow):
8040 * fvwm/style.c (ProcessNewStyle):
8041 Icon boxes can be reset to default by omitting the arguments,
8042 icon boxes now have their own style flag
8044 * fvwm/style.c (ProcessNewStyle):
8045 * fvwm/gnome.c (GNOME_GetStyle):
8046 * fvwm/add_window.c (AddWindow):
8047 rewrote layer style to work like the other style flags
8049 * fvwm/add_window.c (AddWindow):
8050 * fvwm/style.c (ProcessNewStyle):
8052 * fvwm/fvwm.h (style_flags):
8054 rewrote button flags to work like any other style flags
8056 1999-10-08 Dominik Vogt <dominik.vogt@gmx.de>
8058 * fvwm/fvwm.c (main): tried to fix problem causing black titles with
8059 some monochrome servers; use explicit pixel values BlackPixel and
8060 WhitePixel for the stipples instead of calculations based on default
8063 1999-10-11 Olivier Chapuis <olivier.chapuis@free.fr>
8065 * fvwm/windowlist.c (do_windowList):
8067 New options UseListSkip and OnlySkipList to WindowList
8069 *fvwm/read.c (ReadFile): Display the watch cursor at startup if
8070 ReadFile is run via a module (as FvwmM4/Cpp)
8072 1999-10-08 Dominik Vogt <dominik.vogt@gmx.de>
8074 * configure.in: changed version to 2.3.10
8076 * fvwm/fvwm2.1: added example of nesting decors
8078 1999-10-07 Dominik Vogt <dominik.vogt@gmx.de>
8080 * fvwm/move_resize.c (moveLoop): fixed snapping widows when Move was
8081 called but the window was not moved
8083 * fvwm/icons.c (DeIconify): fixed deiconifying on wrong page
8085 * fvwm/move_resize.c (move_window_doit): fixed reversed cursors for
8087 (move_window_doit): fixed movetopage if window had negative coordinates
8089 1999-10-04 Olivier Chapuis <olivier.chapuis@free.fr>
8090 * FvwmCpp/FvwmCpp.c (main):
8091 * FvwmCpp/FvwmCpp.1:
8092 * FvwmM4/FvwmM4.c (main):
8094 New options -noread and -lock
8096 1999-10-03 Dominik Vogt <dominik.vogt@gmx.de>
8098 * fvwm/fvwm2.1: rewrote section about command line parameter expansion
8100 * libs/Picture.c (GetColor): handles colour set colour names
8102 * fvwm/move_resize.c (moveLoop): Switch back to original page when
8103 aborting a window move
8105 * libs/ColorUtils.c (pixel_to_color_string):
8106 * fvwm/functions.c (expand_extended_var):
8108 Colours from colorsets can be used on the command line: $[fg.cs#],
8109 $[bg.cs#], $[hilight.cs#], $[shadow.cs#] are replaced by the
8110 corresponding colour from colour set '#'.
8111 Fixed coredump with $v.
8113 1999-10-02 Dominik Vogt <dominik.vogt@gmx.de>
8115 * fvwm/events.c (HandlePropertyNotify): limits names of icons/windows
8116 to 200 characters to prevent hanging X server
8118 * fvwm/style.c (ProcessNewStyle): fixed multiple icon boxes broken with
8119 latest style changes
8121 * fvwm/builtins.c (ReadDecorFace): use new signature of ParseGradient
8122 fixed ...style flags after gradient specs
8124 * fvwm/menus.c (ReadMenuFace): use new signature of ParseGradient
8126 * libs/Graphics.c (ParseGradient): function returns rest of line
8128 * fvwm/builtins.c (SetTitleStyle):
8134 * fvwm/borders.c (DrawButton):
8137 * fvwm/add_window.c (AddWindow):
8138 * fvwm/decorations.c (SelectDecor):
8139 * fvwm/builtins.c (SetTitleStyle):
8140 * fvwm/screen.h (DecorFace):
8141 GSFR for TitleStyle, BorderStyle, ButtonStyle
8142 general flag cleanup and several bugfixes
8143 removed code that was never called
8145 1999-10-01 Dominik Vogt <dominik.vogt@gmx.de>
8147 * libs/Colorset.c (DumpColorset):
8148 (LoadColorsetConditional):
8149 coredump fix - must send out 'mask' and 'color_flags' to the modules in
8150 case a second FvwmTheme is running
8152 * libs/Colorset.c (LoadColorset): free hilite/shadow if changed
8153 (LoadColorset): coredump fix
8155 * fvwm/move_resize.c (resize_window): send config to pager during
8158 * fvwm/builtins.c (HandleColorset): fixed coredump
8160 * fvwm/style.c: (merge_styles):
8161 fixed several bugs in style preference (with 'Style * Icon ...' before
8162 'Style xterm NoIcon', the 'Icon' style would have won.)
8164 * fvwm/style.c: (ProcessDestroyStyle):
8165 (remove_all_of_style_from_list):
8166 (add_style_to_list):
8167 adjacent styles in the style list with the same name are merged
8169 * fvwm/style.c (merge_styles): can merge styles without leaking memory
8170 or causing coredumps with 'destroy_style'.
8172 * fvwm/style.c (free_icon_boxes): new function
8173 (merge_styles): now static
8174 (copy_icon_boxes): new function
8175 (free_style): new function
8176 (merge_style_list): new function
8178 1999-09-30 Dominik Vogt <dominik.vogt@gmx.de>
8180 * fvwm/menus.c (paint_menu): fixed ManuFace MenuStyle interfering with
8183 1999-09-30 Dominik Vogt <dominik.vogt@gmx.de>
8185 * libs/Target.c: new file
8187 * libs/Bindings.c (fvwmlib_keyboard_shortcuts):
8188 * fvwm/misc.c (Keyboard_shortcuts): functionality moved to lib
8190 1999-09-29 Brad Giaccio <bgiaccio@psrw.com>
8192 * FvwmIconMan/x.c (X_init_manager): set pixmaps to None on init since
8193 we check for it later
8194 (X_init_manager): cleaned up an UMR on a print
8196 * FvwmIconMan/globals.c: contextDefaults needed another entry since I
8197 increased the number of contexts when I did the colorset stuff
8199 * FvwmIconMan/fvwm.c (destroy_window): setting focus_win to null helps
8200 avoid possible free memory reads/writes
8202 1999-09-29 Dominik Vogt <dominik.vogt@gmx.de>
8204 * libs/Colorset.c (LoadColorset):
8206 (CreateBackgroundPixmap): added shape_width and shape_height members
8209 * fvwm/builtins.c (SetGlobalOptions): replaced the obsolete global
8210 options with calls of the 'style' command
8212 * fvwm/move_resize.c (move_window_doit): MoveToPage uses 'select'
8213 cursor instead of 'move' cursor
8217 * libs/Colorset.{h,c} Removed unused structure member colorset.mask
8219 1999-09-28 Bob Woodside <proteus@pcnet.com>
8227 Added StartsOnPageIncludesTransients/StartsOnPageIgnoresTransients
8229 Converted the 3 GlobalOpts related to StartsOnPage to styles. The
8230 GlobalOpts are still honored, for the time being, with a warning.
8232 1999-09-29 Dominik Vogt <dominik.vogt@gmx.de>
8234 * libs/Colorset.c (SetRectangleBackground): fixed stretching of
8235 v and h gradients that was broken with last commit
8237 1999-09-28 Paul D. Smith <psmith@gnu.org>
8239 * libs/fvwmsignal.h: Add #include <sys/select.h> if needed. Patch
8240 from Harald Dunkel <harri@Synopsys.COM>.
8244 * libs/Colorset.{h,c}, modules/FvwmTheme/FvwmTheme.c: simplified
8245 the colorset structure to allow for expansion.
8247 1999-09-27 Olivier Chapuis <olivier.chapuis@free.fr>
8249 * FvwmM4/FvwmM4.c (m4_defs):
8251 * FvwmCpp/FvwmCpp.c (cpp_defs):
8252 * FvwmCpp/FvwmCpp.1:
8253 Change dir to the "good" directory before popen m4/cpp.
8254 Add FVWM_USERHOME and SESSION_MANAGER.
8256 1999-09-28 Dominik Vogt <dominik.vogt@gmx.de>
8258 * fvwm/menus.c (UpdateMenuStyle): fixed hilighting menu items
8260 * fvwm/stack.c (inner_RaiseOrLowerWindow): fixed broadcasting of
8263 1999-09-27 Dominik Vogt <dominik.vogt@gmx.de>
8265 * libs/Graphics.c (CreateGradientPixmap): and another attempt to fix
8266 the ABR in CGradients
8268 * libs/Graphics.c (CreateGradientPixmap): another attempt to fix the
8271 1999-09-26 Dominik Vogt <dominik.vogt@gmx.de>
8273 * libs/Graphics.c (CreateGradientPixmap): fixed array bounds read in
8274 C gradients. Similar but non-critical bug in R and Y gradients.
8275 Fixed SGradient: several colours were potentially not used
8277 * libs/WinMagic.c (GetEqualSizeChildren): new function
8279 * fvwm/menus.c (paint_menu):
8280 * fvwm/builtins.c (ApplyDefaultFontAndColors):
8281 use new signature of SetWindowBackground()
8283 * libs/Colorset.c (SetWindowBackground): changed signature
8285 1999-09-25 Dominik Vogt <dominik.vogt@gmx.de>
8287 * fvwm/builtins.c (HandleColorset):
8288 * fvwm/menus.h (MenuLook):
8289 * fvwm/menus.c (NewMenuStyle):
8293 (UpdateMenuColorset):
8294 implemented colour set support for menus
8296 1999-09-24 Paul D. Smith <psmith@gnu.org>
8298 * configure.in (perl): Make sure we have perl 5.002 or better for
8299 FvwmConsoleC.pl. However, if we don't we just print a warning
8300 right now; that'll probably get lost. We _should_ refuse to build
8301 FvwmConsole or something--but for the moment we don't even refuse
8302 if we can't find perl itself!
8304 1999-09-24 Dominik Vogt <dominik.vogt@gmx.de>
8306 * fvwm/fvwm.c: -Wall fixes
8310 applied '$v' patch by Mark Rainford
8313 1999-09-24 Olivier Chapuis <olivier.chapuis@free.fr>
8315 * fvwm/fvwm.c: -vesrion option print compile-time informations.
8318 1999-09-23 Dominik Vogt <dominik.vogt@gmx.de>
8320 * fvwm/menus.c (paint_item):
8321 (draw_triangle_pattern): use new code in libs/Graphics.c
8323 * libs/Graphics.c (DrawTrianglePattern): new service function
8325 1999-09-23 Paul D. Smith <psmith@gnu.org>
8327 * fvwm/Makefile.am (LDADD): Move the $(X_LIBS) reference earlier
8328 in all LDADD variables, before (for example) the $(xpm_LIBS)
8329 reference; sometimes the latter doesn't contain its own -L
8330 options, and uses X's.
8332 1999-09-23 Bob Woodside <proteus@pcnet.com>
8334 * fvwm/stack.c (inner_RaiseOrLowerWindow): rearranged the raise
8335 hacks to insure that raisePanFrames always gets called after we've
8336 done our dirty work. My previous version broke this.
8338 1999-09-23 Dominik Vogt <dominik.vogt@gmx.de>
8340 * libs/WinMagic.c (GetTopAncestorWindow): new function
8342 * libs/Slide.c: file renamed to WinMagic.c
8344 1999-09-22 Dominik Vogt <dominik.vogt@gmx.de>
8346 * fvwm/session.c (SaveWindowStates):
8349 fixed position of sticky icons and windows when restarting with
8352 1999-09-21 Dominik Vogt <dominik.vogt@gmx.de>
8354 * fvwm/move_resize.c (resize_window): redraw window decorations after
8355 aborting an opaque resize
8357 * fvwm/stack.c (inner_RaiseOrLowerWindow): -Wall fix
8358 (raise_over_unmanaged): reindented
8360 * fvwm/move_resize.c (resize_window): fixed broken comment that got
8363 1999-09-20 Bob Woodside <proteus@pcnet.com>
8365 * fvwm/events.c (HandleButtonPress): Dropped the raise on window
8366 decoration clicks for ClicToFocusDoesntRaise. This causes double
8367 raises in a lot of configurations, and seems counter to the sense
8368 of ClickToFocusDoesntRaise.
8369 * fvwm/stack.c (inner_RaiseOrLowerWindow): Changed the Exceed
8370 Raise Hack not to raise unmanaged windows; this caused problems
8373 1999-09-21 Dominik Vogt <dominik.vogt@gmx.de>
8375 * fvwm/move_resize.c (resize_window):
8378 undraw the outline before dispatching event since this possibly causes
8379 some graphics to be drawn
8381 * fvwm/functions.c (CheckActionType): handle expose events while
8382 waiting for the decision between "C", "M", "H" and "D" in a complex
8385 1999-09-20 Dominik Vogt <dominik.vogt@gmx.de>
8387 * fvwm/move_resize.c (resize_window):
8388 aborting works with opaque resizing
8389 fixed wandering window when resizing opaque
8390 fixed window width/height being one pixel less when resizing opaque
8392 1999-09-19 Dominik Vogt <dominik.vogt@gmx.de>
8394 * configure.in: changed version to 2.3.9
8396 * fvwm/events.c (HandlePropertyNotify): fixed bug with xterm:
8397 <maximize, change font, normalize> got the window size wrong
8399 * fvwm/fvwm.h (common_flags):
8400 * fvwm/window_flags.h (DO_RESIZE_OPAQUE):
8401 * fvwm/style.h (SDO_RESIZE_OPAQUE):
8402 * fvwm/style.c (ProcessNewStyle):
8403 * fvwm/move_resize.c (DoResize):
8405 implemented opaque resizing (styles ResizeOpaque and ResizeOutline)
8406 base on patch by Tony Finch
8408 1999-09-18 Bob Woodside <proteus@pcnet.com>
8413 * fvwm/stack.c: Added new BugOpts option, RaiseAboveUnmanaged, for
8414 co-existence with apps like KFM that use long-lived override_redirect
8417 1999-09-16 Mikhael Goikhman <migo@homemail.com>
8419 * NEWS: announced a new default FvwmBanner logo
8420 * AUTHORS: added an entries for Alan F. Ho and myself
8422 1999-09-16 Dominik Vogt <dominik.vogt@gmx.de>
8424 * fvwm/events.c (HandleButtonPress): improved RaiseTransient style
8425 with MouseFocusClickRaises and FlipTransient
8427 * fvwm/stack.c (raiselower_func):
8428 (is_on_top_of_layer):
8429 (inner_RaiseOrLowerWindow): fixed several small bugs in new transient
8432 * fvwm/events.c (HandleButtonPress):
8433 use new function is_on_top_of_layer
8435 1999-09-15 Dominik Vogt <dominik.vogt@gmx.de>
8437 * fvwm/events.c (HandlePropertyNotify): fixed pager getting out of sync
8438 with icons starting iconified (with apps that provide their own icon).
8440 1999-09-15 Mark Rainford <mr@jet.uk>
8446 * fvwm/window_flags.h:
8447 improvements to earlier transient handling patches:
8448 mods.to Raise/LowerTransient, StackTransientParent; introduce
8449 FlipTransient style. Man page, NEWS, AUTHOR + ChangeLog included this
8452 Wed Sep 15 20:44:57 1999 DanEspen <dje@blue>
8454 * fvwm/functions.c (execute_complex_function): remove unused
8455 variable cfunc_depth.
8457 1999-09-14 Dan Espen <dane@mk.telcordia.com>
8459 * NEWS: Document icons removal.
8461 * Makefile.am (SUBDIRS): Removed icons directory. Icons are now
8464 1999-09-14 Mikhael Goikhman <migo@homemail.com>
8466 * move_resize.c (Maximize): fixed redudant two and one pixel
8467 gaps on Maximize X Y
8469 1999-09-09 Dominik Vogt <dominik.vogt@gmx.de>
8471 * libs/Graphics.c (CreateGradientPixmap):
8472 C_GRADIENTs use full scope of colours again
8473 (CreateGradientPixmap): fixed C_GRADIENT with large pixmaps
8475 * fvwm/stack.c (new_layer): fixed some problems in stack ring with
8476 layer hints; one of the fixes is a temporary fix for a problem
8477 introduced by the latest transient handling patch
8479 * fvwm/fvwm.c (CaptureOneWindow): make sure the GNOME hints are set
8482 * fvwm/builtins.c (stick_function): fixed a bug with stick + unstick +
8483 movetopage + gnome + recapture :-)
8485 1999-09-08 Neil Bird <neil.bird@rdel.co.uk>
8487 * fvwm/{functions.c,functions.h,fvwm2.1,style.c,style.h}:
8488 Add DestroyStyle command, and [try to] remove Style memory leaks.
8490 1999-09-07 Dominik Vogt <dominik.vogt@gmx.de>
8492 * fvwm/fvwm2.1: applied patch for GnomeButton command by Eric
8495 * fvwm/decorations.c (SelectDecor): applied another OL hints patch by
8503 * fvwm/move_resize.c
8504 * fvwm/screen.h: New BugOpts option: MixedVisualWorkAround
8505 * libs/module_interface.c: Fixed deadlock with recapture and lockonsend
8506 modules by ignoring lockonsend flag when server is grabbed.
8508 1999-09-06 Dominik Vogt <dominik.vogt@gmx.de>
8510 * fvwm/fvwm2.1 (BugOpts):
8511 * fvwm/stack.c (inner_RaiseOrLowerWindow):
8512 * fvwm/move_resize.c (AnimatedMoveAnyWindow):
8514 * fvwm/fvwm.c (SetMWM_INFO):
8516 * fvwm/functions.c (func_config):
8517 * fvwm/builtins.c (SetBugOptions): New command BugOpts controls
8518 workarounds for buggy third party programs
8520 * fvwm/fvwm.h: add check for gcc specific stuff (bug #454)
8522 1999-09-03 Dominik Vogt <dominik.vogt@gmx.de>
8524 * fvwm/decorations.c (SelectDecor): applied OL-DECOR fix by Neil Bird
8526 1999-09-03 Dominik Vogt <dominik.vogt@gmx.de>
8528 * fvwm/fvwm2.1 (AddToDecor):
8529 (UseStyle): clarified usage of UseStyle style
8533 * fvwm/{fvwm.c,screen.h,icons.c} Fixed client supplied icon pixmaps
8534 with the -visual option and different root/fvwm depths with Exceed
8535 * fvwm/borders.c: title button pixmaps that are smaller then the title
8536 height by an odd number are one pixel down (makes win95 styles better)
8538 1999-09-01 Dominik Vogt <dominik.vogt@gmx.de>
8540 * **/*: Applied transient handling patches by Mark Rainford.
8541 Man page and ChangeLog entries are still missing
8543 * configure.in: changed version to 2.3.8
8547 * libs/Picture.{c,h}:
8548 * fvwm/{fvwm,colormaps,menus,move_resize,virtual}.c
8549 * fvwm/{colormaps,screen,move_resize}.h: Fixed XorPixmap with
8550 fvwm -visual option.
8552 1999-09-01 Dominik Vogt <dominik.vogt@gmx.de>
8555 * fvwm/move_resize.c (Maximize): implemented negative offsets for
8558 1999-09-01 Dominik Vogt <dominik.vogt@gmx.de>
8560 * fvwm/menus.c (get_selectable_item_index):
8561 (get_selectable_item_from_section):
8562 (get_selectable_item_count):
8563 (menuShortcuts): Meta-Up/Down move to next separator
8565 1999-08-31 Dominik Vogt <dominik.vogt@gmx.de>
8567 * libs/Slide.c (SlideWindow): it's possible to turn off the XFlush
8568 after each MoveResize (faster and looks better).
8572 * fvwm/move_resize.c: different method of doing XORPixmap (fails)
8573 * libs/Picture.{h,c}: DestroyPicture now frees the colors allocated
8574 by LoadPicture., New functions: UseDefaltVisual, UseFvwmVisual.
8576 1999-08-30 Dominik Vogt <dominik.vogt@gmx.de>
8578 * libs/Slide.c (SlideWindow): new file and function for sliding
8579 animations and simple animated moves
8581 1999-08-30 Dominik Vogt <dominik.vogt@gmx.de>
8583 * libs/Colorset.c (SetRectangleBackground): fixed stretching/tiling
8585 * libs/Graphics.c (CreateTiledPixmap): use depth argument instead of 1
8587 * fvwm/events.c (DispatchEvent): MoveOutline is no longer called from
8588 events.c; fixed multiple drawing/undrawing of xorpixmap.
8590 1999-08-30 Dominik Vogt <dominik.vogt@gmx.de>
8592 * libs/Colorset.c (SetRectangleBackground): new function that allows to
8593 draw shaped colorset backgrounds into a rectangle.
8595 * libs/Graphics.c (CreateTiledPixmap): former CreateTiledMaskPixmap,
8596 takes depth argument
8598 1999-08-29 Dominik Vogt <dominik.vogt@gmx.de>
8600 * fvwm/menus.c (size_menu_vertically): propagate menu style and tringle
8603 1999-08-28 Dominik Vogt <dominik.vogt@gmx.de>
8605 * fvwm/menus.c (AddToMenu): rewrote fix for label allocation bug
8607 1999-08-29 Chris Rankin
8609 * fvwm/menus.c: Wall fixes (one unused variable, brackets around
8610 boolean expressions and removed a "*" from a pointer operation)
8611 * libs/Graphics.c: Wall fixes (CreateStretchPixmap returns None
8612 if the validation fails, rather than nothing at all).
8616 * libs/Picture.{h,c}: New function GetPictureAndFree() == {
8617 GetPicture() then free all colors }, used by FvwmAnimate.
8618 * fvwm/move_resize.c: SetXORPixmap can use the pixmap from FvwmAnimate.
8620 1999-08-26 Dominik Vogt <dominik.vogt@gmx.de>
8622 * fvwm/move_resize.c (resize_window): disabled warping when resizing,
8623 except when clicking on the border.
8624 (moveLoop): fixed M_CONFIGURE_WINDOW packet during opaque moves
8627 * fvwm/conditional.h:
8628 * fvwm/conditional.c:
8629 * fvwm/windowlist.c (do_windowList): applied patch by Neil Bird:
8630 windowlist accepts conditional arguments like Next or Prev
8632 1999-08-25 Dominik Vogt <dominik.vogt@gmx.de>
8634 * fvwm/borders.c (RedrawBorder): fixed border drawing with HandleWidth
8638 1999-08-23 Mikhael Goikhman <migo@homemail.com>
8640 * fvwm/menus.c (AddToMenu): fixed bad allocation and fvwm hang for
8641 menu labels with more than two TABs
8643 1999-08-23 Dominik Vogt <dominik.vogt@gmx.de>
8645 * fvwm/menus.c (ReadMenuFace): fixed missing parsing of gradients
8647 1999-08-23 Dominik Vogt <dominik.vogt@gmx.de>
8649 * fvwm/menus.c (menuShortcuts): fixe Right key in menus.
8651 Sat Aug 21 09:55:27 1999 DanEspen <dje@blue>
8653 * NEWS, fvwm/fvwm2.1: Describe new key shortcuts, and some of the ones
8655 Describe FvwmAnimate "sendtomodule" command for arbitrary animation.
8657 * fvwm/menus.c (menuShortcuts): Tab acts like down arrow, shift tab
8658 acts like up arrow, space selects.
8660 1999-08-21 Dominik Vogt <dominik.vogt@gmx.de>
8662 * fvwm/fvwm2.1: added COLOR GRADIENTS section
8664 * fvwm/menus.c (paint_item):
8666 * fvwm/borders.c (DrawButton): Menus and window decorations can use
8667 all eight kinds of gradients
8669 * libs/Graphics.c (CreateGradientPixmap): Function can draw into a
8672 * fvwm/fvwm.c (main): removed save_under attribute for feedback window.
8673 It actually slow things down instead of speeding them up.
8675 * fvwm/move_resize.c (moveLoop):
8676 * fvwm/virtual.c (HandlePaging): fixed slow movement of windows with
8677 some ideas from icewm
8679 1999-08-20 Dominik Vogt <dominik.vogt@gmx.de>
8681 * fvwm/move_resize.c (InteractiveMove): use new function
8682 GetLocationFromEventOrQuery
8684 * libs/Pointer.c (GetLocationFromEventOrQuery): new file and function
8686 * fvwm/borders.c: removed debug code causing title bars not to draw
8687 properly with less that 20 bitplanes :-)
8689 * libs/Graphics.c (IsGradientTypeSupported): new convenience function
8691 * fvwm/builtins.c (ReadButtonFace):
8692 * fvwm/borders.c (DrawButton): experimental implementation of
8693 [DBSCRY]-Gradients in the title/border/button style. Very inefficient,
8696 * libs/Graphics.c (CreateGradientPixmapFromString):
8697 (CreateGradientPixmap): function split into two separate functions
8699 * libs/Graphics.c (CalculateGradientDimensions): new function from code
8700 originally in CreateGradientPixmap
8702 * fvwm/borders.c (DrawButton):
8703 * fvwm/builtins.c (FreeButtonFace):
8705 * fvwm/menus.c (select_menu_item):
8709 * libs/Graphics.c (CreateGradientPixmap): use new macros for gradient
8712 * libs/fvwmlib.h (B_GRADIENT): added macros for gradient types
8714 * fvwm/menus.c (ReadMenuFace): simplified gradient type code
8716 1999-08-19 Dominik Vogt <dominik.vogt@gmx.de>
8718 * fvwm/menus.c (ReadMenuFace):
8719 * fvwm/builtins.c (ReadButtonFace): use library functions to parse
8722 * libs/Graphics.c (AllocAllGradientColors): new convenience function
8724 * fvwm/fvwm2.1: Updated gradient syntax
8726 * libs/Module.c (SendFinishedStartupNotification): new service function
8729 * libs/Graphics.c (AllocLinearGradient): partially rewritten, fixed
8730 bugs in colour allocation
8732 * libs/Graphics.c (ParseGradient): use new default macro
8734 (ParseGradient): Rewrote gradient parsing. It is now legal to use
8735 'percentages' in multi gradients that don't add to 100
8737 * libs/defaults.h: file moved to library
8739 * libs/Graphics.c (AllocLinearGradient): colour calculation is 100%
8742 * fvwm/fvwm2.1: fixed .TH header
8744 * fvwm/module_interface.c (do_execute_module): store pipe number in
8745 a variable before returning, that fixes the ModuleSynchronous command
8747 1999-08-18 Dominik Vogt <dominik.vogt@gmx.de>
8749 * fvwm/move_resize.c (MaximizeWidth): fixed 'maximize grow 100' with
8752 * fvwm/fvwm2.1: man page for ModuleSynchronous
8755 * fvwm/module_interface.c (HandleModuleInput): function takes an
8756 optional string as input that replaces "FINISHED_STARTUP"
8758 1999-08-17 Dominik Vogt <dominik.vogt@gmx.de>
8760 * fvwm/module_interface.c (do_execute_module):
8762 (executeModuleSynchronous):
8764 * fvwm/functions.c (func_config): new command ModuleSynchronous
8766 * fvwm/fvwm.h: moved headers from misc.h
8768 * fvwm/add_window.c (AddWindow):
8770 * fvwm/menus.c (NewMenuStyle): -Wall fixes fo I18N
8772 * fvwm/read.h (PipeRead): moved prototypes from misc.h
8775 (saveQuitSession_func): moved to session.c
8777 * fvwm/builtins.c (SetEdgeScroll):
8778 (SetEdgeResistance):
8780 * fvwm/misc.c (MapIt):
8781 (UnmapIt): functions moved to virtual.c
8783 * fvwm/bindings.c (ParseBinding): corrected a comment
8788 * fvwm/borders.c: include module_interface.h
8790 * fvwm/modconf.c (SendDataToModule):
8791 * fvwm/move_resize.c (ConstrainSize): -Wall fixes
8793 * fvwm/colormaps.h: added missing prototypes for
8794 EnterSubWindowColormap and LeveSubWindowColormap
8796 * fvwm/add_window.c:
8797 * fvwm/move_resize.c:
8799 * fvwm/menus.c: include colormaps.h
8803 * fvwm/add_window.c:
8804 * fvwm/move_resize.c:
8812 * fvwm/misc.c (GetOnePositionArgument):
8813 * fvwm/misc.c (GetMoveArguments): functions moved to move_resize.c
8816 * fvwm/decorations.h:
8819 * fvwm/add_window.h:
8820 * fvwm/windowlist.h:
8822 * fvwm/placement.h: new files
8824 * fvwm/fvwm.c (MappedNotOverride): static now
8825 * fvwm/fvwm.c (usage): static now
8827 * fvwm/module_interface.h: moved some prototypes from misc.h
8829 * fvwm/misc.h: removed some unused prototypes
8831 * fvwm/conditional.c (CreateFlagString):
8832 (FreeConditionMask):
8833 (DefaultConditionMask):
8834 (CreateConditionMask):
8835 (MatchesConditionMask):
8842 (GetDirectionReference):
8845 (WindowIdFunc): functions moved from builtins.c to new file
8849 * fvwm/builtins.c (SetSnapAttraction):
8852 (SetXORPixmap): moved to move_resize.c
8854 * fvwm/menus.h: moved prototypes from misc.h
8856 * fvwm/fvwm2.1 (MoveSmoothness):
8857 * fvwm/move_resize.c (moveLoop):
8858 * fvwm/screen.h (ScreenInfo):
8859 * fvwm/fvwm.c (InitVariables):
8861 * fvwm/move_resize.h:
8862 * fvwm/move_resize.c (SetMoveSmoothness):
8864 * fvwm/functions.c (func_config): Implemented MoveSmoothness command
8866 * fvwm/move_resize.h:
8868 * fvwm/move_resize.c (SetOpaque):
8869 * fvwm/move_resize.c (SetMoveThreshold): fixed setting default value
8871 * fvwm/builtins.c (SetOpaque):
8872 (SetMoveThreshold): functions moved to move_resize.c
8874 1999-08-17 Dominik Vogt <domivogt@bvstp038.bbn.hp.com>
8876 * fvwm/fvwm.c (main): feedback window 'saves under' to improve
8877 smootheness in moves
8879 1999-08-15 Udo Grabowski <udo.grabowski@imk.fzk.de>
8881 * fvwm/events.c (HandleEnterNotify, HandleLeaveNotify):
8882 * fvwm/colormaps.c (FetchWmColormapWindows):
8883 added colormap installation for subwindows in window hierarchies with
8884 a patch developed by Randy Frank as employee of RSI, Boulder, Colorado
8885 (patch is public). New Routines: EnterSubWindowColormap,
8886 LeaveSubWindowColormap in colormaps.c
8888 1999-08-16 Dominik Vogt <dominik.vogt@gmx.de>
8890 * libs/Colorset.c (DumpColorset):
8891 (LoadColorsetConditional):
8892 (CreateBackgroundPixmap): handle tiled and aspect shapes
8894 1999-08-16 Dominik Vogt <domivogt@bvstp038.bbn.hp.com>
8896 * fvwm/module_interface.c (HandleModuleInput):
8897 * libs/fvwmlib.h: constant for max. module input text length
8899 * fvwm/menus.c (menuShortcuts): insert enters current submenu if no
8900 continuation is defined
8902 1999-08-16 Dominik Vogt <dominik.vogt@gmx.de>
8904 * libs/Colorset.c (LoadColorset): fixed reading shape_mask into mask
8906 * fvwm/modconf.c (SendDataToModule): fixed sending the wrong colorset
8908 1999-08-16 Mikhael Goikhman <migo@homemail.com>
8910 * configure.in: produce utils/fvwm-menu-{xlock|directory|desktop}
8911 from utils/fvwm-menu-{xlock|directory|desktop}.in
8913 1999-08-16 Dominik Vogt <dominik.vogt@gmx.de>
8915 * fvwm/builtins.c (HandleColorset):
8916 * libs/Colorset.c (LoadColorset): fixed bug that caused colorsets 10
8917 and up not to work (parsed a hex as decimal).
8919 1999-08-15 Dominik Vogt <dominik.vogt@gmx.de>
8921 * libs/safemalloc.c (safecalloc): new function to use instead of
8924 * libs/Graphics.c (CreateTiledMaskPixmap): new function to for tiled
8928 * libs/Colorset.c (LoadColorsetConditional):
8929 (DumpColorset): handle mask pixmap
8931 * libs/Graphics.c: fixed problem occuring with XQueryBestTile and my
8932 buggy XServer (XFree 3.3.3.1).
8934 * libs/Colorset.c (LoadColorset): check for NULL pointer
8936 * fvwm/events.c (HandleKeyPress):
8937 * fvwm/add_window.c (AddWindow):
8938 * fvwm/icons.c (CreateIconWindow):
8939 * fvwm/bindings.c (activate_binding): removed hack for SloppyFocus and
8940 ClickToFocus root key bindings.
8942 * fvwm/fvwm2.1: Added a comment on root key bindings with SloppyFocus
8947 * tests/purify/README (Instructions):
8948 * sample.fvwmrc/system.fvwm2rc-sample-95:
8949 * sample.fvwmrc/system.fvwm2rc-sample-2:
8950 * sample.fvwmrc/system.fvwm2rc-sample-1:
8951 * sample.fvwmrc/system.fvwm2rc:
8952 * sample.fvwmrc/new-features:
8953 * libs/ColorUtils.c:
8955 1999-08-14 Dominik Vogt <dominik.vogt@gmx.de>
8959 * fvwm/ConfigFvwmDefaults:
8961 * fvwm/module_interface.c (PositiveWrite): renamed fvwm2 -> fvwm
8963 * fvwm/fvwm2.1: divided the commad description into sections
8966 * fvwm/menus.c: fixed drawing of VGardients on an 8 bit display with
8968 (menuShortcuts): enhancements to allow one hand menu navigation from
8969 the cursor key block and the number block:
8970 End: move to last item
8971 Home: move to first item
8972 Page up: up five items
8973 Page down: down five items
8974 Delete: abort menu (like escape)
8975 Insert: enter continuation menu
8977 * libs/Graphics.c (AllocNonlinearGradient):
8978 (AllocLinearGradient): fixed gradient colour allocation
8980 * fvwm/fvwm.c (main): removed debug code
8982 * fvwm/icons.c (Iconify):
8983 * fvwm/events.c (HandleUnmapNotify):
8984 * fvwm/misc.c (UnmapIt):
8985 * fvwm/fvwm.h (struct): new window flag 'is_deiconify_pending' to
8986 handle the case of deiconifying and immediately iconifying a window
8989 * fvwm/icons.c: reindented file
8991 * fvwm/fvwm.c (Done): reindented function
8993 * fvwm/menus.c (OldMenuStyle): removed fprintf
8994 removed redundant #ifdef I18N_MB
8995 I commited this a few days ago already. Why did the fix vanish again?
8997 * fvwm/bindings.c (activate_binding):
8998 * fvwm/add_window.c (AddWindow):
8999 * fvwm/icons.c (CreateIconWindow): disabled root bindings fix for
9000 SloppyFocus that cause problems with non-SloppyFocus.
9002 * fvwm/move_resize.c:
9005 reindented and commented some code, implemented move-bug-workaround
9007 (InteractiveMove): added some comments
9010 * configure.in (FVWM_CONFIGDIR): added configure option
9011 move-bug-workaround to workaround buggy applications that do excessive
9012 redrawind while being moved
9016 * fvwm/menus.c: fixed shaped sidepics in menus when menu is shorter
9019 1999-08-12 Dominik Vogt <domivogt@bvstp038.bbn.hp.com>
9021 * fvwm/fvwm2.1 (Current): clarified condition mask (application name)
9023 * fvwm/menus.c (OldMenuStyle): removed fprintf
9024 removed redundant #ifdef I18N_MB
9026 1999-08-11 Mikhael Goikhman <migo@homemail.com>
9028 * fvwm/menus.c (size_menu_vertically): propagate missing_submenu_func
9029 for "More..." submenus
9031 1999-08-10 Dominik Vogt <domivogt@bvstp038.bbn.hp.com>
9033 * fvwm/events.c (HandleConfigureRequest): a XEmacs 20.4 patch:
9034 when moving a shaded XEmacs, unshading it makes it *very* tall
9037 * fvwm/icons.c (DeIconify): applied icon bugfix by Heber J. Grant
9039 1999-08-10 Mikhael Goikhman <migo@homemail.com>
9041 * fvwm/session.c: added missing #ifdef SESSION
9043 1999-08-09 Dominik Vogt <domivogt@bvstp038.bbn.hp.com>
9046 * fvwm/borders.c: fixed 'LeftJustified' flag for title style.
9047 There seems to be a flag conflict. THe title style flags should really
9048 be rewritten in GSFR style to avoid further conflicts.
9050 1999-08-08 Dominik Vogt <dominik.vogt@gmx.de>
9052 * fvwm/borders.c (SetShape): applied fix for ShapeNotify events on non
9053 shaped windows by Owen Taylor (otaylor@redhat.com)
9055 * fvwm/menus.c (OldMenuStyle): fixed quoting in old menu style syntax
9059 * fvwm/move_resize.c: Fixed interactive resize to not allow borders
9060 to be resized off screen if client has resize increments > 1.
9062 1999-08-06 Dominik Vogt <domivogt@bvstp038.bbn.hp.com>
9064 * fvwm/fvwm2.1 (IgnoreModifiers): make it clear that the command
9065 should appear before any bindings are made.
9067 * libs/Bindings.c (GrabWindowButton):
9068 (GrabWindowKey): fixed bindings with 'N'o modifiers and the
9069 IgnoreModifiers command
9071 * fvwm/add_window.c (AddWindow): fixed grabbing of buttons for
9072 ClickToFocus and MouseFocusClickRaises
9075 * libs/Bindings.c (GrabWindowButton): made function global again
9077 1999-08-05 Dominik Vogt <domivogt@bvstp038.bbn.hp.com>
9079 * configure.in: changed version to 2.3.7
9081 * libs/Makefile.am: ColorSets.h -> Colorset.h
9083 * fvwm/events.c (HandleButtonRelease):
9084 * fvwm/session.c (getUniqueStateFilename):
9086 removed unused variables
9088 1999-08-01 Dominik Vogt <dominik.vogt@gmx.de>
9090 * fvwm/borders.c (RedrawBorder): fixed window title drawing
9092 * fvwm/move_resize.c (moveLoop): fixed a bug that cause windows to jump
9093 around when moved against a page boundary
9095 * fvwm/add_window.c (AddWindow):
9096 * fvwm/move_resize.c (resize_window):
9099 * fvwm/events.c (HandlePropertyNotify):
9100 (HandleConfigureRequest): use new signature of ConstrainSize
9102 * fvwm/move_resize.c (resize_window): fixed resizing from title
9104 (ConstrainSize): removed roundUp parameter. Windows can no longer be
9105 resized off the screen
9107 * fvwm/builtins.c (move_sticky_window_to_same_page):
9110 (Maximize): moved functions to move_resize.c
9112 * fvwm/fvwm2.1 (DeiconifyAndRearrange): Corrected hint to work on
9115 * fvwm/fvwm.h (rectangle): width and height are signed integers again.
9116 unsigned caused too many bugs. Fixes 'CurrentPage' condition
9118 * fvwm/module_interface.c (HandleModuleInput): Fixed menus from TaskBar
9121 * fvwm/bindings.c (activate_binding):
9122 * fvwm/icons.c (CreateIconWindow):
9123 * fvwm/add_window.c (AddWindow):
9124 * fvwm/events.c (HandleKeyPress):
9125 A hack to make root key bindings work with SloppyFocus
9127 * fvwm/ConfigFvwmDefaults: changed 'iconify -1' to 'iconify off'
9129 * fvwm/focus.c (WarpOn): fixed several bugs in this function
9131 * fvwm/move_resize.c (DoSnapAttract):
9132 fixed SnapAttraction bug (not snapping when x/y position < 0)
9134 some speedup, removed redundant code
9138 * libs/Colorset.{c,h}: New function CreateBackgroundPixmap() creates a
9139 pixmap from a colrset suitable for using in XSetTile() XSetFillStyle().
9141 1999-07-23 Mikhael Goikhman <migo@homemail.com>
9143 * fvwm/functions.c (expand):
9146 Applied patch by Neil Bird - new function variables $c, $r, $n.
9148 1999-07-23 Mikhael Goikhman <migo@homemail.com>
9158 Initially implemented new commands QuitSession, SaveSession,
9159 SaveQuitSession. They work for gnome-session, but not for xsm.
9160 Another way to implement them (which works for xsm) is sending
9161 SIGTERM and SIGUSR1 to a SM pid specified in $SESSION_MANAGER.
9163 * fvwm/session.c (set_sm_properties):
9164 XSM_BUGGY_DISCARD_COMMAND now extended by run-time xsm detection
9165 (currently using $SESSION_MANAGER_NAME environment, set by user).
9166 Fixed bug - added discardCommand declaration and initialization.
9167 (LoadGlobalState, LoadWindowStates, saveStateFile):
9168 Renamed SESSION_STATE to REAL_STATE_FILENAME. There are still
9169 problems with it specific to gnome-session.
9170 Some rearranging in the functions.
9174 * fvwm/builtins.c: Fixed color leak with FvwmTheme.
9175 * fvwm/fvwm.c: ignore errors with XFreeColors.
9176 * fvwm/modconf.c: Colorsets sent out with module config.
9177 * libs/Colorset.c: Fixed color leaks.
9178 * modules/FvwmIdent/*: New config option *FvwmIdentColorset
9182 * configure.in: New module FvwmTheme.
9183 * libs/Colorset.{h,c}: New lib functions for Colorset handling.
9184 * fvwm/add_window.c: added backing_store = NotUseful hint to the
9185 client parent (not the border though that may be worth doing).
9186 * fvwm/builtins.c: removed DefaultBackground command.
9187 * fvwm/colors.c: moved AllocGradient and CreateGradientPixmap to libs/
9188 * fvwm/functions.{c,h}: removed DefaultBackground command.
9189 * fvwm/{fvwm.c, screen.h}: removed DefaultBackground structure.
9190 * fvwm/fvwm2.1: removed DefaultBackground command.
9191 * libs/Graphics.c: moved SetWindowBackground to libs/Colorset.c,
9192 Added AllocGradient() & CreateGradientPixmap().
9193 * modules/*/Makefile.am added -lm to LADADD to satisfy linker.
9194 * modules/FvwmTheme: new module
9195 * fvwm/builtins.c: DefaultColors affects Colorset[0]
9196 * fvwm/functions.c: New command Colorset
9197 * fvwm/module_interface.c: new function BroadcastColorset
9199 1999-07-11 Dominik Vogt <dominik.vogt@gmx.de>
9201 * fvwm/borders.c (RedrawBorder): Prevent NeverFocus windows from being
9204 1999-07-09 Dominik Vogt <dominik.vogt@gmx.de>
9206 * fvwm/borders.c (RedrawBorder): fixed bug: title bar inherited tiled
9207 background pixmap from borderstyle
9209 * fvwm/move_resize.c (moveLoop): removed debug fprintf
9211 1999-07-13 Mikhael Goikhman <migo@homemail.com>
9213 * fvwm/session.c (LoadWindowStates): Replaced all sscanf "%4000s"
9214 with "[^\n]". This caused all windows with spaces in names not match.
9216 Sun Jul 11 11:16:15 1999 DanEspen <dje@blue>
9218 * NEWS: Describe the default iconbox.
9220 * fvwm/fvwm2.1 (iconbox): Describe the default iconbox.
9222 * fvwm/icons.c: Create a global icon box that covers the screen.
9223 This is used whenever the "style xxx" iconboxes run out of room
9224 or if you never defined an iconbox at all.
9225 This should fix the icons piling up at 0,0 problem.
9227 1999-07-10 Mikhael Goikhman <migo@homemail.com>
9231 Temporary fvwm state files now have .fs- prefix (hence .fs-restart),
9232 since .fvwm is already a common prefix for persistent fvwm configs.
9233 Added a header to the fs file saying that the file must not be deleted.
9234 * fvwm/fvwm.c (StartupStuff): remove a state file only on Restaring
9236 * fvwm/session.c (saveStateFile, setRealStateFilename): new functions
9237 * fvwm/session.c: Some code rearrangement using new functions.
9238 The purpose is localization (reducing passing FILE * between functions;
9239 free() in the same function as malloc() etc.).
9242 * fvwm/fvwm.c (Done):
9243 * session.c (RestartInSession, saveStateFile):
9244 Fixed --dont-preserve-state. Creates an empty state file, hence can
9245 be used under SM too (got X hang); and can now be mixed with other
9246 Restart parameters, but must be first.
9248 1999-07-09 Dominik Vogt <dominik.vogt@gmx.de>
9250 * libs/Module.c (positive_read):
9253 * fvwm/stack.c (RaiseOrLowerWindow):
9254 * fvwm/module_interface.c:
9256 (BroadcastNewPacket):
9258 * fvwm/session.c (MatchWinToSM):
9259 * fvwm/add_window.c (AddWindow):
9260 * fvwm/events.c (HandleConfigureRequest):
9261 * fvwm/builtins.c (Maximize):
9264 * fvwm/move_resize.c (ConstrainSize):
9266 * fvwm/style.c (ProcessNewStyle):
9267 * fvwm/fvwm.h (struct):
9268 * fvwm/fvwm.c (InstallSignals):
9270 * fvwm/menus.c (menuShortcuts): --pedantic fixes
9272 * fvwm/move_resize.c (InteractiveMove): Tried to make starting a move
9273 bullet proof; but you never know...
9275 * fvwm/functions.c (CheckActionType):
9276 * fvwm/functions.c (execute_complex_function): fixed some quirks with
9279 * sample.fvwmrc/Makefile.am: added a win95 like config file
9281 * fvwm/stack.c (RaiseOrLowerWindow):
9282 * fvwm/fvwm.c (Done): remove unused variables
9284 * fvwm/window_flags.h (DO_LOWER_TRANSIENT):
9285 * fvwm/style.h (SDO_LOWER_TRANSIENT):
9286 * fvwm/stack.c (RaiseOrLowerWindow):
9289 (must_move_transients):
9290 * fvwm/fvwm.h (common_flags_type): Improved transient raising/lowering
9291 and introduced LowerTransient/DontLowerTransient styles
9293 * fvwm/style.c (ProcessNewStyle):
9295 * fvwm/add_window.c (AddWindow):
9296 * fvwm/move_resize.c (ConstrainSize):
9297 * fvwm/fvwm.c (InitVariables):
9298 * fvwm/fvwm.h (window_style):
9299 * fvwm/style.h (SGET_MAX_WINDOW_WIDTH):
9300 * fvwm/screen.h (ScreenInfo):
9301 * fvwm/builtins.c (SetMaxWindowSize):
9303 * fvwm/functions.c (func_config): removed MaxWindowSize command and
9304 introduced a style with the same syntax
9306 1999-07-08 Dominik Vogt <dominik.vogt@gmx.de>
9308 * fvwm/virtual.c (HandlePaging): fixed edge scrolling with the mouse
9311 * fvwm/builtins.c (do_recapture):
9312 * fvwm/fvwm.c: removed the 'blackout' code completely
9314 * fvwm/move_resize.c (move_window_doit): send synthetic
9315 ConfigureNotify events to client while moving without resizing
9317 * fvwm/events.c (HandleConfigureRequest):
9318 * fvwm/borders.c (SetupFrame): Cleaned up ConfigureRequest handling.
9319 Fixed bug causing some ddd windows to not redraw properly. Send
9320 synthetic configure notify events for shaded windows too (required
9325 * fvwm/stack.c: fixed RaiseLower of partially offscreen windows
9327 1999-07-08 Dominik Vogt <dominik.vogt@gmx.de>
9329 * fvwm/session.c (my_modulo): removed 'buggy' function
9330 (MatchWinToSM): fixed restart placement of sticky windows partially
9333 * fvwm/builtins.c (MaximizeHeight):
9334 (MaximizeWidth): use fixed version of truncate_to_multiple
9336 * fvwm/misc.c (truncate_to_multiple): fixed off-by-one bug
9338 * fvwm/fvwm.c (Done): added '--dont-preserve-state' option to allow
9339 restarting a fresh fvwm2 without having to specify the call options
9341 * fvwm/events.c (HandleMapRequestKeepRaised): fixed another problem
9342 with recapture/iconified emacs frames. Emacs sends two MapRequest
9343 events. The second iconifies the emacs frame again without removing
9346 1999-07-07 Dominik Vogt <dominik.vogt@gmx.de>
9348 * fvwm/menus.c: menu menu styles VerticalItemSpacing and
9349 VerticalTitleSpacing
9351 * fvwm/builtins.c (MaximizeWidth):
9352 (MaximizeHeight): maximize grow didn't work with sticky icons
9353 fixed maximize grow on other pages than the current one
9354 handle sticky windows properly
9356 1999-07-06 Dominik Vogt <dominik.vogt@gmx.de>
9359 * fvwm/fvwm.c: include module_interface.h
9362 * fvwm/module_interface.h: moved function declarations to
9365 * fvwm/module_interface.c (KillModuleByName): now static
9367 * fvwm/builtins.c (module_zapper): function moved to module_interface.c
9370 * fvwm/virtual.c (HandlePaging): Do not page while the mouse is moving
9371 along one of the sides.
9375 * fvwm/menus.c: paint_menu(): fixed an expose bug
9377 1999-07-06 Dominik Vogt <dominik.vogt@gmx.de>
9379 * fvwm/menus.c (DEFAULT_ITEM_FORMAT): fixed side picture
9381 1999-07-04 Dominik Vogt <dominik.vogt@gmx.de>
9383 * configure.in: changed version to 2.3.6
9385 * fvwm/functions.c (execute_complex_function): -Wall fix
9387 * fvwm/misc.c (Destroy):
9388 (StashEventTime): Removed FocusOnNextTimeStamp (no longer used)
9390 * fvwm/misc.c (Destroy):
9391 * fvwm/events.c (HandleUnmapNotify): fixed focus setting
9393 * fvwm/gnome.c (GNOME_GetStyle): Fixed desk handling in GNOME apps.
9395 1999-07-03 Dominik Vogt <dominik.vogt@gmx.de>
9398 * fvwm/events.c (HandleUnmapNotify):
9399 * fvwm/misc.c (Destroy):
9400 (HandleHardFocus): removed HandleHardFocus function; calls replaced by
9401 SetFocus. Fixes hang with Gnome menu bars.
9403 1999-07-03 Mikhael Goikhman <migo@homemail.com>
9406 * libs/Strings.c (CatString3):
9408 * fvwm/functions.c (FindFunction, NewFvwmFunction):
9409 Fixed char * to be const char *, there are more places to do the same.
9412 * fvwm/fvwm.c ({get|set}InitFunctionName): new functions
9413 * fvwm/fvwm/session.c (SessionInit): use setInitFunctionName
9414 * fvwm/fvwm.c (StartupStuff, Done): use getInitFunctionName
9415 * sample.fvwmrc/system.fvwm2rc:
9416 * fvwm/ConfigFvwmSetup:
9419 New special functions Session{Init|Restart|Exit}Function are executed
9420 instead of {Init|Restart|Exit}Function when running under a SM.
9421 Also mentioned FormFvwmRootCursor. in NEWS and fvwm/ConfigFvwmSetup.
9423 1999-07-02 Paul D. Smith <psmith@gnu.org>
9425 * configure.in: Don't look for a C++ compiler; we don't need one
9426 anymore and it causes lots of configure problems.
9430 * {fvwm,libs}/Makefile.am: Reordered .c file for faster parallel makes.
9431 * libs/ModGraph.c: merged with Picture.c.
9432 * libs/Picture.c: Rewrote InitPictureCmap(), removed SavePictureCMap
9434 * {fvwm/modules}/* Fixes due to the above, removed lots of GetColor()s.
9436 1999-07-01 Paul D. Smith <psmith@gnu.org>
9438 * libs/fvwmlib.h (Background): Change Bool type to unsigned for
9441 * fvwm/screen.h (ScreenInfo): Change Bool type to unsigned for
9444 1999-07-01 Dominik Vogt <dominik.vogt@gmx.de>
9446 * fvwm/module_interface.c:
9447 * fvwm/events.c (HandleVisibilityNotify):
9448 (HandleButtonPress):
9450 * fvwm/builtins.c (CreateConditionMask):
9452 * fvwm/window_flags.h:
9453 rewrote VISIBLE flag and added RAISED flag again. Now they do what they
9454 sound like (close enhancement request #21)
9456 * fvwm/stack.c (CanBeRaised):
9458 * fvwm/events.c (HandleButtonPress): removed function CanBeRaised to
9459 improve raising of windows with transients.
9461 * fvwm/stack.c (RaiseWindow): improved raising of windows with
9463 (CanBeRaised): always raise windows with transients and the
9464 RaiseTransient style
9466 1999-06-30 Dominik Vogt <dominik.vogt@gmx.de>
9468 * fvwm/fvwm.c (SetRCDefaults):
9469 * fvwm/ConfigFvwmDefaults: moved style default to ConfigFvwmDefaults
9471 * fvwm/stack.c (new_layer):
9473 * fvwm/fvwm.h (style_flags):
9474 * fvwm/style.c (ProcessNewStyle): new styles RaiseTransient (default)
9475 and DontRaiseTransient, avoids problem described in bug #290
9477 * fvwm/move_resize.c (resize_window): use RESIZE cursor, implemented
9478 'c' size unit (client defined steps)
9480 * fvwm/functions.c (execute_complex_function):
9481 * fvwm/functions.h (cfunc_action_type): implemented 'H'old trigger for
9484 * fvwm/move_resize.c (ConstrainSize):
9485 * fvwm/add_window.c (GetWindowSizeHints): handle MaxWindowSize in
9486 ConstrainSize. Use the border width to calculate the actual size.
9488 1999-06-29 Dominik Vogt <dominik.vogt@gmx.de>
9490 * libs/Module.c (InitGetConfigLine): use alloca instead of safemalloc
9492 * fvwm/misc.c (HandleHardFocus): disabled HandleHardFocus to see if
9493 this causes any problems.
9495 1999-06-28 Dominik Vogt <dominik.vogt@gmx.de>
9497 * fvwm/events.c (HandleUnmapNotify): removed some copy-and-past code
9500 1999-06-27 Dominik Vogt <dominik.vogt@gmx.de>
9502 * fvwm/builtins.c (WindowShade): update the border when shading a
9505 * fvwm/move_resize.c (resize_window): fixed resizing of shaded windows
9506 (shade didn't move).
9508 1999-06-28 Dominik Vogt <dominik.vogt@gmx.de>
9510 * fvwm/builtins.c (ApplyDefaultFontAndColors): fixed font size
9512 1999-06-28 Mikhael Goikhman <migo@homemail.com>
9514 * fvwm/session.c (my_module): fixed
9515 (MatchWinToSM): When evaluating x and y coordinates for sticky windows
9516 add old_bw before evaluating my_module and then substract it.
9518 1999-06-27 Olivier Chapuis <olivier.chapuis@free.fr>
9520 * fvwm/fvwm2.1: Corrected misprints
9522 1999-06-27 Dominik Vogt <dominik.vogt@gmx.de>
9524 * libs/Parse.c: some clean up, added comments
9525 (GetFileName): convenience function to simplify module code.
9527 * fvwm/fvwm2.1 (ButtonState): new command
9529 * fvwm/borders.c (cmd_button_state): new command to control former
9530 configure options 'activedown-button' and 'inactive-button'
9532 * libs/Parse.c (GetNextTokenIndex):
9533 (GetModuleResource):
9534 (GetSuffixedIntegerArguments):
9535 (GetOnePercentArgument):
9536 (GetRectangleArguments):
9537 use PeekToken instead of GetNextToken
9538 (ParseToggleArgument): a litte performance enhancement
9539 (NukeToken): removed function
9541 * fvwm/functions.c (func_config):
9543 new function ButtonState
9545 * fvwm/cursor.c (CursorStyle):
9546 (SafeDefineCursor): moved from builtins.c to cursor.c
9550 * fvwm/move_resize.c:
9556 * fvwm/add_window.c:
9559 * fvwm/borders.h: new file
9561 * libs/Module.c: include safemalloc.h
9563 * fvwm/windowlist.c:
9570 * fvwm/move_resize.c:
9571 * fvwm/module_interface.c:
9580 * fvwm/decorations.c:
9585 removed inclusion of parse.h
9588 * fvwm/functions.h: moved all code from parse.h to functions.h,
9589 removed file parse.h
9591 1999-06-26 Dominik Vogt <dominik.vogt@gmx.de>
9593 * fvwm/*.h: include stack.h and gnome.h
9595 * fvwm/builtins.c (SetSnapAttraction):
9596 (SetSnapGrid): Snap... called without arguments returns to default
9600 * fvwm/fvwm.c (InitVariables): more definitions taken from defaults.h
9603 * configure.in (FVWM_CONFIGDIR): removed the following configure
9604 options (i.e. they are always on):
9605 borderstyle, extended-titlestyle, gradient-buttons, mini-icons,
9606 multistyle, pixmap-buttons, usedecor, vector-buttons, inactive-button,
9609 * fvwm/Makefile.am (fvwm2_SOURCES): added gnome.h
9611 * fvwm/stack.c (SetDefaultLayers): Don't malloc, PeekToken is enough
9613 * fvwm/windowlist.c:
9618 * fvwm/fvwm.c (InitVariables):
9619 * fvwm/builtins.c (SetDefaultLayers):
9621 * fvwm/add_window.c (AddWindow):
9622 * fvwm/events.c (HandleConfigureRequest):
9623 Moved all layer code to stack.c. Always use this module to manipulate
9625 Moved gnome prototypes to gnome.h (new file).
9626 Moved default layer definitions to defaults.h
9628 * fvwm/gnome.c (GNOME_SetDeskCount):
9629 * fvwm/events.c (HandleConfigureRequest):
9631 * fvwm/builtins.c (raise_function):
9634 * fvwm/add_window.c (AddWindow):
9635 * fvwm/stack.c (remove_window_from_stack_ring):
9636 (add_window_to_stack_ring_after):
9639 (ResyncFvwmStackRing):
9640 Moved all stacking order related code to stack.[ch]. The stacking ring
9641 shouldn't be modified outside this module.
9643 * fvwm/fvwm2.1: documented new cursors
9645 * fvwm/functions.c (DeferExecution): Don't use the select cursor when
9646 only waiting for a button release
9647 (execute_complex_function): improved double click handling (my X server
9648 seems to swallow some rapid button presses, so trigger the double
9649 click when releasing a button after the first click too).
9651 * fvwm/cursor.c (default_cursors): use crosshair instead of queastion
9652 arrow (looks rather ugly). Crosshair is used by xwininfo and xwd for
9655 * fvwm/functions.c (execute_complex_function): Don't change the cursor
9656 during function execution.
9658 * fvwm/misc.c (GrabEm): Enhanded GrabEm so you can grab without
9659 changing the cursor.
9664 * fvwm/add_window.c:
9672 * fvwm/cursor.h: created new files cursor.[ch] for cursor definitions.
9673 Changed select cursor to XC_question_arrow, introduced RESIZE cursor
9674 set to XC_sizing, moved cursor initialisation to cursor.c, made code a
9677 1999-06-26 Mikhael Goikhman <migo@homemail.com>
9679 * fvwm/fvwm.c (parseCommandArgs): use isspace()
9680 * fvwm/placement.c (PlaceWindow): minor spacing
9683 * fvwm/session.c (RestartInSession): added flag, which enables
9684 to call this function unconditionally (needed for saving .fvwm_restart
9685 in all Restart cases).
9686 * fvwm/fvwm.c (Done): fixed Restart command with only spaces
9688 1999-06-25 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
9690 * fvwm/add_window.c (GetWindowSizeHints): print the
9691 cause of brokenness and the broken size hints.
9693 1999-06-25 Chris Rankin <rankinc@zipworld.com.au>
9695 * modules/FvwmTaskBar.c: New signal handling (fvwmsignal.o)
9696 ShutMeDown() is now an exit-procedure
9697 * modules/ButtonArray.c: Fixed linked-list problem in RemoveButton()
9698 * modules/Mallocs.c: Fixed implementation of saferealloc()
9699 * modules/Mallocs.h: Removed duplicate declaration of safemalloc()
9700 (Added "libs/safemalloc.h" to affected .c files)
9702 1999-06-25 Dominik Vogt <dominik.vogt@gmx.de>
9704 * libs/Module.c (InitGetConfigLine): allocate buffer instead of using
9707 * fvwm/misc.c (Destroy): don't try to free a NULL icon pixmap mask
9712 * fvwm/move_resize.c:
9718 * fvwm/builtins.c: include virtual.h
9722 * fvwm/modconf.c, libs/ModGraph.c: removed Gcontext sharing stuff
9724 1999-06-24 Dominik Vogt <dominik.vogt@gmx.de>
9726 * fvwm/fvwm2.1 (IconBox): added a hint how to get auto arranging icons
9728 * fvwm/events.c (HandleMapRequestKeepRaised): fixed bug causing windows
9729 to always start iconic in conjunction with RecaptureWindow
9731 * fvwm/move_resize.c (move_window):
9732 * fvwm/module_interface.c (HandleModuleInput): removed stray fprintfs
9734 * configure.in: changed version to 2.3.5
9736 * fvwm/fvwm2.1 (Stroke): corrected instructions on unbinding default
9739 1999-06-23 Dominik Vogt <dominik.vogt@gmx.de>
9742 * fvwm/builtins.c (truncate_to_multiple): moved to misc.c
9744 * fvwm/icons.c (DeIconify): de-iconify on the current page if icon is
9747 * fvwm/module_interface.c (HandleModuleInput): Set position of faked
9748 button press to location of icon if window is iconified. Fixes bug
9749 when moving icons out of the pager.
9752 * fvwm/functions.c: include virtual.h
9756 * fvwm/misc.h: moved declarations for virtual.c into new file
9758 * fvwm/virtual.c (HandlePaging):
9759 * fvwm/move_resize.c (resize_window):
9761 * fvwm/events.c (HandleEnterNotify): fixed a bug in HandlePaging that
9762 caused pages to flip too fast
9764 * fvwm/move_resize.c (AnimatedMoveAnyWindow): added forgotten
9765 call to StashEventTime
9767 * fvwm/virtual.c (HandlePaging): fixed internal logic bug (paging done
9769 (HandlePaging): fixed bug when event time is zero
9771 11999-06-23 Dominik Vogt <dominik.vogt@gmx.de>
9773 * fvwm/fvwm.c (Done): fixed -Wall warnings
9774 * libs/envvar.c (getFirstEnv): removed unused variables
9776 1999-06-23 Dominik Vogt <dominik.vogt@gmx.de>
9778 * fvwm/placement.c (PlaceWindow): added warning when SkipMapping,
9779 ActivePlacement and StartsOn... are used together
9781 * fvwm/virtual.c (MoveViewport):
9782 * fvwm/icons.c (AutoPlaceIcon):
9783 * fvwm/events.c (HandleConfigureRequest): same modification for more
9784 Broadcasts as in the previous patch by Matthias.
9786 1999-06-22 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
9788 * fvwm/move_resize.c (move_window_doit): broadcast the
9789 icon_p_width, not the icon_w_width to avoid growing icons in
9792 1999-06-22 Dominik Vogt <dominik.vogt@gmx.de>
9794 * fvwm/move_resize.c (moveLoop): fixed moving icons (didn't communicate
9795 to modules correctly).
9796 (moveLoop): fixed SnapGrid with FvwmPager
9797 (moveLoop): fixed bug that caused windows to jump around
9799 * fvwm/events.c (HandleConfigureRequest): fixed bug in ConfigureNotify
9800 handler: modules couldn't reconfigure maximized windows
9802 * fvwm/menus.c (DEFAULT_ITEM_FORMAT): Removed the gap between side pic
9805 1999-06-21 Mikhael Goikhman <migo@homemail.com>
9808 * libs/envvar.c (getFirstEnv): new public function
9809 (getEnv): added parameter
9810 (envExpand, envDupExpand): removed dirty hack using 'save'
9812 * fvwm/fvwm2.1 (Restart):
9813 * fvwm/fvwm.c (parseCommandArgs): added expanding of ${VAR} and ~.
9815 1999-06-21 Dan Espen <dane@mk.bellcore.com>
9817 * AUTHORS: A little update to my entry, moved 2 entries into
9818 correct alphabetic sequence.
9820 1999-06-20 Mikhael Goikhman <migo@homemail.com>
9822 * fvwm/fvwm.c, fvwm/session.c, fvwm/fvwm2.1:
9823 recovered "-restore" option
9825 * fvwm/fvwm.c (StartupStuff): restore file is removed after usage.
9827 * fvwm/session.c (LoadWindowStates): fixed reading [WM_COMMAND]
9828 (SaveWindowStates): fixed writing [RES_NAME] and [RES_CLASS]
9830 1999-06-20 Chris Rankin <rankinc@zipworld.com.au>
9832 * modules/FvwmPager/FvwmPager.c: Changed signal handling to use
9833 the fvwmsignal modules.
9835 1999-06-19 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
9837 * fvwm/fvwm.c (main):
9838 (StartupStuff): Grab the pointer during startup with cursor XC_watch.
9840 1999-06-19 Mikhael Goikhman <migo@homemail.com>
9842 * fvwm/fvwm.c (getBasename): removed
9843 (Done): Improved Restart logic - three forms (no special cases)
9844 include 'Restart', 'Restart wm params', 'Restart --pass-args wm'.
9845 (StartupStuff): Deleting .fvwm_restart after usage (currently
9846 renaming it to .fvwm_restart.last).
9847 * fvwm/fvwm2.1: updated documentation for Restart
9849 1999-06-18 Tim Cutts <tim.cutts@incyte.com>
9851 * libs/System.c (getostype): Code was assuming that buf had been
9852 initialised to nulls. Under Solaris 2.5.1/gcc, this is not the
9853 case and OSTYPE in FvwmM4 was being set to garbage and SunOS stuck
9854 on the end. Set the initial byte of buf to \0 to fix this. There
9855 may be other bugs of this type elsewhere.
9857 1999-06-18 Mikhael Goikhman <migo@homemail.com>
9859 * sample.fvwmrc/new-features:
9860 * sample.fvwmrc/system.fvwm2rc:
9861 * sample.fvwmrc/system.fvwm2rc-sample-1:
9862 * sample.fvwmrc/system.fvwm2rc-sample-2:
9863 Replaced "Restart fvwm2" with "Restart" and "Restart fvwm" with
9864 "Restart fvwm -s" anywhere.
9866 * fvwm/fvwm.c (Done, getBasename):
9871 Removed all references to "-restore".
9873 1999-06-18 Dominik Vogt <dominik.vogt@gmx.de>
9875 * fvwm/fvwm.c (SetRCDefaults): added FvwmConsole to builtin menu
9877 * fvwm/menus.c (GetMenuOptions): fixed 'rectangle' menu position
9880 1999-06-18 Mikhael Goikhman <migo@homemail.com>
9882 * fvwm/fvwm.c (main):
9883 (InitVariables): calling LoadWindowStates, LoadGlobalState only
9886 1999-06-17 Dominik Vogt <domivogt@bvstp038.bbn.hp.com>
9888 * fvwm/builtins.c (ReadTitleButton): fixed compile error if MINI_ICONS
9889 is defined but not PIXMAP_BUTTONS
9891 * fvwm/borders.c (RedrawBorder): fixed compile error if BORDERSTYLE
9894 1999-06-17 Dominik Vogt <domimik.vogt@gmx.de>
9896 * fvwm/fvwm.c (Done): applied another restart patch by Mikhael
9898 1999-06-10 Mikhael Goikhman <migo@homemail.com>
9900 * fvwm/fvwm.h, fvwm/fvwm.c, fvwm/placement.c:
9901 restored all removed code with _XA_WM_DESKTOP,
9902 restored SaveDesktopState(),
9903 implemented yet better logic for Restart command (Done),
9904 no options added on a native Restart (-s, -restore) anymore,
9905 completely removed -restore fvwm command argument.
9907 1999-06-16 Dominik Vogt <dominik.vogt@gmx.de>
9909 * utils/BuildXLockMenu.in: fixed bug: item titles were filled with
9910 spaces to up to 9 bytes, screwed up titles with right justified text
9912 1999-06-15 Dan Espen <dane@mk.bellcore.com>
9915 * fvwm/fvwm2.1 (BUILT IN KEY AND MOUSE BINDINGS): Describe the Help,
9916 F1 and Meta-Tab builtin bindings.
9918 1999-06-13 Dominik Vogt <dominik.vogt@gmx.de>
9921 * libs/Bindings.c (GrabAllWindowKeysAndButtons): small fix for strokes
9923 Simplified STROKES patch (less #ifdefs)
9925 1999-06-14 Dominik Vogt <domivotdomivogt@bvstp038.bbn.hp.com>
9927 * fvwm/menus.c (pop_menu_up):
9928 (pop_menu_down): don't ungrab the pointer during dynamic actions
9930 1999-06-14 Dominik Vogt <dominik.vogt@gmx.de>
9932 * fvwm/misc.c (GetMoveArguments): handle MoveToPage without arguments
9933 as described in the man page (patch by Chetan Patil)
9935 1999-06-12 Dominik Vogt <dominik.vogt@gmx.de>
9937 * fvwm/menus.c (paint_item):
9942 (GetMenuStyleIndex): cleaned up strange hotkey code, renamed the
9943 MenuItem members so you can guess from their name what they do,
9944 fixed automatic hotkeys to play nicely with numbers as hotkeys,
9945 rewrote draw_underline to do something comprehensible, removed
9946 member 'chhotkey' from MenuItem struct (was used only once),
9947 AutomaticHotkeys can be switched on/off even after the menus have
9949 (menuShortcuts): fixed character handling with is... macros.
9950 (pop_menu_up): fixed bug that caused v/HGradient menus to always
9951 hilight the first item when invoked with a key stroke.
9953 * utils/fvwm_make_directory_menu.sh: improved performance dramatically
9954 by letting sed do all the work
9957 * fvwm/menus.h: renamed 'AutomaticHotkey' to 'AutomaticHotkeys'
9960 1999-06-10 Michael Han <mikehan@best.com>
9962 * fvwm/menus.c (AddToMenu, GetMenuStyleIndex, NewMenuStyle):
9963 added AutomaticHotkey handling
9964 * fvwm/menus.h: Added a "feel" flag for automatic_hotkey and
9965 macros to handle the flag
9966 * fvwm/fvwm2.1: documentation for AutomaticHotkey MenuStyle
9968 1999-06-11 Bob Woodside <proteus@pcnet.com>
9970 * fvwm/borders.c (SetupFrame): Reinstated the ConfigureNotify, so
9971 apps know where their windows are after they're moved by the window
9976 * fvwm/{{colors,fvwm,icons}.c,screen.h}: clean up of icon rendering:
9977 removed Bool usingDefaultVisual & GC IconPixmapGC,
9978 client supplied icon bitmaps are always drawn in correct colors,
9979 client supplied icon pixmaps have no relief when fvwm is using a
9982 1999-06-10 Chris Rankin <rankinc@zipworld.com.au>
9984 * modules/Fvwm{Icon{Man,Box},WinList}: Modified signal handling
9987 1999-06-09 Bob Woodside <proteus@pcnet.com>
9989 * fvwm/fvwm.c: Fixed the problem of windows wandering after a
9990 Restart from a page other than 0,0, followed by a Recapture.
9991 * fvwm/placement.c: Corrected my overzealous attempt to keep windows
9992 from switching desktops on Restart/Recapture, which broke a couple
9993 of the StartsOnPage options.
9995 1999-06-09 Dominik Vogt <dominik.vogt@gmx.de>
9997 * fvwm/menus.c: increased item height by one pixel
9999 1999-06-08 Dominik Vogt <dominik.vogt@gmx.de>
10001 * fvwm/menus.c: Rewrote menu code so that MakeMenu is only called when
10002 menus are mapped. This should save quite some time when building
10003 dynamic menus. This used to call MakeMenu once for every new item.
10005 * fvwm/menus.c (MakeMenus): function no longer needed.
10007 * fvwm/fvwm.c (StartupStuff): no need to call MakeMenus any more
10009 * fvwm/windowlist.c (do_windowList): no need to call MakeMenu any more
10012 * fvwm/fvwm.c: Applied update to strokes patch
10014 1999-06-08 Dominik Vogt <dominik.vogt@gmx.de>
10016 * fvwm/menus.c: Implemented a 'MissingSubmenuFunc' to allow better
10017 dynamic configurability for dynamic menus. This makes it possible to
10018 implement a file browser creating submenus on the fly.
10020 * fvwm/menus.c (size_menu_horizontally): fixed bug in placement of
10021 '>' submenu triangle with long titles
10023 1999-06-07 Dominik Vogt <dominik.vogt@gmx.de>
10025 * fvwm/menus.c (mr_popup_for_mi): use PeekToken instead of GetNextToken
10027 * fvwm/move_resize.c (DoSnapAttract): fixed 'shaking windows' when
10030 * fvwm/menus.c (pop_menu_down_and_repaint_parent):
10032 fixed flickering gradient root menus that popped up themself
10034 1999-06-06 Dominik Vogt <dominik.vogt@gmx.de>
10036 * fvwm/menus.c (paint_item): Fixed previous patch.
10038 * fvwm/menus.c (paint_item):
10039 gradient menus may have a hilit background too
10041 1999-06-06 Mikhael Goikhman <migo@homemail.com>
10043 * fvwm/fvwm.c (Done, parseCommandArgs):
10044 Implemented and used function parseCommandArgs(), accept shell-like
10045 syntax in the Restart command.
10047 * fvwm/fvwm.c (Done, getBasename):
10048 Implemented and used function getBasename(). If fvwm argv[0] is
10049 [path1/]the_executable, the two forms "Restart [path2/]the_executable"
10050 and "Restart" work as a native restart (using session or -restore -s).
10051 Any other form of the Restart command processed as a foreign restart
10052 (with command parsing). The argument list is limited to 30.
10054 Sun Jun 6 21:12:39 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
10057 * libs/Module.h: new function ParseModuleArgs.
10060 * libs/Strings.h: new function StrHasPrefix.
10062 * fvwm/repeat.c: include libs/Parse.h.
10069 * fvwm/virtual.c: tidying up.
10071 1999-06-05 Ke Huang <kh6@cec.wustl.edu>
10073 * acconfig.h: added HAVE_STROKE
10075 * configure.in: added check for libstroke
10077 * fvwm/Makefile.am: added stroke_LIBS and stroke_CFLAGS
10079 * fvwm/bindings.c: added stroke_binding, and ifdefs for ParseBinding()
10081 * fvwm/bindings.h: added prototypes for strokes
10083 * fvwm/events.c: added HandleMotionNotify and HandleButtonRelease
10085 * fvwm/events.h: added prototypes
10087 * fvwm/functions.c: added stroke command
10089 * fvwm/fvwm.c: added MotionMasks for X.
10091 * fvwm/parse.h: added F_STROKE
10093 * libs/Bindings.c: new prototypes for AddBinding, RemoveBinding,
10096 * libs/fvwmlib.h: new prototypes, and new defines for BindingType
10097 and Binding struct.
10099 1999-06-06 Dominik Vogt <dominik.vogt@gmx.de>
10101 * fvwm/menus.c (get_xy_from_position_hints): fixed a bug in position
10102 hints for root menus
10103 (get_selectable_item_index): fixed bug in cursor key menu navigation
10105 1999-06-05 Dominik Vogt <dominik.vogt@gmx.de>
10107 * fvwm/menus.c (size_menu_horizontally): removed 'fix' in placement of
10108 %r and %c columns (titles not drawn properly)
10110 * configure.in: changed version to 2.3.4
10112 * fvwm/menus.c: Made position hints refering to menus play nicely with
10114 Added an additional mini icon to the right of the item.
10115 (scanForPixmap): remove UGLY_WHEN_PIXMAPS_MISSING code
10116 (size_menu_horizontally): fixed bug in placement of %r and %c columns
10118 * fvwm/menus.c (pop_menu_up et al.): the side on which sub menus pop up
10119 reverses once one menu hit the left or right border
10120 (MenuInteraction): fixed key press warping: don't warp if the key press
10121 has no meaning (broken in earlier patches).
10123 * fvwm/borders.c (SetupFrame): -Wall fix
10125 1999-06-04 Dominik Vogt <dominik.vogt@gmx.de>
10127 * fvwm/menus.c (do_menu):
10128 (get_prefered_popup_position):
10131 * fvwm/menus.c (GetOneMenuPositionArgument): fixed off-by-one bug in
10132 position hint calculations.
10133 (MenuInteraction): fixed coredump when up/down is pressed when the
10134 pointer is not on a menu
10135 (menuShortcuts): made up/down key press handling more intuitive when
10136 not on a menu (hopefully)
10137 (do_menus_overlap): fixed calculations with negative value of
10139 (size_menu_horizontally): use '%|' instead of '%[' and '%]' in the
10142 * fvwm/fvwm.c (CreateCursors): changed default menu cursor to
10145 * fvwm/menus.c (paint_menu): removed fix for drawing the selected item.
10146 (paint_item): suppress border redrawing when this was already done by
10148 (paint_menu): centralised drawing or menu border; speeds expose events
10149 when only the border was obscured.
10150 (item_middle_y_offset): fixed bug: offset didn't take the relief
10151 thickness into account
10153 * fvwm/menus.c: made menu items two pixels shorter
10155 * fvwm/menus.c (paint_menu): fix for drawing the selected item.
10157 * fvwm/menus.c: major rewrite to allow a lot more freedom in menu
10158 layouts. See documentation of MenuStyle options BorderWidth,
10159 SubmenusLeft, Hilight3DThickness and ItemFormat. This fixes the
10160 left vs right alignment problem in menu items.
10162 * fvwm/modconf.c (SendDataToModule): -Wall fix
10163 * fvwm/events.c (DispatchEvent): -Wall fix
10164 (HandleUnmapNotify): -Wall fix
10166 1999-06-03 Dominik Vogt <dominik.vogt@gmx.de>
10168 * fvwm/misc.c (ButtonPosition): moved function from menus.c to misc.c
10170 1999-06-01 Dominik Vogt <dominik.vogt@gmx.de>
10172 * fvwm/menus.c (FreeMenuItem):
10173 (merge_continuation_menus):
10175 1999-06-03 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
10177 * fvwm/events.c (HandleConfigureRequest): send the synthetic
10178 ConfigureNotify here whenever the client may not receive a real
10179 ConfigureNotify on its toplevel window (as the ICCCM demands).
10180 As a hack to support buggy tk, duplicate the ConfigureNotify on
10183 * fvwm/borders.c (SetupFrame): ifdef out the code for sending
10184 synthetic ConfigureNotify events. This should only be done in
10185 response to ConfigureRequests, thus it is better done in
10186 HandleConfigureRequest. This was old twm heritage. The sendEvent
10187 parameter is now defunct.
10191 * fvwm/colors.c: new gradient styles for the DefaultBackground
10192 command: S = concentric squares, C = concentric circles, R = radar &
10193 Y = Yin Yang (without the dots, I am not that manic).
10195 1999-06-02 Matthias Clasen <clasen@pong.mathematik.uni-freiburg.de>
10197 * fvwm/session.c (LoadGlobalState): Make restarting return to
10200 1999-05-31 Dominik Vogt <dominik.vogt@gmx.de>
10202 * fvwm/fvwm.c (main): applied fixed restart patch by Mikhael Goikhman
10204 1999-05-30 Dominik Vogt <dominik.vogt@gmx.de>
10206 * fvwm/menus.c (SelectMenuItem): fixed another x error message
10208 * fvwm/fvwm.c (main): applied restart patch by Mikhael Goikhman
10210 * fvwm/menus.c (SelectMenuItem): Fixed X error message 54/4/14: No
10211 longer try to delete a stored item twice.
10212 (MenuInteraction): Do not unselect a popup menu item when we leave the
10213 menu and the submenu stays up.
10214 (MenuInteraction): Fixed bug that caused a submenu to pop up when
10215 leaving a menu into an item of its parent that pops up the parent
10217 (MenuInteraction): Only raise the parent menu if it is obscured when
10218 moving back with the keyboard.
10219 (NewMenuStyle): fixed reversed 'HoldSubmenus' default for fvwm/mwm/win
10222 1999-05-29 Dominik Vogt <dominik.vogt@gmx.de>
10224 * fvwm/menus.h (MenuRootStatic): moved temp_flags to dflags of
10225 MenuRootDynamic. Multiple copies of a menu now get their V/HGradient
10228 * fvwm/menus.c (MenuInteraction): Harmonized function internal flags
10229 with GSFR style flags.
10231 * fvwm/windowlist.c (do_windowList):
10232 * fvwm/menus.c (do_menu):
10234 * fvwm/menus.h (MenuParameters):
10235 Added flag 'is_already_mapped' to be used in do_menu() to fix
10236 unnecessary menu duplication with mouse movement.
10238 * fvwm/builtins.c (ReadButtonFace):
10239 * fvwm/colors.c (ParseGradient):
10240 * fvwm/menus.c (ReadMenuFace):
10241 * fvwm/defaults.h: Macro MAX_GRADIENT_SEGMENTS controls how many
10242 colours may be allocated for a single gradient. Increased this from
10243 128 to 1000. The menu code uses an array for this and wastes 4k. I hope
10244 this will soon be changed when the gradient code is moved into the lib.
10246 Sat May 29 13:54:21 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
10248 * libs/Module.h: replaced HEADER_SIZE and the like with two macro
10249 sets FvwmPacket*Size and FvwmPacket*Size_byte.
10253 * fvwm/module_interface.c: rewrite with new packet size macros.
10255 Sat May 29 13:35:11 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
10257 * libs/Module.c (GetConfigLine): rewrote to use new ReadFvwmPacket
10260 * libs/Module.c (ReadFvwmPacket): rewrite function to eliminate
10261 callback to DeadPipe() upon end-of-file or error. The caller must
10262 now check the return value. Returns an FvwmPacket pointer.
10264 * libs/Module.h: changed fvwm_packet_t to FvwmPacket.
10266 1999-05-28 Bob Woodside <proteus@pcnet.com>
10268 * fvwm/virtual.c (changeDesks): Removed testing code.
10270 1999-05-28 Bob Woodside <proteus@pcnet.com>
10272 * fvwm/add_window.c (AddWindow): Preserve the desk setting when re-
10273 using an FvwmWindow struct, to keep Recapture from losing track of
10274 which desk a window is on.
10276 * fvwm/fvwm.c (CaptureAllWindows): Restored the old XFindContext check
10277 of each window, and removed the attempt to follow the FvwmWindow chain
10278 (which gets modified with each call to CaptureOneWindow). This fixes
10279 a random failure to set styles and desk correctly during a Recapture.
10281 * fvwm/placement.c (PlaceWindow): Bypass all the "which desk to start
10282 on" logic during initial Capture or Recapture, so the saved desk will
10285 1999-05-28 Dominik Vogt <dominik.vogt@gmx.de>
10287 * fvwm/builtins.c (setShadeAnim): rewrote and fixed buggy parsing
10289 * fvwm/screen.h (ScreenInfo):
10290 * fvwm/fvwm.c (InitVariables): moved static global shade_anim_steps to
10293 * fvwm/builtins.c (SetOpaque): invalid argument returns to default
10294 (setShadeAnim): fixed memory leak
10296 * fvwm/builtins.c (SetOpaque):
10297 * fvwm/fvwm.c (InitVariables):
10298 * fvwm/defaults.h (DEFAULT_OPAQUE_MOVE_SIZE): use new constant
10300 * fvwm/builtins.c (SetXORPixmap): omit pixmap name to return to default
10301 (SetXOR): invalid parameter returns to default
10303 * fvwm/fvwm.c (InitVariables):
10305 * fvwm/defaults.h: moved MAX_WINDOW_WIDTH and MAX_WINDOW_HEIGHT to
10306 defaults.h and renamed them to DEFAULT_...
10308 * fvwm/add_window.c (GetWindowSizeHints):
10309 * fvwm/builtins.c(SetMaxWindowSize):
10310 * fvwm/screen.h (ScreenInfo):
10311 * fvwm/parse.h (enum):
10312 * fvwm/functions.c (func_config):
10313 implemented MaxWindowSize command.
10315 1999-05-25 Ben Mansell <ben.mansell@deathsdoor.com>
10318 * fvwm/borders.c (SetBorder): Moved the border redrawing code to a
10319 new function, RedrawBorder, which is called by SetBorder. SetBorder
10320 still contains a call to SetTitleBar, whilst RedrawBorder will not
10321 call this function.
10322 * fvwm/events.c (HandleExpose): Changed the SetBorder call into
10323 RedrawBorder. This prevents unnecessary title bar redraws.
10325 Wed May 26 19:45:08 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
10327 * fvwm/colors.c (PI): might be defined in system headers like
10330 * libs/Parse.h (XCmpToken): prototype this function, but add cast
10331 to the bsearch() call in FindToken macro. This avoids the warning
10332 "passing arg 5 of `bsearch' from incompatible pointer type".
10334 * libs/Makefile.am (libfvwm_a_SOURCES): add wild.h, safemalloc.h,
10335 fvwmsignal.h, Grab.h, and ClientMsg.h.
10337 * fvwm/Makefile.am (fvwm2_SOURCES): add colormaps.h
10339 * fvwm/windowlist.c (winCompare): make static.
10341 * fvwm/stack.c (intersect, overlap_box, overlap): make static.
10343 * fvwm/session.c (SaveGlobalState, GetWindowRole, GetClientID,
10344 SaveWindowStates, matchWin): make static.
10346 * fvwm/session.c (MyIoErrorHandler): make a prototype.
10348 * fvwm/session.c: include session.h.
10350 * fvwm/read.c: include read.h.
10352 * fvwm/module_interface.c (SendNewPacket, BroadcastNewPacket,
10353 SendMiniIcon): make static.
10355 * fvwm/modconf.c (make_look_packet): make prototype and declare
10358 * fvwm/misc.c (ComputeActualPosition): commented out unused
10361 * fvwm/menus.c (PaintSidePic, FreeMenuItem, scanForHotkeys,
10362 scanForPixmap): make static.
10364 * fvwm/fvwm.c (InternUsefulAtoms, InitVariables): make static.
10366 * fvwm/colormaps.c: include colormaps.h.
10367 * fvwm/colormaps.h: new file of prototypes.
10369 * fvwm/builtins.c: make CreateFlagString, FreeConditionMask,
10370 DefaultConditionMask, CreateConditionMask, MatchesConditionMask,
10371 and Circulate static functions.
10373 * fvwm/screen.h: prototype AddToDecor.
10375 1999-05-26 Chris Rankin <rankinc@zipworld.com.au>
10377 * libs/fvwmsignal.c: added <sys/select.h> header.
10379 * fvwm/events.c: removed <sys/select.h>, <signal.h> header.
10381 * modules/FvwmButtons/FvwmButtons.c: Replaced select() with
10382 fvwmSelect() in FvwmButtons, altered signal installation and fixed
10383 some invalid C prototypes.
10385 1999-05-26 Matthias Clasen <clasen@pong.mathematik.uni-freiburg.de>
10387 * fvwm/session.c (LoadGlobalState):
10388 (MatchWinToSM): restore only the "dynamic" state if we are
10389 restarting. Otherwise, Restarting becomes useless for rereading
10390 a changed rc file. By "dynamic" state I mean: geometry, desk,
10391 layer and maximizedness/shadedness/iconification. This fixes
10392 the second part of bug #315.
10394 1999-05-25 Matthias Clasen <clasen@pong.mathematik.uni-freiburg.de>
10396 * fvwm/borders.c (SetBorder): remove unused variable `w'.
10398 1995-05-24 Bob Woodside <proteus@pcnet.com>
10400 * fvwm/functions.c:
10402 * fvwm/virtual.c: New GoToDeskAndPage command to replace the Pager's
10403 old "GoToDesk 0 10000" hack. Most of changeDesks is removed to 2 new
10404 functions, UnmapDesk and MapDesk.
10406 Mon May 24 20:13:34 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
10408 * utils/Makefile.am (fvwmbug): fix build rule that had the
10409 filename before the '-e' options of 'sed'.
10411 Mon May 24 17:45:34 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
10413 * libs/wild.c: include wild.h.
10415 * libs/safemalloc.c: include safemalloc.h.
10417 * libs/fvwmlib.h: include ClientMsg.h, Grab.h, and safemalloc.h.
10419 * libs/Parse.c (SkipSpaces,CopyToken): make static.
10420 * libs/Parse.c (CheckNTokens): comment out unused function.
10422 * libs/Grab.c: include Grab.h.
10424 * libs/Bindings.c (GrabWindowButton): make static.
10427 * libs/safemalloc.h:
10429 * libs/ClientMsg.h: new files.
10431 1999-05-24 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
10433 * fvwm/fvwm.c (Done): call RestartInSession if command is
10434 empty or contains "fvwm". Remove unnecessary "if (command)"
10435 statements, since Done is never called as Done (1, NULL).
10436 That wouldn't work anyway, since Done uses strstr on command
10437 without checking for NULL. If exec of command fails, try
10438 g_argv[0] with the newly constructed my_argv before reverting
10439 to g_argv (makes Restart without argument work again).
10441 1999-05-24 Dan Espen <dane@mk.bellcore.com>
10443 * fvwm/functions.c (expand): Applied patch from Brad to fix
10444 expansion of NULL args.
10446 Sun May 23 16:49:12 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
10448 * utils/Makefile.am (fvwmbug): generate fvwmbug from fvwmbug.sh
10449 * configure.in: generate utils/fvwmbug.sh from utils/fvwmbug.sh.in.
10451 * utils/fvwmbug.sh.in: new file.
10452 * utils/fvwmbug.1: new file.
10454 1999-05-23 Dominik Vogt <dominik.vogt@gmx.de>
10456 * fvwm/module_interface.c (DeadPipe): backed out DeadPipe signal
10459 Sat May 22 17:40:57 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
10461 * fvwm/menus.c (PopDownMenu): removed unused variable `f'.
10463 * fvwm/fvwm.c (CaptureOneWindow): removed unused variable `data'.
10465 * libs/Bindings.c (GrabWindowKey): removed unused variable
10468 1999-05-22 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
10470 * fvwm/screen.h (ButtonState):
10471 * fvwm/builtins.c (button_states): new button states ToggledActiveUp,
10472 ToggledActiveDown, ToggledInactive.
10473 * fvwm/borders.c (get_button_state): new argument Bool toggled.
10475 (SetTitleBar): calculate toggled and feed it to get_button_state.
10477 * fvwm/fvwm2.1: explain new toggled button states.
10482 * fvwm/borders.c (DrawButton):
10483 * fvwm/builtins.c (ButtonStyle): add MWMDecorStick as a button
10484 style flag to support toggle buttons for the Stick function.
10486 * fvwm/borders.c (SetBorder):
10487 * fvwm/builtins.c (ChangeDecor): Make SetBorder with force > 1
10488 mean: do a *full* redraw, including backgrounds. Use this to
10491 * fvwm/builtins.c (CreateConditionMask):
10493 * fvwm/fvwm2.1: Add [!]Shaded to the supported conditions.
10495 1999-05-21 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
10497 * fvwm/fvwm2.1: replace one occurance of MWMDecorMax by
10500 1999-05-22 Dominik Vogt <dominik.vogt@gmx.de>
10502 * fvwm/menus.c (NewMenuStyle): new options HoldSubmenus and
10505 * fvwm/builtins.c (ReadButtonFace): removed stray fprintf
10507 * fvwm/menus.c: more work on multiple menu instances and tear-off menus
10509 * menus.c: use ExecuteFunctionSaveTmpWin
10511 * fvwm/functions.c (ExecuteFunctionSaveTmpWin): wrapper around
10512 ExecuteFunction that restores Tmp_win
10514 * fvwm/menus.c (MakeMenu):
10516 Split off dynamic part of MakeMenu and moved it to new function.
10518 * fvwm/menus.c (MenuInteraction):
10519 Backed out ret_event argument. We can safely continue to use the global
10520 Event. Caused a bug when executing functions from window menus.
10522 * fvwm/events.c (HandleEvents):
10523 * fvwm/functions.c (DeferExecution):
10524 * fvwm/move_resize.c (resize_window):
10526 * fvwm/builtins.c (wait_func):
10527 * fvwm/menus.c (MenuInteraction):
10528 * fvwm/events.c (DispatchEvent):
10529 Added a parameter to DispatchEvent that allows to preserve the current
10530 Tmp_win when calling. Fixes a bug in menus.
10532 * fvwm/functions.c (DeferExecution): Fixed a bug that caused function
10533 to work on a random window.
10537 * libs/Graphics.c: CreateStretch*Pixmap: small adjustments
10538 * fvmw/colors.c: New function ParseGradient used for turning a string
10539 into something suitable for AllocNonLinerGradient()
10540 * fvwm/colors.c: New function CreateGradientPixmap understands H, V & D
10542 * fvwm/builtins.c: SetDefaultBackground() understands gradients
10544 Mon May 17 21:38:18 1999 DanEspen <dje@blue>
10546 * libs/Module.c (GetConfigLine): New function "InitGetConfigLine"
10547 so module only gets config lines it wants.
10549 * fvwm/modconf.c (SendDataToModule): If matching active, only send
10550 matching config lines.
10552 1999-05-20 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
10554 * fvwm/icons.c (CreateIconWindow): remove some code which
10555 prevented the creation of offscreen icons. This should't be
10556 a problem, since AutoPlaceIcon takes care of this later. But
10557 it enables Restart to put icons in the proper place.
10559 * fvwm/icons.c (Iconify):
10560 (CreateIconWindow):
10561 * fvwm/events.c (HandleMapRequestKeepRaised):
10562 (HandlePropertyNotify):
10563 remove some #ifdef SESSION's, since the session stuff is now
10564 also used for restarting.
10566 * fvwm/builtins.c (ReadButtonFace): Initialize vc->line_style to 0
10567 before reading a line pattern.
10569 1999-05-20 Dominik Vogt <dominik.vogt@gmx.de>
10571 * fvwm/menus.c (DestroyMenu):
10572 (NewMenuRoot): changes to handle multiple instances of the same menu
10573 (CopyMenuRoot): new function to create a copy of a menu
10577 * fvwm/windowlist.c:
10578 split members of MenuRoot into a dynamic part (MenuRootDynamic) and a
10579 static part (MenuRootStatic). The static members can safely be shared
10580 between multiple instances of the same menu while the dynamic members
10581 have to be created for each instance
10582 introduced MR_... macros to access MenuRoot members
10584 1999-05-19 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
10586 * fvwm/screen.h (ButtonFace): reduce memory consumption by
10587 moving the vector member into the union and making it more compact.
10588 The old vector_coords always used 61 ints. The new vector_coords
10589 use 10 ints for the most common case of buttons with a pattern of
10590 4 lines. Considering that I counted up to 33 ButtonFace structs
10591 per FvwmDecor, this should sum up to a memory reduction of
10592 approx. 6k / FvwmDecor.
10594 * fvwm/fvwm.c (LoadDefaultLeftButton):
10595 (LoadDefaultRightButton):
10596 (ResetAllButtons): adapt to new vector_coords.
10598 * fvwm/builtins.c (FreeButtonFace): free the dynamically allocated
10599 memory in vector_coords.
10600 * fvwm/builtins.c (ReadButtonFace): allocate memory for
10601 vector_coords dynamically, allow up to 32 points in vector
10602 patterns, since we use a long to hold the line_style flags.
10604 * fvwm/borders.c (DrawButton):
10605 (DrawLinePattern): adapt to new vector_coords.
10607 * fvwm/fvwm2.1: document the limit of 32 points / pattern.
10609 1999-05-18 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
10611 * fvwm/fvwm.c: remove SaveDesktopState, remove all references
10612 to _XA_WM_DESKTOP, set the Restarting flag based on restore_filename.
10613 (Done): don't move to viewport 0,0 if restarting.
10615 * fvwm/placement.c (PlaceWindow):
10616 * fvwm/fvwm.h: remove _XA_WM_DESKTOP
10620 * fvwm/{fvwm,read}.c: Fixed startup delays due to having modules
10621 started by reading a file. The only modules that are waited for are
10622 those specified on the command line.
10624 1999-05-19 Dominik Vogt <dominik.vogt@gmx.de>
10626 * configure.in: changed version to 2.3.3
10628 * fvwm/menus.h: more preparations for tear-off menus
10630 * fvwm/menus.c (MenuInteraction): fixed coredump with double key press
10632 1999-05-18 Dominik Vogt <dominik.vogt@gmx.de>
10634 * libs/Parse.h (MAX_TOKEN_LENGTH): increased MAX_TOKEN_LENGTH from 255
10635 to 1023. Was not big enough for ImagePath!
10637 * fvwm/modconf.c (SendDataToModule): send the MoveThreshold value to
10640 1999-05-18 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
10642 * fvwm/fvwm.h (common_flags_type): new member has_depressable_border.
10644 * fvwm/window_flags.h (HAS_DEPRESSABLE_BORDER): accessor macro.
10646 * fvwm/style.c (ProcessNewStyle): new styles
10647 DepressableBorder/FirmBorder to set has_depressable_border.
10649 * fvwm/borders.c (SetBorder): remove undocumented dependency of
10650 border depressability on has_mwm_buttons. Use
10651 has_depressable_border instead.
10654 * fvwm/fvwm2.1: document DepressableBorder/FirmBorder.
10656 Tue May 18 12:44:11 1999 Steve ROBBINS <stever@bic.mni.mcgill.ca>
10658 * acinclude.m4: AC_FUNC_SELECT may fail on certain AIX machines;
10659 bugfix from Lars Hecking.
10661 1999-05-18 Dominik Vogt <dominik.vogt@gmx.de>
10663 * fvwm/menus.c: menus.c should be reentrant now; the MenuRoot struct
10664 itself still needs some work, but not today
10666 * fvwm/menus.c: removed extern reference to Tmp_win
10667 removed extern reference to Context
10668 removed static variables dkp_...
10669 made position hint code reentrant
10670 removed extern reference to ButtonWindow
10671 made fWarpPointerToTitle code reentrant
10672 removed extern reference to Event
10675 * fvwm/misc.c (check_if_fvwm_window_exists): function to make sure that
10676 the given FvwmWindow structure is still valid
10678 1999-05-17 Dominik Vogt <dominik.vogt@gmx.de>
10680 * fvwm/move_resize.c:
10681 * fvwm/events.c: dont use external menuFromFrameOrWindowOrTitlebar
10685 * fvwm/menus.c: renamed the flags, removed 'allflags' from unions and
10686 restructured MenuRoot structure.
10687 Fixed '^<colour>^' in menu titles, removed some nearly unused macros.
10689 1999-05-17 Matthias Clasen <clasen@pong.mathematik.uni-freiburg.de>
10691 * fvwm/icons.c (AutoPlaceIcon): don't move window unless it is
10694 * fvwm/builtins.c (Maximize): remove (harmless) bug: applying
10695 IsRectangleOnThisPage to orig_g is never correct, since the
10696 orig_g values are desk-relative, not page-relative.
10700 * removed libs/ModGraph.h
10701 * libs/ModGraph.c: new structure Background: contains useful stuff
10702 * libs/Graphics.c: new functions CreateStretch{X,Y,}Pixmap()
10703 * fvwm/{{lots.c},screen.h} use Background struct.
10704 * modules/Fvwm{Ident,Scroll,Buttons}: use Background Struct
10706 Sun May 16 10:22:00 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
10708 * fvwm/events.c (My_XNextEvent): update select function call, and
10709 fd_width type for new AC_FUNC_SELECT macro.
10711 * configure.in: switch from AC_FUNC_SELECT_ARGTYPES to AC_FUNC_SELECT.
10713 * acconfig.h: insert preprocessor symbols for AC_FUNC_SELECT macro.
10715 * acinclude.m4: insert AC_FUNC_SELECT macro.
10717 1999-05-15 Dominik Vogt <dominik.vogt@gmx.de>
10719 * fvwm/menus.c (AddToMenu): removed and rewrote some macros; menu item
10720 drawing may have new bugs now
10722 * fvwm/menus.c (AddToMenu):
10723 * fvwm/menus.h (MenuItem): removed unused member item_num
10725 * fvwm/menus.c (SetMenuItemSelected):
10728 * fvwm/menus.h (MenuItem): removed the dynamic member 'state'; all
10729 other parts of this struct don't change while the menu is up
10731 * fvwm/menus.c (MenuInteraction): use Scr.MoveThreshold in menus too
10732 (MakeMenu): fixed WindowList title
10734 * fvwm/fvwm.c (InitVariables): initialise default move threshold
10736 * fvwm/defaults.h: #define for default move threshold
10738 1999-05-14 Dominik Vogt <dominik.vogt@gmx.de>
10740 * fvwm/builtins.c (SetMoveThreshold): added a safety check
10742 * fvwm/screen.h (ScreenInfo):
10743 * fvwm/parse.h (enum):
10745 * fvwm/functions.c (func_config):
10746 * fvwm/builtins.c (SetMoveThreshold):
10747 applied MoveThreshold patch by Andrew Morton
10749 * fvwm/icons.c (AutoPlaceIcon): Force icon on desktop even if center of
10750 window is off the desk's borders
10752 1999-05-13 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
10754 * fvwm/fvwm.c (CaptureOneWindow): set PPosOverride in
10755 CaptureOneWindow, to avoid jumping windows with RecaptureWindow
10757 * fvwm/builtins.c (Maximize): Call SetBorder when maximizing,
10758 otherwise doing "Maximize Tall" from a module may forget
10759 to update the maximize button.
10763 * fvwm/{lots} New command "DefaultBackground":
10764 understands TiledPixmap <pixmap>. With no args uses DefaultColors.
10765 Used by some modules.
10767 1999-05-13 Dan Espen <dane@mk.bellcore.com>
10769 * INSTALL.fvwm (Configuration File): Clear up distinction between
10770 $sysconfdir and $sysconfdir/fvwm.
10772 1999-05-12 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
10774 * fvwm/menus.c (do_menu): set *ret_paction to NULL after
10775 freeing it. This fixes coredumps from do_windowList (bugs
10778 1999-05-12 Dan Espen <dane@mk.bellcore.com>
10780 * INSTALL.fvwm (Configuration File): Some clarification on config files
10781 that are installed. $sysconfdir is ${prefix}/etc/fvwm.
10783 * fvwm/fvwm2.1 (INITIALIZATION): Correct typo and facts about
10786 1999-05-12 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
10788 * fvwm/builtins.c (Maximize): make windows go back to their
10789 original location upon unmaximization again.
10791 1999-05-11 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
10793 * fvwm/fvwm.h (style_flags): new member icon_override.
10795 * fvwm/style.h (SICON_OVERRIDE): macro to access icon_override.
10797 * fvwm/style.c (ProcessNewStyle): new style option
10798 IconOverride/NoActiveIconOverride/NoIconOverride sets
10801 * fvwm/add_window.c (AddWindow): change logic for determining
10802 the icon. It uses the icon_override style flag now.
10805 * fvwm/fvwm2.1: document IconOverride/NoIconOverride/
10806 NoActiveIconOverride. This fixes bug #333.
10808 1999-05-10 Dominik Vogt <dominik.vogt@gmx.de>
10810 * fvwm/menus.c (paint_menu_item): take sidepic into account for right
10812 (MiWarpPointerToItem): fixed warping to first item after multiple
10813 titles or separators
10814 (MakeMenu): titles count for complete item width, not just the left
10817 1999-05-10 Matthias Clasen <clasen@pong.mathematik.uni-freiburg.de>
10819 * fvwm/session.c (SaveWindowStates): save orig_g.[xy] - old_bw
10820 instead of orig_g.[xy] - the old_bw is added again in AddWindow.
10821 This fixes bug #334.
10823 Sun May 9 02:43:02 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
10825 * utils/Makefile.am: don't install fvwm_make_browse_menu.sh until
10826 we have some consensus on _where_ to put it.
10828 Sat May 8 14:29:10 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
10830 * fvwm/icons.c (Iconify): removed unused variable `dummy'.
10832 1999-05-07 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
10834 * fvwm/move_resize.c (ConstrainSize): make sure to stay within
10837 * fvwm/add_window.c (GetWindowSizeHints):
10838 fix the fix to silently accept min width zero,
10839 reject any negative values in aspect ratios, scale the aspect
10840 ratios to be <= 65536 to avoid overflows in ConstrainSize.
10843 1999-05-07 Steven Michael ROBBINS <stever@jeff.cs.mcgill.ca>
10845 * fvwm/windowlist.c (do_windowList): fix call to do_menu.
10847 Fri May 7 13:30:06 1999 DanEspen <dje@blue>
10849 * utils/xpmroot.1: .TH line fixup.
10851 * fvwm/fvwm2.1: .TH line fixup.
10853 * AUTHORS: Added details for Albrech Kadlec.
10857 * fvwm.icons.c: support for client supplied icon pixmaps with
10858 fvwm running in a non-default visual
10860 1999-05-07 Dominik Vogt <dominik.vogt@gmx.de>
10862 * fvwm/menus.c (do_menu): fixed memory leak
10863 (menu_func): miExecuteAction -> ret_action
10865 Fri May 7 00:43:44 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
10867 * utils/Makefile.am (BuildXLockMenu.1): build and distribute manpage.
10868 You will need 'pod2man' (from perl 5) to build the manpage, so don't
10869 edit BuildXLockMenu.in unless you have perl 5.
10871 Thu May 6 23:14:11 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
10873 * libs/Module.h: add fvwm_packet_t type.
10875 1999-05-07 Dominik Vogt <dominik.vogt@gmx.de>
10877 * fvwm/events.c (HandleMapRequestKeepRaised):
10878 (HandleMapNotify): only grab focus for transients when their top window
10881 * fvwm/events.c (HandleMapRequestKeepRaised): another focus fix
10883 * fvwm/misc.c (Destroy): focus returns to 'parent' of transient windows
10885 * fvwm/menus.c (MenuInteraction):
10887 (MenuInteraction): fixed destroying in dynamicpopdownaction; fixed a
10888 bug with 'selectinplace' and multiple recursive submenus with position
10889 hints (saves some CPU).
10891 * fvwm/windowlist.c (do_windowList):
10893 * fvwm/menus.c (FPopupMenu): fixed calling interactive functions in
10896 * fvwm/menus.c (PopDownMenu):
10897 (FPopupMenu): fixed dynamic 'popup' menus
10899 * fvwm/functions.c (ExecuteFunction):
10901 * fvwm/menus.c (FPopupMenu):
10903 (MenuInteraction): fixed position hints with dynamic menus
10905 * fvwm/menus.c (paint_menu_item):
10907 * fvwm/menus.h (MenuRoot): fixed right justification for menu items
10909 1999-05-06 Dominik Vogt <dominik.vogt@gmx.de>
10911 * fvwm/menus.c (paint_menu_item): hilight items without a left text too
10912 (MakeMenu): right menu item text does not draw into submenu triangles
10915 * fvwm/menus.c (FPopupMenu): dynamic menus don't need an item initially
10917 * utils/Makefile.am: make BuildXLockMenu executable
10919 * configure.in (xpm_problem): removed FvwmAudio Makefile
10921 * fvwm/menus.c (DestroyMenu): fixed 'recreate'
10922 (DestroyMenu): fixed memory leak when destroying dynamic menus
10924 * utils/BuildXLockMenu: applied documentation patch
10926 * fvwm/windowlist.c (do_windowList):
10928 * fvwm/menus.c (NewMenuRoot): use memset to initialise menu
10930 * fvwm/add_window.c (GetWindowSizeHints): accept a min width/height
10931 without complaining
10932 (GetWindowSizeHints): some more information in case of illegal
10935 1999-05-05 Dominik Vogt <dominik.vogt@gmx.de>
10937 * fvwm/events.c (HandleLeaveNotify):
10938 (HandleEnterNotify): removed debugging code
10940 * fvwm/builtins.c (Maximize): fixed unmaximizing on current page
10942 * fvwm/focus.c (DoSetFocus):
10943 * fvwm/icons.c (AutoPlaceIcon):
10944 * fvwm/builtins.c (Maximize):
10945 * fvwm/events.c (HandlePropertyNotify):
10946 (HandleMapRequestKeepRaised):
10948 use IsRectangleOnThisPage
10951 * fvwm/misc.c (IsRectangleOnThisPage): generalised version of
10952 IsWindowOnThisPage.
10954 * fvwm/windowlist.c:
10957 * fvwm/placement.c:
10958 * fvwm/move_resize.c:
10959 * fvwm/module_interface.c:
10965 * fvwm/decorations.c:
10968 * fvwm/add_window.c:
10969 use new rectangle struct
10971 * fvwm/fvwm.h (struct rectangle): new type 'rectangle' for use with
10972 window structure, use this for 'orig', 'frame' and 'title' geometry
10974 * fvwm/stack.c: added GPL notice
10976 * fvwm/builtins.c (MaximizeWidth):
10977 (MaximizeHeight): now static
10978 (Maximize): fixed maximizing with window not fully on current page
10980 1999-05-05 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
10982 * fvwm/icons.c (Iconify): remove unnecessary EnterNotify event
10985 * fvwm/events.c (HandleEnterNotify): improve the icon title
10986 raising fix with a better understanding of what goes on:
10987 We get an EnterNotify with mode == NotifyUnGrab when fvwm releases
10988 the grab held during iconification. Now we only react to
10989 EnterNotify events with mode == NotifyNormal.
10991 * fvwm/add_window.c (GetWindowSizeHints): issue a warning
10992 if broken hints are encountered. Reset PBaseSize if base > min,
10993 to avoid problems with size - base becoming <= 0 in the aspect
10994 ratio calculations. Normalize the aspect ratios.
10997 1999-05-05 Dominik Vogt <dominik.vogt@gmx.de>
10999 * utils/BuildXLockMenu: applied patch by Mikhael Goikhman
11001 * fvwm/move_resize.c (moveLoop): fixed move/page fix
11003 1999-05-04 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
11005 * fvwm/placement.c (GetGravityOffsets): remove unnecessary
11006 check for PWinGravity. We make sure the value is valid in
11007 GetWindowSizeHints.
11009 * fvwm/module_interface.c (CONFIGARGS):
11010 * fvwm/module_interface.c (OLDCONFIGARGS):
11011 * fvwm/module_interface.c (CONFIGARGSNEW):
11012 * fvwm/module.c (CONFIGARGS):
11013 * fvwm/module.c (OLDCONFIGARGS):
11014 * fvwm/module.c (CONFIGARGSNEW): remove unnecessary checks
11015 for PBaseSize and PResizeInc from these macros. We make sure
11016 the values are valid in GetWindowSizeHints.
11018 * fvwm/move_resize.c (ConstrainSize): remove the override_size
11019 flag handling here, since it is now done in GetWindowSizeHints.
11020 Be more ICCCM 2 compliant by applying the aspect ratio to
11021 size - base_size if the base_size is explicitly given.
11023 * fvwm/add_window.c (GetWindowSizeHints): completely rewritten.
11024 It now modifies the hints in the following way: ensure that
11025 1 <= inc, 0 <= base, 1 <= min <= max. It uses the follwing
11026 defaults: 1 for inc, min or 0 for base, base or 1 for min,
11027 MAX_WINDOW for max, NorthWest for gravity. PAspect is unset
11028 if the aspect ratios are broken. Apart from that, the flags are
11029 not changed. The override_size style is now handled here as well.
11031 1999-05-04 Dominik Vogt <dominik.vogt@gmx.de>
11033 * fvwm/fvwm2.1 (XORpixmap): comment how to turn XORpixmap off
11035 * fvwm/move_resize.c: removed debugging code
11037 * fvwm/builtins.c (SetXORPixmap): access of freed pointer fixed
11039 * fvwm/move_resize.c (moveLoop): fixed move/page bug when the button
11040 was released while the windows were being unmapped
11042 * fvwm/icons.c (AutoPlaceIcon): fixed icon palcement (Bug #319)
11043 (Iconify): fixed icon title raising bug
11045 * fvwm/events.c (HandleMapNotify): fixed focus policy (mouse focus)
11047 * fvwm/Makefile.am (fvwm2_SOURCES):
11050 * fvwm/window_flags.h: renamed gsfr.h
11052 * fvwm/add_window.c (AddWindow): fixed xterm w/ active icon
11054 * fvwm/events.c (HandlePropertyNotify): use IsWindowOnThisPage funtion
11056 Sun May 2 09:39:37 1999 DanEspen <dje@blue>
11058 * fvwm/ConfigFvwmDefaults: Alt-tab binding is now builtin.
11060 Sat May 1 10:43:55 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
11062 * fvwm/Makefile.am (fvwm2_SOURCES):
11063 * libs/Makefile.am (libfvwm_a_SOURCES):
11064 * fvwm/vpacket.h: moved to libs/vpacket.h, since this file is
11065 used only by modules.
11067 * libs/*: include Module.h rather than fvwm/module.h.
11068 * fvwm/*: include module_interface.h rather than module.h.
11070 * fvwm/Makefile.am (fvwm2_SOURCES):
11071 * fvwm/module.[ch]: renamed to module_interface.[ch], to avoid
11072 confusion with libs/Module.[ch].
11074 * libs/Makefile.am (libfvwm_a_SOURCES):
11075 * libs/Module.h: new file. Everything a module needs to know in
11076 order to talk to FVWM.
11078 Sat May 1 01:42:02 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
11080 * fvwm/session.c (LoadGlobalState): fix scanf argument. Removed
11083 1999-04-29 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
11086 * fvwm/session.c (set_sm_properties):
11087 (save_session_state): new functions split off from save_yourself2.
11088 (RestartInSession): new function used to restart fvwm under SM.
11090 * fvwm/fvwm.c (Done): rework how restarting is done under SM. The
11091 new scheme should not leak files and should not introduce
11092 unwanted checkpoints.
11094 We do the following now:
11096 1) Change the current state in .fvwm_restart
11097 and add a pointer to the previous session save file
11099 2) Change the SmRestartCommand and SmDiscardCommand
11100 to refer to .fvwm_restart and change the SmRestartStyleHint
11102 3) Exit, the SM starts us again, restoring the current state
11104 4) The new fvwm finds the pointer to the session save file
11105 and changes the SM properties back to their previous values.
11109 * libs/ModGraph.{h,c}: new function (Graphics *)CreateGraphics(void);
11110 * libs/Picture.{h,c}: new function (void)SavePictureCMap.
11111 * fvwm/builtins.c: use XFlushGC before sending look to modules,
11112 removed subliminal advertisment
11113 * libs/ModGraph.{h,c}: changed DEFGRAPHSTR for FvwmButtons
11115 1999-04-28 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
11117 * fvwm/session.c (callback_save_yourself2): set the
11118 _GSM_Priority property used by the Gnome session manager.
11119 Use SmLISTofARRAY8 for SmDiscardCommand as the protocol demands
11120 on POSIX systems, but leave the old code using SmARRAY8 in as a
11121 hack for buggy xsm. Define XSM_BUGGY_DISCARD_COMMAND to use it.
11122 (SaveWindowStates): save res_name under [RES_NAME], not res_class.
11124 * fvwm/stack.c (LowerWindow):
11126 * fvwm/screen.h (ScreenInfo): remove LastWindowRaised.
11129 * fvwm/stack.c (CanBeRaised): new function to determine if
11130 a window can be raised any further.
11132 * fvwm/events.c (HandleButtonPress):
11133 * fvwm/builtins.c (raiselower_func): use CanBeRaised instead
11134 of LastWindowRaised to determine if a window should be raised.
11138 * libs/ModGraph.{h,c}: SetWindowBackground takes width/height of window
11140 1999-04-28 Dominik Vogt <dominik.vogt@gmx.de>
11143 * fvwm/move_resize.c:
11146 * fvwm/functions.c:
11148 * fvwm/builtins.c: use events.h
11150 * fvwm/misc.h: moved prototypes to events.h
11151 * fvwm/events.h: new file
11153 * fvwm/misc.c (Keyboard_shortcuts): moved function from move_resize.c
11157 * fvwm/add_window.c:
11158 * fvwm/functions.c:
11160 * fvwm/placement.c:
11161 * fvwm/events.c: include move_resize.h
11163 * fvwm/move_resize.c (InteractiveMove):
11164 * fvwm/move_resize.c (AnimatedMoveAnyWindow):
11165 * fvwm/move_resize.c (DisplayPosition):
11166 * fvwm/move_resize.c (DisplaySize): now static
11168 * fvwm/misc.h: moved all move/resize related prototypes to
11171 * fvwm/Makefile.am (fvwm2_SOURCES): add new files, remove old ones
11172 * fvwm/move_resize.h: new file for move_resize prototypes
11173 * fvwm/move_resize.c: merged move.c and resize.c into this file
11174 (resize_window): another try at resize-jump-to-border area
11176 * fvwm/misc.h: removed 'extern' from prototypes
11178 * fvwm/menus.c (menu_func): some work on repeat command for menus
11180 * fvwm/menus.c (MenuInteraction): removed #define MICRO_S_FOR_10MS
11181 (PaintEntry): function renamed to paint_menu_item
11183 * fvwm/move.c (AnimatedMoveAnyWindow): check for NULL pointer tmp_win
11184 (AnimatedMoveAnyWindow): speed up for short distances
11185 (AnimatedMoveAnyWindow): animated move can be aborted with a key or
11188 * fvwm/placement.c (PlaceAgain_func): fixed coredump
11190 * fvwm/placement.c (PlaceAgain_func):
11191 * fvwm/builtins.c (PlaceAgain_func): moved function to placement.c
11193 * fvwm/fvwm2.1: Removed previous patch (duplicate)
11195 * libs/Bindings.c (GrabWindowKey):
11196 (GrabWindowButton): don't grab buttons and keys multiple times
11198 1999-04-28 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
11200 * acinclude.m4: add AM_PATH_GDK_IMLIB from imlib.m4.
11202 * configure.in: use AM_PATH_GDK_IMLIB to check for gdk-imlib.
11204 * acconfig.h: new define IMLIB to indicate the presence
11205 of gdk-imlib (for FvwmGtk).
11207 1999-04-27 Dominik Vogt <dominik.vogt@gmx.de>
11209 * fvwm/fvwm2.1: Added hint at IgnoreModifiers default.
11213 * libs/ModGraph.{h,c}: Added GPL copyright, added SetWindowBackground()
11215 Mon Apr 26 13:02:25 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
11217 * fvwm/read.h: new file.
11218 * fvwm/read.c: split up ReadSubFunc() into smaller bits, removing
11219 a lot of hair. Created two new public interfaces,
11220 run_command_stream() and run_command_file().
11222 * fvwm/fvwm.c (main): use run_command_file to read initialization
11225 1999-04-26 Dan Espen <dane@mk.bellcore.com>
11227 * fvwm/fvwm.h: Make prototype for SigDone and Restart agree with
11228 functions in fvwm.c.
11230 Mon Apr 26 09:45:19 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
11232 * libs/ModGraph.c (ParseGraphics): change to void function, as
11233 none of the return statements return anything. Remove unused
11234 variable `junk'. Include stdio.h for sscanf() prototype.
11236 * libs/ModGraph.h: protect against multiple inclusion, correct
11237 return type of ParseGraphics.
11241 * libs/ModGraph.{h,c}: new functions InitGraphics/ParseGraphics for
11242 modules to use to make sense of the Default_graphics config message
11243 * fvwm/modconf.c: uses ModGraph.h
11245 Mon Apr 26 02:17:28 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
11247 * configure.in: add check for getpwuid.
11249 * fvwm/module.c (executeModule): skip malloc & free by using
11252 * libs/Strings.c (CatString3): dynamically allocate the buffer.
11253 Reformatted some code.
11257 * libs/Parse.h: new files.
11259 * libs/fvwmlib.h: include new headers; remove relevant prototypes.
11261 * libs/Parse.c (GetModuleResource): fix memory leak.
11263 * fvwm/read.c (ReadSubFunc):
11265 * fvwm/fvwm.h: user_home_ptr -> user_home_dir.
11267 * fvwm/fvwm.c (main): removed unused `output_file' variable. Try
11268 a bit harder (use getpwuid) to find user_home_dir.
11270 * fvwm/fvwm.c (Done): save state into user_home_dir.
11272 1999-04-25 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
11274 * fvwm/add_window.c (AddWindow): update not only the _WIN_STATE,
11275 but also _WIN_WORKSPACE and _WIN_LAYER.
11277 1999-04-24 Bob Woodside <proteus@pcnet.com>
11278 * fvwm/Makefile.am: added stack.c & stack.h.
11280 1999-04-24 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
11282 * fvwm/virtual.c (changeDesks): update number of workspaces,
11283 since it may have changed.
11284 (do_move_window_to_desk): update number of workspaces,
11285 since it may have changed. Also update the workspace of the window.
11287 * fvwm/gnome.c (GNOME_GetStyle): new function to initialize
11288 a window_style struct from GNOME hints.
11289 (GNOME_SetDeskCount): find the maximal populated desk, then
11290 use to set the number of workspaces to a reasonable value.
11292 * fvwm/style.c (lookup_style): call GNOME_GetStyle to
11293 initialize the window_style.
11294 * fvwm/add_window.c (AddWindow): initialize do_shade,
11295 do_max to 0. Don't call GNOME_GetHints before unconditionally
11296 overwriting the flags. Instead rely on lookup_styles to take
11297 GNOME hints into account.
11298 * fvwm/session.c (MatchWinToSM): don't modify do_shade,
11299 do_max unless a match was found.
11302 * fvwm/builtins.c (stick_function):
11303 (WindowShade): update gnome hints.
11305 * fvwm/fvwm.h (common_flags_type): new flag is_fixed.
11306 * fvwm/gsfr.h: and corresponding macros.
11307 * fvwm/style.c (ProcessNewStyle): new style option
11308 VariablePosition/FixedPosition to set the new flag.
11309 * fvwm/gnome.c (GNOME_GetHintState):
11310 (GNOME_SetHints): also use the is_fixed flag.
11311 * fvwm/move.c (AnimatedMoveAnyWindow):
11312 (move_window_doit): refuse to move unless is_fixed is set.
11314 * NEWS: document the new style options.
11318 * fvwm/stack.h: new files.
11319 * fvwm/events.c: move HandleUnusualStackmodes, its helper
11320 functions and ResyncFvwmStackRing to stack.c, include stack.h.
11321 * fvwm/misc.c: move RaiseWindow and LowerWindow to stack.c
11322 and BroadcastRestack to module.c.
11323 * fvwm/misc.h: remove RaiseWindow and LowerWindow.
11324 * fvwm/builtins.c: move new_layer to stack.c, include stack.h.
11325 * fvwm/add_window.c:
11328 * fvwm/icons.c: include stack.h.
11330 Fri Apr 23 17:32:45 1999 DanEspen <dje@blue>
11332 * libs/Bindings.c (AddBinding): Only add one entry to the binding
11333 table when a key generates the exact same information with more than
11336 Fri Apr 23 14:26:26 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
11338 * NEWS: note that FVWM_CONFIGDIR is now $sysconfdir/fvwm.
11340 Fri Apr 23 12:29:19 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
11344 * fvwm/events.c: include focus.h for prototypes.
11346 * fvwm/focus.c: include bindings.h for prototypes.
11348 * fvwm/events.c (HandleUnusualStackmodes): non-void functions must
11349 actually return a value.
11351 * fvwm/focus.h (IsLastFocusSetByMouse): add prototype. Also added
11352 some missing documentation for other prototypes.
11354 * fvwm/module.c (BroadcastNewPacket):
11355 * fvwm/events.c (HandleConfigureRequest):
11356 * fvwm/builtins.c (new_layer): removed unused variable.
11358 1999-04-23 Dominik Vogt <dominik.vogt@gmx.de>
11360 * fvwm/fvwm2.1: fixed manpage bug (half a line lost)
11362 * fvwm/functions.c (ComplexFunction):
11363 (execute_complex_function):
11364 (ExecuteFunction): renamed ComplexFunction2 to execute_complex_function
11365 Don't expand the command line twice when calliing a complex function
11366 without the 'Function' builtin.
11368 * libs/Parse.c (DoPeekToken): fixed parsing empty tokens
11370 1999-04-22 Dominik Vogt <dominik.vogt@gmx.de>
11372 * configure.in: changed version to 2.3.2
11374 1999-04-22 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
11376 * fvwm/gnome.c (GNOME_SetLayer): new function for updating
11379 1999-04-21 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
11381 * fvwm/virtual.c (changeDesks): call GNOME_SetCurrentDesk.
11384 * fvwm/builtins.c (new_layer): new function split off from
11385 change_layer to do the actual change.
11387 * fvwm/gnome.c (GNOME_ProcessClientMessage):
11388 implement the _WIN_LAYER client message with the new_layer
11389 function. Use the XA_ defines instead of strings.
11391 1999-04-21 Dominik Vogt <dominik.vogt@gmx.de>
11393 * fvwm/events.c (HandleUnusualStackmodes): commented out two DBUG
11394 macros with too many arguments
11396 1999-04-20 Dominik Vogt <dominik.vogt@gmx.de>
11398 * fvwm/icons.c (CreateIconWindow): use GrabAllWindowKeysAndButtons
11401 * libs/Bindings.c (GrabAllWindowKeysAndButtons):
11402 New convenience function (a bit faster if everything has to be grabbed)
11404 1999-04-21 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
11406 * fvwm/events.c (HandleConfigureRequest): rewrite the
11407 part dealing with stack_mode. Treat stack_modes != Above, Below by
11408 calling HandleUnusualStackmodes. The X protocol semantics of the
11409 various stack_modes is more or less preserved with the exception
11410 that raising/lowering are restricted to stay within the layer.
11412 (HandleUnusualStackmodes): new function implementing TopIf,
11413 BottomIf and Opposite restacking.
11416 (overlap): auxiliary routines for occlusion detection in
11417 HandleUnusualStackmodes.
11419 * fvwm/fvwm.h (common_flags_type): new flag ignore_restack.
11420 * fvwm/gsfr.h (IGNORE_RESTACK): new macro to access it.
11421 * fvwm/style.c (ProcessNewStyle): set/reset ignore_restack
11422 with the new style options AllowRestack/IgnoreRestack.
11424 * fvwm/events.c (HandleConfigureRequest): ignore stack_mode
11425 if ingnore_restack is set.
11428 * fvwm/fvwm2.1: document AllowRestack/IgnoreRestack.
11432 * libs/Picture.{c,h},fvwm/{add_window,fvwm,icons,menus}.c: Partly
11433 fixed -visual Truecolor with different depths, Client supplied
11434 icon pixmaps look ugly and XorPixmap has no effect.
11436 1999-04-20 Bob Woodside <proteus@pcnet.com>
11438 * fvwm/AUTHORS: Who-to-blame entry for module GSFR.
11440 1999-04-20 Dominik Vogt <dominik.vogt@gmx.de>
11442 * fvwm/icons.c (DeIconify):
11443 * fvwm/focus.c (FocusOn):
11447 (DoSetFocus): Focus and FlipFocus commands take 'NoWarp' as parameter
11448 to prevent warping to the desk/page the window is on
11450 1999-04-19 Dominik Vogt <dominik.vogt@gmx.de>
11452 * fvwm/icons.c (AutoPlaceIcon):
11453 Use IsWindowOnThisPage. This fixes the problem that the icon may be on
11454 a different page even if you iconified something on the current page
11457 * fvwm/builtins.c (Maximize):
11458 * fvwm/focus.c (SetFocus):
11459 * fvwm/misc.c (IsWindowOnThisPage):
11460 Implement and use service function IsWindowOnThisPage()
11462 * fvwm/events.c (HandleFocusIn):
11463 * fvwm/focus.c (IsLastFocusSetByMouse):
11464 replaced global variable lastFocusType by function
11465 IsLastFocusSetByMouse
11468 * fvwm/builtins.c (flip_focus_func):
11473 moved focus related code and prototypes to focus.[ch]
11475 * fvwm/functions.c (ExecuteFunction): fixed coredump in SILENT
11477 1999-04-18 Dominik Vogt <dominik.vogt@gmx.de>
11479 * fvwm/builtins.c (FocusOn):
11480 * fvwm/events.c (HandleEnterNotify): use HAS_MOUSE_FOCUS and
11481 HAS_SLOPPY_FOCUS instead of !HAS_CLICK_FOCUS and !HAS_NEVER_FOCUS
11483 1999-04-19 Bob Woodside <proteus@pcnet.com>
11485 * fvwm/Makefile.am: Added vpacket.h.
11489 * fvwm/module.c,modconf.c Replaced M_NEW_LOOK packet with config line:
11492 1999-04-19 Bob Woodside <proteus@pcnet.com>
11494 * fvwm/module.c: New-style variable packet building logic for GSFR -
11495 used for the M_ADD_WINDOW/M_CONFIGURE_WINDOW packets.
11496 * fvwm/module.h: Ibid.
11498 1999-04-19 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
11500 * fvwm/events.c (HandleConfigureRequest):
11501 * fvwm/icons.c (CreateIconWindow):
11503 * fvwm/misc.c (LowerWindow):
11504 (RaiseWindow): make sure icon windows are always restacked
11507 1999-04-18 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
11509 * fvwm/fvwm.h (window_flags): new flags is_icon_entered
11510 for tracking enter and leave events on iconified windows.
11511 * fvwm/gsfr.h (IS_ICON_ENTERED):
11512 (SET_ICON_ENTERED):
11513 (SETM_ICONIFIED_BY_PARENT): new macros to set is_icon_entered.
11514 * fvwm/icons.c (DrawIconWindow): change the logic of
11515 DrawIconWindow to show the full icon title and raise it iff
11516 the pointer is over the icon.
11517 * fvwm/events.c (HandleEnterNotify):
11518 (HandleLeaveNotify): maintain is_icon_entered and redraw the icon.
11519 * NEWS: mention the new icon behaviour.
11521 1999-04-18 Bob Woodside <proteus@pcnet.com>
11523 * fvwm/vpacket.h: new file - this should contain structure descriptions
11524 for any new-style module packets (post-GSFR) using the new, variable-
11525 length argument packet sending logic. Initially it only contains the new
11526 M_CONFIGURE_WINDOW/M_ADD_WINDOW packet.
11528 * fvwm/virtual.c: changeDesks: fixed segfault caused by use of a NULL
11531 1999-04-18 Dominik Vogt <dominik.vogt@gmx.de>
11533 * fvwm/fvwm.c (Done): removed debugging code
11535 * fvwm/builtins.c (MatchesConditionMask):
11538 renamed gsfr_flag_mask to flag_mask
11544 * fvwm/builtins.c (MatchesConditionMask):
11545 * fvwm/add_window.c (AddWindow):
11546 renamed gsfr_flags to flags
11548 * fvwm/windowlist.c:
11550 renamed file windows.c to windowlist.c
11552 1999-04-18 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
11554 * fvwm/icons.c (DrawIconWindow): implement CDE-like raising
11555 of the titles of focused icons.
11557 1999-04-17 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
11559 * fvwm/screen.h (ScreenInfo): new member for go struct:
11562 * fvwm/fvwm.c (InitVariables): initialize Scr.go.RaiseHackNeeded
11563 based on the ServerVendor string.
11565 * fvwm/misc.c (RaiseWindow): use the hack for raising over
11566 NT windows if Scr.go.RaiseHackNeeded is set.
11568 * fvwm/builtins.c (SetGlobalOptions): allow to set
11569 Scr.go.RaiseHackNeeded with the global options
11570 RaiseOverNativeWindows/IgnoreNativeWindows.
11572 * fvwm/fvwm2.1: Document the new global options
11573 RaiseOverNativeWindows/IgnoreNativeWindows.
11578 * fvwm/screen.h: remove NON_VIRTUAL.
11580 * fvwm/virtual.c (HandlePaging): ensure that HandlePaging
11581 doesn't return false unless it really did change the viewport,
11582 ie called MoveViewPort with nonzero delta_x, delta_y. The
11583 previous logic could also return true if the pointer stayed
11584 long enough on a pan frame where paging is not possible.
11586 Sat Apr 17 13:55:41 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
11588 * fvwm/module.c (SETOLDFLAGS): fixed several dozen "statements
11591 * fvwm/functions.c (ExecuteFunction): removed unused variable, add
11592 parentheses in `if' condition
11594 1999-04-17 Dominik Vogt <dominik.vogt@gmx.de>
11596 * fvwm/resize.c (resize_window): fixed resize-loosing-grip bug
11598 * fvwm/functions.c (func_config):
11599 * fvwm/functions.h (FunctionItem):
11600 (struct functions):
11601 added FUNC_DONT_REPEAT flag to functions structure, changed Bool
11602 f_needs_window/func_needs_window to unsigned char flags
11604 * fvwm/parse.h (enum): added F_UNDEFINED define needed by repeat
11607 1999-04-17 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
11609 * fvwm/screen.h (TOP_EDGE):
11612 (LEFT_EDGE): separate cursor types for the pan frames.
11614 * fvwm/fvwm.c (CreateCursors): initialize the _EDGE cursors
11615 to be the same as the non-_EDGE ones.
11617 * fvwm/virtual.c (initPanFrames): use the _EDGE cursors.
11619 * fvwm/builtins.c (CursorStyle): allow to change the _EDGE cursors.
11622 * NEWS: document the new cursors.
11624 1999-04-16 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
11626 * fvwm/fvwm2.1: expanded the introductory remarks on layers,
11627 documented StaysOnBottom, more detailed explanation of the
11628 override behaviour of Icon.
11630 * fvwm/windows.c (do_windowList):
11631 * fvwm/style.c (ProcessNewStyle):
11633 * fvwm/screen.h (ScreenInfo): renamed OnTopLayer -->
11634 TopLayer, StaysPutLayer --> DefaultLayer, new variable
11637 * fvwm/builtins.c (SetDefaultLayers): set all three
11638 layer variables in the Scr struct.
11640 * fvwm/style.c (ProcessNewStyle): added style option
11643 1999-04-16 Dominik Vogt <dominik.vogt@gmx.de>
11645 * fvwm/menus.c (menuShortcuts): Page up and page down work like
11646 shift-up and shift-down in menus, i.e. they jump to the start or end of
11648 (menuShortcuts): fixed up/down when pressed with the pointer outside
11651 * fvwm/repeat.c (set_repeat_data): removed fprintfs
11653 * fvwm/functions.c (DeferExecution): allow to abot DeferExecution with
11655 (ComplexFunction2): fixed use_depth
11656 (func_comp): removed temporary variables to speed things up a bit
11657 (FindBuiltinFunction): added check for " +" which is fell through the
11658 check for "+". This should save quite a bit of time with configs that
11659 indent the '+' command with a space.
11660 (FindBuiltinFunction): removed calculation of func_config table size
11661 this is a constant that can be determined at compile time. No need to
11662 store it in a static.
11663 (FindBuiltinFunction):
11664 (func_config): changed function table entries to lower case. Since most
11665 letters in config files are lower case anyway this saves some CPU
11667 (DeferExecution): ungrab cursor too when pressing escape
11669 * fvwm/repeat.c (update_last_string): function replaced with new
11670 function set_repeat_data
11672 1999-04-15 Dominik Vogt <dominik.vogt@gmx.de>
11674 * fvwm/ConfigFvwmSetup:
11675 * fvwm/ConfigFvwmDefaults:
11676 removed unnecessary duoble quotes
11680 * fvwm/module.{h,c}: Removed M_NEW_LOOK, will be a text config line
11681 * fvwm/module.h: Fixed macro MAX_MESSAGE to allow 32 message types
11682 * fvwm/module.h: renamed M_ADD_WINDOW to M_OLD_ADD_WINDOW, renamed
11683 M_CONFIGURE_WINDOW to M_OLD_CONFIGURE_WINDOW.
11684 * fvwm/module.h: added new messages M_ADD_WINDOW & M_CONFIGURE_WINDOW.
11685 * fvwm/module.c: (SendConfig/BroadcastConfig) send out old and new
11686 versions of packets to allow old modules to get the right flags.
11688 Thu Apr 15 10:50:17 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
11690 * fvwm/virtual.c (scroll): removed unused variable.
11692 * fvwm/add_window.c (GetWindowSizeHints): add parentheses to fix
11693 && vs. || precedence problems.
11697 * docs/FAQ: added stuff about start-up delays
11698 * fvwm/fvwm.c,modules.c: Changed startup processing to only count
11699 command line modules.
11701 1999-04-15 Dominik Vogt <dominik.vogt@gmx.de>
11703 * fvwm/add_window.c: fix for broken size hints
11705 * fvwm/style.c (ProcessNewStyle):
11707 * fvwm/resize.c (ConstrainSize):
11710 implemented (No)ResizeHintOverride style as a hack to make broken
11713 * fvwm/events.c (HandleButtonPress): clicktofocusclickraises raises
11714 neverfocus windows too
11716 1999-04-14 Dominik Vogt <dominik.vogt@gmx.de>
11719 * fvwm/focus.c (SetFocus):
11720 * fvwm/events.c (HandleMapRequestKeepRaised):
11722 (HandleUnmapNotify):
11723 (HandleButtonPress):
11724 * fvwm/virtual.c (changeDesks):
11725 * fvwm/builtins.c (FocusOn):
11726 * fvwm/style.c (ProcessNewStyle):
11727 * fvwm/gsfr.h (HAS_NEVER_FOCUS):
11728 * fvwm/fvwm.h (FOCUS_NEVER):
11729 Implemented NeverFocus style
11731 * fvwm/repeat.c (update_last_string): fixed memory leak
11733 * fvwm/functions.c (ExecuteFunction): fixed memory leak
11735 * fvwm/builtins.c (ReadButtonFace): fixed buffer overflow in scanf
11737 * fvwm/fvwm.c (main): moved call to getenv into if statement to make
11740 * fvwm/windows.c (do_windowList): fixed format of sprintfs: expected
11741 long but got unsigned long
11743 * fvwm/virtual.c (scroll): fixed parsing of less than 2 parameters that
11746 * fvwm/session.c (SaveWindowStates): fixed illegal parameter to fprintf
11747 (int expected but got unsigned char).
11749 * fvwm/placement.c (PlaceWindow): removed superfluous ';'
11751 * fvwm/misc.c (BroadcastRestack): reindented empty loop body for
11754 * fvwm/menus.c (MenuInteraction): reindented empty loop body for
11756 (destroy_menu): removed unused variable 'rest'
11758 * fvwm/icccm2.c (SetupICCCM2): fixed sign of printf string
11761 * fvwm/misc.c (ReapChildren): made function from macro
11763 * fvwm/builtins.c (FocusOn): removed unused variables x and y
11764 (FocusOn): removed obsolete code
11765 (add_item_to_decor): reindented empty loop body for clarity
11768 * fvwm/misc.c (NewFontAndColor): made function from macro
11770 * fvwm/borders.c (get_button_state):
11771 (change_window_color): made functions from macros
11773 * libs/Module.c (SendText): int len -> unsigned int len
11775 1999-04-14 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
11779 * fvwm/builtins.c (SetDefaultIcon):
11780 * fvwm/functions.c (func_config): Add DefaultIcon command.
11782 * fvwm/style.c (ProcessNewStyle): Change Icon style option
11783 to reset icon_name, if used without argument. Remove hack
11784 for Style * Icon foo; issue a warning about this.
11786 1999-04-13 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
11788 * fvwm/events.c (HandlePropertyNotify): Make sure disabling
11789 an active icon restores the default icon.
11791 Tue Apr 13 23:13:24 1999 DanEspen <dje@blue>
11793 * fvwm/fvwm.c (main): Read command just $HOME or $FVWM_USERHOME.
11795 * fvwm/read.c (ReadSubFunc): Read command just $HOME or $FVWM_USERHOME.
11797 * fvwm/fvwm2.1 (sub-menu): Read command just $HOME or $FVWM_USERHOME.
11799 1999-04-13 Dan Espen <dane@mk.bellcore.com>
11801 * fvwm/fvwm2.1 (Examples): fix description of IconFill default
11806 * fvwm/fvwm{.c,2.1}: implemented -visual and -visualId options.
11807 * fvwm/builtins.c: Colorlimit ignored on static colormaps.
11809 1999-04-12 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
11811 * fvwm/style.c (ProcessNewStyle): has_icon: set not only the
11812 mask, but also the flag itself. Icons reappear.
11814 * fvwm/events.c (HandlePropertyNotify): Replace was_urgent
11815 variable by old_wmhints_flags. Make sure that clients can
11816 reset their hints to `no icon' (toggling `Enable Active Icon'
11817 in xterm works now).
11821 * fvwm/fvwm.{h,c}: removed unused Scr.CornerWidth
11822 * fvwm/module.{h,c}: New functions SendLook(module) & BroadcastLook()
11823 * fvwm/builtins.c: BroadcastLook() from Xor{Value,Pixmap} and
11824 Default{Colors,Font}.
11826 1999-04-12 Dominik Vogt <dominik.vogt@gmx.de>
11828 * fvwm/fvwm.c (SetRCDefaults): removed unnecessary quoting of stlye *
11830 * fvwm/style.c (ProcessNewStyle): fixed minor parsing bug (no error
11835 * fvwm/fvwm.c (SetRCDefaults):
11836 * fvwm/events.c (HandleMapRequestKeepRaised):
11838 (HandleUnmapNotify):
11839 * fvwm/style.c (ProcessNewStyle):
11840 * fvwm/style.h (SDO_GRAB_FOCUS_TRANSIENT):
11842 * fvwm/gsfr.h (DO_GRAB_FOCUS):
11843 Implemented new style 'GrabFocusTransient'
11845 * fvwm/fvwm.h: removed old flag defines
11847 1999-04-11 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
11849 * fvwm/events.c (HandleUnmapNotify): Replace one return path
11850 with an else, to make sure the GNOME hook at the end is executed
11851 for both return paths.
11852 Call CoerceEnterNotifyOnCurrentWindow if the window being unmapped
11853 has the focus and uses GrabFocus.
11855 Sun Apr 11 09:43:09 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
11857 * configure.in (FVWM_CONFIGDIR): set to ${sysconfdir}/fvwm,
11858 as multiple config files are now installed.
11860 1999-04-11 Dominik Vogt <dominik.vogt@gmx.de>
11862 * fvwm/add_window.c (AddWindow): initialise tmp_win when malloc'd
11864 * fvwm/style.c: fixed IconFill style
11866 1999-04-11 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
11868 * fvwm/add_window.c (AddWindow): Make sure tmp_win->icon_name
11869 gets initialized before being used.
11871 Sat Apr 10 12:15:23 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
11873 * fvwm/session.c (LoadWindowStates): corrected `unsigned int
11874 format, different type arg (arg 3)' error in loading flags.
11876 1999-04-10 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
11878 * fvwm/gsfr.h (SET_FOCUS_MODE):
11879 (SETM_FOCUS_MODE): don't use !! for non-booleans.
11881 * fvwm/session.c (LoadWindowStates):
11882 (SaveWindowStates): fix loading and saving of window flags.
11884 1999-04-09 Dominik Vogt <dominik.vogt@gmx.de>
11886 * libs/Parse.c (GetNextSimpleOption):
11887 (GetNextFullOption): replaced GetNextOption with these two functions
11888 the latter one returns multiple tokens up to the next ',' while the
11889 first one only reads a single token
11891 * fvwm/gnome.c (GNOME_SetDeskNames): removed unused variable i
11894 (ProcessNewStyle): Rewrote parsing to get rid of those horrible macros.
11895 This saves 3696 bytes in the executable (gcc, i686). Macros with more
11896 than a single command should be forbidden!!!
11903 moved icon related code and definitions to icons.[ch]
11907 * fvwm/icons.c (AutoPlace): renamed to AutoPlaceIcon
11909 * fvwm/icons.h: new file
11913 added GPL copyright notice
11915 * fvwm/style.c (add_style_to_list): some speedup when using many
11918 * fvwm/add_window.c (AddWindow): replaced calloc with safemalloc
11920 * fvwm/style.c: reformatted comments
11922 * fvwm/gsfr.h (SET_ICON_OURS):
11923 * fvwm/style.c (ProcessNewStyle):
11924 fixed missing icons
11926 * fvwm/decorations.c (SelectDecor): fixed MWM_FUNCCTIONS (maximize and
11929 * fvwm/fvwm.h (style_flags):
11930 * fvwm/style.c (ProcessNewStyle):
11932 * fvwm/style.h (SUSE_NO_PPOSITION): removed unused flags use_layer
11934 * fvwm/add_window.c (AddWindow): use macros from style.h
11936 * fvwm/style.c (ProcessNewStyle):
11939 * fvwm/fvwm.h (style_flags): removed unused flag
11940 use_start_raised_lowered
11942 * fvwm/placement.c (PlaceWindow):
11944 * fvwm/gsfr.h (DO_NOT_SHOW_ON_MAP):
11945 logic of show_on_map was reversed
11947 * fvwm/style.c (ProcessNewStyle): removed duplicate code
11949 Thu Apr 8 23:45:05 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
11951 * fvwm/Makefile.am (fvwm2_SOURCES): include gnome.c
11952 unconditionally, otherwise it doesn't make it to the distribution;
11953 it is suitably ifdef'd for compiling without GNOME enabled.
11955 * fvwm/session.c (LoadWindowStates): fixed a scanf reading
11956 unsigned int into a char*.
11958 * fvwm/session.c (SaveWindowStates): removed unused parameter to
11961 * fvwm/style.c (cmp_masked_flags): add parentheses around
11962 comparison in operand of &
11964 1999-04-08 Dominik Vogt <dominik.vogt@gmx.de>
11967 * fvwm/bindings.c (ParseBinding):
11968 function moved back to fvwm directory
11970 * fvwm/builtins.c (change_layer): modified the syntax of the 'Layer'
11971 command. 'Layer 0 -1' should no longer be used. Use 'Layer default' or
11972 simply 'Layer' instead.
11978 * fvwm/placement.c:
11987 * fvwm/decorations.c:
11990 * fvwm/add_window.c:
11993 main GSFR work done
11997 * fvwm/fvwm.h: activated GSFR defines
11999 * ------ begin of great-style-flag-rewrite ------
12001 * fvwm/style.c: reversed weird logic of off_flags meaning 'flag has
12007 * libs/XResource.c:
12009 * fvwm/functions.h:
12013 * COPYING: changed to GPL
12017 * fvwm/add_window.c: code cleanup, removed most events from ->parent
12018 * fvwm/fvwm.c: sticky_grey_pixmap initialised for mono screens
12020 1999-04-07 Dominik Vogt <dominik.vogt@gmx.de>
12022 * fvwm/functions.c:
12023 * fvwm/builtins.c: include style.h
12025 * fvwm/fvwm.c (InitVariables): removed initialisation of TheList
12028 * fvwm/screen.h (ScreenInfo): moved TheList to style.c (not a global
12031 * fvwm/Makefile.am (fvwm2_SOURCES): added style.h
12033 * fvwm/style.h (name_list_struct):
12034 * fvwm/style.c (LookInList):
12036 moved stuff from add_window.c/misc.h to style.[ch] where it belongs.
12038 * fvwm/styles.h: new file
12040 * fvwm/functions.c (expand): fixed parsing of empty arguments
12042 1999-04-07 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
12045 * INSTALL.fvwm: Finish the removal of the NO_SAVEUNDERS and
12046 WINDOWSHADE configure options.
12048 1999-04-07 Dominik Vogt <dominik.vogt@gmx.de>
12050 * fvwm/functions.c (expand): some clean up
12052 * fvwm/Makefile.am (fvwm2_SOURCES): added gsfr.h
12054 * configure.in: changed version to 2.3.1
12058 * fvwm/functions.c:
12059 * fvwm/functions.h:
12060 moved all code for Repeat command to repeat.c and repeat.h
12062 * fvwm/Makefile.am (fvwm2_SOURCES): added bindings.h, repeat.c,
12065 1999-04-06 Dominik Vogt <dominik.vogt@gmx.de>
12067 * fvwm/fvwm.c (CaptureAllWindows):
12068 (CaptureOneWindow):
12072 * fvwm/functions.c:
12076 * fvwm/add_window.c:
12079 * fvwm/misc.h: moved prototypes for bindings.c to bindings.h
12080 * fvwm/bindings.h: new file
12082 * fvwm/fvwm2.1 (RecaptureWindow):
12085 * fvwm/functions.c (func_config):
12086 * fvwm/builtins.c (do_recapture):
12089 made 'window' option of recapture a new command 'RecaptureWindow' for
12090 sake of consistency with RefreshWindow
12092 * fvwm/functions.c (expand): some speedup
12094 * fvwm/functions.h:
12095 * fvwm/functions.c (ComplexFunction2):
12096 (ComplexFunction2):
12097 made functions static
12101 moved typedef of last_added_item_type to misc.h
12103 * fvwm/windows.c (do_windowList):
12104 * fvwm/read.c (ReadSubFunc):
12107 * fvwm/module.c (HandleModuleInput):
12108 * fvwm/menus.c (menu_func):
12110 * fvwm/fvwm.c (main):
12114 * fvwm/functions.c (repeat_function):
12115 (ComplexFunction2):
12116 * fvwm/events.c (HandleKeyPress):
12117 (HandlePropertyNotify):
12118 (HandleClientMessage):
12119 (HandleButtonPress):
12120 * fvwm/builtins.c (AddToDecor):
12130 use new parameter to ExecuteFunction
12131 * fvwm/functions.c (ExecuteFunction):
12132 additional input parameter: expand_cmd (suppress expanding '$...' on
12135 * fvwm/functions.h:
12137 moved function prototypes for functions.c into functions.h
12139 * fvwm/functions.h: removed ONE_AND_A_HALF_CLICKS (unused)
12141 1999-04-05 Tomas Ogren <stric@ing.umu.se>
12143 * fvwm/{colormaps.c,events.c,fvwm.c,gnome.c,icccm2.c,misc.c,misc.h,module.c,module.h,session.c,virtual.c}:
12144 Misc function prototype fixes to make MIPSpro cc -fullwarn happy.
12146 1999-04-05 Tomas Ogren <stric@ing.umu.se>
12148 * fvwm/borders.c: #endif FOO -> #endif /* FOO */
12149 * fvwm/screen.h, fvwm/misc.h: Moved the last_added_item_type from
12150 screen.h to misc.h since that's where it's mostly used, and because
12151 misc.h is included in most .c files, but screen.h is not.
12152 * fvwm/menus.h: Changed 2 bitfields to use unsigned instead of unsigned
12153 char, now it compiles with xlc (AIX).
12155 1999-04-05 Dominik Vogt <dominik.vogt@gmx.de>
12157 * fvwm/misc.h: moved prototype of set_last_added_item out of GNOME
12160 * fvwm/builtins.c (destroy_fvwmfunc): fixed bug: '=' -> '=='
12162 * fvwm/menus.h: added prototypes for add_another_menu_item and
12165 * fvwm/fvwm.c (CaptureAllWindows): removed unused variable
12167 1999-04-04 Dominik Vogt <dominik.vogt@gmx.de>
12169 * fvwm/builtins.c (stick_function): fixed 'Stick'
12171 1999-04-05 Tomas Ogren <stric@ing.umu.se>
12173 * libs/fvwmlib.h: Be gone evil // comments in c-code
12175 Sun Apr 4 10:53:17 1999 DanEspen <dje@blue>
12177 * fvwm/FormFvwmHelp.in: New form, creates users starting configuration.
12179 * fvwm/fvwm2.1 (read): Explain new read logic, and config file
12182 * fvwm/module.c (executeModule): Export FVWM_USERHOME to modules.
12184 * fvwm/read.c (ReadSubFunc): New logic to read either from $HOME, using
12185 a leading dot, or the users config dir without the dot, or the config
12186 dir without the dot.
12188 * fvwm/fvwm.h: New extern, user_home_ptr.
12190 * fvwm/fvwm.c (SetRCDefaults): Add "read <configdir>ConfigFvwmDefaults"
12191 to builtin command table. If "FVWM_USERHOME" not already exported,
12192 FVWM_USERHOME is ".fvwm/" or "." depending on existence.
12193 Export environment variable "FVWM_USERHOME" to modules only.
12195 * fvwm/ConfigFvwmDefaults: Fvwm2 builtins in addition to the table
12196 built in to fvwm.c.
12198 * fvwm/ConfigFvwmSetup: Skeleton of a new users configuration.
12200 * fvwm/Makefile.am (config_DATA): Added FvwmDefaults (additions
12201 to the builtin table, FvwmSetup (based on system.fvwm2rc).
12203 1999-04-04 Dominik Vogt <dominik.vogt@gmx.de>
12205 * ------ end of my changes to move all menu code to menus.c ------
12207 * fvwm/menus.h (MenuGlobals): strunct merged into MenuInfo
12209 * fvwm/fvwm.c (InitVariables): use new MenuInfo struct
12211 * fvwm/menus.h: moved menu specific stuff from ScreenInfo struct to new
12218 * fvwm/placement.c:
12226 * fvwm/decorations.c:
12228 removed '#include "menus.h"'
12230 * fvwm/misc.h (F_CMD_ARGS): moved macro to fvwm.h so that misc.h does
12231 not have to be included
12233 * fvwm/misc.c (GetOneMenuPositionArgument):
12234 (GetMenuOptions): moved to menus.c
12236 * fvwm/misc.h: moved all menu related stuff to menus.h
12238 * fvwm/builtins.c (add_another_item): use new function
12239 add_another_menu_item
12241 * fvwm/menus.c (add_another_menu_item): new function
12244 * fvwm/misc.c (set_last_added_item): new function
12246 * fvwm/fvwm.c (InitVariables):
12247 * fvwm/screen.h (ScreenInfo):
12249 * fvwm/menus.c (SetMenuCursor): (new function)
12251 * fvwm/builtins.c (CursorStyle):
12252 * fvwm/builtins.c (ApplyDefaultFontAndColors):
12253 moved menu functionality to menus.c
12255 * fvwm/builtins.c (ChangeMenuStyle):
12259 (GetMenuStyleIndex):
12261 (DestroyMenuStyle):
12270 (add_item_to_menu):
12273 * ------ begin of my changes to move all menu code to menus.c ------
12275 * fvwm/builtins.c (Recapture): "window" option allows to recapture a
12278 * fvwm/fvwm.c (CaptureAllWindows):
12279 (CaptureOneWindow): Moved code to recapture a single window into
12282 * fvwm/resize.c (resize_window): enlarged warp area in windows to 1/7
12287 * fvwm/menus.c (MakeMenu): removed SAVEUNDERS option
12290 * configure.in: removed windowshade option
12292 * fvwm/session.c: reindented file
12295 * fvwm/resize.c (resize_window):
12297 * fvwm/move.c (AnimatedMoveAnyWindow):
12300 * fvwm/gnome.c (GNOME_GetHintState):
12303 * fvwm/functions.c (func_config):
12304 * fvwm/events.c (HandleConfigureRequest):
12309 * fvwm/add_window.c (AddWindow):
12310 * fvwm/borders.c (SetBorder):
12312 removed ifdefs for WINDOWSHADE
12314 1999-04-03 Dominik Vogt <dominik.vogt@gmx.de>
12316 * fvwm/fvwm.c (main): moved DBUG message to correct place
12318 * fvwm/fvwm2.1 (Desk): renamed command to 'GotoDesk'. Old name is still
12321 * fvwm/misc.h: add new functions, sorted virtual.c entries
12323 * fvwm/builtins.c (stick_function): use do_move_window_to_desk to fix
12324 'Stick' function with desk numbers (bug #274)
12326 * fvwm/virtual.c (do_move_window_to_desk):
12327 (move_window_to_desk): move some code to do_... function
12329 * fvwm/functions.c (func_config): GotoDesk is a synonym for Desk
12332 * fvwm/functions.c (func_config):
12333 * fvwm/virtual.c (changeWindowsDesk): renamed obsolete function to new
12334 command name 'move_window_to_desk'
12336 Sun Apr 4 11:07:53 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
12338 * utils/xselection.c (paste_primary): removed unused variable.
12340 Sun Apr 4 04:04:06 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
12342 * fvwm/Makefile.am (fvwm2_SOURCES): add `session.h'
12343 * fvwm/session.h: new file for exports from session.c.
12344 * fvwm/fvwm.c: include session.h.
12346 1999-04-04 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
12348 * fvwm/fvwm.c (Done): use the session management functions
12349 to save state to $HOME/.fvwm_restart and add
12350 "-restore $HOME/.fvwm_restart" to the command exec'd for
12353 * fvwm/session.c: reorganized a bit to put only the functions
12354 in #ifdef SESSION ... #endif which actually depend on SMlib.h.
12355 (SaveWindowStates): Save window id.
12356 (LoadWindowStates): Store saved window id in Match struct.
12357 (matchWin): If Restarting is true, match by window id.
12361 * fvwm/add_window.c:
12362 * fvwm/misc.h: Remove #ifdef SESSION ... #endif protection
12363 around calls to functions which are now compiled unconditionally.
12366 * fvwm/fvwm2.1: document the new Restart functionality.
12368 Sat Apr 3 14:12:26 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
12370 * libs/Parse.c (SkipNTokens): removed unused variable.
12372 * fvwm/functions.c: removed unused variables.
12374 * fvwm/menus.c: removed unused variables, initialized variable
12377 Sat Apr 3 02:06:01 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
12379 * libs/Parse.c (XCmpToken): add function from ModParse.c
12381 * libs/fvwmlib.h: add macro FindToken from ModParse.h
12383 * libs/Makefile.am (libfvwm_a_SOURCES): removed ModParse.c and
12386 * libs/Parse.c (GetNextOption): treat comma as a `delimiter',
12387 rather than a `space'.
12389 1999-04-02 Dominik Vogt <dominik.vogt@gmx.de>
12391 * fvwm/events.c (HandlePropertyNotify): merged duplicate if statement
12393 * fvwm/icons.c (DrawIconWindow): closed unterminated comment
12395 * fvwm/add_window.c (AddWindow): temporary fix for sides/corners
12397 1999-04-01 Andrew T. Veliath <andrewtv@usa.net>
12399 * fvwm/functions.c (func_config): Make GNOMEButton uppercase.
12401 1999-04-02 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
12405 * fvwm/misc.c (RaiseWindow): Remove EXCEED_HACK, always compile
12408 1999-04-01 Dominik Vogt <dominik.vogt@gmx.de>
12410 * fvwm/resize.c (resize_window): experimental patch: warp pointer to
12411 the sides/corners when pressed near the edge (within 20 pixels)
12413 * fvwm/events.c (HandleButtonPress): clicktofocusdoesntpassclick works
12414 with no-input windows now
12416 * fvwm/builtins.c (Maximize): consider desk number when checking if
12417 window is on current page
12419 1999-04-01 Andrew T. Veliath <andrewtv@usa.net>
12421 * fvwm/builtins.c (SetDeskSize): Call GNOME_SetAreaCount.
12423 * fvwm/misc.h: Add proto for GNOME_SetAreaCount.
12425 * fvwm/Makefile.am (GNOME): If GNOME hints disabled, avoid
12426 compilation of gnome.c.
12428 * configure.in: Turn --enable-gnome into an smr_SWITCH macro and
12429 use an AM_CONDITIONAL.
12433 * fvwm/*: #define PICK_TRUECOLOR and fvwm will use a truecolor visual
12434 rather than the default.
12436 Wed Mar 31 20:32:27 1999 Steve ROBBINS <stever@bottom.bic.mni.mcgill.ca (Steve ROBBINS)>
12438 * fvwm/menus.c (menuShortcuts): removed C++-style comment.
12440 * acconfig.h (alloca stuff): moved to @BOTTOM@ section, because it
12441 depends on the definition of HAVE_ALLOCA_H. Also removed the
12442 ifndef _GNUC_; nobody knows why we can't include <alloca.h> when
12443 compiling with gcc. On the contrary, this file provides a
12444 prototype for alloca() which is a good thing.
12446 1999-04-01 Tomas Ogren <stric@ing.umu.se>
12448 * fvwm/move.c (moveLoop): Fixed typo: window_being_moved ->
12449 window_being_moved_opaque
12451 1999-04-01 Dominik Vogt <dominik.vogt@gmx.de>
12453 * fvwm/events.c (HandleButtonPress): any modifier works with
12456 * fvwm/menus.c (menuShortcuts): fixed coredump in multiple hotkeys and
12457 fixed problem with exactly two identical hotkeys where one was the
12458 first or last item of the menu
12460 1999-03-31 Dominik Vogt <dominik.vogt@gmx.de>
12462 * fvwm/fvwm2.1 (ButtonStyle): documented MWMDecorShade
12464 * fvwm/decorations.c (SelectDecor):
12465 * fvwm/borders.c (DrawButton):
12466 * fvwm/screen.h: added a MWMDecorShade button style (looks like max but
12467 is shown when the mwm hints would show a minimize button)
12469 * fvwm/builtins.c (Maximize): Unmaximizing a window on the current page
12470 always maps the window on the current page.
12473 * fvwm/virtual.c (MoveViewport):
12474 * fvwm/fvwm.h (FvwmWindow):
12475 * fvwm/move.c (moveLoop): fixed window moving with the outline over
12478 1999-03-31 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
12481 * fvwm/icccm2.c (SetupICCCM2): add parameter replace_wm.
12482 Don't replace running wm unless replace_wm is nonzero.
12484 * fvwm/fvwm.c (main): call SetupICCCM2 with a boolean parameter
12485 which is set if the command line argument "-replace" is given.
12487 * fvwm/fvwm.c (usage): add -replace, -clientId and -restore.
12490 * fvwm/fvwm2.1 (ICCCM COMPLIANCE):
12491 * fvwm/fvwm2.1 (OPTIONS): document -replace and possible problems.
12493 * fvwm/move.c (moveLoop): only set window_being_moved for
12494 opaque moves, since setting it for rubberband moves makes
12495 the window behave like a sticky window.
12497 * fvwm/virtual.c (MoveViewport): fix a typo: there was a
12499 1999-03-31 Dominik Vogt <dominik.vogt@gmx.de>
12502 * fvwm/decorations.c (check_allowed_function):
12503 (check_allowed_function2): removed
12505 * fvwm/builtins.c (Maximize):
12506 (iconify_function):
12507 (destroy_function):
12509 (close_function): use check_if_function_allowed
12511 * fvwm/decorations.c (check_if_function_allowed): modified function to
12512 make it independent of menu code
12514 * fvwm/menus.c (PaintEntry): fixed hilighting greyed out items
12516 * libs/Bindings.c (ParseBinding): fixed uninitialised memory reads
12518 * fvwm/functions.c (update_last_string): fixed freeing unallocated
12521 1999-03-31 Dan Espen <dane@mk.bellcore.com>
12523 * fvwm/Makefile.am (fvwm2_SOURCES): gnome.c listed twice.
12525 1999-03-30 Dominik Vogt <dominik.vogt@gmx.de>
12527 * fvwm/functions.c: sorted functions
12530 * fvwm/functions.c (func_config):
12531 (repeat_function): new 'Repeat' function
12533 * fvwm/builtins.c (Maximize):
12534 * libs/Parse.c (PeekToken): changed PeekToken function to return token
12535 and set new string pointer via parameters
12539 * fvwm/functions.c (DeferExecution):
12540 (ExecuteFunction): added some debugging code to force a coredump if
12541 tmp_win is accessed in functions that don't use DeferExecution (which
12542 is illegal: if they need a window they have to make sure they got one).
12543 (expand): added 'noexpand' command prefix
12545 * fvwm/functions.c (DeferExecution): Check *tmp_win for non-NULL
12546 instead of tmp_win. Caused a coredump.
12548 Tue Mar 30 20:54:15 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
12550 * fvwm/menus.c (menuShortcuts): bugfix `if ( countHotkey = 1 )'
12551 --> `if ( countHotkey == 1 )'.
12553 * fvwm/fvwm.c (main): exit after processing -version option. Make
12554 `vizinfo' conditional on PICK_TRUECOLOR.
12555 * fvwm/fvwm.c (usage): call exit().
12557 1999-03-31 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
12559 * fvwm/virtual.c (MoveViewport): fix a typo: there was a
12560 reference to t left in the t1-part of the double loop. This
12561 caused strange behaviour when moving across page boundaries.
12563 1999-03-30 Tomas Ogren <stric@ing.umu.se>
12565 * fvwm/gnome.c: Missing file from the Gnome patch...
12566 * fvwm/Makefile.am: Added gnome.c
12568 1999-03-30 Dominik Vogt <dominik.vogt@gmx.de>
12570 **/*: applied Gnome patch by Jay Painter
12572 1999-02-07 Michael Han <mikehan@best.com>
12574 * fvwm/menus.c (menuShortcuts): Changed the hotkey handler from a flat
12575 once-over the menu to a "smarter" search that locates the next match
12576 and distinguishes between unique and non-unique hotkeys, doing a
12577 MENU_NEWITEM selection for non-uniques and retaining existing behavior
12578 for unique hotkeys.
12579 (AddToMenu): Commented out checks to prevent binding of duplicate
12580 hotkeys for what I think are obvious reasons.
12581 (FHotKeyUsedBefore): Noted that this function is now
12583 1999-03-30 Dominik Vogt <dominik.vogt@gmx.de>
12585 * fvwm/menus.c (AddToMenu):
12587 (menuShortcuts): applied multiple menu hotkey patch by Mike Han
12589 * libs/Bindings.c (ParseBinding): removed UMR
12593 * fvwm/*: First attempt at getting fvwm to use non-default visual,
12594 #define PICK_TRUECOLOR to turn it on.
12596 1999-03-29 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
12598 * fvwm/misc.c (RaiseWindow):
12599 (LowerWindow): Fix oversight in raising/lowering icons:
12600 icon_pixmap_w wasn't treated.
12604 * fvwm/{builtins,colors,fvwm,icccm2,menus}.c: All GC's are now created
12605 from Scr.NoFocusWin which could have a non-default Visual is somebody
12606 coded a -visual option. ICCCM2 stuff uses NoFocusWin rather than
12607 creating another hidden window.
12609 1999-03-29 Dominik Vogt <dominik.vogt@gmx.de>
12611 * fvwm/fvwm.c (SetRCDefaults): changed back to MouseFocus as default
12613 Mon Mar 29 01:02:40 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
12615 * fvwm/fvwm2.1: removed duplicated IconPath, fixed missing italic
12618 Sun Mar 28 22:09:12 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
12620 * libs/Parse.c (NukeToken): removed errant semicolon.
12622 * fvwm/module.h: prototyped PositiveWrite.
12624 * fvwm/fvwm.c: added `unused' attribute to sccsid to quiet gcc
12627 * fvwm/virtual.c (get_page_arguments):
12628 * fvwm/builtins.c (Maximize):
12629 * fvwm/borders.c (SetBorder):
12630 * fvwm/bindings.c (ignore_modifiers):
12631 * libs/Bindings.c (GrabWindowButton): removed unused variables.
12633 * libs/fvwmlib.h: add prototype for GrabAllWindowButtons.
12635 * libs/Bindings.c (find_context): rewrote since variable `tmp1'
12636 was used uninitialized.
12638 Sun Mar 28 17:56:27 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
12640 * libs/Picture.c: removed $Id from comment; avoids unnecessary
12641 rebuilds after a cvs commit.
12643 Sun Mar 28 15:42:30 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
12645 * libs/Strings.c (stripcpy): add 'const' qualifier to 'char*'
12648 * fvwm/builtins.c (imagePath_function, iconPath_function,
12649 pixmapPath_function, setModulePath): change to new setPath().
12651 * libs/Picture.c (SetImagePath): use new setPath() internally.
12654 * libs/System.c (setPath): new function. Sets a colon-separated
12655 path variable, e.g. ImagePath and ModulePath. Expands environment
12656 variables, and expands + to be the previous value of the path.
12658 * fvwm/fvwm2.1: rewrote ImagePath and ModulePath entries to
12659 document the '+' expansion.
12661 Sun Mar 28 11:44:29 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
12663 * fvwm/Makefile.am (AM_CFLAGS): move '-D' flags for FVWM_MODLEDIR
12664 and FVWM_LIBDIR to this variable and removed the special build
12665 rules for builtins.c, fvwm.c, and read.c; the special rules
12666 prevented automake's dependency-tracking from working
12668 * acconfig.h (FVWMRC): moved filename suffix symbol FVWMRC here.
12670 1999-03-28 Dominik Vogt <dominik.vogt@gmx.de>
12672 * fvwm/fvwm2.1: Removed obsolete doublequotes from many examples
12674 * libs/Parse.c (CopyToken): fixed quoting with backslashes
12676 * fvwm/module.c (executeModule): fixed coredump (empty action and
12677 REMOVE_EXECUTABLE_EXTENSION defined)
12679 * fvwm/fvwm2.1 (GrabFocus): documented syntax change
12681 * fvwm/style.c (ProcessNewStyle): ClickToFocus implies GrabFocus,
12682 MouseFocus and SloppyFocus imply GrabFocusOff
12684 * fvwm/fvwm2.1 (Mouse): syntax update ('l' allowed as a modifier).
12686 * fvwm/bindings.c (ignore_modifiers): use ParseModifiers from library
12688 * libs/Bindings.c (win_contexts): allow function key names in 'Key'
12689 command to be lower case.
12690 (key_modifiers): caps-lock is now an allowed modifier
12692 * fvwm/bindings.c (mouse_binding):
12694 (activate_binding): Key and mouse bindings are activated immediately
12695 now. No need for racapture anymore.
12697 * fvwm/icons.c (GrabIconButtons):
12698 * fvwm/add_window.c (GrabButtons): remove terribly redundant code
12699 (GrabButtons): moved functionality into library
12701 * fvwm/fvwm2.1 (Examples): added a warning about performance downgrade
12703 * fvwm/bindings.c (key_binding): grab new keys immediately, don't wait
12704 for next recapture.
12706 * libs/Bindings.c (GrabWindowKey):
12707 (GrabAllWindowKeys): new functions to handle bindings
12709 * fvwm/icons.c (GrabIconKeys):
12710 * fvwm/add_window.c (GrabKeys): functionality moved into library
12712 1999-03-27 Dominik Vogt <dominik.vogt@gmx.de>
12714 * fvwm/events.c (HandleButtonPress): fixed bug in title button drawing
12716 * --- end of changes to move binding code into fvwmlib ---
12718 * fvwm/functions.c (func_config): use key_func/mouse_func instead of
12721 * fvwm/icons.c (GrabIconButtons):
12723 * fvwm/events.c (HandleButtonPress):
12725 * fvwm/add_window.c (GrabKeys):
12726 (GrabButtons): use new Bindings module in fvwmlib
12729 * fvwm/menus.h (Binding): moved typedef to fvwmlib.h
12732 * fvwm/fvwm.h: move context macros into fvwmlib
12734 * libs/Makefile.am: added Bindings.c
12736 * libs/Bindings.c: new file
12738 * --- begin of changes to move binding code into fvwmlib ---
12740 1999-03-27 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
12742 * fvwm/move.c (moveLoop): don't send synthetic
12743 ConfigureNotify containing wrong size information when
12744 moving icons. This caused xterms to think they're 48x48
12745 after moving their icon and deiconfying them.
12747 1999-03-26 Steven Michael ROBBINS <stever@jeff.cs.mcgill.ca>
12749 * fvwm/builtins.c (SetXOR): added missing semicolon.
12751 1999-03-26 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
12753 * fvwm/misc.c (RaiseWindow): add a hack to raise *all* windows
12754 while keeping their stacking order; I hope this helps with
12755 Exceed and native windows. Someone with access to an Exceed
12756 X Server has to replace the XFree vendor id by the Exceed
12757 vendor id - I don't know it.
12759 * configure.in (EXCEED_HACK): New flag to protect the above hack.
12760 It defaults to `off'.
12765 * fvwm/screen.h: moved 6 globalopts ints into Scr.go bitfield
12767 1999-03-23 Dominik Vogt <dominik.vogt@gmx.de>
12769 * fvwm/events.c (HandleButtonPress): fixed border drawing and button
12772 1999-03-24 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
12774 * fvwm/resize.c (resize_window):
12775 * fvwm/builtins.c (Maximize):
12776 * fvwm/add_window.c (AddWindow):
12777 * fvwm/session.c (SaveWindowStates):
12778 * fvwm/events.c (HandleConfigureRequest):
12779 * fvwm/borders.c (SetBorder): Change orig_x/orig_y to absolute coords.
12781 * fvwm/builtins.c (Maximize): Unmaximize to the same
12782 absolute position as before (unless we're sticky).
12784 * fvwm/events.c (HandleMapRequest): While in startup,
12785 handle map request by just mapping the window, decorations
12788 1999-03-22 Dominik Vogt <dominik.vogt@gmx.de>
12791 * fvwm/fvwm.h: fixed order of window flags
12793 1999-03-24 Bob Woodside <proteus@pcnet.com>
12795 * fvwm/add_window.c: Reuse FvwmWindow structure on Recapture.
12796 * fvwm/events.c: Ibid.
12797 * fvwm/fvwm.c: Ibid.
12798 * fvwm/fvwm.h: Ibid.
12799 * fvwm/misc.c: Ibid.
12800 * fvwm/misc.h: Ibid.
12802 1999-03-23 Dan Espen <dane@mk.bellcore.com>
12804 * libs/Parse.c (GetSuffixedIntegerArguments): Correctly initialize
12805 "suffixes" variable to correct a UMR detected by Purify.
12806 (DoPeekToken): Made tmptok static since its address is being
12807 returned. This is probably not the right way to fix this.
12808 (GetSuffixedIntegerArguments): Remove extra code from suffixlist
12811 1999-03-23 Tomas Ogren <stric@ing.umu.se>
12813 * libs/Parse.c (GetIntegerArguments): When chaining functions, please
12814 remember to pass along the return-value all the way out..
12816 1999-03-22 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
12818 * fvwm/add_window.c (LookInList): Initialize layer to
12819 Scr.StaysPutLayer. This means that windows without any
12820 layer-setting style option (StaysOnTop/StaysPut/Layer) are put in
12821 the same layer as those with explicit StaysPut.
12823 1999-03-22 Dominik Vogt <dominik.vogt@gmx.de>
12825 * fvwm/misc.c (GetMenuOptions): another try to fix the UMR
12827 * libs/Parse.c (GetSuffixedIntegerArguments): fixed UMR
12829 * fvwm/builtins.c (Maximize):
12831 (MaximizeWidth): applied patch for maximize (maximize until another
12833 (Maximize): changed syntax: use 'grow' instead of '-1'
12836 * libs/Parse.c (CmpToken): duplicate function removed (same as
12838 (DoGetNextToken): rewritten to use new DoPeekToken, SkipSpaces and
12840 (MatchToken): use new DoPeekToken fuction
12841 (CopyToken): new function - use with care
12842 (SkipSpaces): new function
12843 (DoPeekToken): new function replaces PeekToken
12844 (SkipNTokens): use new PeekToken function
12845 (CheckNTokens): new function to check if there are N more tokens.
12847 * fvwm/menus.c (do_menu): fixed bug that caused menus to believe they
12848 were doubleclicked from title buttons
12850 * fvwm/fvwm2.1: adapted iconify examples to new syntax
12852 * fvwm/bindings.c (CheckBinding): return True if a binding was executed
12853 * fvwm/events.c (HandleKeyPress): fixed bindings (key/mouse events not
12854 eaten up when a binding matches)
12855 (HandleButtonPress): fixed title bar button drawing but may break
12858 1999-03-21 Dominik Vogt <dominik.vogt@gmx.de>
12860 * fvwm/misc.c (GetMenuOptions): tried to fix UMR in GetMenuOptions
12862 1999-03-22 Dan Espen <dane@mk.bellcore.com>
12864 * fvwm/fvwm2.1 (Example): Colorlimit cutoff point now 21 bits.
12866 * fvwm/builtins.c (SetColorLimit): Adjusted colorlimit cutoff point
12869 1999-03-21 Dominik Vogt <dominik.vogt@gmx.de>
12871 * fvwm/builtins.c (SetBorderStyle): fixed coredump with whitespace
12872 behind an opening parenthesis
12873 (ReadTitleButton): dito
12875 * sample.fvwmrc/new-features: removed illegal option 'Solid' from
12876 BorderStyle examples.
12878 * fvwm/bindings.c (CheckBinding): fixed bindings to mouse button '0'
12880 * fvwm/virtual.c (scroll): applied Scroll command fix by Keith Pomakis.
12881 (get_page_arguments): fixed bug in new syntax
12884 * fvwm/events.c (HandleMapRequestKeepRaised):
12885 * fvwm/style.c (ProcessNewStyle):
12886 * fvwm/fvwm.h (FvwmWindow):
12887 * fvwm/add_window.c (AddWindow): implemented GrabFocus/GrabFocusOff
12888 style (default is GrabFocus Off)..
12890 * fvwm/fvwm2.1 (IgnoreModifiers): documented new command
12891 (WindowShade): updated new toggling syntax
12894 * fvwm/functions.c (func_config): new command IgnoreModifiers (based on
12895 patch by Benoit TRIQUET <benoit@adsl-216-100-248-201.dsl.pacbell.net>)
12897 * fvwm/focus.c (SetFocus):
12898 * fvwm/add_window.c (GrabButtons):
12899 (GrabKeys): use MaskUsedModifiers and GetUnusedModifiers instead of
12900 global mods_used and LockMask
12902 * fvwm/bindings.c (GetUnusedModifiers):
12903 (MaskUsedModifiers):
12904 (CheckBinding): new function for binding handling
12906 * fvwm/events.c (HandleKeyPress):
12907 (HandleButtonPress): moved binding checking code to bindings.c
12909 * fvwm/builtins.c (stick_function): fixed bug in Stick function (could
12910 only turn sticky off)
12912 * fvwm/fvwm2.1 (GotoPage):
12913 * fvwm/fvwm2.1 (MoveToPage): documented new syntax
12915 * libs/Parse.c (GetSuffixedIntegerArguments): added function for
12916 parsing integer arguments with suffixes
12918 * fvwm/fvwm2.1 (Examples): documented new options for MoveToPage and
12921 1999-03-20 Dominik Vogt <dominik.vogt@gmx.de>
12923 * fvwm/move.c (move_window_doit):
12924 * fvwm/virtual.c (get_page_arguments):
12926 * fvwm/misc.h: implemented a 'previous page' option for GotoPage and
12927 MoveToPage functions (original patch by Nagi Aboulenein). Negative page
12928 numbers refer to the lowest or rightmost page. The suffix 'p' indicates
12931 * fvwm/menus.c (DrawTrianglePattern): applied menu triangle patch for
12932 low resolutions by Adam Rice <wysiwyg@glympton.airtime.co.uk>
12934 Sun Mar 21 10:29:40 1999 DanEspen <dje@blue>
12936 * NEWS: Updates on form pasting, ImagePath adding, ColorLimit.
12938 * libs/Picture.c (SetImagePath): Add to the existing image path.
12940 * fvwm/fvwm2.1 (ImagePath): Indicate that ImagePath adds to the front
12941 of the image path. Document that there is a builtin image path.
12943 1999-03-21 Tomas Ogren <stric@ing.umu.se>
12945 * fvwm/builtins.c: Maximize can now expand until hitting some other
12946 window (with the arg(s) -1). Ideas taken from enlightenment.
12947 * fvwm/builtins.c: Fixed various compiler warnings.
12949 1999-03-21 Tomas Ogren <stric@ing.umu.se>
12951 * fvwm/builtins.c: Fixed various compiler warnings.
12953 Sat Mar 20 15:22:02 1999 DanEspen <dje@blue>
12955 * fvwm/builtins.c (SetColorLimit): Ignore ColorLimit if display
12956 depth exceeds 8 bits.
12958 * fvwm/fvwm2.1 (Example): Describe new behavior, colorlimit does
12959 nothing on display depths greater than 8, else new default is 255.
12961 * fvwm/fvwm.c (InitVariables): If screen depth is 8 bits or less,
12962 automatically colorlimit.
12964 * fvwm/fvwm2.1 (id): remove FvwmTalk
12966 * configure.in (xpm_problem): remove FvwmTalk
12968 1999-03-20 Dominik Vogt <dominik.vogt@gmx.de>
12970 * fvwm/move.c (moveLoop):
12971 * fvwm/virtual.c (MoveViewport): fixed a bug that caused a window
12972 that was being moved to flicker back to its original position when it
12973 was moved over the screen edge e.g. with EdgeScroll 10 10
12975 * fvwm/events.c (HandleEnterNotify):
12976 * fvwm/resize.c (resize_window):
12977 * fvwm/move.c (moveLoop): changes for new version of HandlePaging
12979 * fvwm/virtual.c (HandlePaging): rewrote HandlePaging to return
12980 immediately so resize or move can continue when the pointer is on the
12983 1999-03-16 Dominik Vogt <dominik.vogt@gmx.de>
12985 * fvwm/fvwm2.1: documented inability to bind something to the corners
12986 of a naked transient
12988 * fvwm/events.c (HandleButtonPress): fixed bug: naked transients can't
12989 have functions bound to the frame with MouseFocusClickRaises.
12992 * configure.in: sorted options
12994 1999-03-19 Andrew T. Veliath <andrewtv@usa.net>
12997 (add_item_to_menu),
12998 (add_item_to_func),
12999 (add_item_to_decor): Fix state changes to keep `+' happy.
13000 (SetButtonFlag): Reindent and make more readable.
13002 1999-03-19 Tomas Ogren <stric@ing.umu.se>
13004 * fvwm/fvwm2.1: Fixed some *roff tyops
13006 1999-03-18 Paul D. Smith <psmith@gnu.org>
13008 * libs/Module.c (SendText): Rewrite to work on RISC architectures
13009 where you can't dereference non-aligned pointers as ints.
13011 * configure.in: Use AC_FUNC_ALLOCA to test for alloca() support.
13012 * acconfig.h: Add boilerplate to initialize alloca() properly for
13014 * libs/Makefile.am (libfvwm_a_LIBADD): Add alloca.o to the libfvwm
13015 library if necessary.
13016 * fvwm/events.c (DispatchEvent): If we're using the C version of
13017 alloca, call alloca(0) to clean up.
13021 * fvwm/{fvwm2.1,builtins.c} WindowShadeAnimate takes a'p' suffix to
13022 mean pixels for the step size.
13023 * fvwm/{screen.h,{builtins,fvwm,session}.c} New GlobalOpt:
13024 WindowShadeShrinks (with default WindowShadeScrolls) for oclock
13025 * fvwm/{fvwm{2.1,.h},builtins.c} Patch from Neil Bird to add conditions
13026 to the WindowId command.
13028 1999-03-17 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
13030 * fvwm/builtins.c (CursorStyle):
13032 * NEWS: enhance CursorStyle to allow specification of cursor
13033 colors and creating cursors from pixmaps.
13035 1999-03-17 Tomas Ogren <stric@ing.umu.se>
13037 * fvwm/add_window.c fvwm/borders.c fvwm/builtins.c fvwm/events.c
13038 fvwm/icons.c fvwm/misc.h fvwm/move.c fvwm/resize.c fvwm/virtual.c:
13039 Added one argument to SetupFrame, which is only used when shading to
13040 avoid windows with size -2 etc..
13042 Wed Mar 17 06:42:10 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
13044 * INSTALL.fvwm: add a note about include directories for optional
13047 1999-03-17 Bob Woodside <proteus@pcnet.com>
13049 * docs/fvwm.lsm: corrected a couple of typos that prevented the LSM
13050 from accepting the entry.
13052 Wed Mar 17 00:09:32 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
13054 * fvwm/modconf.c (SendDataToModule): fixed stupid off-by-one error
13055 that caused a stack smash.
13057 1999-03-17 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
13059 * fvwm/module.c (KillModule): remove spurious debug message.
13061 1999-03-16 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
13063 * fvwm/misc.h (name_list_struct): add starts_lowered and
13064 has_starts_lowered to tmpflags bitfield.
13065 * fvwm/add_window.c (AddWindow):
13066 * fvwm/style.c (ProcessNewStyle): implement
13067 StartsLowered/StartRaised style flags.
13069 * fvwm/fvwm2.1: document StartsLowered/StartsRaised.
13071 * fvwm/icccm2.c (HandleSelectionClear): remove spurious fvwm_msg.
13073 * fvwm/misc.h (name_list_struct): add flag has_layer in a new
13075 * fvwm/style.c (ProcessNewStyle): set has_layer.
13076 * fvwm/add_window.c (merge_styles): use has_layer.
13078 1999-03-16 Tomas Ogren <stric@ing.umu.se>
13080 * modules/FvwmGtk/Makefile.am: Added GTK_CFLAGS and friends, the
13081 values we got from autoconf...
13083 16th Mar 1999 Hippo
13085 * fvwm/builtins.c,functions.c,misc.h,parse.h: applied Replace
13086 patch from Trent Piepho <xyzzy@u.washington.edu> first posted in
13087 Nov 1996. Changed the name to PlaceAgain to avoid confusion.
13089 Mon Mar 15 22:17:04 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
13091 * fvwm/fvwm.c (SetRCDefaults): add "Exec xterm" to builtin menu.
13092 Very handy for the times that you f*@# up an install by forgetting
13093 to install a config file.
13095 1999-03-15 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
13097 * libs/Module.c (SendText): Send packets atomically in order
13098 to avoid fvwm accidentially killing a module after reading the
13099 first word of the packet too fast.
13101 * acinclude.m4: include gtk.m4 in order to make rebuilding
13102 on gtk-less hosts less error-prone.
13104 1999-03-13 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
13106 * fvwm/module.c (SendStrToModule): Make sure fvwm doesn't hold
13107 any grabs while sending strings to modules. This is necessary for
13108 implementing menus in modules.
13110 1999-03-14 Dominik Vogt <dominik.vogt@gmx.de>
13112 * utils/fvwmrc_convert: applied MenuStyle patch
13114 * fvwm/events.c (HandleButtonPress): fixed ClickToFocus
13116 Sat Mar 13 15:12:37 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
13118 * configure.in: add entry for modules/FvwmCommand/scripts/Makefile.
13120 Sat Mar 13 11:04:48 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
13122 * configure.in: added check for perl. Re-ordered to put tests for
13123 optional libraries near the beginning, so we can fail early if
13124 desired library is not found.
13126 * acinclude.m4 (smr_ARG_WITHINCLUDES): removed `unset', as it is
13127 said to be unportable.
13129 1999-03-13 Steven Michael ROBBINS <stever@jeff.cs.mcgill.ca>
13131 * vms/*: updates from Fabien.
13133 1999-03-12 Steven Michael ROBBINS <stever@jeff.cs.mcgill.ca>
13135 * fvwm/borders.c (SetBorder): removed text following #endif, as it
13136 violates the ANSI C standard (or so claims SGI cc).
13138 1999-03-12 Dominik Vogt <dominik.vogt@gmx.de>
13140 * fvwm/menus.c (DoMenusOverlap): fixed menu animation bug
13142 1999-03-11 Dominik Vogt <dominik.vogt@gmx.de>
13144 * fvwm/events.c (HandleButtonPress): fixed bug with <shift> being
13145 treated differently than the other modifiers when using ClickToFocus.
13149 * fvwm/borders.c (SetBorder): rewritten the frame drawing code to
13150 restore FvwmBorder style look. Resize handles are now InputOnly
13151 windows and all border drawing happens in FvwmWindow->frame. Less code
13152 and makes "BorderStyle DGradient" feasible.
13153 * libs/Graphics.c: fixed memory leak
13155 Fri Mar 12 08:51:09 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
13157 * libs/Graphics.c (RelieveWindowGC): replaced dynamic array size
13158 with explicit malloc() call.
13159 * fvwm/menus.c (menuShortcuts): removed cast on lvalue.
13160 Both problems noted by Fabien Villard.
13162 1999-03-11 Dominik Vogt <dominik.vogt@gmx.de>
13164 * fvwm/functions.h: removed ONE_AND_A_HALF_CLICKS
13165 * fvwm/functions.c (ComplexFunction2): applied fix for click vs.
13166 doubleclick distinction by Dan D Niles, removed ONE_AND_A_HALF_CLICKS
13168 * fvwm/fvwm.c (Done): print system error message if Restart fails
13170 * fvwm/fvwm2.1 (Restart): updated syntax
13172 * fvwm/fvwm.c (Done): Suppress error message when Restart is used
13173 without arguments, just restart fvwm
13175 * utils/fvwmrc_convert: patches by Julian Gilbey
13177 * fvwm/menus.c (menuShortcuts): applied patch: convert menu shortcuts
13178 to lowercase before comparing with hotkey
13180 * fvwm/fvwm2.1 (viewport): added hint about newline quoting
13182 1999-03-10 Dominik Vogt <dominik.vogt@gmx.de>
13184 * fvwm/fvwm2.1 (Popup): clarification on recursive menus
13186 * fvwm/menus.c (MenuInteraction): fixed PopupAsSubmenu option;
13187 definitely should test my code before committing
13189 * fvwm/fvwm2.1: updated manpage for below options
13191 * fvwm/builtins.c (NewMenuStyle): added 'PopupAsRoot' and
13192 'PopupAsSubmenu' options to MenuStyle
13194 * fvwm/menus.h: added MenuStyle flag PostPopupAsRoot
13196 * fvwm/functions.c (ComplexFunction2): fixed positional parameters in
13201 * fvwm/events.c (DispatchEvent) clears the rubber band outline
13202 before processing the event.
13204 Wed Mar 10 10:52:31 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
13206 * vms/*: files specific to the VMS port, courtesy of Fabien Villard.
13208 * fvwm/module.c (executeModule): put ifdef around exit() if child
13209 fails to exec the module binary. Apparently VMS doesn't actually
13210 spawn a child process unless the exec() call succeeds. Calling
13211 exit after fork() returns 0 will exit the parent! Search for
13212 executables ending with EXECUTABLE_EXTENSION, and optionally
13213 remove the extension before exec().
13215 * fvwm/fvwm.c (main): put ifdef around setting close-on-exec for
13216 the X11 file descriptor. DecWindows returns an event flag instead
13217 of a file descriptor in the fd field of the Display structure.
13219 * acconfig.h: add preprocessor symbols HAVE_X11_FD,
13220 FORK_CREATES_CHILD, EXECUTABLE_EXTENSION, and
13221 REMOVE_EXECUTABLE_EXTENSION to support the above. All are set to
13222 suitable values for unix semantics.
13224 Tue Mar 9 22:14:25 1999 Steve ROBBINS <stever@osric.bic.mni.mcgill.ca>
13226 * extras: removed. Copied former 'extra' modules FvwmCommand,
13227 FvwmConsole, FvwmDebug, FvwmScript, FvwmTaskBar, and FvwmWharf to
13228 the modules directory. Removed the other extra modules FvwmConfig
13229 (author's documentation says it is "braindead" and he "discourages
13230 its use"), FvwmGoodStuff (obsoleted by FvwmButtons), FvwmPipe
13231 (similar functionality is obtained using FvwmCommand), fvwmperl
13234 * extras/ChangeLog: added to end of modules/ChangeLog.
13236 Tue Mar 9 18:00:22 1999 Steve ROBBINS <stever@osric.bic.mni.mcgill.ca>
13238 * configure.in (readline): check for readline/history.h, rather
13239 than readline/readline.h. Some packages install the latter, but
13240 not the former, but both are required if FVWM is to use readline.
13241 Also tell user why we are checking for readline twice.
13243 1999-03-09 Dominik Vogt <dominik.vogt@gmx.de>
13246 * fvwm/menus.c (FindPopup):
13247 * fvwm/functions.c (ComplexFunction2):
13249 Removed harmful GetNextToken from FindPopup and FindFunction. This is
13250 done before these functions are called now. (Bug found by Julian
13253 * utils/fvwmrc_convert: applied patch by Julian Gilbey
13255 * fvwm/fvwm2.1 (AddToFunc): description of below patch
13257 * fvwm/functions.c (expand): Added special variables $x and $y for
13258 complex functions. These expand to the x and y coordinates of
13259 the viewport. (Patch by Will French <wfrench@interport.net>)
13261 * fvwm/functions.c (IsClick): first click in function does not time out
13262 (ComplexFunction2): Do not assume 'Move' operation if the button has
13263 not been released within Scr.ClickTime. Just wait for the ButtonRelease
13264 before making the decision.
13266 1999-03-08 Dominik Vogt <dominik.vogt@gmx.de>
13268 * fvwm/read.c (ReadFile): use F_CMD_ARGS
13272 * libs/Graphics.c New function RelieveWindowGC() - draws relief lines
13273 of arbitrary thickness around a rectangle.
13275 1999-03-07 Tomas Ogren <stric@ing.umu.se>
13277 * fvwm/resize.c, fvwm/move.c, fvwm/virtual.c: Removed some extra ;'s
13278 which belongs in a prototype, not the actual function declaration.
13279 * fvwm/virtual.c (changeWindowsDesk): s/t/tmp_win/ .. since that's
13280 what the function gets as argument.
13282 1999-03-07 Dominik Vogt <dominik.vogt@gmx.de>
13284 * fvwm/fvwm2.1 (sub-menu): added description of 'Silent' function
13286 * fvwm/functions.c (ExecuteFunction):
13287 (DeferExecution): implemented silent_functions flags
13289 * fvwm/builtins.c (SetHiColor):
13292 (ApplyDefaultFontAndColors):
13294 * fvwm/virtual.c (checkPanFrames):
13296 * fvwm/session.c (SaveGlobalState):
13298 * fvwm/resize.c (resize_window):
13299 * fvwm/placement.c (PlaceWindow):
13300 * fvwm/fvwm.c (InitVariables):
13301 (CaptureAllWindows):
13302 * fvwm/menus.c (MakeMenu):
13303 use new Scr.flags structure
13305 * fvwm/screen.h (ScreenInfo): introduced flags structure and
13306 silent_functions flag. Removed old unsigned long flags.
13308 * fvwm/misc.h (struct functions): moved struct to functions.h
13310 * fvwm/functions.c (func_config): added 'Silent' command.
13312 * fvwm/virtual.c (setEdgeThickness):
13314 (changeWindowsDesk):
13316 * fvwm/resize.c (resize_window):
13317 * fvwm/move.c (move_window_doit):
13319 (animated_move_window):
13320 (move_window_to_page):
13321 * fvwm/functions.c (func_config):
13322 changed argument list to use F_CMD_ARGS
13324 * fvwm/functions.c (DeferExecution): moved function from builtins.c
13327 * fvwm/screen.h: removed ApplyWindowFont
13329 * fvwm/misc.h: removed ApplyIconFont
13331 * fvwm/builtins.c: Replaced argument list for builtins with macro
13332 F_CMD_ARGS (makes it easier to change this in the future).
13334 * fvwm/builtins.c (SafeDefineCursor): now static
13335 (FindMenuStyle): dito
13336 (ApplyIconFont): dito
13337 (ApplyWindowFont): dito
13339 * fvwm/move.c (InteractiveMove): fixed interactive move that was broken
13340 since fix for module input.
13342 * fvwm/menus.c (MakeMenu): fixed typo
13344 * ------ end of my changes to split functions and menus ------
13346 * fvwm/builtins.c (add_item_to_menu):
13348 * fvwm/windows.c (do_windowList):
13349 * fvwm/menus.c (MakeMenu):
13350 (NewMenuRoot): removed parameter to distinguish between menus and
13351 functions (NewMenuRoot).
13354 * fvwm/menus.h (MenuRoot): moved some flags into flags structure
13356 * fvwm/menus.c (DestroyMenu): fixed coredump with menus destroying
13359 * fvwm/misc.h: added NewFvwmFunction
13361 * fvwm/menus.h (MenuItem):
13362 * fvwm/menus.c (AddToMenu): removed unused flag 'func_needs_window'
13364 * fvwm/functions.c (find_func_type): return parameters optional
13366 * fvwm/builtins.c (add_another_item): updated for AddToFunction
13368 * fvwm/misc.h: added DestroyFunction
13370 * fvwm/builtins.c (destroy_fvwmfunc): new function
13372 * fvwm/parse.h: added F_DESTROY_FUNCTION
13374 * fvwm/builtins.c (add_item_to_func): use AddToFunction now instead of
13376 (add_item_to_menu): added last_func static global (like last_menu)
13377 (destroy_menu): fixed coredump:
13383 * fvwm/Makefile.am: removed complex.c, added functions.h
13385 * fvwm/functions.c (DestroyFunction): new function
13386 (NewFvwmFunction): new function
13388 * fvwm/misc.h: added FindFunction
13390 * fvwm/fvwm.c (StartupStuff):
13391 (Done): FindPopup -> FindFunction
13393 * fvwm/functions.c (FindFunction): analogon to FindPopup
13395 * fvwm/builtins.c (FindPopup): moved function to menus.c
13397 * fvwm/functions.c (expand): now static
13399 * fvwm/misc.h: removed function expand
13401 * fvwm/functions.c (IsClick): now static
13403 * fvwm/fvwm.c (InitVariables): initialise Scr.functions
13405 * fvwm/screen.h (ScreenInfo): added member 'FvwmFunction *functions'
13407 * fvwm/menus.h: moved function specific code into
13408 functions.c/functios.h
13410 * fvwm/functions.h: new file
13412 * fvwm/complex.c: merged file with functions.c
13414 * fvwm/functions.c (ExecuteFunction):
13415 * fvwm/complex.c (ComplexFunction):
13417 removed global variable 'desperate' by introducing a wrapper around
13418 ComplexFunction that copes with an additional argument
13420 * ------ beginning of my changes to split functions and menus ------
13422 1999-03-07 Dominik Vogt <dominik.vogt@gmx.de>
13424 * fvwm/functions.c (func_config): changed function names to uppercase
13425 (FindBuiltinFunction):
13426 (func_comp): functions are converted to uppercase before comparing them
13427 to the table entries
13429 1999-03-06 Dominik Vogt <dominik.vogt@gmx.de>
13431 * libs/Module.c (GetConfigLine):
13433 * fvwm/functions.c (func_config):
13434 Rerenamed builtin functions
13435 Send_ConfigInfo <- SendConfigInfo
13436 Send_WindowList <- SendWindowList
13437 set_mask <- SetMask
13439 1999-03-07 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
13441 * fvwm/add_window.c (merge_styles): fix Layer option handling.
13443 * fvwm/misc.c (BroadcastRestack): Reworked to send just one
13444 variable-size packet containing all windows. This is necessary
13445 to make the pager work properly. It seems ok to send packets
13446 larger than MAX_BODY_SIZE, since M_WINDOWNAME has to potential
13449 1999-03-06 Tomas Ogren <stric@ing.umu.se>
13451 * fvwm/fvwm2.1: Reformatted 2 paragraphs.. 'tr in the beginning of a
13452 line starts rot13-mode or something in nroff..
13454 1999-03-05 Tomas Ogren <stric@ing.umu.se>
13456 * fvwm/builtins.c (WindowShade): Removed a little check for MAXIMIZED
13457 windows which broke the shade/maximize "cooperation".
13459 1999-03-05 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
13461 * utils/xselection.c: new utility for using the X Selection
13462 as commands to fvwm.
13463 * utils/Makefile.am (bin_PROGRAMS): add xselection.
13465 * fvwm/session.c (SaveGlobalState):
13468 (SaveWindowStates):
13471 * fvwm/icccm2.c (SetupICCCM2): fix -Wall trivia. Change
13472 some fvwm_msg(DBG...) to DBUG(...)
13474 * fvwm/events.c (XUrgencyHint): define it if it isn't already.
13476 * configure.in: Add a check for SM.
13478 * fvwm/misc.c (RaiseWindow): fix bugs with raising windows
13481 * fvwm/module.h (M_RESTACK): new packet type.
13482 * fvwm/misc.c (BroadcastRestack): new function sending
13483 information about stacking order changes.
13484 (RaiseWindow): use BroadcastRestack.
13485 (LowerWindow): use BroadcastRestack.
13487 * fvwm/events.c (HandleConfigureRequest): use BroadcastRestack.
13489 1999-03-05 Dominik Vogt <dominik.vogt@gmx.de>
13491 * fvwm/fvwm.h (FvwmWindow): some preparations for GSFR
13493 * fvwm/fvwm2.1: marked IconPath and PixmapPath as obsolete and added a
13494 hint to the ImagePath command
13496 * libs/Module.c (GetConfigLine):
13498 * fvwm/functions.c (func_config):
13499 Renamed builtin functions
13500 Send_ConfigInfo -> SendConfigInfo
13501 Send_WindowList -> SendWindowList
13502 set_mask -> SetMask
13504 1999-03-05 Johan Bengtsson <johanb@DoCS.UU.SE>
13506 * libs/System.c (searchPath): Fixed a potential off by two error.
13507 When space was allocated for the file name, a directory separator
13508 and the null termination was not taken into account. This was only
13509 triggered when the path only contained one directory.
13511 Thu Mar 4 19:18:26 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
13513 * fvwm/fvwm2.1 (Iconify): re-worded to put the current syntax
13514 before the obsolete syntax. I didn't really understand how
13515 "Iconify toggle" differs from just "Iconify".
13517 1999-03-04 Dominik Vogt <dominik.vogt@gmx.de>
13519 * fvwm/builtins.c (WindowShade):
13521 (iconify_function):
13522 (stick_function): added patch for consistent toggling function syntax
13525 * libs/Parse.c (ParseToggleArgument): New parsing function for toggling
13528 * fvwm/move.c (DoSnapAttract):
13529 * fvwm/builtins.c (SetSnapAttraction): applied patch to snap to screen
13532 * fvwm/fvwm2.1: TriangleRelief -> TrianglesRelief
13534 1999-03-04 Dan Espen <dane@mk.bellcore.com>
13536 * fvwm/fvwm2.1: Re-applied "Changed fvwm to fvwm2 everywhere I
13537 thought it should be changed". It seemed to have disappeared.
13539 1999-03-04 Tomas Ogren <stric@ing.umu.se>
13541 * NEWS: Updated w/ animated shading
13543 1999-03-04 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
13545 * fvwm/builtins.c (Maximize): Make partially maximized
13546 windows unmaximize to their original position.
13548 * fvwm/borders.c (SetupFrame): do XResizeWindow on tmp->w
13549 even if shaded. This fixes animated WindowShade.
13551 * fvwm/fvwm.c (main): call SetupICCCM2 before selecting
13552 for SubstructureRedirect on the root window.
13553 (Done): call CloseICCCM2 after undecorating all windows.
13554 * fvwm/colormaps.c: new global client_controls_colormaps
13555 for client-side InstallColormap support.
13556 (HandleColormapNotify):
13557 (InstallWindowColormaps): don't install colormaps if
13558 client_controls_colormaps is true.
13559 * fvwm/events.c (HandleClientMessage): handle wm_colormap_notify
13560 clientmessages by setting client_controls_colormaps.
13561 (InitEventHandlerJumpTable): install HandleSelectionClear
13562 and HandleSelectionRequest.
13563 * fvwm/icccm2.c: New file implementing SetupICCCM2,
13564 CloseICCCM2, HandleSelectionRequest and HandleSelectionClear.
13565 * fvwm/fvwm.h: add prototypes for these plus a couple of Atom's.
13567 Thu Mar 4 01:30:28 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
13569 * fvwm/module.c (executeModule): search for module using
13570 searchPath() rather than searchIcon()!
13572 Thu Mar 4 01:22:15 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
13574 * libs/System.c (searchPath): new function; this is most of the
13575 guts of the old findIconFile -- which was used to find more than
13576 just icons --- modules, for example!
13578 Thu Mar 4 00:55:34 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
13580 * libs/fvwmlib.h: added prototypes for all replacement functions,
13581 conditionally compiled.
13583 Thu Mar 4 00:44:06 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
13586 * libs/XResource.c:
13589 * fvwm/functions.c:
13591 * fvwm/modconf.c: replace IconPath by ImagePath; the config
13592 command IconPath remains, but is flagged as deprecated.
13594 Wed Mar 3 21:05:11 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
13596 * sample.fvwmrc/system.fvwm2rc-sample-2:
13597 * sample.fvwmrc/new-features: changed PixmapPath and IconPath to
13600 1999-03-03 Tomas Ogren <stric@ing.umu.se>
13602 * fvwm/builtins.c (WindowShade): Enhanced WindowShade() to do
13603 animation, with the number of steps configured by the command
13604 'WindowShadeAnimate <steps>'
13605 * fvwm/builtins.c: New function 'setShadeAnim()', called by the Fvwm
13606 command 'WindowShadeAnimate', sets the animation steps used in
13608 * fvwm/parse.h: Added F_SHADE_ANIMATE
13609 * fvwm/misc.h: Function prototype for setShadeAnim().
13610 * fvwm/functions.c: Added Fvwm command 'WindowShadeAnimate <steps>'
13611 * fvwm/fvwm2.1: Updated man-page with WindowShadeAnimate
13613 1999-03-02 Steven Michael ROBBINS <stever@hojpoj.cs.mcgill.ca>
13615 * fvwm/module.c (executeModule): put ifdef around code that closes
13616 pipes in child processes.
13618 * fvwm/misc.c: put ifdef around fvwm_msg; allows VMS port to
13619 define its own version of this routine.
13621 1999-03-02 Steven Michael ROBBINS <stever@hojpoj.cs.mcgill.ca>
13623 * fvwm/fvwm.h: add 'extern' keyword to Bool fFvwmInStartup,
13624 otherwise it is defined in each .c file that includes <fvwm/fvwm.h>
13626 * fvwm/modconf.c: add 'extern' keyword to PipeMask; ditto.
13628 1999-03-02 Dan Espen <dane@mk.bellcore.com>
13630 * fvwm/fvwm2.1: Changed fvwm to fvwm2 everywhere I thought it should
13633 1999-03-02 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
13635 * fvwm/fvwm2.1: details about the geometry displayed
13638 * fvwm/windows.c (do_windowList): show layer in window list.
13640 * fvwm/builtins.c (Maximize):
13641 (WindowShade): allow shading maximized/maximizing shaded windows.
13642 * fvwm/fvwm.h (FvwmWindow): new field maximized_ht.
13643 * fvwm/add_window.c (AddWindow): initialize maximized_ht.
13644 * fvwm/session.c (SaveWindowStates): save the correct maximized
13645 size for shaded windows.
13646 * fvwm/events.c (HandleConfigureRequest): allow clients
13647 to resize themself if shaded, but not if maximized.
13648 * fvwm/resize.c (resize_window): allow interactive resizing
13650 * fvwm/fvwm2.1: adjust documentation of WindowShade.
13652 * fvwm/builtins.c (PickFunc):
13653 (AllFunc): new functions.
13657 * fvwm/functions.c (func_config): add entries for Pick and All.
13659 * fvwm/session.c (SaveWindowStates):
13660 * fvwm/add_window.c (AddWindow):
13661 * fvwm/move.c (AnimatedMoveAnyWindow):
13662 (moveLoop): insert #ifdef WINDOWSHADE ... #endif to
13663 make configure --disable-windowshade work.
13665 1999-03-02 Dan Espen <dane@mk.bellcore.com>
13667 * NEWS: Updated news on FvwmAnimate fonts and colors defaults.
13669 1999-03-01 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
13671 * fvwm/fvwm.c (InitVariables): Change the default layers
13672 for StaysOnTop and StaysPut from 1 and 0 to 6 and 4.
13674 * fvwm/fvwm2.1: Adjust the documentation of DefaultLayers.
13676 * fvwm/add_window.c (AddWindow): Put windows at the top of
13677 their layer initially.
13681 * fvwm/*: Removed ->bw. FvwmBorder windows will look funny until I fix
13684 * fvwm/move.c: Fixed opaque/animated moves to not crash shaded windows,
13685 removed #ifndef NO_ETERM_SUPPORT, might want to make it a configure
13688 1999-02-28 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
13690 * fvwm/add_window.c (AddWindow): Fix a bug where unmaximizing a
13691 window on a non-origin page that has been restored to maximized
13692 state from a saved session would make it jump to a different page.
13694 1999-02-28 Steven Michael ROBBINS <stever@jeff.cs.mcgill.ca>
13697 * INSTALL.fvwm: backed out of Sat Feb 27 12:49:23 1999 change.
13698 Fvwm exports FVWM_MODULEDIR to the environment of subprocesses, so
13699 running configure in an xterm will always pick up the current
13702 Sun Feb 28 11:37:22 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
13704 * fvwm/fvwm2.1: removed all traces of PixmapPath from manpage.
13706 Sun Feb 28 11:25:30 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
13708 * libs/Strings.c (stripcpy): make sure 'tmp' is valid before
13709 dereferencing it; there was a possible problem if function was
13710 passed an empty string.
13712 Sun Feb 28 11:03:42 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
13714 * libs/Picture.h: new file.
13715 * libs/fvwmlib.h: moved declarations for Picture.c into Picture.h.
13717 * libs/Picture.c (GetIconPath,SetIconPath): the icon path variable
13718 is now static; these are the accessor functions.
13719 * libs/Picture.c (findIconFile,GetPicture,CachePicture): these
13720 functions now look at a single path, rather than IconPath and
13721 PixmapPath. The path parameter may be NULL, in which case the
13722 default path -- the one set by SetIconPath() -- is used.
13724 * fvwm/add_window.c:
13726 * fvwm/functions.c:
13732 Fixes for the findIconFile(), GetPicture(), and CachePicture()
13733 changes. The PixmapPath command is temporarily retained; it gives
13734 a warning, and then calls IconPath.
13736 1999-02-28 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
13738 * AUTHORS: fix the spelling of my name.
13740 * libs/ModParse.c (GetArgument): fix GetArgument for quoted args.
13741 (DoPeekArgument): new function needed in GetArgument.
13742 Use safemalloc instead of malloc ( change copied from
13743 modules/FvwmEvent/Parse.c ).
13744 (PeekArgument): now call DoPeekArgument.
13746 * fvwm/move.c (InteractiveMove): fix behaviour of
13747 InteractiveMove when called from a context other than a
13748 ButtonPress or KeyPress.
13750 * fvwm/builtins.c (WindowShade): fix an off-by-one error
13751 with shaded FvwmBorder windows.
13753 1999-02-27 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
13755 * fvwm/{add_window,builtins,events,functions,fvwm,misc,
13756 placement,session,style,windows}.c:
13757 * fvwm/{fvwm,misc}.h:
13759 implement a layered stacking order.
13761 * configure.in, acconfig.h:
13762 * fvwm/{session,add_window,events,fvwm,icons}.c:
13763 * fvwm/{fvwm,misc}.h:
13764 * NEWS, fvwm/fvwm2.1:
13765 add session management functionality ( make fvwm a client
13766 of a X SMP compliant session manager).
13768 Sat Feb 27 12:49:23 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
13770 * configure.in: allow FVWM_{MODULE,CONFIG}DIR to be overridden by
13771 setting the corresponding environment variable before running
13774 1999-02-26 Steven Michael ROBBINS <stever@jeff.cs.mcgill.ca>
13776 * auto*: removed all generated files from repository. To
13777 regenerate the files, you will need to do "automake --add-missing"
13778 then "autoreconf". Added .cvsignore files to ignore them during
13783 * fvwm/placement.c: fixed wandering on restart/recapture caused by
13784 old_bw being ignored.
13786 1999-02-25 Dan Espen <dane@mk.bellcore.com>
13788 * fvwm/module.c (HandleModuleInput): Increased max message from a
13789 module from 255 to 999, needed for FvwmForm. Removed a little
13792 Tue Feb 23 13:02:33 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
13794 * fvwm/module.c: include <sys/time.h> to ensure that FD_SET and
13795 friends are found. My Linux system needed this, don't ask me why.
13799 * fvwm/builtins.c: Emulate command updates feedback window position.
13801 * fvwm/virtual.c: EdgeThickness command can be used at any time to
13802 alter the panframe windows. Panframe windows unmapped when paging to
13803 the end page and wrapping is disabled. Panframe windows go right into
13806 * fvwm/windows.c: WindowList looks better when NoGeometry specified.
13808 * fvwm/move.c: Opaque and Animated moves send events to client.
13809 Transparent Eterm will stay transparent. #define NO_ETERM_SUPPORT if
13810 you think this is horrible.
13812 * fvwm/{module.{c,h},move.c} Opaque and Animated moves send module
13813 messages. FvwmPager follows the move.
13815 * fvwm/{events,fvwm,modconf,module,read}.c: moved invocation of
13816 StartupStuff() from ReadSubFunc to main event loop. Initial capture
13817 happens only after all command line args are finished and any modules
13818 that the command line args invoke. Any number of -cmd's can be
13819 specified and the initial capture will happen when they have finished
13820 so that you don't need a recapture after a restart to get the right
13821 decorations. Added a timeout so that Fvwm will always do the initial
13822 capture.FvwmCPP & FvwmM4 can now be rewritten to exec() the subprocess
13823 and avoid using a Read of a temp file.
13825 * fvwm/{events,focus,module}.c: FOCUS_CHANGE packet has the third
13826 (previously useless) paramter set to denote FlipFocus/Focus. Modules
13827 can now accuraetly track the internal window list order.
13829 * fvwm/borders.c: experimental rewrite of Sticky lines. Use xmag to
13830 look at the ends. If they don't line up I think you have an Xserver
13833 * fvwm/{{builtins,functions,fvwm}.c,fvwm2.1,misc.h}: XORPixmap.
13834 Eat this Enlightenment 8-). Actually it's meant to improve the
13835 visibility of rubberband lines in PsuedoColor displays (use Colorlimit
13836 first) but it looks great on TrueColor. It plays nicely with XORValue
13837 and I don't think it leaks pixmaps.
13839 1999-02-23 Dominik Vogt <dominik.vogt@gmx.de>
13843 * configure.in: changed version to 2.3.0
13845 * *: fvwm 2.2 has been released :-))