1 2000-12-05 Dominik Vogt <dominik.vogt@gmx.de>
3 * fvwm/add_window.c (destroy_auxiliary_windows):
6 2000-12-05 Dan Espen <dane@mk.telcordia.com>
8 * tests/purify/purify.fvwm2rc: Fix step logging.
9 Upgrade WindowList test to match man page description.
12 2000-12-05 Dominik Vogt <dominik.vogt@gmx.de>
14 * libs/Graphics.c (fvwmlib_XCreateGC):
15 core dump fix for buggy FvwmScript
17 * fvwm/fvwm.c (Reborder):
19 fixed state of windows after restart
21 * fvwm/builtins.c (LoadDefaultFont):
22 removed duplicate error message
24 * libs/GetFont.c (GetFontOrFixed):
26 suppress stupid error message, added newlines after error messages
27 can be called with NULL fontname to load fixed font
29 * fvwm/add_window.c (destroy_icon_font):
30 (destroy_window_font):
31 use default font when no font is currently loaded to fix an esoteric
32 reace contition with restart/destroy/recapture
34 * fvwm/menus.c (pop_menu_down_and_repaint_parent):
36 * fvwm/events.c (flush_accumulate_expose):
37 fixed redrawing of grandparent menus, PopupImmediately take effect only
38 after one pass through the loop, so there is a chance to handle events
39 first and thus leave the popup item before the sub menu is popped up
41 * fvwm/fvwm.c (CaptureOneWindow):
42 * fvwm/add_window.c (destroy_window):
43 (destroy_auxiliary_windows):
44 (destroy_title_window):
45 (destroy_button_windows):
46 (destroy_resize_handle_windows):
48 fix core dump caused by destroy followed by a recapture in complex
51 * fvwm/update.c (flush_window_updates):
52 * fvwm/add_window.c (destroy_window):
53 * fvwm/window_flags.h (IS_SCHEDULED_FOR_DESTROY):
54 * fvwm/screen.h (ScreenInfo):
55 * fvwm/fvwm.h (struct):
56 * fvwm/functions.c (execute_complex_function):
59 set a global flag when in a complex function
60 use this flag to mark windows to be destroyed after the last complex
63 * tests/purify/purify.fvwm2rc:
64 removec 'recapture' from BusyCursor test
65 destroy makewindows function before adding to it
66 moved some tests behind window creation
68 * fvwm/menus.c (DestroyMenuStyle):
69 no error message when trying to destroy a menu style that does not exist
71 * fvwm/icons.c (CreateIconWindow):
72 removed icon font hack
75 changed version to 2.3.26
77 2000-12-05 Dominik Vogt <dominik.vogt@gmx.de>
79 * fvwm/events.c (HandleMapRequestKeepRaised):
80 fixed staring windows on other desks
82 2000-12-03 Dominik Vogt <dominik.vogt@gmx.de>
84 * fvwm/functions.c (CheckActionType):
93 use fvwmlib_XCreateGC instead of XCreateGC; this seems to speed up
94 everything a lot, at least on XFree 3.3.6 and XFree 4.0
96 * libs/Graphics.c (fvwmlib_XCreateGC):
98 replacement for XCreateGC
100 * fvwm/events.c (HandleMapRequestKeepRaised):
101 Oops, commented one line too many
103 * fvwm/cursor.c (setBusyCursor):
105 * fvwm/fvwm.c (Reborder):
108 * fvwm/events.c (HandleUnmapNotify):
109 * fvwm/add_window.c (RestoreWithdrawnLocation):
110 (RestoreWithdrawnLocation):
111 * fvwm/builtins.c (do_recapture):
113 * fvwm/fvwm.c (CaptureOneWindow):
115 Reinstated some kind of the old blackout window but do not draw
116 anything in it; hopefully this means that the old state of the desktop
117 is visible during a recapture. This way it is not necessary to unmap
118 windows during a recapture and thus applications like ddd do not
120 Removed the BUSY_RECAPTURE busy cursor context which is now obsolete.
122 * fvwm/fvwm.c (main):
123 grap pointer asynchronously to prevent lockup in window placement now
124 that most XAllowEvents() calls are gone
126 2000-12-02 Dominik Vogt <dominik.vogt@gmx.de>
128 * libs/Parse.c (CopyToken):
129 safety checks on token length
131 * libs/envvar.c (strIns):
134 * fvwm/builtins.c (InitFvwmDecor):
135 zero out new decors completely before adding styles to prevent UMRs
137 * fvwm/icons.c (iconify_function):
138 x_root and y_root members do not exist for random X events;
139 use library function GetLocationFromEventOrQuery() instead
141 * fvwm/builtins.c (UnsetEnv):
142 the UnsetEnv command used putenv() but did not add '=' after the
143 variable name thus causing an ABR
145 * fvwm/events.c (HandleUnmapNotify):
146 * fvwm/add_window.c (destroy_window):
147 * fvwm/focus.c (restore_focus_after_unmap):
148 don't give offscreen windows the focus when deleting a window
150 2000-12-02 Chris Rankin <rankinc@zipworld.com.au>
152 * libs/Picture.c (LoadPicture)
153 Blocking delivery of SIGCHLD seems to work OK, but could cause
154 trouble later since we might break XPM's pclose() call. Restore
155 the default SIGCHLD handler around this function instead.
157 2000-11-29 Chris Rankin <rankinc@zipworld.com.au>
159 * libs/Picture.c (LoadPicture)
160 Replace DEBUG code, now that we know that OSF gets XpmFileInvalid
161 error from XpmReadFileToXpmImage(). Try blocking receipt of SIGCHLD
162 signal around this XPM function.
164 2000-11-29 Dominik Vogt <dominik.vogt@gmx.de>
166 * fvwm/functions.c (CheckActionType):
167 do not sleep after an event was received but proceed immediately
169 * fvwm/events.c (HandleMapNotify):
170 proper hilighting after de-iconify by a key press
172 * fvwm/fvwm.h (FvwmWindow):
173 resorted some members of this struct to ease debugging
175 * fvwm/add_window.c (setup_icon_font):
176 got another icon font core dump
178 * tests/purify/purify.fvwm2rc:
179 bind test menu to a button so you can run multiple tests
180 fix the menu cursor colours after the CursorStyle test
181 removed the test with 1234678 colour sets - this will take days
183 2000-11-28 Dan Espen <dane@mk.telcordia.com>
185 * fvwm/icons.c (CreateIconWindow): Hack to avoid core dump when no
187 * tests/purify/purify.fvwm2rc: Rewritten using a menu driver.
188 You can run all tests, or just pick one.
190 2000-11-28 Chris Rankin <rankinc@zipworld.com.au>
192 * libs/Picture.c (LoadPicture)
193 Added some DEBUG code so that we get a clue why OSF can't load
196 2000-11-28 Chris Rankin <rankinc@zipworld.com.au>
198 * fvwm/module_interface.c (executeModuleSync):
199 Fix select()-handling so that it either exits if FVWM receives
200 a terminate signal, or restarts the select call.
202 2000-11-28 olicha <olivier.chapuis@free.fr>
204 * fvwm/placement.c (test_fit):
207 A try for a final cleverplacement algorithm. The code is
208 not pretty for pratical reason, but it will be.
210 2000-11-28 Dominik Vogt <dominik.vogt@gmx.de>
212 * fvwm/builtins.c (FreeDecorFace):
214 * fvwm/borders.c (DrawButton):
215 * fvwm/fvwm.c (LoadDefaultLeftButton):
216 (LoadDefaultRightButton):
217 * fvwm/screen.h (enum):
218 when a vector button is applied to a button/title style it erases the
219 default vector first.
221 * fvwm/borders.c (DrawButton):
222 TiledPixmapButton works in window titles and buttons; heck, has this
225 * NEWS, configure.in:
226 changed version to 2.3.25
228 2000-11-28 Dominik Vogt <dominik.vogt@gmx.de>
230 * fvwm/menus.c (do_menu):
231 handle expose in WaitForButtonsUp
233 * fvwm/move_resize.c (InteractiveMove):
235 if we don't grab the keyboard during opaque move/resize operations,
236 keyboard events may get through to the application
238 * fvwm/events.c (WaitForButtonsUp):
239 reduced network traffic
240 also eat up keyboard events in case of moving windows with the keyboard
242 * fvwm/move_resize.c (moveLoop):
244 properly handle Expose events after an interactive move has been
245 aborted and is now waiting for the last button to be released
247 * fvwm/misc.c (GrabEm):
249 * fvwm/misc.h (GRAB_PASSIVE):
250 new kind of grab context that does not grab but delays the following
254 * fvwm/events.c (HandleButtonRelease):
256 * fvwm/functions.c (execute_function):
258 do not wait for buttons to become unpressed; do this in the caller's
261 * libs/Bindings.c (GrabWindowButton):
262 grab buttons synchronously
264 * fvwm/move_resize.c (moveLoop):
266 * fvwm/functions.c (DeferExecution):
267 removed calls to XAllowEvents()
269 * fvwm/events.c (WaitForButtonsUp):
270 * fvwm/builtins.c (do_recapture):
271 * fvwm/move_resize.c (InteractiveMove):
275 * fvwm/events.c (discard_events):
278 moved from misc.c to events.c where it logically belongs
280 * fvwm/events.c (HandleButtonPress):
281 * fvwm/focus.c (focus_grab_buttons):
282 improved focus grabbing for ClickToFocus windows
283 general fixes to button event propagation
285 * fvwm/misc.c (WaitForButtonsUp):
286 don't let pointer events pass to other clients
288 * fvwm/events.c (HandleMapRequestKeepRaised):
289 regrab buttons on focused window
291 * libs/Bindings.c (GrabWindowButton):
293 (GrabAllWindowButtons):
294 (GrabAllWindowKeysAndButtons):
295 * fvwm/focus.c (focus_grab_buttons):
296 button grabs become active immediately by calling XSync; otherwise the
297 server does not yet know that a button is grabbed when it it pressed.
298 reduced X server communication
300 * fvwm/events.c (HandleEnterNotify):
301 correctly set initial value of Scr.flags.is_pointer_on_this_screen which
302 lead to a ClickToFocus problem
304 * fvwm/virtual.c (map_window):
305 ignore MapRequest events as a result of desk switching; another desk
308 * fvwm/screen.h (ScreenInfo):
309 * fvwm/virtual.c (MapDesk):
312 repaired code that remembers focus between desk switches; could not
313 properly handle desk -1
318 2000-11-26 Chris Rankin <rankinc@zipworld.com.au>
320 * fvwm/fvwm.c (InstallSignals)
321 Invoke the SIGCHLD handler manually after installing all the signal
322 handlers. This should mean that any Zombies created while the default
323 SIGCHLD handler was in place (for instance, after a restart) will be
326 2000-11-26 Mikhael Goikhman <migo@homemail.com>
329 moved 163, 167 to closed; updated some "to discuss" items
331 2000-11-26 Chris Rankin <rankinc@zipworld.com.au>
335 Provide "safe" route out of My_XNextEvent loops if FVWM dies.
337 2000-11-26 olicha <olivier.chapuis@free.fr>
339 * fvwm/menus.c (FreeMenuStyle):
342 2000-11-26 olicha <olivier.chapuis@free.fr>
344 * fvwm/builtins.c (strokeFunc):
345 Fixed problems with window title bar and frame
347 2000-11-26 Dan Espen <dane@mk.telcordia.com>
349 * tests/purify/purify.fvwm2rc: Add Menu command, MenuStyle, BusyCursor,
350 CursorStyle brought up to date, DefaultColors, DefaultColorset,
351 DefaultFont, DefaultIcon, DefaultLayers, Emulate, IconFont.
353 2000-11-26 Chris Rankin <rankinc@zipworld.com.au>
355 * fvwm/events.c (My_XNextEvent)
356 Restart the call to fvwmSelect if (and only if) it was
357 interrupted by a harmless signal like SIGCHLD or SIGPIPE.
359 2000-11-26 Chris Rankin <rankinc@zipworld.com.au>
361 * lib/fvwmsignal.h (New macro BSD_BLOCK_ALL_SIGNALS)
362 * fvwm/fvwm.c (InstallSignals)
365 * fvwm/events.c (My_XNextEvent)
366 Timeout is undefined when fvwmSelect returns, so must be reinitialised
367 Also, select has only timed out if it return 0. If it returns -1 then
368 this is an error and we would like to know about it.
370 2000-11-26 Dominik Vogt <dominik.vogt@gmx.de>
372 * fvwm/virtual.c (map_window):
375 * fvwm/events.c (HandleMapRequestKeepRaised):
376 workaround for buggy transientfor hint
378 * fvwm/add_window.c (destroy_window_font):
382 * fvwm/window_flags.h (SETM_USING_DEFAULT_ICON_FONT):
383 * fvwm/fvwm.h (struct):
384 fixed font core dumpsm
386 * fvwm/menus.c (MenuInteraction):
387 fixed MissingSubmenuFunction
389 2000-11-25 Dominik Vogt <dominik.vogt@gmx.de>
391 * fvwm/add_window.c (destroy_window_font):
395 * fvwm/focus.c (focus_grab_buttons):
396 * fvwm/fvwm.h (FvwmWindow):
397 * fvwm/bindings.c (ParseBinding):
399 * fvwm/fvwm.c (InitVariables):
400 * libs/defaults.h (DEFAULT_BUTTONS_TO_GRAB):
401 * fvwm/focus.c (update_focus_grabs):
402 (update_window_focus_grab):
403 * fvwm/bindings.c (binding_cmd):
404 overhauled whole button grabbing code grab now work immediately and are
405 applied with normal window updates
407 * fvwm/builtins.c (fake_click):
408 implemented a command allowing to fake mouse clicks for debug purposes
410 * fvwm/focus.c (warp_func):
411 WarpToWindow handles unmanaged windows and windows on other screens too
413 * fvwm/conditional.c (WindowIdFunc):
414 * libs/fvwmlib.h (C_UNMANAGED):
415 WindowId command handles unmanaged windows too and can fetch the window
416 id of the root window of any screen
418 * fvwm/conditional.c (PrevFunc):
426 * fvwm/builtins.c (AddToDecor):
429 * fvwm/repeat.c (repeat_function):
430 * fvwm/fvwm.c (main):
434 * fvwm/windowlist.c (do_windowList):
435 * fvwm/gnome.c (GNOME_HandlePropRequest):
436 * fvwm/events.c (HandleButtonRelease):
438 (HandlePropertyNotify):
439 (HandleClientMessage):
440 * fvwm/module_interface.c (ExecuteModuleCommand):
441 * fvwm/read.c (run_command_stream):
442 * fvwm/menus.c (MenuInteraction):
449 * fvwm/functions.c (execute_complex_function):
451 * fvwm/functions.c (execute_function):
452 (old_execute_function):
453 * fvwm/functions.h (struct):
454 ExecuteFunction() and ExecuteFunctionSaveTmpwin were replaced by
455 execute_function(). The new function takes a struct pointer as its
456 argument. The old syntax is still provided as old_execute_function().
458 * fvwm/virtual.c (unmap_window):
461 * fvwm/menus.c (MenuInteraction):
462 added a missing redraw
464 2000-11-25 Chris Rankin <rankinc@zipworld.com.au>
473 Explicit SIGCHLD handling, so that dead child processes are
474 reaped automatically and asynchronously. Also some extra
475 macros to make non-sigaction signals less ugly.
477 2000-11-25 Dominik Vogt <dominik.vogt@gmx.de>
479 * NEWS, configure.in:
480 changed version to 2.3.24
482 2000-11-25 Dominik Vogt <dominik.vogt@gmx.de>
484 * fvwm/fvwm2.1 (Examples):
485 documented inability to handle whitespace in function names
487 * fvwm/functions.c (ExecuteFunction):
488 reverted back to old quoting of command names (see last patch there)
490 * fvwm/events.c (HandleEnterNotify):
492 * fvwm/fvwm.c (InitVariables):
493 * fvwm/add_window.c (destroy_window):
494 * fvwm/screen.h (ScreenInfo):
495 remember last focused window when leaving screen and thus fixed the last
496 known multi head focus problem
498 * fvwm/icons.c (Iconify):
499 * fvwm/misc.c (GrabEm):
501 * fvwm/update.c (flush_window_updates):
502 * fvwm/virtual.c (MapDesk):
503 * fvwm/events.c (HandlePropertyNotify):
505 (HandleMapRequestKeepRaised):
510 * fvwm/add_window.c (destroy_window):
511 use new focus functions
513 * fvwm/focus.c (DoSetFocus):
517 replaced SetFocus() with SetFocusWindow(), DeleteFocus() and
520 * fvwm/events.c (HandleEnterNotify):
521 * fvwm/screen.h (ScreenInfo):
523 * fvwm/builtins.c (ReadDecorFace):
524 Guess I got the memory leak this time. Code allocated 6 =
525 MaxButtonState button states but freed only three when destroying the
528 * fvwm/fvwm.c (LoadDefaultRightButton):
529 (LoadDefaultLeftButton):
530 * fvwm/builtins.c (ReadDecorFace):
531 * fvwm/borders.c (DrawButton):
532 * fvwm/builtins.c (FreeDecorFace):
533 * fvwm/screen.h (DecorFace):
534 removed vector button patch from 22-Nov
536 * fvwm/fvwm.c (DestroyAllButtons):
540 * fvwm/update.c (init_style):
543 * fvwm/fvwm.c (SetRCDefaults):
544 default menu is called with 'Menu' instead of 'Popup'
546 2000-11-24 Dan Espen <dane@mk.telcordia.com>
548 * tests/purify/purify.fvwm2rc: Add DestroyMenuStyle, fix duplications.
550 * fvwm/fvwm2.1 (DestroyMenuStyle): Typo.
552 2000-11-23 Dan Espen <dane@mk.telcordia.com>
554 * tests/purify/purify.fvwm2rc: Starting to add tests in man page order.
555 Added ChangeMenuStyle, DestroyMenu.
557 2000-11-23 Dominik Vogt <dominik.vogt@gmx.de>
559 * libs/defaults.h (NUMBER_OF_MOUSE_BUTTONS):
560 fvwm now supports 5 mouse buttons
563 removed debug code; my focus problems are not the fault of fvwm - it
564 misses button presses although the pointer is grabbed - must be my
567 2000-11-22 Dominik Vogt <dominik.vogt@gmx.de>
569 * fvwm/stack.c (BroadcastRestack):
570 (BroadcastRestackAllWindows):
571 (RaiseOrLowerWindow):
573 * fvwm/virtual.c (goto_desk):
574 (gotoDeskAndPage_func):
575 new function BroadcastRestackAllWindows() hiding a bit more of the
576 stacking code from other modules
578 * fvwm/stack.c (BroadcastRestack):
579 funtion forgot to fill out the last window in a M_RESTACK packet
580 --> fixes UMR in FvwmPager (and probably other modules)
581 fixed some bugs in the logic that cause problems if the only managed
584 * fvwm/events.c (HandleFocusIn):
585 fixed length of M_FOCUS_CHANGE packet
587 * fvwm/add_window.c (setup_icon_font):
588 (destroy_window_font):
593 * fvwm/fvwm.c (LoadDefaultRightButton):
594 (LoadDefaultLeftButton):
595 * fvwm/builtins.c (ReadDecorFace):
596 * fvwm/borders.c (DrawButton):
597 * fvwm/builtins.c (FreeDecorFace):
598 * fvwm/screen.h (DecorFace):
599 removed vector_coords from union to make sure the allocated default
602 * fvwm/builtins.c (add_to_env_list):
603 fixed uninitialised memory
607 2000-11-21 Dominik Vogt <dominik.vogt@gmx.de>
609 * fvwm/ConfigFvwmDefaults:
612 * fvwm/icons.c (AutoPlaceIcon):
614 * fvwm/window_flags.h:
616 new style NoIconPosition/UseIconPosition which works exactly like
617 ...PPosition except that it works for the icon position hint and is
620 * libs/ColorUtils.c (GetHiliteColor):
626 (GetShadowOrHiliteColor):
627 UMR fixes and cleanup
628 removed old shadow/hilight calculations
630 * libs/Colorset.c (AllocColorset):
631 removed previous realloc safety patch
633 * libs/safemalloc.c (saferealloc):
634 NULL pointer safety patch
636 * fvwm/add_window.c (setup_window_font):
638 fixed memory leak and simplified logic
640 * fvwm/update.c (apply_window_updates):
641 do not access window/icon font here
643 * libs/Picture.c (DestroyPicture):
644 fixed xpm memory leak (?)
646 * fvwm/add_window.c (destroy_window):
647 fixed icon font memory leak
649 * fvwm/builtins.c (SetEnv):
652 fixed the setenv memory leak; I wonder if this is worth the trouble
654 * fvwm/menus.c (AddToMenu):
655 fixed free memory read "title top" menu items
657 * fvwm/fvwm.c (ResetOrDestroyAllButtons):
658 fixed another memory leak
660 * fvwm/module_interface.c (do_execute_module):
663 * libs/Colorset.c (AllocColorset):
666 * fvwm/add_window.c (setup_window_font):
667 fixed free memory read
669 * libs/Parse.c (GetQuotedString):
670 fixed return parameter thus fixing multiple free memory reads
672 * fvwm/events.c (HandlePropertyNotify):
675 * fvwm/style.c (ProcessNewStyle):
678 * fvwm/builtins.c (DestroyFvwmDecor):
680 * fvwm/fvwm.c (ResetOrDestroyAllButtons):
682 fixed a braindead memory leak; would you expect the DestroyFvwmDecor
683 function to first delete memory and then allocate new? :-P
685 * fvwm/builtins.c (ReadDecorFace):
691 * fvwm/module_interface.c (do_execute_module):
694 * fvwm/style.c (merge_styles):
695 fixed memory leaks w/ hilight_back/fore colours
697 * libs/Colorset.c (AllocColorset):
701 added stack ring debugging code
703 2000-11-20 Dominik Vogt <dominik.vogt@gmx.de>
707 * fvwm/misc.c (GrabEm):
709 (change_grab_cursor):
711 * fvwm/menus.c (pop_menu_up):
714 Rewrote pointer grabbing code. The old code may have released a grab
715 although it was still needed. The busy cursor patch in the menu code is
716 now nicely integrated into the normal grabbing code.
718 * fvwm/read.c (run_command_stream):
719 workaround for redrawing in long term PipeRead commands from a menu
721 * fvwm/events.c (handle_all_expose):
724 2000-11-20 olicha <olivier.chapuis@free.fr>
726 * utils/fvwm-menu-desktop.in:
729 2000-11-20 Dan Espen <dane@mk.telcordia.com>
731 * tests/purify/purify.fvwm2rc: Change timing on FvwmBanner test to
732 more reasonable 10 seconds.
733 Add some of the fvwm variables to the Exec test.
734 Put quit back into test_func.
736 2000-11-19 olicha <olivier.chapuis@free.fr>
738 * fvwm/utils/fvwm-menu-desktop.{in,1}
741 2000-11-19 Dominik Vogt <dominik.vogt@gmx.de>
743 * fvwm/menus.c (pop_menu_down_and_repaint_parent):
744 fixed a core dump w/ when the dynamic popdown action destroyed the menu
747 removed forgotten XSynchronize call
749 * fvwm/menus.c (do_menu):
750 fixed keyboard-events-missing in menus invoked from
751 no-input-hint windows when lenience is active
754 * fvwm/placement.c (test_fit):
756 fixed placement rounding error by using floats instead of ints for the
759 moved macros to defaults.h
760 removed the NO_STUBBORN_PLACEMENT option. To get this behaviour, set
761 PLACEMENT_AVOID_ICON to 0 in defaults.h
763 * fvwm/focus.c (DoSetFocus):
764 fixed mousey focus transition between multiple screens
766 2000-11-18 Dominik Vogt <dominik.vogt@gmx.de>
768 * fvwm/repeat.c (repeat_function):
771 * fvwm/style.c (merge_styles):
772 fixed icon boxes bug (icon boxes were ignored)
774 2000-11-14 Dan Espen <dane@mk.telcordia.com>
776 * todo-2.4: Remove completed GlobalOpts issue.
778 2000-11-11 olicha <olivier.chapuis@free.fr>
780 * sample.fvwmrc/system.fvwm2rc-sample-95
781 Use more portable font
783 2000-11-10 Dan Espen <dane@mk.telcordia.com>
785 * libs/Strings.c (stripcpy): Only strncpy when length is not zero.
787 2000-11-09 Dan Espen <dane@mk.telcordia.com>
789 * tests/purify/purify.fvwm2rc: Move ModulePath tests to end to leave a
790 working modulepath for most of the tests.
791 Make menus readable at end of test, (no yellow on green).
793 2000-11-10 Mikhael Goikhman <migo@homemail.com>
795 * NEWS, configure.in:
796 changed version to 2.3.23
798 2000-11-09 Mikhael Goikhman <migo@homemail.com>
802 * sample.fvwmrc/system.fvwm2rc-sample-95:
803 use new script alias names FvwmScript-Flavor;
804 updated fvwm man pages menu in config, some more
806 * fvwm/ConfigFvwmSetup:
807 small clean up, replaced Iconify -1 with Iconify false
809 2000-11-08 Mikhael Goikhman <migo@homemail.com>
812 * fvwm/ConfigFvwmSetup:
814 * sample.fvwmrc/system.fvwm2rc-sample-95:
815 use new form alias names FvwmForm-Flavor
817 * fvwm/modconf.c (DestroyModConfig):
818 handle spaces propertly after DestroyModuleConfig with a new syntax
820 * libs/Picture.c (GetSimpleColor):
821 * libs/Graphics.c (AllocLinearGradient):
822 make "Cannot parse color " error message more meaningful
824 2000-11-05 Dan Espen <dane@mk.telcordia.com>
826 * tests/purify/purify.fvwm2rc: Add timestamping, my ModulePath.
828 2000-11-06 Mikhael Goikhman <migo@homemail.com>
830 * tests/purify/purify.fvwm2rc:
831 many fixes to list here, try diff
833 2000-11-04 Dan Espen <dane@mk.telcordia.com>
835 * tests/purify/purify.fvwm2rc: Ran file thru conversion tool, misc
836 fixes. Changed to echo steps to log file. Still needs work for
839 2000-11-04 Mikhael Goikhman <migo@homemail.com>
841 * fvwm/style.c (ProcessNewStyle):
842 fixed incomplete IconFill style option
844 2000-11-01 Mikhael Goikhman <migo@homemail.com>
846 * fvwm/style.c (merge_styles):
847 restored a call to free_icon_boxes, since remove_icon_boxes_from_style
848 causes icon boxes not to work
850 2000-10-29 Mikhael Goikhman <migo@homemail.com>
853 revised to be up to date
855 * fvwm/fvwm.c (main, setVersionInfo):
856 clean up in -version, it is now dumped to stdout as GNU suggests
859 * fvwm/read.c (run_command_file, push_read_file, pop_read_file,
860 get_current_read_file, get_current_read_dir):
861 implemented read file stack, thus making it possible to implement $.,
862 to fix an fvwm lock up on recursive read and some more
864 * fvwm/module_interface.c (do_execute_module):
865 use the new read.h interface function instead of the global variable
869 * fvwm/functions.c (expand, expand_extended_var):
870 implemented $. (the current Read directory, intended for specifying
871 relative file resources), $[page.nx] and $[page.ny].
873 2000-10-22 Dominik Vogt <dominik.vogt@gmx.de>
876 fixed core dump when accessing already deleted icon boxes in
879 * fvwm/style.c (remove_icon_boxes_from_style):
884 set icon_boxes member of a style to NULL after deleting the icon boxes
886 2000-10-13 Dominik Vogt <dominik.vogt@gmx.de>
888 * fvwm/events.c (HandleConfigureRequest):
889 activated anti-race-condition patch
891 2000-10-21 Mikhael Goikhman <migo@homemail.com>
893 * fvwm/icccm2.c (SetupICCCM2):
894 patch from Matthias, s/WIN_Sx/WM_Sx/ as ICCCM2 requires
896 * fvwm/builtins.c (UnsetEnv):
900 A new command UnsetEnv to be able to undo SetEnv.
902 2000-10-17 Mikhael Goikhman <migo@homemail.com>
904 * acinclude.m4: fixed gnome detection outside of X
906 2000-10-13 Dominik Vogt <dominik.vogt@gmx.de>
908 * fvwm/functions.c (expand):
909 whitespace after empty parameters is not removed anymore
910 (execute_complex_function):
911 remove trailing newlines from $* parameter
913 2000-10-12 Dominik Vogt <dominik.vogt@gmx.de>
915 * libs/vpacket.h (ConfigWinPacket):
916 border_width member is unsigned short
918 * fvwm/menus.c (NewMenuStyle):
919 fixed core dump with uninitialised menu styles like "MenuStyle foo"
921 * fvwm/builtins.c (Emulate):
922 fixed potential coredump and unnecessary redrawing
924 * fvwm/module_interface.c (do_execute_module):
925 fixed core dump with maximum number of allowed module arguments
926 modules can now have an unlimited number of arguments
928 * fvwm/functions.c (ExecuteFunction):
929 fixed core dump when adding non-builtin functions to decors
931 * fvwm/misc.c (fvwm_msg):
932 * fvwm/builtins.c (echo_func):
933 fixed coredump with "echo %*"
935 * fvwm/functions.c (func_config):
938 fixed coredump with command string: silent"
940 2000-10-11 Dominik Vogt <dominik.vogt@gmx.de>
942 * fvwm/menus.c (size_menu_vertically):
943 (size_menu_horizontally):
945 fixed sizing and geometry of menu items without text but with a picture
947 * fvwm/virtual.c (MoveViewport):
948 fixed unnecessary redraw when moving the viewport one page down or right
949 and a window was exactly at the bottom or right border
951 * fvwm/events.c (HandleMapRequestKeepRaised):
952 MouseFocusClickRaises works if a newly mapped window is placed over the
953 currently focused window
955 * fvwm/fvwm.c (InitVariables):
956 * libs/defaults.h (DEFAULT_MOVE_RESISTANCE):
957 (DEFAULT_SNAP_ATTRACTION):
960 * fvwm/decorations.c (SelectDecor):
961 * libs/defaults.h (MAX_HANDLE_WIDTH):
965 * fvwm/fvwm.h (FvwmWindow):
966 * fvwm/style.c (ProcessNewStyle):
967 made boundary_width, border_width and handle_width short instead of int
969 * fvwm/fvwm.h (struct):
970 use NUMBER_OF_BUTTONS macro
972 * fvwm/decorations.h:
973 * fvwm/decorations.c (SelectDecor):
974 * fvwm/add_window.c (setup_style_and_decor):
975 simplified signature of SelectDecor
977 * fvwm/decorations.c (SelectDecor):
978 * fvwm/fvwm.c (InitVariables):
979 * fvwm/fvwm.h (BOUNDARY_WIDTH):
980 * fvwm/screen.h (ScreenInfo):
981 removed BoundaryWidth and NoBoundaryWidth members; use macros from
984 * fvwm/menus.c (menu_func):
986 zero mops variable to fix UMR
989 initialise some globals
991 * fvwm/menus.c (do_menu):
994 * fvwm/Makefile.am (fvwm2_SOURCES):
995 sorted .c filed by size
997 * tests/test_options:
998 made test script work again
1000 * fvwm/move_resize.c (move_window_doit):
1001 fixed MoveToPage command
1003 2000-10-10 Dominik Vogt <dominik.vogt@gmx.de>
1005 * fvwm/style.c (SAFEFREE):
1006 tried to fix style core dump
1008 * fvwm/menus.c (MenuInteraction):
1009 fixed menu animation core dump
1011 * fvwm/move_resize.c (moveLoop):
1012 fixed activeplacement
1014 2000-10-09 Mikhael Goikhman <migo@homemail.com>
1016 * libs/Picture.c (GetColor):
1017 fixed core dump when parsing $[bg.cs3i]
1019 2000-10-08 Dominik Vogt <dominik.vogt@gmx.de>
1022 added a warning about the PointerKey command
1024 * libs/Bindings.c (AddBinding):
1027 * fvwm/bindings.c (ParseBinding):
1030 2000-10-08 Chris Rankin <rankinc@zipworld.com.au>
1033 Fix build problem - XrmCombineDatabase returns void.
1035 2000-10-08 Dominik Vogt <dominik.vogt@gmx.de>
1037 * fvwm/stack.c (raise_over_unmanaged):
1038 * fvwm/add_window.c (setup_window_name):
1039 * fvwm/virtual.c (unmap_window):
1040 * fvwm/menus.c (is_submenu_mapped):
1041 * fvwm/icons.c (Iconify):
1042 * fvwm/fvwm.c (InitVariables):
1043 * fvwm/colormaps.c (HandleColormapNotify):
1044 (InstallWindowColormaps):
1045 (FetchWmColormapWindows):
1046 (EnterSubWindowColormap):
1047 * fvwm/menus.c (get_prefered_popup_position):
1050 (animated_move_back):
1053 (pop_menu_down_and_repaint_parent):
1054 * libs/Colorset.c (SetWindowBackground):
1055 * fvwm/move_resize.c (resize_move_window):
1056 (AnimatedMoveAnyWindow):
1060 * fvwm/icons.c (GetIconBitmap):
1061 * fvwm/session.c (matchWin):
1063 honour return code of XGetGeometry(), XGetWindowAttributes(),
1064 XGetWMName(), XGetWMNormalHints(), XGetCommand(), XQueryTree()
1066 * libs/Graphics.c (CalculateGradientDimensions):
1067 * fvwm/events.c (HandleConfigureRequest):
1068 * fvwm/add_window.c (setup_style_and_decor):
1070 fixed no longer ignore return codes of several X functions
1072 * fvwm/decorations.c:
1075 2000-10-06 olicha <olivier.chapuis@free.fr>
1077 * fvwm/cursor.c (setBusyCursor):
1078 More memory leaks fix
1080 2000-10-06 Dominik Vogt <dominik.vogt@gmx.de>
1082 * fvwm/cursor.c (setBusyCursor):
1083 * fvwm/conditional.c (AllFunc):
1085 * fvwm/add_window.c (destroy_icon):
1086 * fvwm/cursor.c (CursorStyle):
1087 * fvwm/functions.c (ExecuteFunction):
1088 * fvwm/style.c (ProcessNewStyle):
1091 * libs/Bindings.c (MatchBindingExactly):
1092 (RemoveMatchingBinding):
1093 fixed removal of binding broken with last patch
1094 new function MatchBindingExactly()
1096 2000-10-05 Dominik Vogt <dominik.vogt@gmx.de>
1098 * fvwm/add_window.c (setup_style_and_decor):
1099 fixed UMR in FvwmWindow.wShaped
1101 * fvwm/fvwm.c (main):
1102 * fvwm/move_resize.c (resize_window):
1104 * fvwm/misc.c (WaitForButtonsUp):
1105 * fvwm/functions.c (CheckActionType):
1106 * fvwm/focus.c (focus_grab_buttons):
1107 * fvwm/bindings.c (ParseBinding):
1108 * libs/Bindings.c (GrabWindowButton):
1109 the number of supported buttons is now a macro in defaults.h
1110 theoretically it should be possible to support 5 mouse buttons now
1112 * libs/defaults.h (NUMBER_OF_MOUSE_BUTTONS):
1113 moved it here instead
1115 * fvwm/fvwm.h (MAX_BUTTONS):
1116 removed unused macro
1118 * fvwm/bindings.c (ParseBinding):
1121 * libs/Bindings.c (DestroyBinding):
1123 (RemoveMatchingBinding):
1124 partially rewrote binding list handling
1126 performance enhancements and bugfixes
1128 2000-10-03 Dan Espen <dane@mk.telcordia.com>
1130 * libs/fvwmlib.h: remove #define MTRACE_DEBUGGING, its not portable.
1132 2000-10-03 olicha <olivier.chapuis@free.fr>
1134 * fvwm/bindings.c (ParseBinding):
1135 * libs/Bindings.c (RemoveBinding):
1137 Try to fix the Add/Remove bindings code
1139 2000-09-30 olicha <olivier.chapuis@free.fr>
1141 * libs/Bindings.c (MatchBinding):
1142 * fvwm/read.c (run_command_file):
1143 * fvwm/module_interface.c (DeleteMessageQueueBuff):
1144 Applied dmalloc suggestions
1146 2000-09-24 olicha <olivier.chapuis@free.fr>
1148 * fvwm/gnome.c (GNOME_ProcessClientMessage):
1149 fixed my previous commit
1151 2000-09-25 Mikhael Goikhman <migo@homemail.com>
1153 * fvwm/session.c (SetClientID):
1155 implemented forgotten function, thus fixing a bad bug with timeout
1157 2000-09-24 olicha <olivier.chapuis@free.fr>
1159 * fvwm/gnome.c (GNOME_ProcessClientMessage):
1160 fixed a gnome hints core dump
1162 2000-09-24 olicha <olivier.chapuis@free.fr>
1164 * utils/fvwm-menu-desktop.in:
1165 fixed a problem with directory with a space in its name
1167 2000-09-24 Mikhael Goikhman <migo@homemail.com>
1169 * fvwm/modconf.c (SendConfigToModule):
1170 fixed sending new module config to existing modules, which want it,
1171 now it only sends to modules with the matching name/alias
1173 2000-09-17 Dominik Vogt <dominik.vogt@gmx.de>
1175 * fvwm/events.c (HandleButtonPress):
1176 (HandleEnterNotify):
1177 * fvwm/focus.c (focus_grab_buttons):
1178 MouseFocusClickRaises applies to NeverFocus windows too.
1180 * libs/Parse.c (SkipSpaces):
1181 removed static prefix
1183 * fvwm/functions.c (ExecuteFunction):
1184 whitespace ate the start of module config and comment lines are ignored
1185 this helps cut-and-past with module configs
1187 * fvwm/focus.c (focus_grab_buttons):
1188 removed redundant code
1190 2000-09-16 Mikhael Goikhman <migo@homemail.com>
1193 added #include "config.h" (for string.h) to avoid warning
1196 'unset' is now used only on shells which support it;
1197 reverted to the old smr_CHECK_LIB, so readline usage is twice again;
1198 added --with-termcap-library and --with-ncurses-library
1202 updated documentation
1204 * NEWS: s/Sped/Speed/, some more
1207 added files and rules for generating bzip2 and rpm archives
1209 2000-09-16 Dominik Vogt <dominik.vogt@gmx.de>
1211 * fvwm/fvwm2.1 (Example):
1212 removed some text about xview workarounds
1214 2000-09-15 Dominik Vogt <dominik.vogt@gmx.de>
1216 * fvwm/window_flags.h:
1218 * fvwm/misc.c (GrabEm):
1219 * fvwm/add_window.c (regrab_focus_win):
1220 (setup_key_and_button_grabs):
1221 (setup_focus_policy):
1222 * fvwm/events.c (HandleEnterNotify):
1223 (HandleButtonPress):
1225 * fvwm/focus.c (focus_grab_buttons):
1228 (do_accept_input_focus):
1229 * fvwm/focus.h (focus_grab_buttons):
1230 fixed focus problems with xview applications/clicktofocus and cleaned
1231 up the whole focus regrabbing code
1233 2000-09-15 Dominik Vogt <dominik.vogt@gmx.de>
1237 new file with configure support for strdup needed for ULTRIX
1239 * libs/Makefile.in (libfvwm_a_SOURCES):
1240 * libs/GetFontSet.c:
1241 removed file libs/GetFontSet.c
1243 2000-09-13 Dominik Vogt <dominik.vogt@gmx.de>
1246 * fvwm/style.c (ProcessNewStyle):
1248 * fvwm/gnome.c (GNOME_GetHints):
1249 (GNOME_ProcessClientMessage):
1250 (GNOME_HandlePropRequest):
1251 implemented and documented GNOMEIgnoreHints and GNOMEUseHints styles
1253 * fvwm/gnome.c (GNOME_GetHintIcons):
1254 (GNOME_GetHintLayer):
1255 (GNOME_GetHintState):
1256 (GNOME_GetHintAppState):
1257 (GNOME_GetHintDesktop):
1259 (GNOME_GetExpandedSize):
1266 * fvwm/window_flags.h (DO_IGNORE_GNOME_HINTS):
1267 * fvwm/fvwm.h (struct):
1268 new window flag do_ignore_gnome_hints
1270 2000-09-12 Dominik Vogt <dominik.vogt@gmx.de>
1272 * fvwm/gnome.c (GNOME_HandlePropRequest):
1273 removed debug messages
1275 * libs/GetFont.c (GetFontSetOrFixed):
1277 function is only compiled in with I18N_MB defined
1279 2000-09-08 Mikhael Goikhman <migo@homemail.com>
1281 * fvwm/modconf.c (AddToModList, ModuleConfig, DestroyModConfig):
1283 Fixed synchronous sending of new syntax config commands.
1284 DestroyModuleConfig now supports a non conflicting syntax too,
1285 no globbing in alias is allowed. DestroyModuleConfig FvwmPager: Geomet*
1287 2000-09-07 Dominik Vogt <dominik.vogt@gmx.de>
1289 * fvwm/stack.c (raise_over_unmanaged):
1290 fixed bug in raising of transients which resulted in only the first
1291 transient to be raised with FvwmAuto when the transient paren was
1294 * fvwm/borders.c (SetupTitleBar):
1295 fixes drawing of title buttons in windows with very low width
1297 * fvwm/events.c (HandleButtonPress):
1298 fixed redundant raising of non focused ClickToFocus +
1299 ClickToFocusRaisesOff windows when clicking on the decorations.
1301 2000-09-06 Dominik Vogt <dominik.vogt@gmx.de>
1303 * fvwm/stack.c (RaiseOrLowerWindow):
1304 * fvwm/events.c (HandleButtonPress):
1306 Fixed at least one problem that caused focus loss of xview windows when
1307 a normal ClickToFocus is entered.
1309 * fvwm/window_flags.h (IS_SCHEDULED_FOR_RAISE):
1310 (SET_SCHEDULED_FOR_RAISE):
1311 * fvwm/fvwm.h (is_just_restacked):
1312 Fixed Lower/RaiseLower problems in conjunction with ClickToFocus plus
1315 2000-09-05 Dominik Vogt <dominik.vogt@gmx.de>
1317 * fvwm/fvwm2.1 (Example):
1318 hopefully clarified problems with xview a bit
1320 * fvwm/focus.c (FocusOn):
1321 * fvwm/virtual.c (MapDesk):
1322 * fvwm/events.c (HandleMapRequestKeepRaised):
1324 (HandleButtonPress):
1325 * fvwm/borders.c (DrawDecorations):
1326 tried to fix handling of windows with "Input hint = false"
1328 * fvwm/functions.c (ExecuteFunction):
1329 removed redundant code
1331 * fvwm/windowlist.c (do_windowList):
1332 * fvwm/conditional.c:
1333 * fvwm/gnome.c (GNOME_HandlePropRequest):
1334 * fvwm/functions.c (ExecuteFunction):
1335 (execute_complex_function):
1336 * fvwm/module_interface.c (ExecuteModuleCommand):
1337 * fvwm/read.c (run_command_stream):
1338 * fvwm/fvwm.c (main):
1343 * fvwm/events.c (HandleKeyPress):
1344 (HandlePropertyNotify):
1345 (HandleButtonPress):
1346 (HandleButtonRelease):
1347 * fvwm/builtins.c (AddToDecor):
1350 * fvwm/menus.c (do_menu):
1353 Replaced expand_cmd parameter of the ExecuteFunction() with exec_flags
1354 and added a flag to indicate that the function has to wait for a button
1355 release before proceeding. This is supposed to speed up startup and
1356 script execution over slow network connections dramatically.
1358 * fvwm/functions.c (ExecuteFunctionSaveTmpWin):
1360 * fvwm/repeat.c (repeat_function):
1361 * fvwm/module_interface.c (executeModuleDesperate):
1363 (executeModuleSync):
1364 * fvwm/builtins.c (ButtonStyle):
1368 * fvwm/move_resize.c (handle_stick):
1371 * fvwm/menus.c (popup_func):
1376 use the F_PASS_ARGS/F_EXEC_ARGS/F_PASS_EXEC_ARGS macros
1378 * fvwm/builtins.c (setModuleTimeout):
1379 removed empty declarations
1381 * fvwm/fvwm.h (F_EXEC_ARGS):
1385 * fvwm/misc.h (F_CMD_ARGS):
1386 removed duplicate macro (already in fvwm.h)
1388 2000-09-04 Dominik Vogt <dominik.vogt@gmx.de>
1390 * configure.in: changed version to 2.3.22
1392 2000-09-04 Dominik Vogt <dominik.vogt@gmx.de>
1394 * fvwm/functions.c (AddToFunction):
1395 * fvwm/module_interface.c (SendStrToModule):
1398 2000-09-02 Mikhael Goikhman <migo@homemail.com>
1400 * fvwm/functions.c (AddToFunc):
1401 allow only a strict syntax, i.e. I|C|D|M|H as the first parameter
1403 * fvwm/move_resize.c (GetOnePositionArgument):
1404 correct rounding errors: 'Move w+1 w+1' + 'Move w-1 w-1' = 'Move w w'
1406 * fvwm/modconf.c (AddToModList, SendDataToModule):
1407 * fvwm/module_interface.c (skipModuleAliasToken):
1408 * fvwm/module_interface.h:
1411 module configuration now can be delimited by a colon and optional
1412 spaces, like: *FvwmIconBox: MaxIconSize 48x48
1415 fixes like s/MwmButton|MwmDecorMaximize/MwmDecorMax/ and spacing;
1416 added an entry *module_config_line
1418 2000-08-29 Dan Espen <dane@mk.telcordia.com>
1420 * fvwm/read.c (ReadFile): remove extra quotes in debug message.
1422 2000-08-28 Dan Espen <dane@mk.telcordia.com>
1424 * fvwm/fvwm.c (main): Read commands from config files without
1425 doing XSync on each comamnd. (Speed up.)
1427 * fvwm/misc.c (fvwm_msg): Add ifdef'd timing logic to fvwm_msg.
1429 * fvwm/read.c (ReadFile): Add information to existing debug lines.
1431 * fvwm/add_window.c (setup_window_name): Add debugging to window
1434 2000-08-19 Mikhael Goikhman <migo@homemail.com>
1436 * fvwm/module_interface.c:
1437 SendToModule now can accept an alias too.
1438 Syncronize with appropriate messages regardless of myxgrabcount.
1440 * NEWS: document new GNOME defaults, StrokeWidth and SendToModule
1441 * AUTHORS: tried to keep a reverse chronological order
1444 SendToModule; s/COMMAND LINE PARAMETER EXPANSION/COMMAND EXPANSION/.
1446 2000-08-13 olicha <olivier.chapuis@free.fr>
1451 Applied J. Zellner <johannes@zellner.org> StrokeWidth patch
1453 2000-07-21 Mikhael Goikhman <migo@homemail.com>
1458 GNOME window manager hints are now on by default (--disable-gnome).
1459 Compiling with GNOME is now autoconfigured, this fixes "todo #159".
1460 Some tweaks to make 'configure --help' nicer.
1462 * fvwm/module_interface.c (do_execute_module):
1463 support [0-9.-] chars in module aliases
1466 added #include <stdlib.h>
1468 2000-07-04 Dominik Vogt <dominik.vogt@gmx.de>
1470 * configure.in: changed version to 2.3.21
1472 2000-07-04 Dominik Vogt <dominik.vogt@gmx.de>
1474 * fvwm/stack.c (RaiseOrLowerWindow):
1476 fixed transient stacking bug
1477 (ResyncXStackingOrder):
1478 new function to synchronize X stacking order with internal stack ring
1480 2000-06-30 Mikhael Goikhman <migo@homemail.com>
1482 * fvwm/module_interface.c:
1483 KillModule now supports optional alias parameter, so it is now
1484 possible to stop individual modules started by alias.
1488 Documented KillModule additional parameter.
1489 Improved description of Module command.
1491 2000-06-27 olicha <olivier.chapuis@free.fr>
1493 * fvwm/placement.c (NEW_CLEVERPLACEMENT_CODE):
1494 Clever Placement try to be more clever
1496 2000-06-23 Mikhael Goikhman <migo@homemail.com>
1498 * fvwm/functions.c: patch by Christophe Martin - fixed $$ and $y
1502 * fvwm/module_interface.c: ExecuteCommandQueue is now reentrant and
1503 the Wait command now allows module command to work.
1507 * fvwm/functions.*: Removed undocumented command AddModuleConfig.
1508 * fvwm/modconf.*: Removed trailing newlines from module config lines.
1510 2000-06-15 Dominik Vogt <dominik.vogt@gmx.de>
1512 * fvwm/builtins.c (WindowShade):
1513 * fvwm/move_resize.c (Maximize):
1515 don't maximize/shade/resize iconified windows
1517 fixed normal geometry when window was maximized twice
1519 2000-06-14 Dominik Vogt <dominik.vogt@gmx.de>
1521 * fvwm/misc.c (GrabEm):
1522 retry to grab busy cursor only once - rather don't whow a busy cursor
1525 * libs/WinMagic.c (GetEqualSizeChildren):
1526 * libs/Colorset.c (SetWindowBackground):
1527 * libs/Graphics.c (ParseGradient):
1528 * fvwm/geometry.c (gravity_constrain_size):
1529 * fvwm/add_window.c (AddWindow):
1530 * fvwm/events.c (HandleConfigureRequest):
1531 * fvwm/style.c (blockand):
1533 * fvwm/move_resize.c:
1534 * fvwm/fvwm.c (SetMWM_INFO):
1535 * fvwm/menus.c (paint_menu):
1538 * fvwm/fvwm.h (icon_boxes_struct):
1539 fix for ANSI C bitfields
1541 * fvwm/functions.c (execute_complex_function):
1542 fixed parameter expansion in non-immediate function actions
1544 2000-06-14 Dominik Vogt <dominik.vogt@gmx.de>
1546 * fvwm/borders.c (SetupTitleBar):
1549 ... and removed some unnecessary code again
1551 and another bug if no buttons were configured
1553 2000-06-12 Brad Giaccio <bgiaccio@psrw.com>
1555 * fvwm/fvwm.c: fvwm/borders.c:
1556 * fvwm/module_interface.c: fvwm/move_resize.c:
1557 * modules/FvwmIconBox/FvwmIconBox.c: modules/FvwmIconMan/FvwmIconMan.c:
1558 * modules/FvwmWinList/FvwmWinList.c:
1559 now builds with FVWM_DEBUG_MSGS defined
1561 2000-06-10 olicha <olivier.chapuis@free.fr>
1563 * sample/system.fvwm2rc-sample-95:
1564 Fixed pager swallowing
1568 * fvwm/move_resize.c: moved EdgeResistance code into doSnapAttraction()
1570 2000-06-07 Dominik Vogt <dominik.vogt@gmx.de>
1572 * fvwm/borders.c (SetupTitleBar):
1573 fixed placement of title and button windows in a short title bar
1575 * fvwm/menus.c (menu_func):
1576 menus invoked from modules were executed in wrong window context
1578 2000-06-06 Dominik Vogt <dominik.vogt@gmx.de>
1580 * fvwm/functions.c (execute_complex_function):
1582 allow expose events while waiting for buttons to be released
1584 * fvwm/borders.c (RedrawBorder):
1585 (draw_frame_relief):
1586 fixed drawing of depressed fvwm borders on bottom and right side
1588 * fvwm/cursor.c (CursorStyle):
1589 fixed update of SYS cursorstyle for title buttons
1590 fixed update of DEFAULT cursorstyle for windows and icons
1592 * fvwm/update.c (apply_window_updates):
1593 fixed off screen decoration changes
1595 * fvwm/borders.c (SetupTitleBar):
1596 fixed top-left cursor over 'title' when windows are too small
1598 * fvwm/events.c (HandleButtonRelease):
1599 fixed title button being depressed if non-existing function bound to
1602 2000-06-04 Dominik Vogt <dominik.vogt@gmx.de>
1604 * configure.in: changed version to 2.3.20
1606 2000-06-04 Dominik Vogt <dominik.vogt@gmx.de>
1608 * fvwm/add_window.c (destroy_window):
1609 fixed bug: when an unfocused transient was closed it stole away the
1610 focus and transfered it to some other window
1612 2000-06-02 Dominik Vogt <dominik.vogt@gmx.de>
1614 * fvwm/menus.c (do_menu):
1617 * fvwm/session.c (MatchWinToSM):
1618 * fvwm/window_flags.h:
1619 * fvwm/events.c (HandleMapRequestKeepRaised):
1621 fixed hard coded is_icon_moved flag after a restart 2/ session mgr
1622 this flag is now preserved over a restart and used once during a restart
1623 to place the icon appropriately (to do list item #120)
1625 * fvwm/builtins.c (do_recapture):
1626 workaround for freeze w/ recapture when an icon is focused (to do list
1629 * fvwm/builtins.c (do_recapture):
1630 a busycursor fix (pointer grabbed twice)
1632 * fvwm/misc.c (GrabEm):
1633 * libs/Target.c (fvwmlib_get_target_window):
1634 improved grabbing logic
1637 removed commit from 27-May-2000
1639 2000-05-31 Dominik Vogt <dominik.vogt@gmx.de>
1641 * fvwm/placement.c (SmartPlacement):
1642 fixed bugs in smart placement code
1644 * fvwm/functions.c (ComplexFunction):
1645 (execute_complex_function):
1647 fixed parameter expansion with nested complex functions and quoting
1648 removed ComplexFunction(), instead handle the "Function" command in a
1649 special way in ExecuteFunction().
1651 2000-05-30 Dominik Vogt <dominik.vogt@gmx.de>
1653 * fvwm/add_window.c (GetWindowSizeHints):
1654 fixed core dump when size_inc is zero
1656 * fvwm/fvwm2.1 (Note):
1657 * fvwm/update.c (update_styles_func):
1658 * fvwm/functions.c (func_config):
1659 * fvwm/functions.h (enum):
1660 New command UpdateStyles to apply all style updates immediately. Less
1661 disruptive than Refresh since it does not force a redraw.
1663 * fvwm/functions.c (execute_complex_function):
1664 fixed core dump when undefined arguments were accessed
1666 variables in $[...] may contain spaces (not useful, but less buggy)
1668 fixed core dump when $[...] arguments expand to a string that is
1669 shorter than the '...'
1671 fixed temporary waste of memory
1673 performance enhancement
1676 * fvwm/functions.c (execute_complex_function):
1679 implemented '$*' function argument
1680 (expand_extended_var):
1681 implemented several very trivial new extended variables:
1682 $[desk.width], $[desk.height]
1683 $[vp.x], $[vp.y], $[vp.width], $[vp.height]
1684 $[w.x], $[w.y], $[w.width], $[w.height]
1686 $[<environment variable>]
1688 2000-05-27 Dominik Vogt <dominik.vogt@gmx.de>
1690 * fvwm/stack.c (RaiseOrLowerWindow):
1691 performance enhancement
1692 reindented some code
1694 2000-05-25 Dominik Vogt <dominik.vogt@fvwm.org>
1696 * configure.in: changed version to 2.3.19
1698 2000-05-25 Dominik Vogt <dominik.vogt@gmx.de>
1700 * fvwm/conditional.c (CreateConditionMask):
1702 renamed MovedButton3 contidion to PlacedByButton3
1705 * fvwm/events.c (HandleButtonPress):
1706 * fvwm/style.c (ProcessNewStyle):
1707 * fvwm/stack.c (RaiseOrLowerWindow):
1709 * fvwm/window_flags.h:
1711 removed (Dont)FlipTransient styles
1713 * fvwm/conditional.c (CreateConditionMask):
1714 conditions can be separated by commas
1716 2000-05-20 olicha <olivier.chapuis@free.fr>
1718 * sample/system.fvwm2rc-sample-95
1719 Corrected some miss prints (thanks to sa)
1721 2000-05-20 olicha <olivier.chapuis@free.fr>
1723 * fvwm/update{c,h} (apply_window_updates):
1724 * fvwm/styles.c (check_window_style_change):
1725 Send a CONFIGURE_WINDOW message to module in the case of a
1726 WindowListSkip/Hit and (No)Icon style changes.
1728 2000-05-19 Dominik Vogt <dominik.vogt@gmx.de>
1730 * fvwm/events.c (HandleEnterNotify):
1731 (HandleEnterNotify):
1732 fixed mouse focus and removed one - buggy - half of the "focus lost when
1733 root window is entered" workaround and removed a misleading comment
1735 2000-05-18 Mikhael Goikhman <migo@homemail.com>
1737 * configure.in: display "no" for gnome if not supported
1739 2000-05-17 olicha <olivier.chapuis@free.fr>
1741 * samples/system.fvwm2rc-sample-95
1746 * fvwm/events.c (My_XNextEvent): fixed X events getting lost & tuned up
1748 2000-05-16 Dominik Vogt <dominik.vogt@gmx.de>
1750 * fvwm/events.c (HandleFocusIn):
1751 fixed focus getting lost when transients are opened
1752 (HandleLeaveNotify):
1753 (HandleEnterNotify):
1754 tried to write a workaround for "focus lost when root window is entered"
1756 2000-05-15 Dominik Vogt <dominik.vogt@gmx.de>
1758 * fvwm/module_interface.h:
1759 * fvwm/module_interface.c (ExecuteCommandQueue):
1760 * fvwm/events.c (My_XNextEvent):
1761 workaround for event delay problem
1764 stack ring fix, final version
1766 * fvwm/menus.c (menuShortcuts):
1767 fixed meta-up/down and ctrl-up/down menu key shortcuts
1769 2000-05-15 Dominik Vogt <dominik.vogt@gmx.de>
1772 experimental 'fix' for stack ring problem.
1774 2000-05-14 Mikhael Goikhman <migo@homemail.com>
1776 * fvwm/fvwm2.1 (Style): removed a wrong sentence stated that Style
1777 commands based on name override those based on class and resource.
1778 * NEWS: s/GroUp/GrowUp/; increased to 2.3.18
1779 * ChangeLog: some clean up in number of entries
1781 2000-05-13 Dominik Vogt <dominik.vogt@gmx.de>
1784 added some missing prototypes
1787 * fvwm/fvwm.c (InitVariables):
1788 * fvwm/screen.h (ScreenInfo):
1789 * fvwm/move_resize.h (stick_function):
1791 * fvwm/move_resize.c (SetMoveSmoothness):
1794 * fvwm/functions.c (func_config):
1795 removed MoveSmoothness command
1797 * fvwm/move_resize.c (InteractiveMove):
1799 fixed opaque icon moving
1801 * fvwm/add_window.c (destroy_icon_font):
1802 (destroy_window_font):
1803 does not destroy the default font anymore
1804 destroy old font even if no new font was specified
1807 * fvwm/style.c (ProcessNewStyle):
1815 * fvwm/module_interface.c
1816 * fvwm/module_interface.h
1817 * fvwm/move_resize.c
1819 Added queueing system for module commands.
1820 Speeded up module command processing.
1821 New convenience functions SendUnlockNotification() &
1822 SendQuitNotification() for use by modules.
1823 Removed FINISHED_STARTUP, UNLOCK & KILLME commands.
1825 2000-05-11 Dominik Vogt <dominik_vogt@gmx.de>
1827 * configure.in: changed version to 2.3.18
1829 2000-05-10 Paul D. Smith <psmith@gnu.org>
1831 * vms/vms.c (VMS_msg): Put va_start/va_end close for cleanliness.
1832 (VMS_ExecL): Add missing va_end call.
1834 * fvwm/misc.c (fvwm_msg): Wrap _each_ instance of vsprintf() in
1835 va_start()/va_end().
1837 2000-05-10 Dan Espen <dane@mk.telcordia.com>
1839 * fvwm/add_window.c (AddWindow): remove some debug stuff.
1841 2000-05-10 Dominik Vogt <dominik.vogt@gmx.de>
1843 * fvwm/functions.c (ExecuteFunction):
1844 another parameter expansion fix
1846 * fvwm/misc.c (IntersectsInterval):
1849 * fvwm/move_resize.c (move_window_doit):
1850 some fixes to MoveToPage command
1852 * fvwm/functions.c (ExecuteFunction):
1855 2000-05-09 Dominik Vogt <dominik.vogt@gmx.de>
1858 applied man page updates by brooke@jump.net (placement styles)
1860 * fvwm/functions.c (ExecuteFunction):
1861 fixed expansion of command names in '+' entries in a function or menu
1863 * configure.in (FVWM_CONFDIR):
1864 removed busycursor configure option
1866 * fvwm/functions.h (enum):
1867 * fvwm/screen.h (ScreenInfo):
1873 * fvwm/module_interface.c (executeModuleSync):
1874 * fvwm/menus.c (MenuInteraction):
1876 * fvwm/misc.c (GrabEm):
1879 * fvwm/fvwm.c (MAX_CFG_CMDS):
1881 * fvwm/functions.c (func_config):
1882 * fvwm/cursor.c (setBusyCursor):
1883 * fvwm/builtins.c (wait_func):
1885 removed BUSYCURSOR ifdef
1887 * fvwm/builtins.c (wait_func):
1888 removed "#if 0"ed code
1890 2000-05-08 Dominik Vogt <dominik.vogt@gmx.de>
1892 * fvwm/builtins.c (echo_func):
1893 removed debug fprintf
1895 support old syntax too; strip leading and trailing whitespace
1897 * fvwm/fvwm2.1 (Example):
1898 clarified Close command
1900 * fvwm/focus.c (DoSetFocus):
1901 fixed setting focus to an icon after moving it to another page
1903 * fvwm/menus.c (MenuInteraction):
1905 fixed core dump if 'Popup ""' was used in DynamicPopupAction
1907 2000-05-06 Dominik Vogt <dominik.vogt@gmx.de>
1910 * ChangeLog-pre-2.2:
1911 moved old ChangeLog entries into new file
1913 * fvwm/focus.h (FOCUS_SET):
1914 fixed focus problem if clock was set backwards in time but less than
1917 * fvwm/events.c (StashEventTime):
1918 * libs/defaults.h (CLOCK_SKEW_MS):
1919 new macro replaces hard coded 30s in StashEventTime
1922 * fvwm/misc.c (ButtonPosition):
1923 moved function to borders.c
1927 moved extern decalrations to externs.h
1930 * fvwm/misc.c (flush_expose):
1932 (CoerceEnterNotifyOnCurrentWindow):
1933 moved event related functions to events.c
1935 2000-05-05 Dominik Vogt <dominik.vogt@gmx.de>
1937 * fvwm/gnome.c (GNOME_HandlePropRequest):
1938 * fvwm/repeat.c (repeat_function):
1939 * fvwm/read.c (run_command_stream):
1940 * fvwm/windowlist.c (do_windowList):
1941 * fvwm/conditional.c (PrevFunc):
1949 * fvwm/module_interface.c (HandleModuleInput):
1950 * fvwm/fvwm.c (main):
1954 * fvwm/events.c (HandleKeyPress):
1955 (HandlePropertyNotify):
1956 (HandleClientMessage):
1957 (HandleButtonPress):
1958 (HandleButtonRelease):
1959 * fvwm/builtins.c (AddToDecor):
1962 * fvwm/menus.c (do_menu):
1967 * fvwm/functions.c (execute_complex_function):
1969 fixed expansion of complex function arguments
1971 2000-05-04 Mikhael Goikhman <migo@homemail.com>
1973 * configure.in: added GNOME support info,
1974 $with_gnome is now awailable for auto-generated stuff.
1975 * fvwm/fvwm2.1: fixed PipeRead usage example
1977 2000-05-04 Dominik Vogt <dominik.vogt@gmx.de>
1979 * fvwm/placement.c (PlaceWindow):
1980 * fvwm/move_resize.c (moveLoop):
1983 fixed opaque resize w/ active placement
1984 removed AddWindow argument from moveLoop(): this can be checked via
1987 * fvwm/window_flags.h:
1988 * fvwm/move_resize.h:
1991 * fvwm/conditional.c:
1992 * fvwm/move_resize.c:
1993 removed POST_24_FEATURES ifdef
1995 * fvwm/move_resize.c (resize_move_window):
1996 renamed moveresize command to resizemove
1998 * fvwm/move_resize.c (GetMoveArguments):
1999 replaced "-" Move argument with "keep"
2000 (GetResizeArguments):
2001 replaced "0" Resize argument with "keep"
2003 2000-05-03 Michael Han <mikehan@best.com>
2006 * FvwmCommandS.c (process_message):
2007 * FvwmCommand.c (process_message):
2009 Converted to ConfigWinPacket when parsing packet bodies
2011 2000-05-02 Michael Han <mikehan@best.com>
2014 * FvwmSave.c (add_window):
2015 Converted to ConfigWinPacket when parsing packet bodies
2017 Convert some bitwise tests to use the standard flag macros instead
2019 * FvwmSaveDesk.c (add_window):
2020 Converted to ConfigWinPacket when parsing packet bodies
2022 Convert some bitwise tests to use the standard flag macros instead
2024 2000-05-03 Dominik Vogt <dominik.vogt@gmx.de>
2026 * fvwm/builtins.c (refresh_window):
2027 Refresh and RefreshWindow apply style updates too
2030 * fvwm/move_resize.h (stick_function):
2032 * fvwm/functions.c (func_config):
2033 * fvwm/move_resize.c (move_resize_window):
2034 (GetResizeArguments):
2035 * fvwm/move_resize.c (move_window_doit):
2036 (GetGeometryArguments):
2037 resize command accepts negative size arguments which are interpreted as
2038 screen size minus given size
2039 resize command interprets '0' as 'do not change dimension'
2040 move command interprets '-' as 'do not change coordinate'
2041 new command MoveResize
2043 * libs/Parse.h (EatWS):
2044 removed unused macro
2046 * fvwm/conditional.c (CreateConditionMask):
2047 * fvwm/move_resize.c (moveLoop):
2051 * fvwm/window_flags.h (IS_PLACED_WB3):
2052 * fvwm/fvwm.h (struct):
2053 new condition MovedButton3 is set when the last interactive move was
2054 finished with mouse button 3. This is useful to hook fvwm functions to
2055 add_window events via FvwmEvent
2057 2000-05-01 Michael Han <mikehan@best.com>
2059 * modules/FvwmIconMan/fvwm.c (set_win_configuration)
2062 Convert the add_config_data union member from m_add_config_data to
2063 ConfigWinPacket from vpacket, and fix up differences between the structs
2064 * modules/FvwmIdent/FvwmIdent.c (list_configure):
2065 Convert from reading the packet body array to ConfigWinPacket struct
2067 2000-05-01 Michael Han <mikehan@best.com>
2069 * modules/FvwmPager/x_pager.c (UpdateWindowShape):
2070 * modules/FvwmButtons/FvwmButtons.c (change_colorset):
2072 * fvwm/cursor.c (myCursorNameToIndex):
2076 -Wall -ansi fixes, mostly removing extraneous semicolons.
2078 2000-05-01 Bob Woodside <proteus@pcnet.com>
2080 * fvwm/module_interface.c (make_new_vpacket, CONFIGARGSNEW):
2081 fixed misaligned fields in M_CONFIGURE_WINDOW packet on systems where
2082 an int and a long have different lengths.
2084 Added layer in the old dummy slot where the pre-GSFR flags used to go.
2086 2000-04-30 Michael Han <mikehan@best.com>
2088 * fvwm/bindings.c (ParseBinding):
2090 -Wall fixes to hide variables if they're not going to be used
2092 2000-04-27 Dominik Vogt <dominik.vogt@gmx.de>
2094 * fvwm/menus.c (get_selectable_item_count):
2096 cleand up menu shorcut code and fixed several minor bugs
2098 * fvwm/menus.c (MenuInteraction):
2099 fixed bug: pressing 'right' when a menu is posted but nothing in it
2100 selected sometimes closed all open menus instead of entering the submenu
2102 * fvwm/menus.c (do_menu):
2108 some minor position hint fixes
2109 fixed previous position hint patch
2111 * fvwm/menus.c (GetMenuOptions):
2114 menus invoked with 'Menu' honour position hints even if they are invoked
2115 from a menu without specifying 'SelectInPlace'
2117 2000-04-26 Dominik Vogt <dominik.vogt@gmx.de>
2119 * fvwm/icons.c (DeIconify):
2120 fixed shade-iconify-drag_to_other_page-deiconify-unshade
2121 fixed maximize-iconify-drag_to_other_page-deiconify-unmaximize
2123 * fvwm/geometry.c (update_relative_geometry):
2126 * fvwm/virtual.c (gotoDeskAndPage_func):
2128 completed FvwmPager workaround for sticky windows with brute force.
2129 Each desk change is followed by a complete set of restack messages.
2132 renamed MapIt() to map_window()
2133 renamed UnmapIt() to unmap_window()
2135 * fvwm/virtual.h (gotoDeskAndPage_func):
2136 * fvwm/virtual.c (goto_desk_func):
2138 * fvwm/session.c (LoadGlobalState):
2139 * fvwm/placement.c (PlaceWindow):
2140 * fvwm/functions.h (enum):
2141 * fvwm/gnome.c (GNOME_ProcessClientMessage):
2142 * fvwm/focus.c (WarpOn):
2144 * fvwm/functions.c (func_config):
2145 renamed chageDesks() to goto_desk()
2146 renamed chageDesks_func() to goto_desk_func()
2151 2000-04-26 Mikhael Goikhman <migo@homemail.com>
2153 * NEWS, configure.in, fvwm/Makefile.am, fvwm/externs.h, fvwm/fvwm.c,
2154 * fvwm/fvwm2.1, fvwm/module_interface.c, fvwm/read.c, fvwm/read.h,
2155 * sample.fvwmrc/Makefile.am, sample.fvwmrc/system.fvwm2rc-sample-95,
2157 Changes in defaults of FVWM_DATADIR & FVWM_USERDIR;
2158 renamings and rewordings.
2160 2000-04-25 olicha <olivier.chapuis@free.fr>
2162 * sample.fvwmrc/system.fvwm2rc-sample-95:
2163 Fixed some miss prints
2165 2000-04-23 Mikhael Goikhman <migo@homemail.com>
2167 * fvwm/menus.c (paint_item):
2168 Fixed non-first menu titles for different relief heights.
2169 * fvwm/builtins.c (wait_func):
2170 Wait now parses it's argument, like: Wait "my win". Error returned
2171 on old (now incorrect) usage: Wait my win.
2173 2000-04-23 Dominik Vogt <dominik.vogt@gmx.de>
2175 * fvwm/virtual.c (changeDesks):
2176 workaround for pager problem: after switching desks, all sticky windows
2177 migrate to the top of the stacking order in the pager
2179 2000-04-23 Mikhael Goikhman <migo@homemail.com>
2181 * libs/Target.c (fvwmlib_get_target_window): patch from Michael Han
2183 2000-04-22 Mikhael Goikhman <migo@homemail.com>
2185 * fvwm/windowlist.c (do_windowList): don't free Function before
2186 the last menu entry is added
2188 2000-04-20 olicha <olivier.chapuis@free.fr>
2190 * sample.fvwmrc/system.fvwm2rc-sample-95:
2191 Added a CDE support and a new FAST/SLOW X server option.
2194 2000-04-17 Dominik Vogt <dominik.vogt@gmx.de>
2196 * configure.in: changed version to 2.3.17
2198 2000-04-17 Dominik Vogt <dominik.vogt@gmx.de>
2200 * fvwm/style.c (remove_all_of_style_from_list):
2202 (remove_all_of_style_from_list):
2203 performance enhancement if style doesn't exist
2205 merge adjacent styles with same name
2206 (simplify_style_list):
2207 fixed bug preventing that styles were merged properly
2212 2000-04-17 Dominik Vogt <dominik.vogt@gmx.de>
2217 * fvwm/add_window.c (setup_window_name):
2218 small change in I18N fix
2220 2000-04-16 olicha <olivier.chapuis@free.fr>
2222 * sample.fvwmrc/system.fvwm2rc-sample-95:
2223 replaced FVWM_icons by fvwm_icons
2225 2000-04-16 Dan Espen <dane@mk.telcordia.com>
2227 * sample.fvwmrc/system.fvwm2rc-sample-95: first pass on adustments.
2229 2000-04-16 olicha <olivier.chapuis@free.fr>
2231 * sample.fvwmrc/system.fvwm2rc-sample-95:
2232 Minor modifications. In particular, added "flags" for helping
2233 menus/styles parsing and for multi-files building. Began a CDE
2236 2000-04-13 olicha <olivier.chapuis@free.fr>
2238 * sample.fvwmrc/system.fvwm2rc-sample-95:
2239 Fixed sample-95 building.
2241 2000-04-13 Dan Espen <dane@mk.telcordia.com>
2243 * fvwm/add_window.c (setup_window_name): applied I18N patch from
2246 2000-04-12 Mikhael Goikhman <migo@homemail.com>
2249 $with_<feature> vars are now awailable for auto-generated stuff.
2250 * sample.fvwmrc/system.fvwm2rc-sample-95:
2251 some spell cheching, not enough at all
2253 2000-04-11 Dominik Vogt <dominik.vogt@gmx.de>
2255 * fvwm/functions.c (execute_complex_function):
2256 finally fixed that annoying rxvt selection bug
2258 2000-04-11 olicha <olivier.chapuis@free.fr>
2260 * sample.fvwmrc/system.fvwm2rc-sample-95:
2261 * sample.fvwmrc/Makefile.am
2262 sample-95 revolution. system.fvwm2rc-sample-95 is installed in
2263 the config directory.
2266 Added an entries for ScriptFvwmSetup95 in the root menu.
2267 Also added an entries for restarting fvwm.
2269 2000-04-11 olicha <olivier.chapuis@free.fr>
2271 * style.c (merge_styles, ProcessNewStyle, check_window_style_change
2272 update_style_colorset, update_window_color_style,
2273 update_window_color_hi_style):
2276 * border.c (get_common_decorations, DrawDecorations):
2279 New styles option BorderColorset and HilightBorderColorset
2281 2000-04-07 Dominik Vogt <dominik.vogt@gmx.de>
2283 * fvwm/decorations.c (SelectDecor):
2284 fixed bug: shaped windows had no title instead of no border
2285 removed unused macro DECOR_BORDER
2287 * fvwm/events.c (HandleConfigureRequest):
2288 use SendConfigureNotify()
2289 fixed xterm font size change when maximised
2291 * fvwm/borders.c (SetupFrame):
2292 * fvwm/move_resize.c (AnimatedMoveAnyWindow):
2294 use SendConfigureNotify()
2296 * fvwm/events.c (SendConfigureNotify):
2297 New function SendConfigureNotify()
2299 * fvwm/decorations.c (SelectDecor):
2301 fixed OL hints with windows that have no such hints
2303 2000-04-06 Mikhael Goikhman <migo@homemail.com>
2305 * configure.in: added generation of utils/fvwm-config, the default
2306 ImagePath $FVWM_IMAGEPATH is now available for auto-generated stuff.
2308 2000-04-03 Dan Espen <dane@mk.telcordia.com>
2310 * fvwm/events.c (HandleMapRequestKeepRaised): remove debug statement.
2312 2000-03-31 Mikhael Goikhman <migo@homemail.com>
2314 * configure.in: replace the second smr_CHECK_LIB in readline check
2315 with a less elegant equivalent, but which does not adds the
2316 --with-readline-* usage for the second time.
2318 2000-03-29 Mikhael Goikhman <migo@homemail.com>
2320 * configure.in: added --disable-sm to disable session management
2321 functionality, the default is enable if the library is found.
2322 Also added a commented in code for options --with-sm-libs and
2323 --with-sm-includes, but I am not sure whether they may be useful.
2325 2000-03-29 Dominik Vogt <dominik.vogt@gmx.de>
2327 * fvwm/style.c (free_style_mask):
2328 fixed coredump when overriding styles that were not set in any previous
2331 2000-03-27 Dominik Vogt <dominik.vogt@gmx.de>
2333 * libs/defaults.h (DEFAULT_MODULE_TIMEOUT):
2334 increased module timeout to 30 seconds
2336 2000-03-25 Mikhael Goikhman <migo@homemail.com>
2338 * configure.in: removed duplicated checks for libxpg4 and Xsetlocale,
2339 added X_CFLAGS to stroke check to fix header detection
2341 * fvwm/bindings.c (ParseBinding): patch by Olivier, remove the
2342 old binding first; this fixes memory leaks and an eventual crash
2344 2000-03-24 Dominik Vogt <dominik.vogt@gmx.de>
2346 * fvwm/builtins.c (movecursor):
2347 fixed MoveCursor command with Xinerama
2349 * fvwm/functions.c (func_config):
2351 * libs/Module.c (SetNoGrabMask):
2352 introduced SET_NOGRAB_MASK command to specify the packets that are not
2353 sent to the module while the server is grabbed and transmission is in
2354 locked mode; the mask must be a subset of the SET_SYNC_MASK mask.
2355 fixes problem that icons forget iconified state during recapture or
2356 when applications start up iconic
2358 2000-03-17 Dominik Vogt <dominik.vogt@gmx.de>
2360 * fvwm/placement.c (PlaceWindow):
2361 fixed random placement offsets
2363 * fvwm/add_window.c (GetWindowSizeHints):
2364 suppress broken size hints warning with zero size increment and
2365 identical max and min values
2367 * fvwm/events.c (HandleEnterNotify):
2368 (HandleLeaveNotify):
2369 * fvwm/move_resize.c (InteractiveMove):
2371 * fvwm/screen.h (ScreenInfo):
2372 Ignore LeaveNotify and EnterNotify events while the wire frame is
2373 visible. This may have unwanted effects on the window list; perhaps
2374 only if the mouse is not grabbed on the window, e.g. if the motion was
2377 2000-03-08 olicha <olivier.chapuis@free.fr>
2379 * AUTHORS: update my entries for my ego :)
2381 2000-02-29 Dominik Vogt <dominik.vogt@gmx.de>
2383 * fvwm/icons.c (CreateIconWindow):
2386 fixed NoIconTitle core dump
2388 2000-02-28 Dominik Vogt <dominik.vogt@gmx.de>
2391 removed trash entries
2394 fixed version number broken by release building script tests
2396 2000-02-25 Dominik Vogt <dominik.vogt@gmx.de>
2398 * configure.in: changed version to 2.3.16
2400 * fvwm/style.c (simplify_style_list):
2401 (add_style_to_list):
2402 (ProcessDestroyStyle):
2404 * fvwm/events.c (HandleEvents):
2405 * fvwm/screen.h (ScreenInfo):
2406 speed up style merging by waiting until fvwm has nothing else to do
2407 before simplifying the style list
2409 * fvwm/conditional.c (MatchesConditionMask):
2410 * fvwm/style.c (blockcmpmask):
2411 renamed cmp_maked_flags to blockcmpmask
2414 added missing description of gotodeskandpage command
2415 removed references to obsolete Desk command; use GotoDesk instead
2417 * fvwm/virtual.c (GetDeskNumber):
2418 (gotoDeskAndPage_func):
2420 gotodesk, gotodeskandpage and movetodesk accept 'prev' to indicate last
2423 2000-02-24 Dominik Vogt <dominik.vogt@gmx.de>
2425 * fvwm/style.c (simplify_style_list):
2428 2000-02-23 Dominik Vogt <dominik.vogt@gmx.de>
2430 * configure.in: changed version to 2.3.15
2432 * fvwm/style.c (add_style_to_list):
2433 (simplify_style_list):
2434 (remove_all_of_style_from_list):
2435 style list is now a double linked list
2436 more aggressive style merging logic
2438 * fvwm/style.h (SGET_PREV_STYLE):
2442 * fvwm/fvwm.h (window_style):
2445 * fvwm/style.c (simplify_style_list):
2446 renamed from merge_style_list()
2448 2000-02-22 Dan Espen <dane@mk.telcordia.com>
2450 * fvwm/fvwm2.1: Added Michael Han's description of pan frames to the
2453 2000-02-21 Dominik Vogt <dominik.vogt@gmx.de>
2455 * fvwm/functions.c (CheckActionType):
2456 fixed MoveThreshold command: move was triggered one pixel too early
2458 2000-02-20 Dan Espen <dane@mk.telcordia.com>
2460 * fvwm/ConfigFvwmSetup: use new styles Font, IconFont and Hilight...
2462 2000-02-19 Chris Rankin <rankinc@zipworld.com.au>
2468 * fvwm/module_interface.c
2470 Add a new global configuration parameter ModuleTimeout to
2471 determine how long fvwm will wait for a module to respond before
2472 killing it. Default value is 5 seconds.
2476 * fvwm/{{fvwm,style}.h,{add_window,style}.c}: New style flags
2477 ParentalRelativity, Opacity.
2481 * fvwm/add_window.{c,h}: Simplified window creation calls,
2482 BackingStore controllable on client and decoration.
2483 * fvwm/borders.c: removed some pointless testing
2484 * fvwm/builtins.c: unshading now displays the frame properly and in
2485 3D if backing store is on
2487 2000-02-14 Dominik Vogt <dominik.vogt@gmx.de>
2493 * fvwm/style.c (ProcessNewStyle):
2495 fixed type: stiple -> stipple
2497 2000-02-11 Dominik Vogt <dominik.vogt@gmx.de>
2499 * fvwm/misc.c (fvwm_msg):
2502 * fvwm/functions.c (execute_complex_function):
2505 2000-02-11 Mikhael Goikhman <migo@homemail.com>
2507 * fvwm/fvwm.c (main): use HOSTDISPLAY postfix in restart state file
2508 * fvwm/fvwm2.1: fixed -restore entry
2510 2000-02-10 Dominik Vogt <dominik.vogt@gmx.de>
2512 * fvwm/fvwm.c (main):
2513 fixed startup core dump
2515 2000-02-10 Mikhael Goikhman <migo@homemail.com>
2517 From a patch by Mark Rainford.
2518 * fvwm/functions.c (expand): fixed $v
2519 * fvwm/misc.c (fvwm_msg): indicate screen number if >1
2521 2000-02-10 Dominik Vogt <dominik.vogt@gmx.de>
2523 * fvwm/placement.c (SmartPlacement):
2524 fixed hang introduced with previous placement patch
2526 * fvwm/style.c (remove_all_of_style_from_list):
2529 2000-02-10 Dominik Vogt <dominik.vogt@gmx.de>
2532 finished man page rewrite
2535 * fvwm/windowlist.c (do_windowList):
2536 implemented SelectOnRelease option for window list
2538 2000-02-09 Dominik Vogt <dominik.vogt@gmx.de>
2540 * fvwm/menus.c (NewMenuStyle):
2542 * fvwm/menus.h (MenuLook):
2543 implemented reversed menu selection
2544 fixed bug in item drawing introduced with ActiveColorset patch
2546 * fvwm/menus.c (find_entry):
2547 fixed function with thick reliefs
2549 * fvwm/placement.c (PlaceWindow):
2552 * fvwm/add_window.c (setup_window_placement):
2553 made PlaceAgain work as documented in the man page
2554 fixed bug causing windows to be placed off screen
2556 * fvwm/menus.c (paint_item):
2558 ActiveColorset doesn't force a hilit background anymore
2562 * fvwm/screen.h (ScreenInfo):
2563 renamed global cur_decor to Scr.cur_decor
2568 issue a warning when trying to add illegal commands to a decor
2570 * fvwm/builtins.c (SetHiColor):
2574 more work on man page rewrite
2576 2000-02-06 Darren Stuart Embry <dsembr01@slug.louisville.edu>
2578 * fvwm/menus.h (MenuLook):
2579 * fvwm/menus.c (paint_item):
2582 ActiveColorstyle relief and shadow colors are now used in menus.
2584 2000-02-08 Chris Rankin <rankinc@zipworld.com.au>
2586 * fvwm/module_interface.c (PositiveWrite)
2587 Increased the "dead module" timeout to 5 seconds to save FvwmAnimate
2589 2000-02-07 olicha <olivier.chapuis@free.fr>
2591 * fvwm/virtual.c (checkPanFrames):
2592 Fixed check pan frames if y edgescroll is 0 and x edgescroll is not
2595 2000-02-07 Dominik Vogt <dominik.vogt@gmx.de>
2597 * fvwm/update.c (apply_window_updates):
2598 fixed issuing SlipperyIcon/StickyIcon at run time
2600 2000-02-05 Mikhael Goikhman <migo@homemail.com>
2602 * fvwm/menus.c (paint_item): fixed the text y coordinate in
2604 * fvwm/windowlist.c (do_windowList): removed a space in geometry
2605 * fvwm/functions.c (expand): fixed the core dump on the expanding
2606 of several variables, something like: + I All ($r) Iconify $0
2608 2000-02-04 Dominik Vogt <dominik.vogt@gmx.de>
2610 * fvwm/focus.c (DoSetFocus):
2611 windows that have the InputFocus hint set to false are not hilighted
2612 against their will if 'Lenience' isn't used
2614 * fvwm/screen.h (struct):
2615 use 'unsigned : 3' instead of 'DecorFaceType : 3'
2616 use 'unsigned : 2' instead of 'JustificationType : 2'
2618 * fvwm/icons.c (AutoPlaceIcon):
2619 another page flipping fix:
2620 style * icon, iconify, movetopage 1 1, deiconify, iconify; the
2621 latter two issued from FvwmConsole
2622 and another page flipping fix:
2623 style * noicon, iconify, movetopage 1 1, deiconify, iconify; the
2624 latter two issued from FvwmConsole
2626 * fvwm/virtual.c (MoveViewport):
2627 fixed page flipping with sticky icons of shaded windows:
2628 Style * stickyicon, shade, iconify, flip page, deiconify, unshade
2629 fixed another page flipping bug:
2630 shade, iconify, movetopage 1 1, switch to page 1 1, deiconify, unshade
2632 2000-02-03 Dan Espen <dane@mk.telcordia.com>
2634 * fvwm/fvwm2.1 (file): Add description of Style SlipperyIcon.
2636 2000-02-03 Dominik Vogt <dominik.vogt@gmx.de>
2638 * fvwm/menus.c (AddToMenu):
2639 fixed core dump in labels containing only a pixmap
2640 removed some pretty stupid redundant cut-n-paste code
2642 fixed automatic hotkey overriding user specified hotkeys
2644 2000-02-03 Darren Stuart Embry <dsembr01@slug.louisville.edu>
2646 * fvwm/menus.c (paint_item):
2647 * fvwm/menus.c (NewMenuStyle):
2648 fixed ActiveColorstyle for menus; would not work without also
2649 setting HilightBack and ActiveFore.
2651 2000-02-03 Dominik Vogt <dominik.vogt@gmx.de>
2653 * fvwm/functions.c (execute_complex_function):
2654 fixed duoble click move tolerance
2656 * fvwm/placement.c (test_fit):
2659 2000-02-02 Dan Espen <dane@mk.telcordia.com>
2661 * fvwm/module_interface.c (HandleModuleInput): Access module message
2662 header fields as longs, for Tru64 UNIX.
2664 2000-02-02 Dominik Vogt <dominik.vogt@gmx.de>
2666 * fvwm/style.c (ProcessNewStyle):
2667 fixed problem with Clever/Smart placement
2669 2000-02-02 Brad Giaccio <bgiaccio@psrw.com>
2671 * fvwm/menus.c (menuShortcuts): set inital value for ckeychar to get
2672 rid of UMR [could have done without but this cleans up purify nicelly]
2674 * fvwm/builtins.c (ReadDecorFace): fixed ABR caused by faulty pointer
2677 2000-02-02 Dominik Vogt <dominik.vogt@gmx.de>
2679 * fvwm/borders.c (RedrawBorder):
2680 fixed noinset fvwm borders
2682 * fvwm/functions.c (ExecuteFunction):
2683 fixed memory leak in function code (hopefully)
2685 * fvwm/style.c (merge_style_list):
2686 fixed memory leak when merging the style list
2688 2000-01-31 Dominik Vogt <dominik.vogt@gmx.de>
2690 * fvwm/style.c (merge_styles):
2691 * fvwm/update.c (apply_window_updates):
2692 * fvwm/add_window.c (setup_style_and_decor):
2693 * fvwm/builtins.c (setShadeAnim):
2694 fixed 'WindowShadeSteps' style
2696 * fvwm/style.c (ProcessNewStyle):
2697 (check_window_style_change):
2699 * fvwm/window_flags.h:
2701 * fvwm/style.c (ProcessNewStyle):
2702 * fvwm/placement.c (PlaceWindow):
2703 * fvwm/session.c (SaveGlobalState):
2705 * fvwm/borders.c (RedrawTitle):
2706 * fvwm/add_window.c (setup_focus_policy):
2708 * fvwm/events.c (HandleButtonPress):
2709 * fvwm/builtins.c (SetGlobalOptions):
2710 removed GlobalOpts and WindowShadeAnimate commands in favour of styles
2712 * fvwm/add_window.c (AddWindow):
2713 fixed placement to honour the layer
2715 * fvwm/add_window.c (GetWindowSizeHints):
2716 * fvwm/fvwm.h (struct):
2717 * fvwm/events.c (HandlePropertyNotify):
2718 a hack to workaround buggy apps that map their window and then change
2719 the width_inc/height_inc hints before the window is mapped and expect
2720 that the window doesn't change its size.
2722 2000-01-31 Brad Giaccio <bgiaccio@psrw.com>
2724 * fvwm/placement.c (PlaceWindow): fixed UMR on final_g width and height
2726 * fvwm/move_resize.c (move_window_doit): fixed UMR on FinalX and FinalY
2728 2000-01-31 Dominik Vogt <dominik.vogt@gmx.de>
2730 * fvwm/events.c (HandleMapRequestKeepRaised):
2731 fixed 'GrabFocus' style for transients of the root window
2733 * fvwm/icons.c (Iconify):
2734 set is_icon_entered flag to false when a window is iconified to make
2737 * fvwm/menus.c (GetMenuOptions):
2738 safety fix to prevent core dump with 'this'
2740 * fvwm/functions.c (expand):
2741 fixed quoting of $n/$r/$c with embedded single quotes
2743 * fvwm/move_resize.c (InteractiveMove):
2744 fixed screwed up geometry of window outlines when dragging out of pager
2746 fixed internal window coordinates when the icon is moved
2748 fixed cancelling moving an icon
2750 2000-01-30 Chris Rankin <rankinc@zipworld.com.au>
2752 * fvwm/module_interface.c:
2753 Modified PositiveWrite so that it selects on the descriptor
2754 rather than actively polling it.
2756 2000-01-28 Dominik Vogt <dominik.vogt@gmx.de>
2759 * libs/Bindings.c (FvwmStringToKeysym):
2760 * fvwm/bindings.c (ParseBinding):
2761 * fvwm/icccm2.c (SetupICCCM2):
2762 * fvwm/fvwm.h (NO_FOCUS_WIN_MENU_EVMASK):
2763 * fvwm/fvwm.c (main):
2764 * fvwm/menus.c (do_menu):
2768 new menu style SelectOnRelease to better emulate Alt-Tab
2769 new library function FvwmStringToKeysym
2771 * fvwm/add_window.c (setup_style_and_decor):
2772 * fvwm/style.c (check_window_style_change):
2773 fixed core dump w/ ol_decor and noicontitle
2774 oldecor overrides icontitle/noicontitle
2776 2000-01-27 Dominik Vogt <dominik.vogt@gmx.de>
2778 * libs/WinMagic.c (SlideWindow):
2779 removed debug fprintf
2781 * fvwm/events.c (HandleMapRequestKeepRaised):
2782 removed debug fprintf
2784 * fvwm/virtual.c (MapIt):
2785 * fvwm/events.c (HandleMapNotify):
2786 * fvwm/virtual.c (UnmapIt):
2787 fixed is_map_pending flag and reduced usage of it
2789 * fvwm/fvwm2.1 (Move):
2790 finished man page entry
2792 * fvwm/move_resize.c (move_window_doit):
2793 new option 'pointer' to move command; inteded for use with FvwmPager
2795 2000-01-26 Dominik Vogt <dominik.vogt@gmx.de>
2797 * fvwm/module_interface.c (PositiveWrite):
2798 fixed 'dying module' bug
2800 2000-01-27 Dominik Vogt <dominik.vogt@gmx.de>
2802 * fvwm/events.c (HandleMapNotify):
2803 * fvwm/icons.c (Iconify):
2805 * fvwm/window_flags.h:
2807 fixed 'hollow' windows when iconifying thrice in a function
2809 2000-01-26 olicha <olivier.chapuis@free.fr>
2810 * fvwm/screen.h: a "-Wall" fix to BUSYCURSOR ifdef
2811 * libs/WinMagic.c: corrected a missprint
2815 * fvwm/fvwm.h: split into fvwm.h and externs.h for FvwmIdent
2816 * fvwm/*.c: added #include "externs.h"
2818 2000-01-23 Dan Espen <dane@mk.telcordia.com>
2820 * fvwm/events.c (HandleMapRequestKeepRaised): Fix problem with
2821 windows retaining there iconification status across quit, restart.
2823 2000-01-23 Dominik Vogt <dominik.vogt@gmx.de>
2825 * configure.in: changed version to 2.3.14
2827 * libs/System.c (getFileStamp):
2830 * fvwm/borders.c (draw_frame_relief):
2831 fixed border drawing core dump on some systems
2833 2000-01-21 Dominik Vogt <dominik.vogt@gmx.de>
2835 * fvwm/add_window.c (setup_style_and_decor):
2836 * fvwm/update.c (apply_window_updates):
2837 * fvwm/update.h (struct):
2838 * fvwm/style.c (check_window_style_change):
2839 fixed DecorateTransient/NakedTransient styles; also make them take
2840 effect without a recapture
2842 2000-01-21 Chris Rankin <rankinc@zipworld.com.au>
2845 Changed SA_INTERRUPT to SA_RESTART
2847 2000-01-21 Dominik Vogt <dominik.vogt@gmx.de>
2849 * fvwm/borders.c (RedrawBorder):
2852 * fvwm/borders.c (RedrawBorder):
2853 fixed depressable border
2855 2000-01-20 Dominik Vogt <dominik.vogt@gmx.de>
2857 * fvwm/menus.c (size_menu_horizontally):
2860 * fvwm/fvwm.c (startFuncName):
2863 2000-01-19 Dominik Vogt <dominik.vogt@gmx.de>
2865 * fvwm/fvwm2.1 (Examples):
2866 * fvwm/conditional.c (PickFunc):
2867 Pick command can handle a condition mask.
2869 replaced a malloc call by safemalloc
2873 * libs/ColorUtils.c: Removed the color cache
2875 2000-01-18 olicha <olivier.chapuis@free.fr>
2877 * fvwm/builtins.c (wait_func, recapture):
2878 * fvwm/cursor.{c,h} (setBusyCursor):
2879 * fvwm/function.{c,h}:
2880 * fvwm/fvwm.{c,h} (StartupStuff, InitVariables):
2881 * fvwm/menus.c (MenuInteraction, pop_menu_up):
2882 * fvwm/misc.{c,h} (GrabEm, UngrabEm):
2883 * fvwm/module_interface.c (ExecuteModuleSync):
2884 * fvwm/read.c (cursor_control, ReadFile, PipeRead):
2885 * fvwm/screen.h (ScreenInfo):
2886 Do so that we can disable the "Busy Cursor" patch
2888 2000-01-18 Dominik Vogt <dominik.vogt@gmx.de>
2890 * fvwm/functions.c (execute_complex_function):
2891 fixed executing multiple immediate functions that need a target in a
2894 2000-01-18 Mikhael Goikhman <migo@homemail.com>
2896 * libs/System.c (getFileStamp, setFileStamp, isFileStampChanged):
2898 * libs/Picture.h (struct Picture):
2899 * libs/Picture.c (LoadPicture, CachePicture):
2900 Added an interface for verifying cached files by setting FileStamp,
2901 this fixed the problem of always using the old cached images,
2902 now every requested image should be up to date.
2904 * libs/ColorUtils.c (GetShadowColor): added absent "+ 50"
2906 2000-01-17 olicha <olivier.chapuis@free.fr>
2908 Fixed a complet freeze at startup: ungrab the Busy Cursor at startup
2909 before the init fuctions are executed. If not, we've got a complet
2910 freeze if one of these functions does not finish.
2912 2000-01-16 Dominik Vogt <dominik.vogt@gmx.de>
2914 * libs/ColorUtils.c:
2915 added some colour caching logic; will fail miserably if used with a
2916 non-default colour map
2918 * fvwm/menus.c (MenuInteraction):
2919 prevent some unnecessary menu animations
2924 * fvwm/menus.c (MenuInteraction):
2925 eliminate network traffic in idle menus
2927 * fvwm/style.c (ProcessNewStyle):
2928 fixed unnecessary icon update when style '*' is changed
2930 2000-01-15 Dominik Vogt <dominik.vogt@gmx.de>
2932 * fvwm/style.c (check_window_style_change):
2933 fixed coredump when changind style 'NoIcon' to 'Icon' [the font was not
2936 * fvwm/fvwm.c (Done):
2937 * fvwm/session.c (RestartInSession):
2938 call CLosePipes() after CloseICCCM2() because otherwise fvwm might
2939 ignore map requests while it still has substructureredirect selected on
2940 the root window ==> windows end up in nirvana
2942 * fvwm/move_resize.c (DoSnapAttract):
2943 fixed snapping icons with titles to other icons
2945 2000-01-14 Mikhael Goikhman <migo@homemail.com>
2947 * libs/System.c (setPath): fixed expanding '+' not at the end
2949 2000-01-11 Dominik Vogt <dominik.vogt@gmx.de>
2951 * libs/Picture.c (color_reduce_pixmap):
2954 * fvwm/borders.c (RedrawBorder):
2956 * fvwm/fvwm.h (FvwmWindow):
2957 fixed handle marks on small windows
2959 2000-01-10 Dominik Vogt <dominik.vogt@gmx.de>
2961 * fvwm/borders.c (SetupFrame):
2962 fixed size of corner windows after the windows was very small
2964 fixed resizing the button windows that resized icons and other parts of
2967 * fvwm/style.c (ProcessNewStyle):
2968 fixed UseStyle core dump
2970 * fvwm/screen.h (struct):
2973 2000-01-10 Ben Winslow <rain@insane.loonybin.net>
2975 * fvwm/gnome.c (GNOME_SetWinArea): Brad applied Ben's patch
2977 2000-01-10 Dan Espen <dane@mk.telcordia.com>
2979 * libs/Picture.c (color_reduce_pixmap): Handle xpm with only grayscale
2980 or monochrome definitions without additional mallocs.
2982 2000-01-09 Dominik Vogt <dominik.vogt@gmx.de>
2984 * fvwm/screen.h (enum):
2985 * fvwm/fvwm.c (ResetAllButtons):
2986 * fvwm/decorations.c (SelectDecor):
2987 fixed mwm decor hints
2989 * fvwm/bindings.c (update_nr_buttons):
2991 * fvwm/cursor.c (CursorStyle):
2992 * fvwm/decorations.c (SelectDecor):
2993 * fvwm/misc.c (ButtonPosition):
2994 * fvwm/add_window.c (setup_button_windows):
2995 * fvwm/style.c (ProcessNewStyle):
2996 * fvwm/borders.c (RedrawButtons):
2998 (set_decor_gravity):
2999 * fvwm/move_resize.c (resize_window):
3000 * fvwm/fvwm.c (LoadDefaultButton):
3001 * fvwm/events.c (GetContext):
3002 * fvwm/builtins.c (InitFvwmDecor):
3007 * fvwm/menus.c (GetMenuOptions):
3008 fixed title button bugs
3009 revised button members of decors and windows
3011 * libs/Picture.c (xpmcolor_require_c_color):
3012 (color_reduce_pixmap):
3013 applied core dump fix by Kevin Ryde
3015 * libs/Colorset.c (SetWindowBackground):
3016 (CreateBackgroundPixmap)
3017 some changes for FvwmTHeme 'Transparent' option
3019 * fvwm/events.c (HandleConfigureRequest):
3020 removed previous configure request patch
3022 2000-01-07 Dominik Vogt <dominik.vogt@gmx.de>
3024 * fvwm/events.c (HandleConfigureRequest):
3025 fixed ConfigureRequest handling
3027 2000-01-07 Mikhael Goikhman <migo@homemail.com>
3029 * fvwm/style.c (ProcessNewStyle): fixed Style * Button/NoButton
3032 2000-01-05 Dominik Vogt <dominik.vogt@gmx.de>
3034 * fvwm/misc.c (ButtonPosition):
3035 * fvwm/borders.c (SetupTitleBar):
3036 fixed number of buttons on windows
3038 * libs/ColorUtils.c (GetShadowColor):
3040 Use old code for 'medium' colours.
3042 * fvwm/events.c (HandleFocusIn):
3043 * fvwm/module_interface.c (send_list_func):
3044 added hilight colour set to M_FOCUS_CHANGE packet
3046 * fvwm/events.c (HandleFocusIn):
3047 fixed hilight colour in M_FOCUS_CHANGE packets
3049 2000-01-04 Dominik Vogt <dominik.vogt@gmx.de>
3051 * fvwm/builtins.c (InitFvwmDecor):
3052 removed default call to 'WindowFont' in decors
3054 * fvwm/events.c (HandleEnterNotify):
3055 Fixed a focus problem with Motif applications and ClickToFocus (#535)
3057 2000-01-03 Dominik Vogt <dominik.vogt@gmx.de>
3059 * fvwm/update.c (flush_window_updates):
3060 fixed similar problem
3062 * fvwm/builtins.c (do_recapture):
3063 fixed hang when recapture is called while an icon is focused
3065 * fvwm/geometry.c (gravity_constrain_size):
3066 * fvwm/update.c (apply_window_updates):
3067 changing maxwindowsize style applies to normal_g and max_g too
3069 2000-01-02 Dominik Vogt <dominik.vogt@gmx.de>
3071 * sample.fvwmrc/decor_examples:
3072 * sample.fvwmrc/system.fvwm2rc-sample-95:
3073 * sample.fvwmrc/system.fvwm2rc-sample-2:
3074 * sample.fvwmrc/system.fvwm2rc-sample-1:
3075 * sample.fvwmrc/system.fvwm2rc:
3076 * sample.fvwmrc/new-features:
3077 use new styles Font, IconFont and Hilight...
3079 * fvwm/menus.c (UpdateMenuStyle):
3081 use new LoadFvwmFont library function instead of I18N_MB ifdef
3083 * libs/GetFontSet.c:
3084 removed file (merged with GetFont.c)
3087 include fvwmlib.h before fvwm.h
3088 * fvwm/fvwm.h (MyFont):
3089 struct moved to fvwmlib.h
3091 * fvwm/window_flags.h:
3092 * fvwm/focus.c (WarpOn):
3094 * fvwm/icons.h (ICON_HEIGHT):
3095 * fvwm/screen.h (ScreenInfo):
3096 * fvwm/icons.c (CreateIconWindow):
3100 * fvwm/builtins.c (ApplyDefaultFontAndColors):
3104 * fvwm/fvwm.c (InitVariables):
3105 * fvwm/update.c (flush_window_updates):
3106 (apply_window_updates):
3107 * fvwm/screen.h (ScreenInfo):
3108 * fvwm/style.c (merge_styles):
3111 (check_window_style_change):
3112 new Style 'IconFont' replaces old IconFont command
3114 * fvwm/borders.c (RedrawTitle):
3115 fixed I18N_MB reference to removed WindowFont
3117 * fvwm/builtins.c (do_title_style):
3120 * fvwm/session.h (sm_fd):
3121 fixed typo: sm_id -> sm_fd
3122 * fvwm/session.c (setRealStateFilename):
3123 fixed screwed up macro
3125 2000-01-01 Dominik Vogt <dominik.vogt@gmx.de>
3129 * fvwm/move_resize.c:
3131 * fvwm/screen.h (ScreenInfo):
3132 renamed StdFont to DefaultFont
3135 * fvwm/decorations.c:
3139 * fvwm/add_window.c:
3140 * fvwm/style.c (ProcessNewStyle):
3143 * fvwm/window_flags.h:
3144 * fvwm/add_window.c (setup_window_font):
3145 (setup_style_and_decor):
3146 * fvwm/fvwm.h (FvwmWindow):
3147 new Style 'Font' replaces old WindowFont command
3149 * fvwm/style.c (ProcessNewStyle):
3150 fixed 'UseDecor' style flag
3152 * fvwm/windowlist.c:
3153 reactivated WindowList menu style
3154 * fvwm/move_resize.c:
3155 * fvwm/module_interface.c (send_list_func):
3157 * fvwm/fvwm.c (usage):
3161 * fvwm/borders.c (get_common_decorations):
3162 removed some '#if 0's with the old HilightColor/HilightColorset code et
3165 * fvwm/builtins.c (ApplyWindowFont):
3166 * fvwm/borders.c (SetupFrame):
3167 fixed updating the window font
3169 * fvwm/placement.c (PlaceWindow):
3170 * fvwm/add_window.c (AddWindow):
3171 (setup_window_placement):
3172 signature of PlaceWindow() changed to return True or False only
3174 * fvwm/add_window.c (AddWindow):
3175 fixed memory leak when window disappears before AddWindow() completes
3177 1999-12-30 Dominik Vogt <dominik.vogt@gmx.de>
3179 * configure.in: changed version to 2.3.12
3181 * fvwm/borders.c (SetupFrame):
3182 corner and side windows are placed properly on shaded windows
3184 * fvwm/update.c (apply_window_updates):
3185 prevent paging a window when unmaximizing after style update
3187 * fvwm/move_resize.c (handle_stick):
3188 removed unnecessary code
3190 * fvwm/geometry.c (maximize_adjust_offset):
3191 check if window is maximized before doing anything
3192 fixed shading to different page when window was maximised, moved,
3193 minimised, resized and then shaded
3195 * fvwm/update.c (apply_window_updates):
3196 warp shaded windows to new position when titleattop/bottom changes
3198 * fvwm/fvwm2.1 (Examples):
3199 removed remnant of experimental 'MouseClick' command
3201 * fvwm/functions.h (enum):
3202 * fvwm/functions.c (func_config):
3203 * fvwm/bindings.c (activate_binding):
3205 (pointerkey_binding):
3207 new command 'PointerKey'
3209 * fvwm/bindings.c (activate_binding):
3210 a small performance enhancement
3212 * fvwm/borders.c (draw_frame_relief):
3214 more work on fvwm borders
3216 * libs/Graphics.c (RelieveRectangle):
3217 fixed drawing top/right and bottom/left pixels
3219 * fvwm/borders.c (RedrawBorder):
3220 fixed drawing depressable borders
3222 * fvwm/bindings.c (ParseBinding):
3223 key and stroke bindings cause title buttons to appear too
3225 * fvwm/update.c (apply_window_updates):
3226 * fvwm/cursor.c (CursorStyle):
3227 * fvwm/decorations.c (SelectDecor):
3228 * fvwm/misc.c (ButtonPosition):
3229 * fvwm/add_window.h:
3230 * fvwm/add_window.c (setup_button_windows):
3231 (destroy_button_windows):
3232 (change_button_windows):
3233 (setup_auxiliary_windows):
3234 (change_auxiliary_windows):
3235 * fvwm/fvwm.c (ResetAllButtons):
3236 (LoadDefaultButton):
3237 * fvwm/builtins.c (do_button_style):
3240 * fvwm/borders.c (SetupTitleBar):
3241 (set_decor_gravity):
3243 * fvwm/screen.h (FvwmDecor):
3244 * fvwm/move_resize.c (resize_window):
3245 * fvwm/events.c (GetContext):
3246 * fvwm/menus.c (GetMenuOptions):
3248 rereplaced left_w and right_w arrays with one button_w array
3249 similar change for decors; left_buttons + right_buttons -> buttons
3250 sames lots of duplicate code for little added complexity
3253 fixed compile problem
3255 1999-12-29 Dominik Vogt <dominik.vogt@gmx.de>
3257 * fvwm/add_window.c (setup_key_and_button_grabs):
3258 * fvwm/events.c (GetContext):
3259 fixed key bindings on decorations
3261 * fvwm/events.c (HandleEvents):
3262 * fvwm/update.c (flush_window_updates):
3265 * fvwm/bindings.c (ParseBinding):
3266 * fvwm/add_window.c (setup_button_windows):
3267 destroying bindings properly updates title buttons
3269 * fvwm/bindings.c (ParseBinding):
3272 * fvwm/fvwm.c (InitVariables):
3273 some new default macros
3275 * fvwm/update.c (update_windows):
3276 * fvwm/bindings.c (ParseBinding):
3277 adding/removing bindings may affect decorations
3279 * fvwm/functions.c (DeferExecution):
3280 fixed button bindings over client window
3282 * fvwm/windowlist.c (do_windowList):
3283 implemented windowlist options NoOnBottom, OnBottom and OnlyOnBottom.
3285 * fvwm/fvwm.c (InitVariables):
3286 * fvwm/screen.h (ScreenInfo):
3287 * fvwm/borders.c (RedrawBorder):
3288 * fvwm/builtins.c (SetGlobalOptions):
3289 removed border...priority globalopts
3290 handle 2 pixel wide borders differently
3292 * fvwm/add_window.c (setup_style_and_decor):
3293 fixed butto/nobutton style
3295 1999-12-29 Chris Rankin <rankinc@zipworld.com.au>
3298 Fixed build problem on machines without STROKE support.
3299 Also fixed TAB-busted indentation.
3301 1999-12-29 Dominik Vogt <dominik.vogt@gmx.de>
3303 * libs/ColorUtils.c:
3304 raised brightness percentage to 85%
3307 * fvwm/events.c (MyXNextEvent):
3308 * fvwm/fvwm.c (main):
3309 * fvwm/session.h (SessionInit):
3312 * fvwm/virtual.c (SetDeskSize):
3315 (gotoDeskAndPage_func):
3316 (do_move_window_to_desk):
3317 * fvwm/update.c (apply_window_updates):
3318 * fvwm/style.c (lookup_style):
3319 * fvwm/stack.c (new_layer):
3320 * fvwm/move_resize.c (AnimatedMoveAnyWindow):
3326 * fvwm/icons.c (DeIconify):
3327 * fvwm/fvwm.c (CaptureOneWindow):
3329 * fvwm/events.c (HandleClientMessage):
3330 (HandleDestroyNotify):
3331 (HandleMapRequestKeepRaised):
3332 (HandleUnmapNotify):
3333 (HandleButtonPress):
3334 (HandleButtonRelease):
3335 (HandleConfigureRequest):
3336 * fvwm/builtins.c (WindowShade):
3337 * fvwm/add_window.c (AddWindow):
3338 handle GNOME by using empty macros if undefined; dramatically reduces
3341 * libs/Bindings.c (GrabAllWindowKeysAndButtons):
3342 * fvwm/events.c (HandleEnterNotify):
3343 * fvwm/events.h (STROKE_CODE):
3344 * fvwm/builtins.h (FreeDecorFace):
3345 * fvwm/bindings.h (ignore_modifiers):
3346 * fvwm/functions.c (func_config):
3347 * fvwm/functions.h (enum):
3348 * fvwm/fvwm.c (setVersionInfo):
3349 * fvwm/module_interface.c:
3350 * libs/fvwmlib.h (STROKE_ARG):
3352 macros to simplify stroke code
3356 unbinding keys with '-' action works without recapture
3358 * fvwm/functions.c (ExecuteFunction):
3359 removed some '#if 0'ed code
3361 * fvwm/conditional.c (DirectionFunc):
3362 fixed score calcutaltions that preferred to switch to windows farther
3365 * fvwm/placement.c (SmartPlacement):
3368 * fvwm/session.c (SaveWindowStates):
3370 * fvwm/virtual.c (MoveViewport):
3371 * fvwm/module_interface.c:
3372 * fvwm/icons.c (CreateIconWindow):
3376 * fvwm/add_window.c (destroy_icon):
3377 * fvwm/move_resize.c (move_window_doit):
3382 * fvwm/events.c (HandleConfigureRequest):
3383 (HandlePropertyNotify):
3384 * fvwm/fvwm.h (FvwmWindow):
3385 replaced icon_x/y_loc and icon_w_... members with icon_g
3387 1999-12-28 Dominik Vogt <dominik.vogt@gmx.de>
3389 * fvwm/fvwm2.1 (PipeRead):
3390 added a example and wrote a more detailed explanation
3392 * fvwm/builtins.c (WindowShade):
3393 fixed keyboard focus that got lost when a window was shaded
3395 * fvwm/focus.h (FOCUS_RESET):
3396 * fvwm/focus.c (DoSetFocus):
3397 * fvwm/focus.h (FOCUS_SET):
3398 new convenience macro so that only focus.c needs to call XSetInputFocus
3400 1999-12-27 Dominik Vogt <dominik.vogt@gmx.de>
3402 * fvwm/fvwm2.1 (PipeRead):
3403 fixed PipeRead manpage
3405 1999-12-21 Dominik Vogt <dominik.vogt@gmx.de>
3407 * fvwm/windowlist.c (do_windowList):
3408 fixed several parsing bugs
3410 1999-12-22 Mikhael Goikhman <migo@homemail.com>
3412 fvwm/menus.c (menuShortcuts): added XK_ISO_Left_Tab (like XK_Tab),
3413 {Ctrl,Alt}-{Up,Down} bindings synchronized with [Shift-]{Ctrl,Alt}-Tab,
3414 some regrouping of 'case' sections
3416 1999-12-20 Dominik Vogt <dominik.vogt@gmx.de>
3418 * libs/ColorUtils.c (GetShadowColor):
3420 fixed calculations with brightness > 0x7fff treated as a negative value
3421 which totally screwed up colour calculations
3423 * fvwm/add_window.c (AddWindow):
3424 fixed recapturing a shaded window twice
3427 fixed update.h compile error
3429 * fvwm/builtins.c (SetHiColorset):
3430 fixed a bug in HilightColorset command
3434 1999-12-20 Dan Espen <dane@mk.telcordia.com>
3436 * libs/ColorUtils.c: Use Lesstif's shadow/hilite calcs.
3437 Note: FvwmTheme not changed yet, bug observed in pixel_to_color_string.
3439 1999-12-19 Dominik Vogt <dominik.vogt@gmx.de>
3441 * fvwm/move_resize.c (AnimatedMoveAnyWindow):
3444 1999-12-18 Dominik Vogt <dominik.vogt@gmx.de>
3446 * fvwm/events.c (HandleFocusIn):
3447 * fvwm/fvwm.c (SetRCDefaults):
3448 * fvwm/update.c (apply_window_updates):
3449 * fvwm/module_interface.c:
3450 * fvwm/icons.c (DrawIconWindow):
3451 * fvwm/add_window.c (get_default_window_background):
3452 (setup_style_and_decor):
3453 * fvwm/style.c (update_window_color_style):
3455 (update_window_color_style):
3456 * fvwm/borders.c (get_common_decorations):
3457 * fvwm/fvwm.h (FvwmWindow):
3458 new styles HiligtFore, HilightBack and HilightColorset; old commands
3459 HilightColor and HilightColorset are obsolete
3461 * fvwm/fvwm.c (CreateGCs):
3462 * fvwm/screen.h (ScreenInfo):
3465 * fvwm/misc.c (NewFontAndColor):
3466 renamed ScratchGC3 to TitleGC
3468 1999-12-17 Dominik Vogt <dominik.vogt@gmx.de>
3470 * fvwm/borders.c (SetBorderStyle):
3471 * fvwm/builtins.c (do_button_style):
3473 moved lots of duplicate code into a common function
3475 ButtonStyle, TitleStyle and BorderStyle commands take effect without a
3478 * fvwm/fvwm.c (InitFvwmDecor):
3486 separated style updating from the code that determined which parts to
3487 update; moved the updating code to new files update.[ch] so that this
3488 can handle ...Style changes too without calling the same code several
3491 * fvwm/windowlist.c (do_windowList):
3492 * fvwm/menus.c(change_mr_menu_style):
3493 WindowList uses 'WindowList' menu style if defined
3495 * fvwm/screen.h (ScreenInfo):
3496 * fvwm/fvwm.c (CreateGCs):
3497 * fvwm/cursor.c (CursorStyle):
3498 new members Scr.MonoGC, Scr.ScratchMonoPixmap for creating empty cursors
3499 cursorstyle command understands new cursor names 'none' and 'tiny'
3501 * fvwm/colors.c (CreateGCs):
3502 function moved to fvwm.c
3504 * fvwm/add_window.c (destroy_icon):
3505 reset icon size to zero
3507 1999-12-17 Mikhael Goikhman <migo@homemail.com>
3509 * NEWS: a note about fvwm-menu-headlines
3510 * configure.in: added fvwm-menu-headlines generation, added a warning
3511 when perl is not found
3513 1999-12-17 Dominik Vogt <dominik.vogt@gmx.de>
3515 * fvwm/borders.c (RedrawBorder):
3516 removed debug code that reversed the BorderPriority global option
3518 * configure.in: changed version to 2.3.12
3521 sticy icons are marked just like sticky windows
3523 * fvwm/cursor.c (CursorStyle):
3524 omit cursor name to reset to default
3526 * fvwm/windowlist.c (do_windowList):
3527 new WindowList option 'NoHotkey'
3529 * fvwm/cursor.c (CursorStyle):
3530 cursor xpm doesn't need to have a hot spot defined
3532 1999-12-16 Dominik Vogt <dominik.vogt@gmx.de>
3534 * fvwm/builtins.c (refresh_window):
3535 new function called by refresh_function and refresh_win_function; saves
3538 * fvwm/add_window.c (setup_frame_attributes):
3539 * fvwm/fvwm.c (main):
3540 * fvwm/style.c (ProcessNewStyle):
3541 (handle_window_style_change):
3544 new styles BackingStore/BackingStoreOff and SaveUnder/SaveUnderOff
3546 * fvwm/borders.c (RedrawBorder):
3547 finished border drawing updates
3549 * fvwm/add_window.c (GetWindowSizeHints):
3550 fixed min size hints: no min size hints plus base width/height 0 caused
3551 width/height 0 to be allowed
3553 1999-12-15 Bob Woodside <proteus@pcnet.com>
3555 * fvwm/add_window.c (regrab_focus_win): added code to restore a
3556 button grab that was released from a MouseFocusClickRaises window
3557 when it was so raised, if adding a new window displaces it from the
3560 1999-12-16 Dominik Vogt <dominik.vogt@gmx.de>
3562 * libs/ColorUtils.c (color_mult):
3563 make sure the hilight and shadow colours have a minimum contrast to the
3566 * fvwm/events.c (HandleButtonPress):
3567 release grab explicitly after a button grab; fixes transient pager and
3568 possibly some other grabbing problems
3570 * fvwm/modconf.c (SendDataToModule):
3571 send DesktopSize to modules
3573 1999-12-15 Dominik Vogt <dominik.vogt@gmx.de>
3575 * fvwm/gnome.c (GNOME_SetDesk):
3576 (GNOME_SetCurrentDesk):
3577 fixed GNOME 'unknown desk' bug
3579 * fvwm/virtual.c (MoveViewport):
3580 * fvwm/style.c (handle_window_style_change):
3581 * fvwm/icons.c (DeIconify):
3582 * fvwm/move_resize.c (move_window_doit):
3583 (AnimatedMoveAnyWindow):
3585 * fvwm/events.c (HandleConfigureRequest):
3586 (HandlePropertyNotify):
3587 * fvwm/builtins.c (WindowShade):
3588 * fvwm/add_window.c (AddWindow):
3589 * fvwm/geometry.c (update_absolute_geometry):
3590 call GNOME_SetWinArea at the correct places; *don't* call it in
3591 update_absolute_geometry
3593 * fvwm/gnome.c (GNOME_SetWinArea):
3597 * fvwm/move_resize.c:
3599 applied XA_WIN_AREA patch by Ben Winslow
3600 fixed the patch to set the current viewport if the window is visible
3602 * fvwm/style.c (handle_window_style_change):
3603 fixed adding/removing title of shaded windows
3605 * fvwm/borders.c (draw_frame_relief):
3606 fixed size of lower/right outer relief with FvwmBorder style
3607 (draw_frame_relief):
3610 * fvwm/style.c (merge_style_list):
3611 fixed bug that merged styles that had different upper/lower case
3612 letters, i.e. 'ddd*' and 'DDD*' are not merged anymore
3616 * fvwm/screen.h,borders.c: New GlobalOpt BorderColorPriority
3617 * fvwm/borders.c: Restored the flush_expose() so that windowshading
3618 only causes one border repaint.
3620 1999-12-14 Dominik Vogt <dominik.vogt@gmx.de>
3622 * fvwm/icons.c (DeIconify):
3623 reactivated raising after deiconify
3625 * libs/Colorset.c (SetWindowBackground):
3626 removed latest shaping patch
3628 1999-12-10 Dominik Vogt <dominik.vogt@gmx.de>
3630 * libs/Colorset.c (SetWindowBackground):
3631 shape from colour set can be removed too
3633 1999-12-09 olicha <olivier.chapuis@free.fr>
3635 * libs/WinMagic.c (SlideWindow):
3637 Minimum size and resize hints can be use by SlideWindow
3639 1999-12-09 Bob Woodside <proteus@pcnet.com>
3641 * fvwm/add_window.c (setup_focus_policy):
3642 * fvwm/events.c (HandleButtonPress):
3643 * fvwm/focus.c (DoSetFocus):
3644 More fixes to grab/ungrab for focus.
3646 1999-12-09 Dominik Vogt <dominik.vogt@gmx.de>
3648 * fvwm/events.c (HandleButtonPress):
3649 * fvwm/add_window.c (setup_key_and_button_grabs):
3650 switched back to grabbing keys on parent window
3652 1999-12-09 Mikhael Goikhman <migo@homemail.com>
3655 * fvwm/session.c (LoadGlobalState): restore only the current desk
3656 and page, and not other global state parameters (but they are still
3657 stored for now); some indenting in session.c
3659 1999-12-07 Bob Woodside <proteus@pcnet.com>
3661 * fvwm/virtual.c (gotoDeskAndPage_func): Pager desk-switch fix,
3664 1999-12-06 Dan Espen <dane@mk.telcordia.com>
3668 1999-12-06 Dominik Vogt <dominik.vogt@gmx.de>
3670 * fvwm/events.c (HandleFocusIn):
3671 fixed M_FOCUS_CHANGE packet sending
3674 added 2.2.x NEWS up to 2.2.4
3676 1999-12-05 Dominik Vogt <dominik.vogt@gmx.de>
3678 * fvwm/add_window.c (setup_focus_policy):
3679 (setup_key_and_button_grabs):
3680 * fvwm/events.c (GetContext):
3681 (HandleButtonPress):
3682 grab buttons on client window instead of parent window; this prevents
3683 some unnecessary Leave/EnterNotify events but doesn't fix the broken
3686 * fvwm/gnome.c (HandleGnomePropRequest):
3687 use DrawDecorations() instead of old SetBorder()
3689 1999-12-04 Dominik Vogt <dominik.vogt@gmx.de>
3695 applied gnome patches by Matt Rossmiller
3697 1999-12-04 Dan Espen <dane@mk.telcordia.com>
3699 * fvwm/fvwm2.1 (vectorbuttonsytles): Point the reader to the web
3700 pages instead of the samples for examples.
3702 * sample.fvwmrc/system.fvwm2rc-sample-1,2: remove buttonstyle comments,
3703 the samples are now on a web page.
3705 * fvwm/add_window.c (AddWindow): Since I committed some debugging
3706 by accident, I'm backing that out, but adding some error messages
3707 when AddWindow encounters error conditions.
3709 1999-12-03 Dominik Vogt <dominik.vogt@gmx.de>
3711 * fvwm/borders.c (DrawDecorations):
3712 don't ever set the background of the frame window
3714 * fvwm/add_window.c (setup_frame_window):
3715 set BackingStoreNotUseful for frame window
3717 * fvwm/events.c (HandleFocusIn):
3718 fixed clicktofocus in pager
3720 1999-12-01 Tomas Ogren <stric@ing.umu.se>
3722 * fvwm/Makefile.am: Added geometry.h to fvwm2_SOURCES.
3724 1999-11-30 Paul D. Smith <psmith@gnu.org>
3726 * configure.in (dmalloc): Allow the user to add --enable-dmalloc
3727 to enable the dmalloc heap debugging library.
3729 * libs/fvwmlib.h: #include dmalloc.h if it exists and we're
3730 building with dmalloc support.
3731 * fvwm/fvwmdebug.h: Ditto.
3733 1999-11-30 Dominik Vogt <dominik.vogt@gmx.de>
3735 * fvwm/borders.c (RedrawBorder):
3736 * fvwm/events.c (HandleButtonPress):
3737 fixed depressed borders without handles
3738 * fvwm/borders.c (RedrawBorder):
3739 (draw_frame_relief):
3740 improved drawing of thin borders
3742 1999-11-29 olicha <olivier.chapuis@free.fr>
3744 * fvwm/bindings.c (ParseBinding):
3745 * fvwm/builtins.c (strokeFunc):
3746 * fvwm/events.c (HandleButtonRelease):
3748 * libs/Bindings.c (AddBinding):
3750 * libs/fvwmlibs.h (struct Binding):
3751 Now we can use numeric pad grid for defining Stroke sequence;
3752 the telephone grid is still the default
3753 Now a stroke sequence is stored in a string in the Binding
3755 Replaced the fprintf to stderr by some fvwm_msg in ParseBinding.
3756 Tried to improve a little bit the Stroke doc
3758 1999-11-29 Dominik Vogt <dominik.vogt@gmx.de>
3760 * fvwm/virtual.c (MoveViewport):
3761 improved page switching code to minimise redraws: map windows top down,
3762 then unmap bottom up
3763 removed debug code and duplicate if condition
3765 * fvwm/add_window.c (AddWindow):
3766 removed XSynchronize call :-)
3768 1999-11-28 Dan Espen <dane@mk.telcordia.com>
3770 * fvwm/fvwm2.1: Minor adjustment to StrokeFunc description.
3772 1999-11-28 Dominik Vogt <dominik.vogt@gmx.de>
3774 * fvwm/placement.c (PlaceWindow):
3775 fixed screwed up previous commit
3777 * fvwm/geometry.c (gravity_get_naked_geometry):
3778 removed undeclared variable
3780 * fvwm/builtins.c (SetHiColorset):
3783 * fvwm/events.c (HandlePropertyNotify):
3784 (HandleConfigureRequest):
3785 * fvwm/add_window.c (AddWindow):
3786 use new function gravity_constrain_size
3788 * fvwm/borders.c (update_absolute_geometry):
3789 * fvwm/move_resize.c (ConstrainSize):
3790 (maximize_adjust_offset):
3792 (get_shaded_geometry):
3793 (gravity_translate_to_northwest_geometry_no_bw):
3794 (gravity_translate_to_northwest_geometry):
3795 (get_relative_geometry):
3796 (gravity_add_decoration):
3797 (gravity_get_naked_geometry):
3800 (gravity_get_offsets):
3801 functions moved to geometry.c
3803 * fvwm/Makefile.am (fvwm2_SOURCES):
3808 * fvwm/add_window.c (AddWindow):
3809 * fvwm/placement.c (PlaceWindow):
3810 overhauled placement code
3812 1999-11-28 olicha <olivier.chapuis@free.fr>
3814 * fvwm/builtins.c (strokeFunc):
3816 New options DrawMotion and FeedBack to the StrokeFunc
3818 1999-11-27 Dominik Vogt <dominik.vogt@gmx.de>
3820 * fvwm/borders.c (RedrawBorder):
3821 don't draw a relief around the border if it would cover the whole border
3823 * fvwm/move_resize.c:
3824 * fvwm/fvwm.c (InitVariables):
3825 * fvwm/screen.h (ScreenInfo):
3826 renamed Scr.DrawGC to Scr.XorGC
3828 * configure.in: changed version to 2.3.11
3830 * fvwm/events.c (HandleButtonPress):
3833 * fvwm/move_resize.c (hide_options):
3834 'none' option to HideGeometryWindow renamed to 'never'
3836 * fvwm/borders.c (RedrawBorder):
3837 implemented 'flat' and 'sunk' BorderStyle
3839 * fvwm/borders.c (SetupFrame):
3840 fixed X error when recapturing a shaded window
3843 include minimal set of header files
3845 * fvwm/menus.c (MenuInteraction):
3849 fixed double click action over submenu items
3851 1999-11-23 Dominik Vogt <dominik.vogt@gmx.de>
3853 * fvwm/events.c (HandleMapRequestKeepRaised):
3854 broadcast WINDOWSHADE packet when adding a shaded window
3856 1999-11-25 Dominik Vogt <dominik.vogt@gmx.de>
3859 removed old window flags
3861 * fvwm/virtual.c (gotoDeskAndPage_func):
3862 fixed sending wrong desk number in M_NEW_PAGE packets with the
3863 GotoDeskAndPage function
3865 * fvwm/builtins.c (ApplyHilightColors):
3866 * fvwm/borders.c (get_common_decorations):
3867 finalised HilightColorset command
3869 1999-11-24 Dominik Vogt <dominik.vogt@gmx.de>
3872 fixed name of man page(?)
3874 * fvwm/builtins.c (HandleColorset):
3875 * fvwm/builtins.c (ApplyHilightColors):
3876 * fvwm/fvwm.c (InitFvwmDecor):
3877 * fvwm/functions.h (enum):
3878 * fvwm/functions.c (func_config):
3879 * fvwm/builtins.c (SetHiColorset):
3880 * fvwm/screen.h (FvwmDecor):
3881 new command HilightColorset
3883 * fvwm/builtins.c (SetDefaultColorset):
3886 1999-11-24 Dan Espen <dane@mk.telcordia.com>
3888 * fvwm/fvwm2.1: Once again changed the "NAME" part of the man page
3889 back to fvwm2. This is needed on Solaris when you use the "windex"
3890 stuff for "man fvwm2" to work.
3892 1999-11-23 Dominik Vogt <dominik.vogt@gmx.de>
3894 * fvwm/menus.c (do_menu):
3895 modify KeyPress so that the final press appears at the position where
3896 the pointer is warped to
3898 * fvwm/session.c (MatchWinToSM):
3899 read desk from SM too
3901 * fvwm/style.c (handle_style_changes):
3902 fixed focus going down the dumps when styles change while no window is
3903 focused; e.g. when restarting
3905 * fvwm/events.c (GetContext):
3906 An event on the frame now has 'C_WINDOW' context. Since the decor_w
3907 covers the whole frame this can only happen when the click was inside
3908 the client/parent window but button events were not selected for them.
3910 * fvwm/functions.c (execute_complex_function):
3911 fixed complex function when the last item requires no function
3913 * fvwm/move_resize.c (GetOnePositionArgument):
3914 fixed megative offsets from mouse position
3916 removed screwed patch to reduce function overhead
3918 * fvwm/fvwm.c (main):
3919 SIGUSR1 restarts correctly as if 'Restart' without arguments was
3920 called. Otherwise it doesn't work with the preprocessor.
3922 * fvwm/virtual.c (MoveViewport):
3923 removed debug output
3925 1999-11-23 Dan Espen <dane@mk.telcordia.com>
3927 * fvwm/fvwm2.1 (DestroyStyle): Removed duplicated section.
3929 1999-11-23 Dominik Vogt <dominik.vogt@gmx.de>
3931 * fvwm/virtual.c (MoveViewport):
3932 fixed problem when switching pages that caused windows to move off the
3933 current page although sticky.
3937 * Fvwm/add_window.c: chnaged order of message when a window
3938 is created so that FvwmIconBox gets the correct icon. M_ICON_FILE
3939 is sent before M_RES_NAME & M_RES_CLASS
3940 * libs/Xerror.c: added error code names
3942 1999-11-22 Dominik Vogt <dominik.vogt@gmx.de>
3944 * fvwm/add_window.c (setup_window_structure):
3946 preserve 'shaded' state over a recapture
3948 * fvwm/events.c (HandleMapRequestKeepRaised):
3949 * fvwm/fvwm.c (CaptureOneWindow):
3950 fixed fvwm forgetting iconic state over a restart; I must have been
3951 really confused when I wrote the 'bugfix' that caused this :)
3953 1999-11-21 Dominik Vogt <dominik.vogt@gmx.de>
3955 * fvwm/style.c (reset_style_changes):
3956 clear change mask after a style was applied
3958 * fvwm/builtins.c (WindowShade):
3959 fixed flash when shading/unshading without animation
3961 * fvwm/borders.c (SetupFrame):
3962 improved opaque resizing
3964 * fvwm/events.c (HandleExpose):
3965 reduced redrawing with expose events
3967 * fvwm/borders.c (SetupTitleBar):
3968 fixed bug that cause buttons to be drawn over the border
3970 * fvwm/stack.c (RaiseOrLowerWindow):
3971 removed useless function
3972 (inner_RaiseOrLowerWindow):
3973 renamed to RaiseOrLowerWindow
3974 (RaiseOrLowerWindow):
3975 draw decorations immediately after raising
3977 * fvwm/focus.c (FocusOn):
3979 * fvwm/placement.c (PlaceAgain_func):
3980 * fvwm/icons.c (AutoPlaceIcon):
3981 * fvwm/add_window.c (AddWindow):
3982 * fvwm/style.c (handle_window_style_change):
3983 * fvwm/virtual.c (MoveViewport):
3984 * fvwm/move_resize.c (move_window_doit):
3988 * fvwm/events.c (HandlePropertyNotify):
3989 (HandleConfigureRequest):
3990 * fvwm/builtins.c (WindowShade):
3994 * fvwm/borders.c (ForceSetupFrame):
3996 removed unused 'curr_shading' argument from SetupFrame
3998 1999-11-20 Dan Espen <dane@mk.telcordia.com>
4000 * fvwm/fvwm2.1 (Note): Fixed up the PipeRead example so the whole
4001 example gets displayed. Removed unnecessary quoting.
4003 1999-11-20 Dominik Vogt <dominik.vogt@gmx.de>
4005 * fvwm/style.c (handle_window_style_change):
4006 handle borderwidth/handlewidth changes without recapture
4008 * fvwm/module_interface.c (HandleModuleInput):
4009 module commands don't fake a ButtonPress with the frame location;
4010 XQueryPointer is always used.
4012 * fvwm/move_resize.c (GetMoveArguments):
4013 A 'm' before the move arguments denotes movement relative to current
4016 * fvwm/builtins.c (ApplyWindowFont):
4017 changing the window font now honours the gravity
4020 hopefully fixed all 'sticky window' bugs once and for all
4022 * fvwm/builtins.c (WindowShade):
4023 shading/unshading is perfectly smooth now, even with bottom titles
4026 functions moved to move_resize.c
4028 * fvwm/move_resize.c (Maximize):
4029 maximize on pages other than 0-0, 0-1, 1-0 and 1-1 didn't work if the
4030 window was not visible
4033 nearly a complete rewrite of the sizing and positioning bits in the
4034 FvwmWindow structure. Had to touch many, many files and functions, but
4035 I hope the benefit is that all calculations are much easier now.
4036 Perhaps the most important change is that the normal_g/max_g members
4037 now are the authorative source of the window position. Whenever the
4038 frame is moved, the 'update_absolute_geometry' function has to be
4039 called to re-adjust the appropriate values. Even if the window is
4040 maximized the code moves the normal geometry if the maximized window
4041 gets too far away from its unmaximized version, i.e. if the maximized
4042 window is moved by more than a page width or height. This may cause
4043 that a window in unmaximized off screen if the viewport is not at a
4044 page boundary, but at least it's consistent. The absolute geometry of
4045 sticky windows is updated when the viewport is moved. Thus, sticking
4046 a window now is as easy as resetting the flag.
4047 I have scrapped the xdiff/ydiff members of the FvwmWindow structure.
4048 There are now some functions for decorating, moveing, resizing, etc.
4049 a window while taking gravity into account.
4051 1999-11-17 Dominik Vogt <dominik.vogt@gmx.de>
4053 * fvwm/add_window.c (setup_style_and_decor):
4054 * fvwm/events.c (HandleFocusIn):
4056 * fvwm/fvwm.h (FvwmWindow):
4057 * fvwm/builtins.c (*):
4058 renamed all occurences of 'fl' to 'decor'
4061 * configure.in (FVWM_CONFIGDIR):
4063 removed GRADIENT_BUTTONS, PIXMAP_BUTTONS, VECTOR_BUTTONS, BORDERSTYLE,
4064 EXTENDED_TITLESTYLE, ACTIVEDOWN_BTNS and INACTIVE_BTNS options
4066 1999-11-18 olicha <olivier.chapuis@free.fr>
4068 * libs/Module.{c,h} (SendFvwmPipe): Added SendFvwmPipe form
4071 1999-11-17 Mikhael Goikhman <migo@homemail.com>
4073 * fvwm/menu.c (pop_menu_up): fixed y-location of title menu for
4074 TitleAtBottom windows.
4076 1999-11-17 olicha <olivier.chapuis@free.fr>
4078 * fvwm/module_interface.c (HandleModuleInput):
4079 Added some ERR fvwm_msg to indicate that fvwm2 decides to kill
4080 a module because of a communication problem.
4082 1999-11-16 Dan Espen <dane@mk.telcordia.com>
4084 * fvwm/fvwm2.1: Minor adjustment to man page.
4086 1999-11-16 olicha <olivier.chapuis@free.fr>
4088 * fvwm/event.c (HandleButtonRelease):
4090 Did so that Modifiers work with Stroke
4092 1999-11-16 Dominik Vogt <dominik.vogt@gmx.de>
4094 * fvwm/events.c (HandleButtonPress):
4098 * fvwm/borders.c (RedrawBorder):
4101 (get_common_decorations):
4103 Restructured border and title drawing to minimise redrawing.
4104 Had to touch tons of files.
4105 Also fixed a bug w/ shading/depressable borders/pressing on the top
4107 Title, frame and buttons can now be drawn independently with the
4108 'DrawDecorations' function.
4110 1999-11-15 Dominik Vogt <dominik.vogt@gmx.de>
4112 * fvwm/menus.c (pop_menu_up):
4113 fixed menus from window buttons with bottom titles
4115 * fvwm/move_resize.c (AnimatedMoveAnyWindow):
4118 * fvwm/borders.c (SetupFrame):
4120 * fvwm/events.c (HandleConfigureRequest):
4121 fixed bottom title bugs
4123 * fvwm/builtins.c (WindowShade):
4124 Worked *very* hard to reduce flickering with animated shading bottom
4125 titles. It can't be completely suppressed without tremendous efforts.
4127 * fvwm/borders.c (SetupTitleBar):
4128 code to place buttons and title bar moved to a separate function.
4130 * fvwm/builtins.c (WindowShade):
4131 fixed screwed animation of windowshading in pager by disabling it.
4133 * fvwm/add_window.c (setup_frame_window):
4134 fixed accessing the border of windows without handles.
4136 * fvwm/menus.c (menuShortcuts):
4137 fixed xhift-meta-tab, shift-tab bindings
4142 1999-11-14 Dominik Vogt <dominik.vogt@gmx.de>
4144 * fvwm/session.c (LoadWindowStates):
4146 * fvwm/add_window.c (AddWindow):
4147 * fvwm/builtins.c (WindowShade):
4148 * fvwm/move_resize.c (Maximize):
4150 * fvwm/borders.c (RedrawBorder):
4151 * fvwm/builtins.c (WindowShade):
4152 shaded windows get a full border
4153 new style 'TitleAtBottom'
4155 * fvwm/borders.c (SetupFrame):
4157 * fvwm/window_flags.h:
4158 * fvwm/fvwm.h (struct):
4159 * fvwm/style.c (ProcessNewStyle):
4161 * fvwm/builtins.c (WindowShade):
4162 windows without title can be shaded too
4164 * fvwm/style.c (handle_window_style_change):
4165 * fvwm/add_window.c (setup_style_and_decor):
4166 (destroy_title_window):
4167 (change_title_window):
4168 (setup_button_windows):
4169 (destroy_button_windows):
4170 (change_button_windows):
4171 (setup_resize_handle_windows):
4172 (destroy_resize_handle_windows):
4173 (change_resize_handle_windows):
4174 (setup_frame_stacking):
4175 (setup_auxiliary_windows):
4176 (change_auxiliary_windows):
4177 (destroy_auxiliary_windows):
4179 changind decor related styles is much faster
4180 minimised overhead for changed decorations
4182 * fvwm/decorations.c (SelectDecor):
4183 return a bit mask for selected buttons instead of messing with the
4186 * fvwm/add_window.c (change_icon_boxes):
4187 (destroy_icon_boxes):
4189 * fvwm/style.c (handle_window_style_change):
4190 handle icon related style changes without recapture
4193 documented menu key bindings
4195 * fvwm/menus.c (menuShortcuts):
4196 new alt-tab bindings
4198 * fvwm/style.c (handle_window_style_change):
4199 * fvwm/add_window.c (change_mini_icon):
4200 handle MiniIcon style change without recapture
4202 * fvwm/style.c (handle_window_style_change):
4203 handle MaxWindowSize style change without recapture
4205 * fvwm/add_window.c (AddWindow):
4206 * fvwm/borders.c (ForceSetupFrame):
4207 new function ForceSetupFrame
4209 * fvwm/style.c (handle_style_changes):
4210 * fvwm/focus.c (DoSetFocus):
4211 focus policy style changes update
4213 * fvwm/focus.c (DoSetFocus):
4214 fixed title buttons with clicktofocus; broken in decor_w patch
4217 fixed a subtle bug with clicktofocus/grabfocusoff
4219 1999-11-12 olicha <olivier.chapuis@free.fr>
4221 * fvwm/module_interface.c (PoistiveWrite):
4222 * fvwm/module_interface.h (MAX_MASK):
4224 Remove the "lock on send code" based on M_LOCKONSEND. Replace
4225 M_LOCKONSEND by M_NOTUSED. So, we have a free type.
4227 1999-11-12 Dominik Vogt <dominik.vogt@gmx.de>
4229 * fvwm/add_window.c (setup_title_window):
4230 (setup_frame_window):
4231 (setup_button_windows):
4232 (setup_resize_handle_windows):
4233 (setup_auxiliary_windows):
4234 (setup_focus_policy):
4235 (setup_key_and_button_grabs):
4236 (destroy_auxiliary_windows):
4237 (setup_key_and_button_grabs):
4238 * fvwm/bindings.c (activate_binding):
4239 * fvwm/borders.c (RedrawBorder):
4241 * fvwm/misc.c (flush_expose):
4242 * fvwm/fvwm.h (FvwmWindow):
4243 * fvwm/builtins.c (WindowShade):
4244 * fvwm/events.c (GetContext):
4246 (HandleButtonPress):
4248 * fvwm/focus.c (DoSetFocus):
4249 * fvwm/functions.c (DeferExecution):
4250 * fvwm/fvwmdebug.c (DB_WI_SUBWINS):
4252 * fvwm/virtual.c (MapIt):
4253 New frame window 'decor_w', parent of all decorative subwindows; this
4254 is a patch to improve the current implementation of 'transparency' in
4255 rxvt, aterm, ... These require that the background of their ancestros
4258 1999-11-12 Dominik Vogt <dominik.vogt@gmx.de>
4260 * fvwm/add_window.c (setup_window_placement):
4261 completed previous fix
4263 * fvwm/add_window.c (AddWindow):
4264 fixed handling of border width during window placement
4266 1999-11-11 olicha <olivier.chapuis@free.fr>
4268 * fvwm/module_interface.{c,h} (initModules):
4269 (do_execute_module):
4272 * fvwm/function.{c,h} (functions):
4273 * libs/Module.{c,h} (SetSyncMask):
4274 Implemented a synchronous mask that lists the messages that fvwm
4275 will treat as synchronous. See FvwmWinList for an example.
4277 1999-11-11 olicha <olivier.chapuis@free.fr>
4279 * NEWS: New builtin function StrokeFunc
4280 * fvwm/builtins.{c,h} (strokeFunc): New builtin function StrokeFunc
4281 * fvwm/cursor.{c,h}: New context CRS_STROKE, default: XC_plus
4282 * fvwm/functions.{c,h}: New builtin function StrokeFunc
4283 * fvwm/fvwm2.1: StrokeFunc doc. Update CursorStyle and Stroke entries.
4284 * libs/Bindings.c (CheckBinding): Check the button in Stroke bindings
4286 1999-11-11 Dan Espen <dane@mk.telcordia.com>
4288 * fvwm/fvwm2.1 (http): Rewording in CursorStyle and StrokeFunc.
4290 1999-11-07 Dominik Vogt <dominik.vogt@gmx.de>
4292 * fvwm/fvwm.c (CaptureOneWindow):
4293 * fvwm/events.c (HandleDestroyNotify):
4294 (HandleUnmapNotify):
4295 * fvwm/builtins.c (destroy_function):
4297 * fvwm/add_window.c (destroy_window):
4298 renamed Destroy() to destroy_window()
4300 * fvwm/misc.c (free_window_names):
4302 (RestoreWithdrawnLocation):
4303 functions moved to add_window.c
4305 * fvwm/add_window.c (GetWindowSizeHints):
4306 better explanation of broken size hints
4308 1999-11-08 Dominik Vogt <dominik.vogt@gmx.de>
4310 * fvwm/move_resize.c (resize_window):
4311 don't allow shaded windows to be resized opaque
4313 * fvwm/windowlist.c (do_windowList):
4314 enhanced window list spacing
4318 * libs/Target.c: new function fvwmlib_client_window() to replace
4320 * fvwm/add_window.c: reordered stacking of client in frame so that
4321 fvwmib_client_window finds the client faster.
4323 1999-11-04 Dominik Vogt <dominik.vogt@gmx.de>
4325 * fvwm/menus.c (...):
4326 menus can now be 'posted' by clicking on their invoking item so that
4327 they stay up when the mouse moves somehwere else.
4329 1999-11-03 Dominik Vogt <dominik.vogt@gmx.de>
4331 * fvwm/style.c (ProcessNewStyle):
4332 fixed height in MaxWindowSize style
4334 1999-11-04 Mikhael Goikhman <migo@homemail.com>
4336 * fvwm/cursor.c (CursorStyle): don't reset the root cursor
4337 on CursorStyle "non-root"
4341 * libs/Colorset.h: removed global nColorsets
4343 1999-11-03 Dominik Vogt <dominik.vogt@gmx.de>
4345 * fvwm/borders.c (SetupFrame):
4346 fixed page switching with shaded XEmacs
4348 * fvwm/windowlist.c (do_windowList):
4349 * fvwm/menus.c (MenuInteraction):
4351 * fvwm/menus.h (MenuParameters):
4352 * fvwm/menus.c (...):
4353 * fvwm/windowlist.c (do_windowList):
4354 rewrote return code use a return struct instead of an integer;
4355 improved double-clicking on menus without a title
4357 1999-11-02 Dominik Vogt <dominik.vogt@gmx.de>
4359 * fvwm/functions.c (ExecuteFunction):
4360 no error message when empty command is encountered
4362 * fvwm/session.c (MatchWinToSM):
4363 * fvwm/module_interface.c:
4367 * fvwm/fvwm2.1: clarified default action with "Menu" and "Popup"
4369 1999-11-01 Mikhael Goikhman <migo@homemail.com>
4371 * NEWS: a note about the new default root cursor
4373 * fvwm/cursor.c (setBusyCursor):
4374 'BusyCursor *' addition by Ben Winslow, some clean up.
4376 1999-10-30 Olivier Chapuis <olivier.chapuis@free.fr>
4378 * NEWS: BusyCursor, EscapeFunc and CursorStyle.
4379 * fvwm/ConfigFvwmDefaults: add the binding Key Escape A MC EscapeFunc
4380 * fvwm/builtins.c (wait_func, recapture): Busy cursor stuff
4381 * fvwm/cursor.{c,h} (cursor_type, default_cursors, CursorStyle,
4382 setBusyCursor, myCusorNameToIndex):
4383 Add CRS_ROOT and ROOT context for CursorStyle. We can use X11 cursor
4384 name in the CursorStyle command. Busy cursor stuff.
4385 * fvwm/focus.c (FocusOn): update GrabEm and GrabEm.
4386 * fvwm/function.{c,h} (func_config, execute_complex_function,
4388 New functions BusyCursor and EscapeFunc. Busy cursor stuff.
4389 * fvwm/fvwm.{c,h} (StartupStuff, InitVariables):
4390 Some Busy cursor stuff, the new external int GrabPointerState.
4391 * fvwm/fvwm2.1: BusyCursor and EscapeFunc documentation.
4392 Update CursorStyle documentation.
4393 * fvwm/menus.c (MenuInteraction, pop_menu_up): Busy cursor stuff.
4394 * fvwm/misc.{c,h} (GrabEm, UngrabEm):
4395 Busy cursor stuff. Grab context bits for GrabPointerState.
4396 * fvwm/module_interface.c (ExecuteModuleSync):
4397 Busy cursor stuff and some logic fixes.
4398 * fvwm/move_resize.c (InteractiveMove, resize_window):
4399 update GrabEm and UngrabEm.
4400 * fvwm/module_interface.c (do_execute_module, SendStrToModule,
4402 Comments some not useful (IMHO) UngarbEm for the Busy cursor stuff.
4403 And ... Busy cursor stuff !
4404 * fvwm/placement.c (PlaceWindow): update GrabEm and UngrabEm.
4405 * fvwm/read.c (cursor_control, ReadFile, PipeRead): Busy cursor stuff.
4406 * fvwm/screen.h (ScreenInfo): BusyCursor
4408 (added by Mikhael Goikhman)
4409 * fvwm/ConfigFvwmSetup:
4411 * sample.fvwmrc/system.fvwm2rc:
4412 * sample.fvwmrc/system.fvwm2rc-sample-95:
4413 Removed xsetroot -cursor_name in initialization functions.
4417 * libs/fvwmlib.h,fvwmlib.h: CreateGradientPixmapFromString returns
4418 a list of alloc'ed pixels.
4419 * libs/Colorset.h: extra members of colorset_struct for removing
4420 color leakage (private to FvwMTheme)
4422 1999-10-24 Chris Rankin <rankinc@zipworld.com.au>
4424 * libs/Module.c (SendText): made the message parameter "const"
4426 1999-10-21 Dan Espen <dane@mk.telcordia.com>
4428 * fvwm/ConfigFvwmDefaults, fvwm/fvwm2.1: The ability to raise,
4429 lower, resize, and move windows is built-in.
4431 1999-10-21 Mikhael Goikhman <migo@homemail.com>
4433 * fvwm/session.c (matchWin): reimplemented disabled code, so it
4434 still compares window ids on Restarting, but only when all other
4435 components agree. This is needed, so windows with the same
4436 resources/names are not randomly switched.
4440 * libs/Colorset.{h,c}: AllocColorset duplicates colorset 0 into new
4442 * libs/safemalloc.{h,c}: new function saferealloc().
4443 * fvwm/fvwm.c: colorset 0 defaults to black on grey in case FvwmTheme
4445 * fvwm/fvwm2.1: Documented DefaultColorset command.
4446 * fvwm/*.c: clean up colorset references.
4448 1999-10-20 Mikhael Goikhman <migo@homemail.com>
4450 * fvwm/session.c (matchWin): removed '#if 0 if (Restarting)' code
4451 (MatchWinToSM): commented the code, which, instead of restoring the
4452 original window stacking order when the state was saved, breaks it,
4453 until figuring what to do with this code
4455 1999-10-19 Dominik Vogt <dominik.vogt@gmx.de>
4457 * fvwm/style.h (SMSET_FOCUS_MODE):
4462 * libs/Colorset: changed signature of AllocColorset
4463 * fvwm/functions.c: New function DefaultColorset
4464 * fvwm/builtins.c: New function DefaultColorset, DefaultColors does
4465 not mess with colorsets.
4467 1999-10-18 Dominik Vogt <dominik.vogt@gmx.de>
4469 * fvwm/module_interface.c (executeModuleSync):
4470 made a small performance enhancement
4472 1999-10-18 Olivier Chapuis <olivier.chapuis@free.fr>
4474 * module_interface.c (executeModuleSync): New logic in the
4475 executeModuleSynch loop. Ctl-Alt-Escape allows to exit from a
4476 ModuleSynchronous command.
4478 1999-10-18 Dominik Vogt <dominik.vogt@gmx.de>
4480 * fvwm/add_window.c: moved most window creation stuff into separate
4481 functions; still in progress
4484 * fvwm/move_resize.c (resize_window):
4485 the ButtonRelease after aborting a resize operation doesn't get passed
4486 to the window below anymore
4488 1999-10-16 Eric Gillespie Jr. <epg@pobox.com>
4490 * fvwm/conditional.c (MatchesConditionMask): Tests for the
4491 do_circulate_skip_shaded flag.
4493 * fvwm/session.c (MatchWinToSM): Sets whether window has the
4494 do_circulate_skip_shaded flag after session restart.
4496 * fvwm/window_flags.h (DO_SKIP_SHADED_CIRCULATE):
4497 (SET_DO_SKIP_SHADED_CIRCULATE):
4498 (SETM_DO_SKIP_SHADED_CIRCULATE): New macros.
4500 * fvwm/style.c (ProcessNewStyle): Looks for CirculateSkipShaded and
4501 CirculateHitShaded styles.
4503 * fvwm/fvwm.h: New flag do_circulate_skip_shaded
4505 1999-10-18 Dominik Vogt <dominik.vogt@gmx.de>
4507 * libs/XError.c (PrintXErrorAndCoredump):
4508 removed unused variable msg
4510 * fvwm/move_resize.c (moveLoop):
4511 window jumps back to original position immediately when a move is
4512 terminated (fixes bug #59)
4513 unmap geometry window immediately when the move ends
4515 * fvwm/fvwm.c (FvwmErrorHandler):
4516 * fvwm/move_resize.c (moveLoop):
4518 global 'bad_window' allows to terminate opaque move/resize when the
4521 * fvwm/move_resize.c (moveLoop):
4522 'Escape' switches back to original page
4524 * fvwm/functions.c (ExecuteFunction):
4525 (execute_complex_function):
4526 * fvwm/move_resize.c (resize_window):
4528 * fvwm/menus.c (do_menu):
4529 use new signature of WaitForButtonsUp
4531 * fvwm/misc.c (WaitForButtonsUp):
4532 can handle expose events
4534 * fvwm/add_window.c (AddWindow):
4535 * fvwm/move_resize.c (moveLoop):
4536 * fvwm/placement.c (PlaceWindow):
4537 replaced global 'NeedToResizeToo' with function return values
4539 * fvwm/placement.c (SmartPlacement): now static
4541 1999-10-17 Dominik Vogt <dominik.vogt@gmx.de>
4543 * fvwm/move_resize.c (HideGeometryWindow): function renamed
4545 * fvwm/session.c (SaveWindowStates): fixed session management fix
4546 (RestartInSession): call CloseICCCM2().
4548 1999-10-17 Dominik Vogt <dominik.vogt@gmx.de>
4551 * fvwm/gnome.c (GNOME_GetStyle):
4552 * fvwm/add_window.c (AddWIndow):
4553 common styles now have access macros
4555 1999-10-16 Mikhael Goikhman <migo@homemail.com>
4557 * fvwm/fvwm2.1: several fixes; added the advice for using
4558 initialization functions to start modules and applications.
4560 1999-10-16 Dominik Vogt <dominik.vogt@gmx.de>
4562 * fvwm/focus.c (SetPointerEventPosition): fixed focus bug
4564 * fvwm/style.c (handle_window_style_change):
4565 * fvwm/builtins.c (HandleColorset):
4566 * fvwm/style.c (update_style_colorset):
4567 new style "colorset"
4569 * fvwm/style.c (handle_window_style_change):
4570 window foreground and background colours are updated immediately when
4573 * fvwm/icons.c (DeIconify):
4574 deiconify parent too if a transient is deiconified
4576 * fvwm/fvwm.c (CaptureOneWindow):
4577 * fvwm/events.c (HandleMapRequestKeepRaised):
4578 * fvwm/icons.c (Iconify):
4579 Remember IS_ICONIFIED_BY_PARENT over a recapture
4581 * fvwm/functions.c (execute_complex_function):
4584 $[??.cs<n>] variables are not expanded in 'AddToFunc' commands
4586 * fvwm/style.c (ProcessNewStyle): COLOR style handles 'rgb:rr/gg/bb'
4589 * libs/Picture.c (GetSimpleColor): patch to prevent X server from
4590 dumping core with colours like 'rgb:1234'
4592 * fvwm/move_resize.c (HideSizeWindow):
4593 * fvwm/functions.h (enum):
4594 * fvwm/module_interface.c (func_config):
4595 new function 'HideSizeWindow'
4597 * fvwm/module_interface.c (do_execute_module):
4598 (executeModuleDesperate):
4599 * fvwm/functions.c (ExecuteFunction):
4600 more intelligible error message when a command is not known by fvwm
4602 * fvwm/functions.c (ExecuteFunction): fixed cordump with commands
4603 made up only of whitespace
4605 * fvwm/windowlist.c (do_windowList): removed useless strlen(tname)
4606 (do_windowList): some minor patches
4608 1999-10-15 Dominik Vogt <dominik.vogt@gmx.de>
4610 * fvwm/fvwm.c (Done): CloseICCCM2() was called too early, so apps had
4611 the chance to resize their windows themselves.
4613 * fvwm/events.c (HandleConfigureRequest): Inform apps that request
4614 nonsense height values about their real height by sending an event.
4616 1999-10-15 Dominik Vogt <dominik.vogt@gmx.de>
4618 * fvwm/module_interface.c (HandleModuleInput): query the pointer
4619 when handling module input
4621 * fvwm/focus.c (FocusOn):
4622 (WarpOn): mangle pointer position in event when warping the pointer
4624 * fvwm/windowlist.c (do_windowList): reset nogeometrywithinfo when
4625 using geometry or nogeometry
4627 1999-10-15 Dominik Vogt <dominik.vogt@gmx.de>
4629 * fvwm/windowlist.c (do_windowList): applied
4631 * fvwm/builtins.c (ReadDecorFace): terminate 'style' string
4633 1999-10-14 Brad Giaccio <bgiaccio@psrw.com>
4635 * fvwm/builtins.c (HandleColorset):
4637 (ApplyDefaultFontAndColors):
4638 * fvwm/add_window.c (AddWindow):
4639 * fvwm/fvwm.c (main):
4641 * fvwm/icons.c (CreateIconWindow):
4644 added DefaultColors Colorset <n> command
4646 1999-10-14 Dominik Vogt <dominik.vogt@gmx.de>
4648 * fvwm/style.c (handle_window_style_change): handle 'StickyIcon' and
4649 'SlipperyIcon' style changes
4651 * fvwm/session.c (SaveWindowStates):
4652 (matchWin): fixed several session management bugs:
4653 SM tried to remember states of modules (which is impossible since the
4654 modules are killed and get new windows over a restart)
4655 SM simply matched by window id over a restart (which fails for the
4658 * fvwm/fvwm.h (FvwmWindow): removed unused member 'style'
4661 * fvwm/style.c (handle_window_style_change):
4662 update static window styles immediately
4664 * fvwm/gnome.c (GNOME_GetStyle):
4665 * fvwm/style.c (ProcessNewStyle):
4667 common window flags divided into dynamic and static part
4669 * fvwm/move_resize.c (moveLoop): prevent configure notify events if
4670 the position didn't change
4674 * fvwm/fvwm.c: fixed some X errors with multiheaded displays.
4676 1999-10-13 Dominik Vogt <dominik.vogt@gmx.de>
4678 * fvwm/module_interface.c (KillModule): removed unused argument 'place'
4680 1999-10-12 Dominik Vogt <dominik.vogt@gmx.de>
4682 * libs/XError.c (PrintXErrorAndCoredump): don't use X call in error
4685 1999-10-11 Dominik Vogt <dominik.vogt@gmx.de>
4687 * fvwm/style.c (reset_style_changes):
4688 (handle_style_changes):
4689 * fvwm/events.c (My_XNextEvent):
4690 Code to handle style changes without recapture. Doesn't do anything
4693 * fvwm/style.c (merge_styles):
4694 (ProcessNewStyle): all style flags (i.e. all styles) have a change_mask
4695 indicationg that the style has changed. * fvwm/add_window.c (AddWindow):
4696 * fvwm/style.c (ProcessNewStyle):
4697 Icon boxes can be reset to default by omitting the arguments,
4698 icon boxes now have their own style flag
4700 * fvwm/style.c (ProcessNewStyle):
4701 * fvwm/gnome.c (GNOME_GetStyle):
4702 * fvwm/add_window.c (AddWindow):
4703 rewrote layer style to work like the other style flags
4705 * fvwm/add_window.c (AddWindow):
4706 * fvwm/style.c (ProcessNewStyle):
4708 * fvwm/fvwm.h (style_flags):
4710 rewrote button flags to work like any other style flags
4712 1999-10-08 Dominik Vogt <dominik.vogt@gmx.de>
4714 * fvwm/fvwm.c (main): tried to fix problem causing black titles with
4715 some monochrome servers; use explicit pixel values BlackPixel and
4716 WhitePixel for the stipples instead of calculations based on default
4719 1999-10-11 Olivier Chapuis <olivier.chapuis@free.fr>
4721 * fvwm/windowlist.c (do_windowList):
4723 New options UseListSkip and OnlySkipList to WindowList
4725 *fvwm/read.c (ReadFile): Display the watch cursor at startup if
4726 ReadFile is run via a module (as FvwmM4/Cpp)
4728 1999-10-08 Dominik Vogt <dominik.vogt@gmx.de>
4730 * configure.in: changed version to 2.3.10
4732 * fvwm/fvwm2.1: added example of nesting decors
4734 1999-10-07 Dominik Vogt <dominik.vogt@gmx.de>
4736 * fvwm/move_resize.c (moveLoop): fixed snapping widows when Move was
4737 called but the window was not moved
4739 * fvwm/icons.c (DeIconify): fixed deiconifying on wrong page
4741 * fvwm/move_resize.c (move_window_doit): fixed reversed cursors for
4743 (move_window_doit): fixed movetopage if window had negative coordinates
4745 1999-10-04 Olivier Chapuis <olivier.chapuis@free.fr>
4746 * FvwmCpp/FvwmCpp.c (main):
4747 * FvwmCpp/FvwmCpp.1:
4748 * FvwmM4/FvwmM4.c (main):
4750 New options -noread and -lock
4752 1999-10-03 Dominik Vogt <dominik.vogt@gmx.de>
4754 * fvwm/fvwm2.1: rewrote section about command line parameter expansion
4756 * libs/Picture.c (GetColor): handles colour set colour names
4758 * fvwm/move_resize.c (moveLoop): Switch back to original page when
4759 aborting a window move
4761 * libs/ColorUtils.c (pixel_to_color_string):
4762 * fvwm/functions.c (expand_extended_var):
4764 Colours from colorsets can be used on the command line: $[fg.cs#],
4765 $[bg.cs#], $[hilight.cs#], $[shadow.cs#] are replaced by the
4766 corresponding colour from colour set '#'.
4767 Fixed coredump with $v.
4769 1999-10-02 Dominik Vogt <dominik.vogt@gmx.de>
4771 * fvwm/events.c (HandlePropertyNotify): limits names of icons/windows
4772 to 200 characters to prevent hanging X server
4774 * fvwm/style.c (ProcessNewStyle): fixed multiple icon boxes broken with
4775 latest style changes
4777 * fvwm/builtins.c (ReadDecorFace): use new signature of ParseGradient
4778 fixed ...style flags after gradient specs
4780 * fvwm/menus.c (ReadMenuFace): use new signature of ParseGradient
4782 * libs/Graphics.c (ParseGradient): function returns rest of line
4784 * fvwm/builtins.c (SetTitleStyle):
4790 * fvwm/borders.c (DrawButton):
4793 * fvwm/add_window.c (AddWindow):
4794 * fvwm/decorations.c (SelectDecor):
4795 * fvwm/builtins.c (SetTitleStyle):
4796 * fvwm/screen.h (DecorFace):
4797 GSFR for TitleStyle, BorderStyle, ButtonStyle
4798 general flag cleanup and several bugfixes
4799 removed code that was never called
4801 1999-10-01 Dominik Vogt <dominik.vogt@gmx.de>
4803 * libs/Colorset.c (DumpColorset):
4804 (LoadColorsetConditional):
4805 coredump fix - must send out 'mask' and 'color_flags' to the modules in
4806 case a second FvwmTheme is running
4808 * libs/Colorset.c (LoadColorset): free hilite/shadow if changed
4809 (LoadColorset): coredump fix
4811 * fvwm/move_resize.c (resize_window): send config to pager during
4814 * fvwm/builtins.c (HandleColorset): fixed coredump
4816 * fvwm/style.c: (merge_styles):
4817 fixed several bugs in style preference (with 'Style * Icon ...' before
4818 'Style xterm NoIcon', the 'Icon' style would have won.)
4820 * fvwm/style.c: (ProcessDestroyStyle):
4821 (remove_all_of_style_from_list):
4822 (add_style_to_list):
4823 adjacent styles in the style list with the same name are merged
4825 * fvwm/style.c (merge_styles): can merge styles without leaking memory
4826 or causing coredumps with 'destroy_style'.
4828 * fvwm/style.c (free_icon_boxes): new function
4829 (merge_styles): now static
4830 (copy_icon_boxes): new function
4831 (free_style): new function
4832 (merge_style_list): new function
4834 1999-09-30 Dominik Vogt <dominik.vogt@gmx.de>
4836 * fvwm/menus.c (paint_menu): fixed ManuFace MenuStyle interfering with
4839 1999-09-30 Dominik Vogt <dominik.vogt@gmx.de>
4841 * libs/Target.c: new file
4843 * libs/Bindings.c (fvwmlib_keyboard_shortcuts):
4844 * fvwm/misc.c (Keyboard_shortcuts): functionality moved to lib
4846 1999-09-29 Brad Giaccio <bgiaccio@psrw.com>
4848 * FvwmIconMan/x.c (X_init_manager): set pixmaps to None on init since
4849 we check for it later
4850 (X_init_manager): cleaned up an UMR on a print
4852 * FvwmIconMan/globals.c: contextDefaults needed another entry since I
4853 increased the number of contexts when I did the colorset stuff
4855 * FvwmIconMan/fvwm.c (destroy_window): setting focus_win to null helps
4856 avoid possible free memory reads/writes
4858 1999-09-29 Dominik Vogt <dominik.vogt@gmx.de>
4860 * libs/Colorset.c (LoadColorset):
4862 (CreateBackgroundPixmap): added shape_width and shape_height members
4865 * fvwm/builtins.c (SetGlobalOptions): replaced the obsolete global
4866 options with calls of the 'style' command
4868 * fvwm/move_resize.c (move_window_doit): MoveToPage uses 'select'
4869 cursor instead of 'move' cursor
4873 * libs/Colorset.{h,c} Removed unused structure member colorset.mask
4875 1999-09-28 Bob Woodside <proteus@pcnet.com>
4883 Added StartsOnPageIncludesTransients/StartsOnPageIgnoresTransients
4885 Converted the 3 GlobalOpts related to StartsOnPage to styles. The
4886 GlobalOpts are still honored, for the time being, with a warning.
4888 1999-09-29 Dominik Vogt <dominik.vogt@gmx.de>
4890 * libs/Colorset.c (SetRectangleBackground): fixed stretching of
4891 v and h gradients that was broken with last commit
4893 1999-09-28 Paul D. Smith <psmith@gnu.org>
4895 * libs/fvwmsignal.h: Add #include <sys/select.h> if needed. Patch
4896 from Harald Dunkel <harri@Synopsys.COM>.
4900 * libs/Colorset.{h,c}, modules/FvwmTheme/FvwmTheme.c: simplified
4901 the colorset structure to allow for expansion.
4903 1999-09-27 Olivier Chapuis <olivier.chapuis@free.fr>
4905 * FvwmM4/FvwmM4.c (m4_defs):
4907 * FvwmCpp/FvwmCpp.c (cpp_defs):
4908 * FvwmCpp/FvwmCpp.1:
4909 Change dir to the "good" directory before popen m4/cpp.
4910 Add FVWM_USERHOME and SESSION_MANAGER.
4912 1999-09-28 Dominik Vogt <dominik.vogt@gmx.de>
4914 * fvwm/menus.c (UpdateMenuStyle): fixed hilighting menu items
4916 * fvwm/stack.c (inner_RaiseOrLowerWindow): fixed broadcasting of
4919 1999-09-27 Dominik Vogt <dominik.vogt@gmx.de>
4921 * libs/Graphics.c (CreateGradientPixmap): and another attempt to fix
4922 the ABR in CGradients
4924 * libs/Graphics.c (CreateGradientPixmap): another attempt to fix the
4927 1999-09-26 Dominik Vogt <dominik.vogt@gmx.de>
4929 * libs/Graphics.c (CreateGradientPixmap): fixed array bounds read in
4930 C gradients. Similar but non-critical bug in R and Y gradients.
4931 Fixed SGradient: several colours were potentially not used
4933 * libs/WinMagic.c (GetEqualSizeChildren): new function
4935 * fvwm/menus.c (paint_menu):
4936 * fvwm/builtins.c (ApplyDefaultFontAndColors):
4937 use new signature of SetWindowBackground()
4939 * libs/Colorset.c (SetWindowBackground): changed signature
4941 1999-09-25 Dominik Vogt <dominik.vogt@gmx.de>
4943 * fvwm/builtins.c (HandleColorset):
4944 * fvwm/menus.h (MenuLook):
4945 * fvwm/menus.c (NewMenuStyle):
4949 (UpdateMenuColorset):
4950 implemented colour set support for menus
4952 1999-09-24 Paul D. Smith <psmith@gnu.org>
4954 * configure.in (perl): Make sure we have perl 5.002 or better for
4955 FvwmConsoleC.pl. However, if we don't we just print a warning
4956 right now; that'll probably get lost. We _should_ refuse to build
4957 FvwmConsole or something--but for the moment we don't even refuse
4958 if we can't find perl itself!
4960 1999-09-24 Dominik Vogt <dominik.vogt@gmx.de>
4962 * fvwm/fvwm.c: -Wall fixes
4966 applied '$v' patch by Mark Rainford
4969 1999-09-24 Olivier Chapuis <olivier.chapuis@free.fr>
4971 * fvwm/fvwm.c: -vesrion option print compile-time informations.
4974 1999-09-23 Dominik Vogt <dominik.vogt@gmx.de>
4976 * fvwm/menus.c (paint_item):
4977 (draw_triangle_pattern): use new code in libs/Graphics.c
4979 * libs/Graphics.c (DrawTrianglePattern): new service function
4981 1999-09-23 Paul D. Smith <psmith@gnu.org>
4983 * fvwm/Makefile.am (LDADD): Move the $(X_LIBS) reference earlier
4984 in all LDADD variables, before (for example) the $(xpm_LIBS)
4985 reference; sometimes the latter doesn't contain its own -L
4986 options, and uses X's.
4988 1999-09-23 Bob Woodside <proteus@pcnet.com>
4990 * fvwm/stack.c (inner_RaiseOrLowerWindow): rearranged the raise
4991 hacks to insure that raisePanFrames always gets called after we've
4992 done our dirty work. My previous version broke this.
4994 1999-09-23 Dominik Vogt <dominik.vogt@gmx.de>
4996 * libs/WinMagic.c (GetTopAncestorWindow): new function
4998 * libs/Slide.c: file renamed to WinMagic.c
5000 1999-09-22 Dominik Vogt <dominik.vogt@gmx.de>
5002 * fvwm/session.c (SaveWindowStates):
5005 fixed position of sticky icons and windows when restarting with
5008 1999-09-21 Dominik Vogt <dominik.vogt@gmx.de>
5010 * fvwm/move_resize.c (resize_window): redraw window decorations after
5011 aborting an opaque resize
5013 * fvwm/stack.c (inner_RaiseOrLowerWindow): -Wall fix
5014 (raise_over_unmanaged): reindented
5016 * fvwm/move_resize.c (resize_window): fixed broken comment that got
5019 1999-09-20 Bob Woodside <proteus@pcnet.com>
5021 * fvwm/events.c (HandleButtonPress): Dropped the raise on window
5022 decoration clicks for ClicToFocusDoesntRaise. This causes double
5023 raises in a lot of configurations, and seems counter to the sense
5024 of ClickToFocusDoesntRaise.
5025 * fvwm/stack.c (inner_RaiseOrLowerWindow): Changed the Exceed
5026 Raise Hack not to raise unmanaged windows; this caused problems
5029 1999-09-21 Dominik Vogt <dominik.vogt@gmx.de>
5031 * fvwm/move_resize.c (resize_window):
5034 undraw the outline before dispatching event since this possibly causes
5035 some graphics to be drawn
5037 * fvwm/functions.c (CheckActionType): handle expose events while
5038 waiting for the decision between "C", "M", "H" and "D" in a complex
5041 1999-09-20 Dominik Vogt <dominik.vogt@gmx.de>
5043 * fvwm/move_resize.c (resize_window):
5044 aborting works with opaque resizing
5045 fixed wandering window when resizing opaque
5046 fixed window width/height being one pixel less when resizing opaque
5048 1999-09-19 Dominik Vogt <dominik.vogt@gmx.de>
5050 * configure.in: changed version to 2.3.9
5052 * fvwm/events.c (HandlePropertyNotify): fixed bug with xterm:
5053 <maximize, change font, normalize> got the window size wrong
5055 * fvwm/fvwm.h (common_flags):
5056 * fvwm/window_flags.h (DO_RESIZE_OPAQUE):
5057 * fvwm/style.h (SDO_RESIZE_OPAQUE):
5058 * fvwm/style.c (ProcessNewStyle):
5059 * fvwm/move_resize.c (DoResize):
5061 implemented opaque resizing (styles ResizeOpaque and ResizeOutline)
5062 base on patch by Tony Finch
5064 1999-09-18 Bob Woodside <proteus@pcnet.com>
5069 * fvwm/stack.c: Added new BugOpts option, RaiseAboveUnmanaged, for
5070 co-existence with apps like KFM that use long-lived oerride_redirect
5073 1999-09-16 Mikhael Goikhman <migo@homemail.com>
5075 * NEWS: announced a new default FvwmBanner logo
5076 * AUTHORS: added an entries for Alan F. Ho and myself
5078 1999-09-16 Dominik Vogt <dominik.vogt@gmx.de>
5080 * fvwm/events.c (HandleButtonPress): improved RaiseTransient style
5081 with MouseFocusClickRaises and FlipTransient
5083 * fvwm/stack.c (raiselower_func):
5084 (is_on_top_of_layer):
5085 (inner_RaiseOrLowerWindow): fixed several small bugs in new transient
5088 * fvwm/events.c (HandleButtonPress):
5089 use new function is_on_top_of_layer
5091 1999-09-15 Dominik Vogt <dominik.vogt@gmx.de>
5093 * fvwm/events.c (HandlePropertyNotify): fixed pager getting out of sync
5094 with icons starting iconified (with apps that provide their own icon).
5096 1999-09-15 Mark Rainford <mr@jet.uk>
5102 * fvwm/window_flags.h:
5103 improvements to earlier transient handling patches:
5104 mods.to Raise/LowerTransient, StackTransientParent; introduce
5105 FlipTransient style. Man page, NEWS, AUTHOR + ChangeLog included this
5108 Wed Sep 15 20:44:57 1999 DanEspen <dje@blue>
5110 * fvwm/functions.c (execute_complex_function): remove unused
5111 variable cfunc_depth.
5113 1999-09-14 Dan Espen <dane@mk.telcordia.com>
5115 * NEWS: Document icons removal.
5117 * Makefile.am (SUBDIRS): Removed icons directory. Icons are now
5120 1999-09-14 Mikhael Goikhman <migo@homemail.com>
5122 * move_resize.c (Maximize): fixed redudant two and one pixel
5123 gaps on Maximize X Y
5125 1999-09-09 Dominik Vogt <dominik.vogt@gmx.de>
5127 * libs/Graphics.c (CreateGradientPixmap):
5128 C_GRADIENTs use full scope of colours again
5129 (CreateGradientPixmap): fixed C_GRADIENT with large pixmaps
5131 * fvwm/stack.c (new_layer): fixed some problems in stack ring with
5132 layer hints; one of the fixes is a temporary fix for a problem
5133 introduced by the latest transient handling patch
5135 * fvwm/fvwm.c (CaptureOneWindow): make sure the GNOME hints are set
5138 * fvwm/builtins.c (stick_function): fixed a bug with stick + unstick +
5139 movetopage + gnome + recapture :-)
5141 1999-09-08 Neil Bird <neil.bird@rdel.co.uk>
5143 * fvwm/{functions.c,functions.h,fvwm2.1,style.c,style.h}:
5144 Add DestroyStyle command, and [try to] remove Style memory leaks.
5146 1999-09-07 Dominik Vogt <dominik.vogt@gmx.de>
5148 * fvwm/fvwm2.1: applied patch for GnomeButton command by Eric
5151 * fvwm/decorations.c (SelectDecor): applied another OL hints patch by
5159 * fvwm/move_resize.c
5160 * fvwm/screen.h: New BugOpts option: MixedVisualWorkAround
5161 * libs/module_interface.c: Fixed deadlock with recapture and lockonsend
5162 modules by ignoring lockonsend flag when server is grabbed.
5164 1999-09-06 Dominik Vogt <dominik.vogt@gmx.de>
5166 * fvwm/fvwm2.1 (BugOpts):
5167 * fvwm/stack.c (inner_RaiseOrLowerWindow):
5168 * fvwm/move_resize.c (AnimatedMoveAnyWindow):
5170 * fvwm/fvwm.c (SetMWM_INFO):
5172 * fvwm/functions.c (func_config):
5173 * fvwm/builtins.c (SetBugOptions): New command BugOpts controls
5174 workarounds for buggy third party programs
5176 * fvwm/fvwm.h: add check for gcc specific stuff (bug #454)
5178 1999-09-03 Dominik Vogt <dominik.vogt@gmx.de>
5180 * fvwm/decorations.c (SelectDecor): applied OL-DECOR fix by Neil Bird
5182 1999-09-03 Dominik Vogt <dominik.vogt@gmx.de>
5184 * fvwm/fvwm2.1 (AddToDecor):
5185 (UseStyle): clarified usage of UseStyle style
5189 * fvwm/{fvwm.c,screen.h,icons.c} Fixed client supplied icon pixmaps
5190 with the -visual option and different root/fvwm depths with Exceed
5191 * fvwm/borders.c: title button pixmaps that are smaller then the title
5192 height by an odd number are one pixel down (makes win95 styles better)
5194 1999-09-01 Dominik Vogt <dominik.vogt@gmx.de>
5196 * **/*: Applied transient handling patches by Mark Rainford.
5197 Man page and ChangeLog entries are still missing
5199 * configure.in: changed version to 2.3.8
5203 * libs/Picture.{c,h}:
5204 * fvwm/{fvwm,colormaps,menus,move_resize,virtual}.c
5205 * fvwm/{colormaps,screen,move_resize}.h: Fixed XorPixmap with
5206 fvwm -visual option.
5208 1999-09-01 Dominik Vogt <dominik.vogt@gmx.de>
5211 * fvwm/move_resize.c (Maximize): implemented negative offsets for
5214 1999-09-01 Dominik Vogt <dominik.vogt@gmx.de>
5216 * fvwm/menus.c (get_selectable_item_index):
5217 (get_selectable_item_from_section):
5218 (get_selectable_item_count):
5219 (menuShortcuts): Meta-Up/Down move to next separator
5221 1999-08-31 Dominik Vogt <dominik.vogt@gmx.de>
5223 * libs/Slide.c (SlideWindow): it's possible to turn off the XFlush
5224 after each MoveResize (faster and looks better).
5228 * fvwm/move_resize.c: different method of doing XORPixmap (fails)
5229 * libs/Picture.{h,c}: DestroyPicture now frees the colors allocated
5230 by LoadPicture., New functions: UseDefaltVisual, UseFvwmVisual.
5232 1999-08-30 Dominik Vogt <dominik.vogt@gmx.de>
5234 * libs/Slide.c (SlideWindow): new file and function for sliding
5235 animations and simple animated moves
5237 1999-08-30 Dominik Vogt <dominik.vogt@gmx.de>
5239 * libs/Colorset.c (SetRectangleBackground): fixed stretching/tiling
5241 * libs/Graphics.c (CreateTiledPixmap): use depth argument instead of 1
5243 * fvwm/events.c (DispatchEvent): MoveOutline is no longer called from
5244 events.c; fixed multiple drawing/undrawing of xorpixmap.
5246 1999-08-30 Dominik Vogt <dominik.vogt@gmx.de>
5248 * libs/Colorset.c (SetRectangleBackground): new function that allows to
5249 draw shaped colorset backgrounds into a rectangle.
5251 * libs/Graphics.c (CreateTiledPixmap): former CreateTiledMaskPixmap,
5252 takes depth argument
5254 1999-08-29 Dominik Vogt <dominik.vogt@gmx.de>
5256 * fvwm/menus.c (size_menu_vertically): propagate menu style and tringle
5259 1999-08-28 Dominik Vogt <dominik.vogt@gmx.de>
5261 * fvwm/menus.c (AddToMenu): rewrote fix for label allocation bug
5263 1999-08-29 Chris Rankin
5265 * fvwm/menus.c: Wall fixes (one unused variable, brackets around
5266 boolean expressions and removed a "*" from a pointer operation)
5267 * libs/Graphics.c: Wall fixes (CreateStretchPixmap returns None
5268 if the validation fails, rather than nothing at all).
5272 * libs/Picture.{h,c}: New function GetPictureAndFree() == {
5273 GetPicture() then free all colors }, used by FvwmAnimate.
5274 * fvwm/move_resize.c: SetXORPixmap can use the pixmap from FvwmAnimate.
5276 1999-08-26 Dominik Vogt <dominik.vogt@gmx.de>
5278 * fvwm/move_resize.c (resize_window): disabled warping when resizing,
5279 except when clicking on the border.
5280 (moveLoop): fixed M_CONFIGURE_WINDOW packet during opaque moves
5283 * fvwm/conditional.h:
5284 * fvwm/conditional.c:
5285 * fvwm/windowlist.c (do_windowList): applied patch by Neil Bird:
5286 windowlist accepts conditional arguments like Next or Prev
5288 1999-08-25 Dominik Vogt <dominik.vogt@gmx.de>
5290 * fvwm/borders.c (RedrawBorder): fixed border drawing with HandleWidth
5294 1999-08-23 Mikhael Goikhman <migo@homemail.com>
5296 * fvwm/menus.c (AddToMenu): fixed bad allocation and fvwm hang for
5297 menu labels with more than two TABs
5299 1999-08-23 Dominik Vogt <dominik.vogt@gmx.de>
5301 * fvwm/menus.c (ReadMenuFace): fixed missing parsing of gradients
5303 1999-08-23 Dominik Vogt <dominik.vogt@gmx.de>
5305 * fvwm/menus.c (menuShortcuts): fixe Right key in menus.
5307 Sat Aug 21 09:55:27 1999 DanEspen <dje@blue>
5309 * NEWS, fvwm/fvwm2.1: Describe new key shortcuts, and some of the ones
5311 Describe FvwmAnimate "sendtomodule" command for arbitrary animation.
5313 * fvwm/menus.c (menuShortcuts): Tab acts like down arrow, shift tab
5314 acts like up arrow, space selects.
5316 1999-08-21 Dominik Vogt <dominik.vogt@gmx.de>
5318 * fvwm/fvwm2.1: added COLOR GRADIENTS section
5320 * fvwm/menus.c (paint_item):
5322 * fvwm/borders.c (DrawButton): Menus and window decorations can use
5323 all eight kinds of gradients
5325 * libs/Graphics.c (CreateGradientPixmap): Function can draw into a
5328 * fvwm/fvwm.c (main): removed save_under attribute for feedback window.
5329 It actually slow things down instead of speeding them up.
5331 * fvwm/move_resize.c (moveLoop):
5332 * fvwm/virtual.c (HandlePaging): fixed slow movement of windows with
5333 some ideas from icewm
5335 1999-08-20 Dominik Vogt <dominik.vogt@gmx.de>
5337 * fvwm/move_resize.c (InteractiveMove): use new function
5338 GetLocationFromEventOrQuery
5340 * libs/Pointer.c (GetLocationFromEventOrQuery): new file and function
5342 * fvwm/borders.c: removed debug code causing title bars not to draw
5343 properly with less that 20 bitplanes :-)
5345 * libs/Graphics.c (IsGradientTypeSupported): new convenience function
5347 * fvwm/builtins.c (ReadButtonFace):
5348 * fvwm/borders.c (DrawButton): experimental implementation of
5349 [DBSCRY]-Gradients in the title/border/button style. Very inefficient,
5352 * libs/Graphics.c (CreateGradientPixmapFromString):
5353 (CreateGradientPixmap): function split into two separate functions
5355 * libs/Graphics.c (CalculateGradientDimensions): new function from code
5356 originally in CreateGradientPixmap
5358 * fvwm/borders.c (DrawButton):
5359 * fvwm/builtins.c (FreeButtonFace):
5361 * fvwm/menus.c (select_menu_item):
5365 * libs/Graphics.c (CreateGradientPixmap): use new macros for gradient
5368 * libs/fvwmlib.h (B_GRADIENT): added macros for gradient types
5370 * fvwm/menus.c (ReadMenuFace): simplified gradient type code
5372 1999-08-19 Dominik Vogt <dominik.vogt@gmx.de>
5374 * fvwm/menus.c (ReadMenuFace):
5375 * fvwm/builtins.c (ReadButtonFace): use library functions to parse
5378 * libs/Graphics.c (AllocAllGradientColors): new convenience function
5380 * fvwm/fvwm2.1: Updated gradient syntax
5382 * libs/Module.c (SendFinishedStartupNotification): new service function
5385 * libs/Graphics.c (AllocLinearGradient): partially rewritten, fixed
5386 bugs in colour allocation
5388 * libs/Graphics.c (ParseGradient): use new default macro
5390 (ParseGradient): Rewrote gradient parsing. It is now legal to use
5391 'percentages' in multi gradients that don't add to 100
5393 * libs/defaults.h: file moved to library
5395 * libs/Graphics.c (AllocLinearGradient): colour calculation is 100%
5398 * fvwm/fvwm2.1: fixed .TH header
5400 * fvwm/module_interface.c (do_execute_module): store pipe number in
5401 a variable before returning, that fixes the ModuleSynchronous command
5403 1999-08-18 Dominik Vogt <dominik.vogt@gmx.de>
5405 * fvwm/move_resize.c (MaximizeWidth): fixed 'maximize grow 100' with
5408 * fvwm/fvwm2.1: man page for ModuleSynchronous
5411 * fvwm/module_interface.c (HandleModuleInput): function takes an
5412 optional string as input that replaces "FINISHED_STARTUP"
5414 1999-08-17 Dominik Vogt <dominik.vogt@gmx.de>
5416 * fvwm/module_interface.c (do_execute_module):
5418 (executeModuleSynchronous):
5420 * fvwm/functions.c (func_config): new command ModuleSynchronous
5422 * fvwm/fvwm.h: moved headers from misc.h
5424 * fvwm/add_window.c (AddWindow):
5426 * fvwm/menus.c (NewMenuStyle): -Wall fixes fo I18N
5428 * fvwm/read.h (PipeRead): moved prototypes from misc.h
5431 (saveQuitSession_func): moved to session.c
5433 * fvwm/builtins.c (SetEdgeScroll):
5434 (SetEdgeResistance):
5436 * fvwm/misc.c (MapIt):
5437 (UnmapIt): functions moved to virtual.c
5439 * fvwm/bindings.c (ParseBinding): corrected a comment
5444 * fvwm/borders.c: include module_interface.h
5446 * fvwm/modconf.c (SendDataToModule):
5447 * fvwm/move_resize.c (ConstrainSize): -Wall fixes
5449 * fvwm/colormaps.h: added missing prototypes for
5450 EnterSubWindowColormap and LeveSubWindowColormap
5452 * fvwm/add_window.c:
5453 * fvwm/move_resize.c:
5455 * fvwm/menus.c: include colormaps.h
5459 * fvwm/add_window.c:
5460 * fvwm/move_resize.c:
5468 * fvwm/misc.c (GetOnePositionArgument):
5469 * fvwm/misc.c (GetMoveArguments): functions moved to move_resize.c
5472 * fvwm/decorations.h:
5475 * fvwm/add_window.h:
5476 * fvwm/windowlist.h:
5478 * fvwm/placement.h: new files
5480 * fvwm/fvwm.c (MappedNotOverride): static now
5481 * fvwm/fvwm.c (usage): static now
5483 * fvwm/module_interface.h: moved some prototypes from misc.h
5485 * fvwm/misc.h: removed some unused prototypes
5487 * fvwm/conditional.c (CreateFlagString):
5488 (FreeConditionMask):
5489 (DefaultConditionMask):
5490 (CreateConditionMask):
5491 (MatchesConditionMask):
5498 (GetDirectionReference):
5501 (WindowIdFunc): functions moved from builtins.c to new file
5505 * fvwm/builtins.c (SetSnapAttraction):
5508 (SetXORPixmap): moved to move_resize.c
5510 * fvwm/menus.h: moved prototypes from misc.h
5512 * fvwm/fvwm2.1 (MoveSmoothness):
5513 * fvwm/move_resize.c (moveLoop):
5514 * fvwm/screen.h (ScreenInfo):
5515 * fvwm/fvwm.c (InitVariables):
5517 * fvwm/move_resize.h:
5518 * fvwm/move_resize.c (SetMoveSmoothness):
5520 * fvwm/functions.c (func_config): Implemented MoveSmoothness command
5522 * fvwm/move_resize.h:
5524 * fvwm/move_resize.c (SetOpaque):
5525 * fvwm/move_resize.c (SetMoveThreshold): fixed setting default value
5527 * fvwm/builtins.c (SetOpaque):
5528 (SetMoveThreshold): functions moved to move_resize.c
5530 1999-08-17 Dominik Vogt <domivogt@bvstp038.bbn.hp.com>
5532 * fvwm/fvwm.c (main): feedback window 'saves under' to improve
5533 smootheness in moves
5535 1999-08-15 Udo Grabowski <udo.grabowski@imk.fzk.de>
5537 * fvwm/events.c (HandleEnterNotify, HandleLeaveNotify):
5538 * fvwm/colormaps.c (FetchWmColormapWindows):
5539 added colormap installation for subwindows in window hierarchies with
5540 a patch developed by Randy Frank as employee of RSI, Boulder, Colorado
5541 (patch is public). New Routines: EnterSubWindowColormap,
5542 LeaveSubWindowColormap in colormaps.c
5544 1999-08-16 Dominik Vogt <dominik.vogt@gmx.de>
5546 * libs/Colorset.c (DumpColorset):
5547 (LoadColorsetConditional):
5548 (CreateBackgroundPixmap): handle tiled and aspect shapes
5550 1999-08-16 Dominik Vogt <domivogt@bvstp038.bbn.hp.com>
5552 * fvwm/module_interface.c (HandleModuleInput):
5553 * libs/fvwmlib.h: constant for max. module input text length
5555 * fvwm/menus.c (menuShortcuts): insert enters current submenu if no
5556 continuation is defined
5558 1999-08-16 Dominik Vogt <dominik.vogt@gmx.de>
5560 * libs/Colorset.c (LoadColorset): fixed reading shape_mask into mask
5562 * fvwm/modconf.c (SendDataToModule): fixed sending the wrong colorset
5564 1999-08-16 Mikhael Goikhman <migo@homemail.com>
5566 * configure.in: produce utils/fvwm-menu-{xlock|directory|desktop}
5567 from utils/fvwm-menu-{xlock|directory|desktop}.in
5569 1999-08-16 Dominik Vogt <dominik.vogt@gmx.de>
5571 * fvwm/builtins.c (HandleColorset):
5572 * libs/Colorset.c (LoadColorset): fixed bug that caused colorsets 10
5573 and up not to work (parsed a hex as decimal).
5575 1999-08-15 Dominik Vogt <dominik.vogt@gmx.de>
5577 * libs/safemalloc.c (safecalloc): new function to use instead of
5580 * libs/Graphics.c (CreateTiledMaskPixmap): new function to for tiled
5584 * libs/Colorset.c (LoadColorsetConditional):
5585 (DumpColorset): handle mask pixmap
5587 * libs/Graphics.c: fixed problem occuring with XQueryBestTile and my
5588 buggy XServer (XFree 3.3.3.1).
5590 * libs/Colorset.c (LoadColorset): check for NULL pointer
5592 * fvwm/events.c (HandleKeyPress):
5593 * fvwm/add_window.c (AddWindow):
5594 * fvwm/icons.c (CreateIconWindow):
5595 * fvwm/bindings.c (activate_binding): removed hack for SloppyFocus and
5596 ClickToFocus root key bindings.
5598 * fvwm/fvwm2.1: Added a comment on root key bindings with SloppyFocus
5603 * tests/purify/README (Instructions):
5604 * sample.fvwmrc/system.fvwm2rc-sample-95:
5605 * sample.fvwmrc/system.fvwm2rc-sample-2:
5606 * sample.fvwmrc/system.fvwm2rc-sample-1:
5607 * sample.fvwmrc/system.fvwm2rc:
5608 * sample.fvwmrc/new-features:
5609 * libs/ColorUtils.c:
5611 1999-08-14 Dominik Vogt <dominik.vogt@gmx.de>
5615 * fvwm/ConfigFvwmDefaults:
5617 * fvwm/module_interface.c (PositiveWrite): renamed fvwm2 -> fvwm
5619 * fvwm/fvwm2.1: divided the commad description into sections
5622 * fvwm/menus.c: fixed drawing of VGardients on an 8 bit display with
5624 (menuShortcuts): enhancements to allow one hand menu navigation from
5625 the cursor key block and the number block:
5626 End: move to last item
5627 Home: move to first item
5628 Page up: up five items
5629 Page down: down five items
5630 Delete: abort menu (like escape)
5631 Insert: enter continuation menu
5633 * libs/Graphics.c (AllocNonlinearGradient):
5634 (AllocLinearGradient): fixed gradient colour allocation
5636 * fvwm/fvwm.c (main): removed debug code
5638 * fvwm/icons.c (Iconify):
5639 * fvwm/events.c (HandleUnmapNotify):
5640 * fvwm/misc.c (UnmapIt):
5641 * fvwm/fvwm.h (struct): new window flag 'is_deiconify_pending' to
5642 handle the case of deiconifying and immediately iconifying a window
5645 * fvwm/icons.c: reindented file
5647 * fvwm/fvwm.c (Done): reindented function
5649 * fvwm/menus.c (OldMenuStyle): removed fprintf
5650 removed redundant #ifdef I18N_MB
5651 I commited this a few days ago already. Why did the fix vanish again?
5653 * fvwm/bindings.c (activate_binding):
5654 * fvwm/add_window.c (AddWindow):
5655 * fvwm/icons.c (CreateIconWindow): disabled root bindings fix for
5656 SloppyFocus that cause problems with non-SloppyFocus.
5658 * fvwm/move_resize.c:
5661 reindented and commented some code, implemented move-bug-workaround
5663 (InteractiveMove): added some comments
5666 * configure.in (FVWM_CONFIGDIR): added configure option
5667 move-bug-workaround to workaround buggy applications that do excessive
5668 redrawind while being moved
5672 * fvwm/menus.c: fixed shaped sidepics in menus when menu is shorter
5675 1999-08-12 Dominik Vogt <domivogt@bvstp038.bbn.hp.com>
5677 * fvwm/fvwm2.1 (Current): clarified condition mask (application name)
5679 * fvwm/menus.c (OldMenuStyle): removed fprintf
5680 removed redundant #ifdef I18N_MB
5682 1999-08-11 Mikhael Goikhman <migo@homemail.com>
5684 * fvwm/menus.c (size_menu_vertically): propagate missing_submenu_func
5685 for "More..." submenus
5687 1999-08-10 Dominik Vogt <domivogt@bvstp038.bbn.hp.com>
5689 * fvwm/events.c (HandleConfigureRequest): a XEmacs 20.4 patch:
5690 when moving a shaded XEmacs, unshading it makes it *very* tall
5693 * fvwm/icons.c (DeIconify): applied icon bugfix by Heber J. Grant
5695 1999-08-10 Mikhael Goikhman <migo@homemail.com>
5697 * fvwm/session.c: added missing #ifdef SESSION
5699 1999-08-09 Dominik Vogt <domivogt@bvstp038.bbn.hp.com>
5702 * fvwm/borders.c: fixed 'LeftJustified' flag for title style.
5703 There seems to be a flag conflict. THe title style flags should really
5704 be rewritten in GSFR style to avoid further conflicts.
5706 1999-08-08 Dominik Vogt <dominik.vogt@gmx.de>
5708 * fvwm/borders.c (SetShape): applied fix for ShapeNotify events on non
5709 shaped windows by Owen Taylor (otaylor@redhat.com)
5711 * fvwm/menus.c (OldMenuStyle): fixed quoting in old menu style syntax
5715 * fvwm/move_resize.c: Fixed interactive resize to not allow borders
5716 to be resized off screen if client has resize increments > 1.
5718 1999-08-06 Dominik Vogt <domivogt@bvstp038.bbn.hp.com>
5720 * fvwm/fvwm2.1 (IgnoreModifiers): make it clear that the command
5721 should appear before any bindings are made.
5723 * libs/Bindings.c (GrabWindowButton):
5724 (GrabWindowKey): fixed bindings with 'N'o modifiers and the
5725 IgnoreModifiers command
5727 * fvwm/add_window.c (AddWindow): fixed grabbing of buttons for
5728 ClickToFocus and MouseFocusClickRaises
5731 * libs/Bindings.c (GrabWindowButton): made function global again
5733 1999-08-05 Dominik Vogt <domivogt@bvstp038.bbn.hp.com>
5735 * configure.in: changed version to 2.3.7
5737 * libs/Makefile.am: ColorSets.h -> Colorset.h
5739 * fvwm/events.c (HandleButtonRelease):
5740 * fvwm/session.c (getUniqueStateFilename):
5742 removed unused variables
5744 1999-08-01 Dominik Vogt <dominik.vogt@gmx.de>
5746 * fvwm/borders.c (RedrawBorder): fixed window title drawing
5748 * fvwm/move_resize.c (moveLoop): fixed a bug that cause windows to jump
5749 around when moved against a page boundary
5751 * fvwm/add_window.c (AddWindow):
5752 * fvwm/move_resize.c (resize_window):
5755 * fvwm/events.c (HandlePropertyNotify):
5756 (HandleConfigureRequest): use new signature of ConstrainSize
5758 * fvwm/move_resize.c (resize_window): fixed resizing from title
5760 (ConstrainSize): removed roundUp parameter. Windows can no longer be
5761 resized off the screen
5763 * fvwm/builtins.c (move_sticky_window_to_same_page):
5766 (Maximize): moved functions to move_resize.c
5768 * fvwm/fvwm2.1 (DeiconifyAndRearrange): Corrected hint to work on
5771 * fvwm/fvwm.h (rectangle): width and height are signed integers again.
5772 unsigned caused too many bugs. Fixes 'CurrentPage' condition
5774 * fvwm/module_interface.c (HandleModuleInput): Fixed menus from TaskBar
5777 * fvwm/bindings.c (activate_binding):
5778 * fvwm/icons.c (CreateIconWindow):
5779 * fvwm/add_window.c (AddWindow):
5780 * fvwm/events.c (HandleKeyPress):
5781 A hack to make root key bindings work with SloppyFocus
5783 * fvwm/ConfigFvwmDefaults: changed 'iconify -1' to 'iconify off'
5785 * fvwm/focus.c (WarpOn): fixed several bugs in this function
5787 * fvwm/move_resize.c (DoSnapAttract):
5788 fixed SnapAttraction bug (not snapping when x/y position < 0)
5790 some speedup, removed redundant code
5794 * libs/Colorset.{c,h}: New function CreateBackgroundPixmap() creates a
5795 pixmap from a colrset suitable for using in XSetTile() XSetFillStyle().
5797 1999-07-23 Mikhael Goikhman <migo@homemail.com>
5799 * fvwm/functions.c (expand):
5802 Applied patch by Neil Bird - new function variables $c, $r, $n.
5804 1999-07-23 Mikhael Goikhman <migo@homemail.com>
5814 Initially implemented new commands QuitSession, SaveSession,
5815 SaveQuitSession. They work for gnome-session, but not for xsm.
5816 Another way to implement them (which works for xsm) is sending
5817 SIGTERM and SIGUSR1 to a SM pid specified in $SESSION_MANAGER.
5819 * fvwm/session.c (set_sm_properties):
5820 XSM_BUGGY_DISCARD_COMMAND now extended by run-time xsm detection
5821 (currently using $SESSION_MANAGER_NAME environment, set by user).
5822 Fixed bug - added discardCommand declaration and initialization.
5823 (LoadGlobalState, LoadWindowStates, saveStateFile):
5824 Renamed SESSION_STATE to REAL_STATE_FILENAME. There are still
5825 problems with it specific to gnome-session.
5826 Some rearranging in the functions.
5830 * fvwm/builtins.c: Fixed color leak with FvwmTheme.
5831 * fvwm/fvwm.c: ignore errors with XFreeColors.
5832 * fvwm/modconf.c: Colorsets sent out with module config.
5833 * libs/Colorset.c: Fixed color leaks.
5834 * modules/FvwmIdent/*: New config option *FvwmIdentColorset
5838 * configure.in: New module FvwmTheme.
5839 * libs/Colorset.{h,c}: New lib functions for Colorset handling.
5840 * fvwm/add_window.c: added backing_store = NotUseful hint to the
5841 client parent (not the border though that may be worth doing).
5842 * fvwm/builtins.c: removed DefaultBackground command.
5843 * fvwm/colors.c: moved AllocGradient and CreateGradientPixmap to libs/
5844 * fvwm/functions.{c,h}: removed DefaultBackground command.
5845 * fvwm/{fvwm.c, screen.h}: removed DefaultBackground structure.
5846 * fvwm/fvwm2.1: removed DefaultBackground command.
5847 * libs/Graphics.c: moved SetWindowBackground to libs/Colorset.c,
5848 Added AllocGradient() & CreateGradientPixmap().
5849 * modules/*/Makefile.am added -lm to LADADD to satisfy linker.
5850 * modules/FvwmTheme: new module
5851 * fvwm/builtins.c: DefaultColors affects Colorset[0]
5852 * fvwm/functions.c: New command Colorset
5853 * fvwm/module_interface.c: new function BroadcastColorset
5855 1999-07-11 Dominik Vogt <dominik.vogt@gmx.de>
5857 * fvwm/borders.c (RedrawBorder): Prevent NeverFocus windows from being
5860 1999-07-09 Dominik Vogt <dominik.vogt@gmx.de>
5862 * fvwm/borders.c (RedrawBorder): fixed bug: title bar inherited tiled
5863 background pixmap from borderstyle
5865 * fvwm/move_resize.c (moveLoop): removed debug fprintf
5867 1999-07-13 Mikhael Goikhman <migo@homemail.com>
5869 * fvwm/session.c (LoadWindowStates): Replaced all sscanf "%4000s"
5870 with "[^\n]". This caused all windows with spaces in names not match.
5872 Sun Jul 11 11:16:15 1999 DanEspen <dje@blue>
5874 * NEWS: Describe the default iconbox.
5876 * fvwm/fvwm2.1 (iconbox): Describe the default iconbox.
5878 * fvwm/icons.c: Create a global icon box that covers the screen.
5879 This is used whenever the "style xxx" iconboxes run out of room
5880 or if you never defined an iconbox at all.
5881 This should fix the icons piling up at 0,0 problem.
5883 1999-07-10 Mikhael Goikhman <migo@homemail.com>
5887 Temporary fvwm state files now have .fs- prefix (hence .fs-restart),
5888 since .fvwm is already a common prefix for persistent fvwm configs.
5889 Added a header to the fs file saying that the file must not be deleted.
5890 * fvwm/fvwm.c (StartupStuff): remove a state file only on Restaring
5892 * fvwm/session.c (saveStateFile, setRealStateFilename): new functions
5893 * fvwm/session.c: Some code rearrangement using new functions.
5894 The purpose is localization (reducing passing FILE * between functions;
5895 free() in the same function as malloc() etc.).
5898 * fvwm/fvwm.c (Done):
5899 * session.c (RestartInSession, saveStateFile):
5900 Fixed --dont-preserve-state. Creates an empty state file, hence can
5901 be used under SM too (got X hang); and can now be mixed with other
5902 Restart parameters, but must be first.
5904 1999-07-09 Dominik Vogt <dominik.vogt@gmx.de>
5906 * libs/Module.c (positive_read):
5909 * fvwm/stack.c (RaiseOrLowerWindow):
5910 * fvwm/module_interface.c:
5912 (BroadcastNewPacket):
5914 * fvwm/session.c (MatchWinToSM):
5915 * fvwm/add_window.c (AddWindow):
5916 * fvwm/events.c (HandleConfigureRequest):
5917 * fvwm/builtins.c (Maximize):
5920 * fvwm/move_resize.c (ConstrainSize):
5922 * fvwm/style.c (ProcessNewStyle):
5923 * fvwm/fvwm.h (struct):
5924 * fvwm/fvwm.c (InstallSignals):
5926 * fvwm/menus.c (menuShortcuts): --pedantic fixes
5928 * fvwm/move_resize.c (InteractiveMove): Tried to make starting a move
5929 bullet proof; but you never know...
5931 * fvwm/functions.c (CheckActionType):
5932 * fvwm/functions.c (execute_complex_function): fixed some quirks with
5935 * sample.fvwmrc/Makefile.am: added a win95 like config file
5937 * fvwm/stack.c (RaiseOrLowerWindow):
5938 * fvwm/fvwm.c (Done): remove unused variables
5940 * fvwm/window_flags.h (DO_LOWER_TRANSIENT):
5941 * fvwm/style.h (SDO_LOWER_TRANSIENT):
5942 * fvwm/stack.c (RaiseOrLowerWindow):
5945 (must_move_transients):
5946 * fvwm/fvwm.h (common_flags_type): Improved transient raising/lowering
5947 and introduced LowerTransient/DontLowerTransient styles
5949 * fvwm/style.c (ProcessNewStyle):
5951 * fvwm/add_window.c (AddWindow):
5952 * fvwm/move_resize.c (ConstrainSize):
5953 * fvwm/fvwm.c (InitVariables):
5954 * fvwm/fvwm.h (window_style):
5955 * fvwm/style.h (SGET_MAX_WINDOW_WIDTH):
5956 * fvwm/screen.h (ScreenInfo):
5957 * fvwm/builtins.c (SetMaxWindowSize):
5959 * fvwm/functions.c (func_config): removed MaxWindowSize command and
5960 introduced a style with the same syntax
5962 1999-07-08 Dominik Vogt <dominik.vogt@gmx.de>
5964 * fvwm/virtual.c (HandlePaging): fixed edge scrolling with the mouse
5967 * fvwm/builtins.c (do_recapture):
5968 * fvwm/fvwm.c: removed the 'blackout' code completely
5970 * fvwm/move_resize.c (move_window_doit): send synthetic
5971 ConfigureNotify events to client while moving without resizing
5973 * fvwm/events.c (HandleConfigureRequest):
5974 * fvwm/borders.c (SetupFrame): Cleaned up ConfigureRequest handling.
5975 Fixed bug causing some ddd windows to not redraw properly. Send
5976 synthetic configure notify events for shaded windows too (required
5981 * fvwm/stack.c: fixed RaiseLower of partially offscreen windows
5983 1999-07-08 Dominik Vogt <dominik.vogt@gmx.de>
5985 * fvwm/session.c (my_modulo): removed 'buggy' function
5986 (MatchWinToSM): fixed restart placement of sticky windows partially
5989 * fvwm/builtins.c (MaximizeHeight):
5990 (MaximizeWidth): use fixed version of truncate_to_multiple
5992 * fvwm/misc.c (truncate_to_multiple): fixed off-by-one bug
5994 * fvwm/fvwm.c (Done): added '--dont-preserve-state' option to allow
5995 restarting a fresh fvwm2 without having to specify the call options
5997 * fvwm/events.c (HandleMapRequestKeepRaised): fixed another problem
5998 with recapture/iconified emacs frames. Emacs sends two MapRequest
5999 events. The second iconifies the emacs frame again without removing
6002 1999-07-07 Dominik Vogt <dominik.vogt@gmx.de>
6004 * fvwm/menus.c: menu menu styles VerticalItemSpacing and
6005 VerticalTitleSpacing
6007 * fvwm/builtins.c (MaximizeWidth):
6008 (MaximizeHeight): maximize grow didn't work with sticky icons
6009 fixed maximize grow on other pages than the current one
6010 handle sticky windows properly
6012 1999-07-06 Dominik Vogt <dominik.vogt@gmx.de>
6015 * fvwm/fvwm.c: include module_interface.h
6018 * fvwm/module_interface.h: moved function declarations to
6021 * fvwm/module_interface.c (KillModuleByName): now static
6023 * fvwm/builtins.c (module_zapper): function moved to module_interface.c
6026 * fvwm/virtual.c (HandlePaging): Do not page while the mouse is moving
6027 along one of the sides.
6031 * fvwm/menus.c: paint_menu(): fixed an expose bug
6033 1999-07-06 Dominik Vogt <dominik.vogt@gmx.de>
6035 * fvwm/menus.c (DEFAULT_ITEM_FORMAT): fixed side picture
6037 1999-07-04 Dominik Vogt <dominik.vogt@gmx.de>
6039 * configure.in: changed version to 2.3.6
6041 * fvwm/functions.c (execute_complex_function): -Wall fix
6043 * fvwm/misc.c (Destroy):
6044 (StashEventTime): Removed FocusOnNextTimeStamp (no longer used)
6046 * fvwm/misc.c (Destroy):
6047 * fvwm/events.c (HandleUnmapNotify): fixed focus setting
6049 * fvwm/gnome.c (GNOME_GetStyle): Fixed desk handling in GNOME apps.
6051 1999-07-03 Dominik Vogt <dominik.vogt@gmx.de>
6054 * fvwm/events.c (HandleUnmapNotify):
6055 * fvwm/misc.c (Destroy):
6056 (HandleHardFocus): removed HandleHardFocus function; calls replaced by
6057 SetFocus. Fixes hang with Gnome menu bars.
6059 1999-07-03 Mikhael Goikhman <migo@homemail.com>
6062 * libs/Strings.c (CatString3):
6064 * fvwm/functions.c (FindFunction, NewFvwmFunction):
6065 Fixed char * to be const char *, there are more places to do the same.
6068 * fvwm/fvwm.c ({get|set}InitFunctionName): new functions
6069 * fvwm/fvwm/session.c (SessionInit): use setInitFunctionName
6070 * fvwm/fvwm.c (StartupStuff, Done): use getInitFunctionName
6071 * sample.fvwmrc/system.fvwm2rc:
6072 * fvwm/ConfigFvwmSetup:
6075 New special functions Session{Init|Restart|Exit}Function are executed
6076 instead of {Init|Restart|Exit}Function when running under a SM.
6077 Also mentioned FormFvwmRootCursor. in NEWS and fvwm/ConfigFvwmSetup.
6079 1999-07-02 Paul D. Smith <psmith@gnu.org>
6081 * configure.in: Don't look for a C++ compiler; we don't need one
6082 anymore and it causes lots of configure problems.
6086 * {fvwm,libs}/Makefile.am: Reordered .c file for faster parallel makes.
6087 * libs/ModGraph.c: merged with Picture.c.
6088 * libs/Picture.c: Rewrote InitPictureCmap(), removed SavePictureCMap
6090 * {fvwm/modules}/* Fixes due to the above, removed lots of GetColor()s.
6092 1999-07-01 Paul D. Smith <psmith@gnu.org>
6094 * libs/fvwmlib.h (Background): Change Bool type to unsigned for
6097 * fvwm/screen.h (ScreenInfo): Change Bool type to unsigned for
6100 1999-07-01 Dominik Vogt <dominik.vogt@gmx.de>
6102 * fvwm/module_interface.c:
6103 * fvwm/events.c (HandleVisibilityNotify):
6104 (HandleButtonPress):
6106 * fvwm/builtins.c (CreateConditionMask):
6108 * fvwm/window_flags.h:
6109 rewrote VISIBLE flag and added RAISED flag again. Now they do what they
6110 sound like (close enhancement request #21)
6112 * fvwm/stack.c (CanBeRaised):
6114 * fvwm/events.c (HandleButtonPress): removed function CanBeRaised to
6115 improve raising of windows with transients.
6117 * fvwm/stack.c (RaiseWindow): improved raising of windows with
6119 (CanBeRaised): always raise windows with transients and the
6120 RaiseTransient style
6122 1999-06-30 Dominik Vogt <dominik.vogt@gmx.de>
6124 * fvwm/fvwm.c (SetRCDefaults):
6125 * fvwm/ConfigFvwmDefaults: moved style default to ConfigFvwmDefaults
6127 * fvwm/stack.c (new_layer):
6129 * fvwm/fvwm.h (style_flags):
6130 * fvwm/style.c (ProcessNewStyle): new styles RaiseTransient (default)
6131 and DontRaiseTransient, avoids problem described in bug #290
6133 * fvwm/move_resize.c (resize_window): use RESIZE cursor, implemented
6134 'c' size unit (client defined steps)
6136 * fvwm/functions.c (execute_complex_function):
6137 * fvwm/functions.h (cfunc_action_type): implemented 'H'old trigger for
6140 * fvwm/move_resize.c (ConstrainSize):
6141 * fvwm/add_window.c (GetWindowSizeHints): handle MaxWindowSize in
6142 ConstrainSize. Use the border width to calculate the actual size.
6144 1999-06-29 Dominik Vogt <dominik.vogt@gmx.de>
6146 * libs/Module.c (InitGetConfigLine): use alloca instead of safemalloc
6148 * fvwm/misc.c (HandleHardFocus): disabled HandleHardFocus to see if
6149 this causes any problems.
6151 1999-06-28 Dominik Vogt <dominik.vogt@gmx.de>
6153 * fvwm/events.c (HandleUnmapNotify): removed some copy-and-past code
6156 1999-06-27 Dominik Vogt <dominik.vogt@gmx.de>
6158 * fvwm/builtins.c (WindowShade): update the border when shading a
6161 * fvwm/move_resize.c (resize_window): fixed resizing of shaded windows
6162 (shade didn't move).
6164 1999-06-28 Dominik Vogt <dominik.vogt@gmx.de>
6166 * fvwm/builtins.c (ApplyDefaultFontAndColors): fixed font size
6168 1999-06-28 Mikhael Goikhman <migo@homemail.com>
6170 * fvwm/session.c (my_module): fixed
6171 (MatchWinToSM): When evaluating x and y coordinates for sticky windows
6172 add old_bw before evaluating my_module and then substract it.
6174 1999-06-27 Olivier Chapuis <olivier.chapuis@free.fr>
6176 * fvwm/fvwm2.1: Corrected misprints
6178 1999-06-27 Dominik Vogt <dominik.vogt@gmx.de>
6180 * libs/Parse.c: some clean up, added comments
6181 (GetFileName): convenience function to simplify module code.
6183 * fvwm/fvwm2.1 (ButtonState): new command
6185 * fvwm/borders.c (cmd_button_state): new command to control former
6186 configure options 'activedown-button' and 'inactive-button'
6188 * libs/Parse.c (GetNextTokenIndex):
6189 (GetModuleResource):
6190 (GetSuffixedIntegerArguments):
6191 (GetOnePercentArgument):
6192 (GetRectangleArguments):
6193 use PeekToken instead of GetNextToken
6194 (ParseToggleArgument): a litte performance enhancement
6195 (NukeToken): removed function
6197 * fvwm/functions.c (func_config):
6199 new function ButtonState
6201 * fvwm/cursor.c (CursorStyle):
6202 (SafeDefineCursor): moved from builtins.c to cursor.c
6206 * fvwm/move_resize.c:
6212 * fvwm/add_window.c:
6215 * fvwm/borders.h: new file
6217 * libs/Module.c: include safemalloc.h
6219 * fvwm/windowlist.c:
6226 * fvwm/move_resize.c:
6227 * fvwm/module_interface.c:
6236 * fvwm/decorations.c:
6241 removed inclusion of parse.h
6244 * fvwm/functions.h: moved all code from parse.h to functions.h,
6245 removed file parse.h
6247 1999-06-26 Dominik Vogt <dominik.vogt@gmx.de>
6249 * fvwm/*.h: include stack.h and gnome.h
6251 * fvwm/builtins.c (SetSnapAttraction):
6252 (SetSnapGrid): Snap... called without arguments returns to default
6256 * fvwm/fvwm.c (InitVariables): more definitions taken from defaults.h
6259 * configure.in (FVWM_CONFIGDIR): removed the following configure
6260 options (i.e. they are always on):
6261 borderstyle, extended-titlestyle, gradient-buttons, mini-icons,
6262 multistyle, pixmap-buttons, usedecor, vector-buttons, inactive-button,
6265 * fvwm/Makefile.am (fvwm2_SOURCES): added gnome.h
6267 * fvwm/stack.c (SetDefaultLayers): Don't malloc, PeekToken is enough
6269 * fvwm/windowlist.c:
6274 * fvwm/fvwm.c (InitVariables):
6275 * fvwm/builtins.c (SetDefaultLayers):
6277 * fvwm/add_window.c (AddWindow):
6278 * fvwm/events.c (HandleConfigureRequest):
6279 Moved all layer code to stack.c. Always use this module to manipulate
6281 Moved gnome prototypes to gnome.h (new file).
6282 Moved default layer definitions to defaults.h
6284 * fvwm/gnome.c (GNOME_SetDeskCount):
6285 * fvwm/events.c (HandleConfigureRequest):
6287 * fvwm/builtins.c (raise_function):
6290 * fvwm/add_window.c (AddWindow):
6291 * fvwm/stack.c (remove_window_from_stack_ring):
6292 (add_window_to_stack_ring_after):
6295 (ResyncFvwmStackRing):
6296 Moved all stacking order related code to stack.[ch]. The stacking ring
6297 shouldn't be modified outside this module.
6299 * fvwm/fvwm2.1: documented new cursors
6301 * fvwm/functions.c (DeferExecution): Don't use the select cursor when
6302 only waiting for a button release
6303 (execute_complex_function): improved double click handling (my X server
6304 seems to swallow some rapid button presses, so trigger the double
6305 click when releasing a button after the first click too).
6307 * fvwm/cursor.c (default_cursors): use crosshair instead of queastion
6308 arrow (looks rather ugly). Crosshair is used by xwininfo and xwd for
6311 * fvwm/functions.c (execute_complex_function): Don't change the cursor
6312 during function execution.
6314 * fvwm/misc.c (GrabEm): Enhanded GrabEm so you can grab without
6315 changing the cursor.
6320 * fvwm/add_window.c:
6328 * fvwm/cursor.h: created new files cursor.[ch] for cursor definitions.
6329 Changed select cursor to XC_question_arrow, introduced RESIZE cursor
6330 set to XC_sizing, moved cursor initialisation to cursor.c, made code a
6333 1999-06-26 Mikhael Goikhman <migo@homemail.com>
6335 * fvwm/fvwm.c (parseCommandArgs): use isspace()
6336 * fvwm/placement.c (PlaceWindow): minor spacing
6339 * fvwm/session.c (RestartInSession): added flag, which enables
6340 to call this function unconditionally (needed for saving .fvwm_restart
6341 in all Restart cases).
6342 * fvwm/fvwm.c (Done): fixed Restart command with only spaces
6344 1999-06-25 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
6346 * fvwm/add_window.c (GetWindowSizeHints): print the
6347 cause of brokenness and the broken size hints.
6349 1999-06-25 Chris Rankin <rankinc@zipworld.com.au>
6351 * modules/FvwmTaskBar.c: New signal handling (fvwmsignal.o)
6352 ShutMeDown() is now an exit-procedure
6353 * modules/ButtonArray.c: Fixed linked-list problem in RemoveButton()
6354 * modules/Mallocs.c: Fixed implementation of saferealloc()
6355 * modules/Mallocs.h: Removed duplicate declaration of safemalloc()
6356 (Added "libs/safemalloc.h" to affected .c files)
6358 1999-06-25 Dominik Vogt <dominik.vogt@gmx.de>
6360 * libs/Module.c (InitGetConfigLine): allocate buffer instead of using
6363 * fvwm/misc.c (Destroy): don't try to free a NULL icon pixmap mask
6368 * fvwm/move_resize.c:
6374 * fvwm/builtins.c: include virtual.h
6378 * fvwm/modconf.c, libs/ModGraph.c: removed Gcontext sharing stuff
6380 1999-06-24 Dominik Vogt <dominik.vogt@gmx.de>
6382 * fvwm/fvwm2.1 (IconBox): added a hint how to get auto arranging icons
6384 * fvwm/events.c (HandleMapRequestKeepRaised): fixed bug causing windows
6385 to always start iconic in conjunction with RecaptureWindow
6387 * fvwm/move_resize.c (move_window):
6388 * fvwm/module_interface.c (HandleModuleInput): removed stray fprintfs
6390 * configure.in: changed version to 2.3.5
6392 * fvwm/fvwm2.1 (Stroke): corrected instructions on unbinding default
6395 1999-06-23 Dominik Vogt <dominik.vogt@gmx.de>
6398 * fvwm/builtins.c (truncate_to_multiple): moved to misc.c
6400 * fvwm/icons.c (DeIconify): de-iconify on the current page if icon is
6403 * fvwm/module_interface.c (HandleModuleInput): Set position of faked
6404 button press to location of icon if window is iconified. Fixes bug
6405 when moving icons out of the pager.
6408 * fvwm/functions.c: include virtual.h
6412 * fvwm/misc.h: moved declarations for virtual.c into new file
6414 * fvwm/virtual.c (HandlePaging):
6415 * fvwm/move_resize.c (resize_window):
6417 * fvwm/events.c (HandleEnterNotify): fixed a bug in HandlePaging that
6418 caused pages to flip too fast
6420 * fvwm/move_resize.c (AnimatedMoveAnyWindow): added forgotten
6421 call to StashEventTime
6423 * fvwm/virtual.c (HandlePaging): fixed internal logic bug (paging done
6425 (HandlePaging): fixed bug when event time is zero
6427 11999-06-23 Dominik Vogt <dominik.vogt@gmx.de>
6429 * fvwm/fvwm.c (Done): fixed -Wall warnings
6430 * libs/envvar.c (getFirstEnv): removed unused variables
6432 1999-06-23 Dominik Vogt <dominik.vogt@gmx.de>
6434 * fvwm/placement.c (PlaceWindow): added warning when SkipMapping,
6435 ActivePlacement and StartsOn... are used together
6437 * fvwm/virtual.c (MoveViewport):
6438 * fvwm/icons.c (AutoPlaceIcon):
6439 * fvwm/events.c (HandleConfigureRequest): same modification for more
6440 Broadcasts as in the previous patch by Matthias.
6442 1999-06-22 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
6444 * fvwm/move_resize.c (move_window_doit): broadcast the
6445 icon_p_width, not the icon_w_width to avoid growing icons in
6448 1999-06-22 Dominik Vogt <dominik.vogt@gmx.de>
6450 * fvwm/move_resize.c (moveLoop): fixed moving icons (didn't communicate
6451 to modules correctly).
6452 (moveLoop): fixed SnapGrid with FvwmPager
6453 (moveLoop): fixed bug that caused windows to jump around
6455 * fvwm/events.c (HandleConfigureRequest): fixed bug in ConfigureNotify
6456 handler: modules couldn't reconfigure maximized windows
6458 * fvwm/menus.c (DEFAULT_ITEM_FORMAT): Removed the gap between side pic
6461 1999-06-21 Mikhael Goikhman <migo@homemail.com>
6464 * libs/envvar.c (getFirstEnv): new public function
6465 (getEnv): added parameter
6466 (envExpand, envDupExpand): removed dirty hack using 'save'
6468 * fvwm/fvwm2.1 (Restart):
6469 * fvwm/fvwm.c (parseCommandArgs): added expanding of ${VAR} and ~.
6471 1999-06-21 Dan Espen <dane@mk.bellcore.com>
6473 * AUTHORS: A little update to my entry, moved 2 entries into
6474 correct alphabetic sequence.
6476 1999-06-20 Mikhael Goikhman <migo@homemail.com>
6478 * fvwm/fvwm.c, fvwm/session.c, fvwm/fvwm2.1:
6479 recovered "-restore" option
6481 * fvwm/fvwm.c (StartupStuff): restore file is removed after usage.
6483 * fvwm/session.c (LoadWindowStates): fixed reading [WM_COMMAND]
6484 (SaveWindowStates): fixed writing [RES_NAME] and [RES_CLASS]
6486 1999-06-20 Chris Rankin <rankinc@zipworld.com.au>
6488 * modules/FvwmPager/FvwmPager.c: Changed signal handling to use
6489 the fvwmsignal modules.
6491 1999-06-19 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
6493 * fvwm/fvwm.c (main):
6494 (StartupStuff): Grab the pointer during startup with cursor XC_watch.
6496 1999-06-19 Mikhael Goikhman <migo@homemail.com>
6498 * fvwm/fvwm.c (getBasename): removed
6499 (Done): Improved Restart logic - three forms (no special cases)
6500 include 'Restart', 'Restart wm params', 'Restart --pass-args wm'.
6501 (StartupStuff): Deleting .fvwm_restart after usage (currently
6502 renaming it to .fvwm_restart.last).
6503 * fvwm/fvwm2.1: updated documentation for Restart
6505 1999-06-18 Tim Cutts <tim.cutts@incyte.com>
6507 * libs/System.c (getostype): Code was assuming that buf had been
6508 initialised to nulls. Under Solaris 2.5.1/gcc, this is not the
6509 case and OSTYPE in FvwmM4 was being set to garbage and SunOS stuck
6510 on the end. Set the initial byte of buf to \0 to fix this. There
6511 may be other bugs of this type elsewhere.
6513 1999-06-18 Mikhael Goikhman <migo@homemail.com>
6515 * sample.fvwmrc/new-features:
6516 * sample.fvwmrc/system.fvwm2rc:
6517 * sample.fvwmrc/system.fvwm2rc-sample-1:
6518 * sample.fvwmrc/system.fvwm2rc-sample-2:
6519 Replaced "Restart fvwm2" with "Restart" and "Restart fvwm" with
6520 "Restart fvwm -s" anywhere.
6522 * fvwm/fvwm.c (Done, getBasename):
6527 Removed all references to "-restore".
6529 1999-06-18 Dominik Vogt <dominik.vogt@gmx.de>
6531 * fvwm/fvwm.c (SetRCDefaults): added FvwmConsole to builtin menu
6533 * fvwm/menus.c (GetMenuOptions): fixed 'rectangle' menu position
6536 1999-06-18 Mikhael Goikhman <migo@homemail.com>
6538 * fvwm/fvwm.c (main):
6539 (InitVariables): calling LoadWindowStates, LoadGlobalState only
6542 1999-06-17 Dominik Vogt <domivogt@bvstp038.bbn.hp.com>
6544 * fvwm/builtins.c (ReadTitleButton): fixed compile error if MINI_ICONS
6545 is defined but not PIXMAP_BUTTONS
6547 * fvwm/borders.c (RedrawBorder): fixed compile error if BORDERSTYLE
6550 1999-06-17 Dominik Vogt <domimik.vogt@gmx.de>
6552 * fvwm/fvwm.c (Done): applied another restart patch by Mikhael
6554 1999-06-10 Mikhael Goikhman <migo@homemail.com>
6556 * fvwm/fvwm.h, fvwm/fvwm.c, fvwm/placement.c:
6557 restored all removed code with _XA_WM_DESKTOP,
6558 restored SaveDesktopState(),
6559 implemented yet better logic for Restart command (Done),
6560 no options added on a native Restart (-s, -restore) anymore,
6561 completely removed -restore fvwm command argument.
6563 1999-06-16 Dominik Vogt <dominik.vogt@gmx.de>
6565 * utils/BuildXLockMenu.in: fixed bug: item titles were filled with
6566 spaces to up to 9 bytes, screwed up titles with right justified text
6568 1999-06-15 Dan Espen <dane@mk.bellcore.com>
6571 * fvwm/fvwm2.1 (BUILT IN KEY AND MOUSE BINDINGS): Describe the Help,
6572 F1 and Meta-Tab builtin bindings.
6574 1999-06-13 Dominik Vogt <dominik.vogt@gmx.de>
6577 * libs/Bindings.c (GrabAllWindowKeysAndButtons): small fix for strokes
6579 Simplified STROKES patch (less #ifdefs)
6581 1999-06-14 Dominik Vogt <domivotdomivogt@bvstp038.bbn.hp.com>
6583 * fvwm/menus.c (pop_menu_up):
6584 (pop_menu_down): don't ungrab the pointer during dynamic actions
6586 1999-06-14 Dominik Vogt <dominik.vogt@gmx.de>
6588 * fvwm/misc.c (GetMoveArguments): handle MoveToPage without arguments
6589 as described in the man page (patch by Chetan Patil)
6591 1999-06-12 Dominik Vogt <dominik.vogt@gmx.de>
6593 * fvwm/menus.c (paint_item):
6598 (GetMenuStyleIndex): cleaned up strange hotkey code, renamed the
6599 MenuItem members so you can guess from their name what they do,
6600 fixed automatic hotkeys to play nicely with numbers as hotkeys,
6601 rewrote draw_underline to do something comprehensible, removed
6602 member 'chhotkey' from MenuItem struct (was used only once),
6603 AutomaticHotkeys can be switched on/off even after the menus have
6605 (menuShortcuts): fixed character handling with is... macros.
6606 (pop_menu_up): fixed bug that caused v/HGradient menus to always
6607 hilight the first item when invoked with a key stroke.
6609 * utils/fvwm_make_directory_menu.sh: improved performance dramatically
6610 by letting sed do all the work
6613 * fvwm/menus.h: renamed 'AutomaticHotkey' to 'AutomaticHotkeys'
6616 1999-06-10 Michael Han <mikehan@best.com>
6618 * fvwm/menus.c (AddToMenu, GetMenuStyleIndex, NewMenuStyle):
6619 added AutomaticHotkey handling
6620 * fvwm/menus.h: Added a "feel" flag for automatic_hotkey and
6621 macros to handle the flag
6622 * fvwm/fvwm2.1: documentation for AutomaticHotkey MenuStyle
6624 1999-06-11 Bob Woodside <proteus@pcnet.com>
6626 * fvwm/borders.c (SetupFrame): Reinstated the ConfigureNotify, so
6627 apps know where their windows are after they're moved by the window
6632 * fvwm/{{colors,fvwm,icons}.c,screen.h}: clean up of icon rendering:
6633 removed Bool usingDefaultVisual & GC IconPixmapGC,
6634 client supplied icon bitmaps are always drawn in correct colors,
6635 client supplied icon pixmaps have no relief when fvwm is using a
6638 1999-06-10 Chris Rankin <rankinc@zipworld.com.au>
6640 * modules/Fvwm{Icon{Man,Box},WinList}: Modified signal handling
6643 1999-06-09 Bob Woodside <proteus@pcnet.com>
6645 * fvwm/fvwm.c: Fixed the problem of windows wandering after a
6646 Restart from a page other than 0,0, followed by a Recapture.
6647 * fvwm/placement.c: Corrected my overzealous attempt to keep windows
6648 from switching desktops on Restart/Recapture, which broke a couple
6649 of the StartsOnPage options.
6651 1999-06-09 Dominik Vogt <dominik.vogt@gmx.de>
6653 * fvwm/menus.c: increased item height by one pixel
6655 1999-06-08 Dominik Vogt <dominik.vogt@gmx.de>
6657 * fvwm/menus.c: Rewrote menu code so that MakeMenu is only called when
6658 menus are mapped. This should save quite some time when building
6659 dynamic menus. This used to call MakeMenu once for every new item.
6661 * fvwm/menus.c (MakeMenus): function no longer needed.
6663 * fvwm/fvwm.c (StartupStuff): no need to call MakeMenus any more
6665 * fvwm/windowlist.c (do_windowList): no need to call MakeMenu any more
6668 * fvwm/fvwm.c: Applied update to strokes patch
6670 1999-06-08 Dominik Vogt <dominik.vogt@gmx.de>
6672 * fvwm/menus.c: Implemented a 'MissingSubmenuFunc' to allow better
6673 dynamic configurability for dynamic menus. This makes it possible to
6674 implement a file browser creating submenus on the fly.
6676 * fvwm/menus.c (size_menu_horizontally): fixed bug in placement of
6677 '>' submenu triangle with long titles
6679 1999-06-07 Dominik Vogt <dominik.vogt@gmx.de>
6681 * fvwm/menus.c (mr_popup_for_mi): use PeekToken instead of GetNextToken
6683 * fvwm/move_resize.c (DoSnapAttract): fixed 'shaking windows' when
6686 * fvwm/menus.c (pop_menu_down_and_repaint_parent):
6688 fixed flickering gradient root menus that popped up themself
6690 1999-06-06 Dominik Vogt <dominik.vogt@gmx.de>
6692 * fvwm/menus.c (paint_item): Fixed previous patch.
6694 * fvwm/menus.c (paint_item):
6695 gradient menus may have a hilit background too
6697 1999-06-06 Mikhael Goikhman <migo@homemail.com>
6699 * fvwm/fvwm.c (Done, parseCommandArgs):
6700 Implemented and used function parseCommandArgs(), accept shell-like
6701 syntax in the Restart command.
6703 * fvwm/fvwm.c (Done, getBasename):
6704 Implemented and used function getBasename(). If fvwm argv[0] is
6705 [path1/]the_executable, the two forms "Restart [path2/]the_executable"
6706 and "Restart" work as a native restart (using session or -restore -s).
6707 Any other form of the Restart command processed as a foreign restart
6708 (with command parsing). The argument list is limited to 30.
6710 Sun Jun 6 21:12:39 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
6713 * libs/Module.h: new function ParseModuleArgs.
6716 * libs/Strings.h: new function StrHasPrefix.
6718 * fvwm/repeat.c: include libs/Parse.h.
6725 * fvwm/virtual.c: tidying up.
6727 1999-06-05 Ke Huang <kh6@cec.wustl.edu>
6729 * acconfig.h: added HAVE_STROKE
6731 * configure.in: added check for libstroke
6733 * fvwm/Makefile.am: added stroke_LIBS and stroke_CFLAGS
6735 * fvwm/bindings.c: added stroke_binding, and ifdefs for ParseBinding()
6737 * fvwm/bindings.h: added prototypes for strokes
6739 * fvwm/events.c: added HandleMotionNotify and HandleButtonRelease
6741 * fvwm/events.h: added prototypes
6743 * fvwm/functions.c: added stroke command
6745 * fvwm/fvwm.c: added MotionMasks for X.
6747 * fvwm/parse.h: added F_STROKE
6749 * libs/Bindings.c: new prototypes for AddBinding, RemoveBinding,
6752 * libs/fvwmlib.h: new prototypes, and new defines for BindingType
6755 1999-06-06 Dominik Vogt <dominik.vogt@gmx.de>
6757 * fvwm/menus.c (get_xy_from_position_hints): fixed a bug in position
6758 hints for root menus
6759 (get_selectable_item_index): fixed bug in cursor key menu navigation
6761 1999-06-05 Dominik Vogt <dominik.vogt@gmx.de>
6763 * fvwm/menus.c (size_menu_horizontally): removed 'fix' in placement of
6764 %r and %c columns (titles not drawn properly)
6766 * configure.in: changed version to 2.3.4
6768 * fvwm/menus.c: Made position hints refering to menus play nicely with
6770 Added an additional mini icon to the right of the item.
6771 (scanForPixmap): remove UGLY_WHEN_PIXMAPS_MISSING code
6772 (size_menu_horizontally): fixed bug in placement of %r and %c columns
6774 * fvwm/menus.c (pop_menu_up et al.): the side on which sub menus pop up
6775 reverses once one menu hit the left or right border
6776 (MenuInteraction): fixed key press warping: don't warp if the key press
6777 has no meaning (broken in earlier patches).
6779 * fvwm/borders.c (SetupFrame): -Wall fix
6781 1999-06-04 Dominik Vogt <dominik.vogt@gmx.de>
6783 * fvwm/menus.c (do_menu):
6784 (get_prefered_popup_position):
6787 * fvwm/menus.c (GetOneMenuPositionArgument): fixed off-by-one bug in
6788 position hint calculations.
6789 (MenuInteraction): fixed coredump when up/down is pressed when the
6790 pointer is not on a menu
6791 (menuShortcuts): made up/down key press handling more intuitive when
6792 not on a menu (hopefully)
6793 (do_menus_overlap): fixed calculations with negative value of
6795 (size_menu_horizontally): use '%|' instead of '%[' and '%]' in the
6798 * fvwm/fvwm.c (CreateCursors): changed default menu cursor to
6801 * fvwm/menus.c (paint_menu): removed fix for drawing the selected item.
6802 (paint_item): suppress border redrawing when this was already done by
6804 (paint_menu): centralised drawing or menu border; speeds expose events
6805 when only the border was obscured.
6806 (item_middle_y_offset): fixed bug: offset didn't take the relief
6807 thickness into account
6809 * fvwm/menus.c: made menu items two pixels shorter
6811 * fvwm/menus.c (paint_menu): fix for drawing the selected item.
6813 * fvwm/menus.c: major rewrite to allow a lot more freedom in menu
6814 layouts. See documentation of MenuStyle options BorderWidth,
6815 SubmenusLeft, Hilight3DThickness and ItemFormat. This fixes the
6816 left vs right alignment problem in menu items.
6818 * fvwm/modconf.c (SendDataToModule): -Wall fix
6819 * fvwm/events.c (DispatchEvent): -Wall fix
6820 (HandleUnmapNotify): -Wall fix
6822 1999-06-03 Dominik Vogt <dominik.vogt@gmx.de>
6824 * fvwm/misc.c (ButtonPosition): moved function from menus.c to misc.c
6826 1999-06-01 Dominik Vogt <dominik.vogt@gmx.de>
6828 * fvwm/menus.c (FreeMenuItem):
6829 (merge_continuation_menus):
6831 1999-06-03 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
6833 * fvwm/events.c (HandleConfigureRequest): send the synthetic
6834 ConfigureNotify here whenever the client may not receive a real
6835 ConfigureNotify on its toplevel window (as the ICCCM demands).
6836 As a hack to support buggy tk, duplicate the ConfigureNotify on
6839 * fvwm/borders.c (SetupFrame): ifdef out the code for sending
6840 synthetic ConfigureNotify events. This should only be done in
6841 response to ConfigureRequests, thus it is better done in
6842 HandleConfigureRequest. This was old twm heritage. The sendEvent
6843 parameter is now defunct.
6847 * fvwm/colors.c: new gradient styles for the DefaultBackground
6848 command: S = concentric squares, C = concentric circles, R = radar &
6849 Y = Yin Yang (without the dots, I am not that manic).
6851 1999-06-02 Matthias Clasen <clasen@pong.mathematik.uni-freiburg.de>
6853 * fvwm/session.c (LoadGlobalState): Make restarting return to
6856 1999-05-31 Dominik Vogt <dominik.vogt@gmx.de>
6858 * fvwm/fvwm.c (main): applied fixed restart patch by Mikhael Goikhman
6860 1999-05-30 Dominik Vogt <dominik.vogt@gmx.de>
6862 * fvwm/menus.c (SelectMenuItem): fixed another x error message
6864 * fvwm/fvwm.c (main): applied restart patch by Mikhael Goikhman
6866 * fvwm/menus.c (SelectMenuItem): Fixed X error message 54/4/14: No
6867 longer try to delete a stored item twice.
6868 (MenuInteraction): Do not unselect a popup menu item when we leave the
6869 menu and the submenu stays up.
6870 (MenuInteraction): Fixed bug that caused a submenu to pop up when
6871 leaving a menu into an item of its parent that pops up the parent
6873 (MenuInteraction): Only raise the parent menu if it is obscured when
6874 moving back with the keyboard.
6875 (NewMenuStyle): fixed reversed 'HoldSubmenus' default for fvwm/mwm/win
6878 1999-05-29 Dominik Vogt <dominik.vogt@gmx.de>
6880 * fvwm/menus.h (MenuRootStatic): moved temp_flags to dflags of
6881 MenuRootDynamic. Multiple copies of a menu now get their V/HGradient
6884 * fvwm/menus.c (MenuInteraction): Harmonized function internal flags
6885 with GSFR style flags.
6887 * fvwm/windowlist.c (do_windowList):
6888 * fvwm/menus.c (do_menu):
6890 * fvwm/menus.h (MenuParameters):
6891 Added flag 'is_already_mapped' to be used in do_menu() to fix
6892 unnecessary menu duplication with mouse movement.
6894 * fvwm/builtins.c (ReadButtonFace):
6895 * fvwm/colors.c (ParseGradient):
6896 * fvwm/menus.c (ReadMenuFace):
6897 * fvwm/defaults.h: Macro MAX_GRADIENT_SEGMENTS controls how many
6898 colours may be allocated for a single gradient. Increased this from
6899 128 to 1000. The menu code uses an array for this and wastes 4k. I hope
6900 this will soon be changed when the gradient code is moved into the lib.
6902 Sat May 29 13:54:21 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
6904 * libs/Module.h: replaced HEADER_SIZE and the like with two macro
6905 sets FvwmPacket*Size and FvwmPacket*Size_byte.
6909 * fvwm/module_interface.c: rewrite with new packet size macros.
6911 Sat May 29 13:35:11 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
6913 * libs/Module.c (GetConfigLine): rewrote to use new ReadFvwmPacket
6916 * libs/Module.c (ReadFvwmPacket): rewrite function to eliminate
6917 callback to DeadPipe() upon end-of-file or error. The caller must
6918 now check the return value. Returns an FvwmPacket pointer.
6920 * libs/Module.h: changed fvwm_packet_t to FvwmPacket.
6922 1999-05-28 Bob Woodside <proteus@pcnet.com>
6924 * fvwm/virtual.c (changeDesks): Removed testing code.
6926 1999-05-28 Bob Woodside <proteus@pcnet.com>
6928 * fvwm/add_window.c (AddWindow): Preserve the desk setting when re-
6929 using an FvwmWindow struct, to keep Recapture from losing track of
6930 which desk a window is on.
6932 * fvwm/fvwm.c (CaptureAllWindows): Restored the old XFindContext check
6933 of each window, and removed the attempt to follow the FvwmWindow chain
6934 (which gets modified with each call to CaptureOneWindow). This fixes
6935 a random failure to set styles and desk correctly during a Recapture.
6937 * fvwm/placement.c (PlaceWindow): Bypass all the "which desk to start
6938 on" logic during initial Capture or Recapture, so the saved desk will
6941 1999-05-28 Dominik Vogt <dominik.vogt@gmx.de>
6943 * fvwm/builtins.c (setShadeAnim): rewrote and fixed buggy parsing
6945 * fvwm/screen.h (ScreenInfo):
6946 * fvwm/fvwm.c (InitVariables): moved static global shade_anim_steps to
6949 * fvwm/builtins.c (SetOpaque): invalid argument returns to default
6950 (setShadeAnim): fixed memory leak
6952 * fvwm/builtins.c (SetOpaque):
6953 * fvwm/fvwm.c (InitVariables):
6954 * fvwm/defaults.h (DEFAULT_OPAQUE_MOVE_SIZE): use new constant
6956 * fvwm/builtins.c (SetXORPixmap): omit pixmap name to return to default
6957 (SetXOR): invalid parameter returns to default
6959 * fvwm/fvwm.c (InitVariables):
6961 * fvwm/defaults.h: moved MAX_WINDOW_WIDTH and MAX_WINDOW_HEIGHT to
6962 defaults.h and renamed them to DEFAULT_...
6964 * fvwm/add_window.c (GetWindowSizeHints):
6965 * fvwm/builtins.c(SetMaxWindowSize):
6966 * fvwm/screen.h (ScreenInfo):
6967 * fvwm/parse.h (enum):
6968 * fvwm/functions.c (func_config):
6969 implemented MaxWindowSize command.
6971 1999-05-25 Ben Mansell <ben.mansell@deathsdoor.com>
6974 * fvwm/borders.c (SetBorder): Moved the border redrawing code to a
6975 new function, RedrawBorder, which is called by SetBorder. SetBorder
6976 still contains a call to SetTitleBar, whilst RedrawBorder will not
6978 * fvwm/events.c (HandleExpose): Changed the SetBorder call into
6979 RedrawBorder. This prevents unnecessary title bar redraws.
6981 Wed May 26 19:45:08 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
6983 * fvwm/colors.c (PI): might be defined in system headers like
6986 * libs/Parse.h (XCmpToken): prototype this function, but add cast
6987 to the bsearch() call in FindToken macro. This avoids the warning
6988 "passing arg 5 of `bsearch' from incompatible pointer type".
6990 * libs/Makefile.am (libfvwm_a_SOURCES): add wild.h, safemalloc.h,
6991 fvwmsignal.h, Grab.h, and ClientMsg.h.
6993 * fvwm/Makefile.am (fvwm2_SOURCES): add colormaps.h
6995 * fvwm/windowlist.c (winCompare): make static.
6997 * fvwm/stack.c (intersect, overlap_box, overlap): make static.
6999 * fvwm/session.c (SaveGlobalState, GetWindowRole, GetClientID,
7000 SaveWindowStates, matchWin): make static.
7002 * fvwm/session.c (MyIoErrorHandler): make a prototype.
7004 * fvwm/session.c: include session.h.
7006 * fvwm/read.c: include read.h.
7008 * fvwm/module_interface.c (SendNewPacket, BroadcastNewPacket,
7009 SendMiniIcon): make static.
7011 * fvwm/modconf.c (make_look_packet): make prototype and declare
7014 * fvwm/misc.c (ComputeActualPosition): commented out unused
7017 * fvwm/menus.c (PaintSidePic, FreeMenuItem, scanForHotkeys,
7018 scanForPixmap): make static.
7020 * fvwm/fvwm.c (InternUsefulAtoms, InitVariables): make static.
7022 * fvwm/colormaps.c: include colormaps.h.
7023 * fvwm/colormaps.h: new file of prototypes.
7025 * fvwm/builtins.c: make CreateFlagString, FreeConditionMask,
7026 DefaultConditionMask, CreateConditionMask, MatchesConditionMask,
7027 and Circulate static functions.
7029 * fvwm/screen.h: prototype AddToDecor.
7031 1999-05-26 Chris Rankin <rankinc@zipworld.com.au>
7033 * libs/fvwmsignal.c: added <sys/select.h> header.
7035 * fvwm/events.c: removed <sys/select.h>, <signal.h> header.
7037 * modules/FvwmButtons/FvwmButtons.c: Replaced select() with
7038 fvwmSelect() in FvwmButtons, altered signal installation and fixed
7039 some invalid C prototypes.
7041 1999-05-26 Matthias Clasen <clasen@pong.mathematik.uni-freiburg.de>
7043 * fvwm/session.c (LoadGlobalState):
7044 (MatchWinToSM): restore only the "dynamic" state if we are
7045 restarting. Otherwise, Restarting becomes useless for rereading
7046 a changed rc file. By "dynamic" state I mean: geometry, desk,
7047 layer and maximizedness/shadedness/iconification. This fixes
7048 the second part of bug #315.
7050 1999-05-25 Matthias Clasen <clasen@pong.mathematik.uni-freiburg.de>
7052 * fvwm/borders.c (SetBorder): remove unused variable `w'.
7054 1995-05-24 Bob Woodside <proteus@pcnet.com>
7058 * fvwm/virtual.c: New GoToDeskAndPage command to replace the Pager's
7059 old "GoToDesk 0 10000" hack. Most of changeDesks is removed to 2 new
7060 functions, UnmapDesk and MapDesk.
7062 Mon May 24 20:13:34 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
7064 * utils/Makefile.am (fvwmbug): fix build rule that had the
7065 filename before the '-e' options of 'sed'.
7067 Mon May 24 17:45:34 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
7069 * libs/wild.c: include wild.h.
7071 * libs/safemalloc.c: include safemalloc.h.
7073 * libs/fvwmlib.h: include ClientMsg.h, Grab.h, and safemalloc.h.
7075 * libs/Parse.c (SkipSpaces,CopyToken): make static.
7076 * libs/Parse.c (CheckNTokens): comment out unused function.
7078 * libs/Grab.c: include Grab.h.
7080 * libs/Bindings.c (GrabWindowButton): make static.
7083 * libs/safemalloc.h:
7085 * libs/ClientMsg.h: new files.
7087 1999-05-24 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
7089 * fvwm/fvwm.c (Done): call RestartInSession if command is
7090 empty or contains "fvwm". Remove unnecessary "if (command)"
7091 statements, since Done is never called as Done (1, NULL).
7092 That wouldn't work anyway, since Done uses strstr on command
7093 without checking for NULL. If exec of command fails, try
7094 g_argv[0] with the newly constructed my_argv before reverting
7095 to g_argv (makes Restart without argument work again).
7097 1999-05-24 Dan Espen <dane@mk.bellcore.com>
7099 * fvwm/functions.c (expand): Applied patch from Brad to fix
7100 expansion of NULL args.
7102 Sun May 23 16:49:12 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
7104 * utils/Makefile.am (fvwmbug): generate fvwmbug from fvwmbug.sh
7105 * configure.in: generate utils/fvwmbug.sh from utils/fvwmbug.sh.in.
7107 * utils/fvwmbug.sh.in: new file.
7108 * utils/fvwmbug.1: new file.
7110 1999-05-23 Dominik Vogt <dominik.vogt@gmx.de>
7112 * fvwm/module_interface.c (DeadPipe): backed out DeadPipe signal
7115 Sat May 22 17:40:57 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
7117 * fvwm/menus.c (PopDownMenu): removed unused variable `f'.
7119 * fvwm/fvwm.c (CaptureOneWindow): removed unused variable `data'.
7121 * libs/Bindings.c (GrabWindowKey): removed unused variable
7124 1999-05-22 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
7126 * fvwm/screen.h (ButtonState):
7127 * fvwm/builtins.c (button_states): new button states ToggledActiveUp,
7128 ToggledActiveDown, ToggledInactive.
7129 * fvwm/borders.c (get_button_state): new argument Bool toggled.
7131 (SetTitleBar): calculate toggled and feed it to get_button_state.
7133 * fvwm/fvwm2.1: explain new toggled button states.
7138 * fvwm/borders.c (DrawButton):
7139 * fvwm/builtins.c (ButtonStyle): add MWMDecorStick as a button
7140 style flag to support toggle buttons for the Stick function.
7142 * fvwm/borders.c (SetBorder):
7143 * fvwm/builtins.c (ChangeDecor): Make SetBorder with force > 1
7144 mean: do a *full* redraw, including backgrounds. Use this to
7147 * fvwm/builtins.c (CreateConditionMask):
7149 * fvwm/fvwm2.1: Add [!]Shaded to the supported conditions.
7151 1999-05-21 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
7153 * fvwm/fvwm2.1: replace one occurance of MWMDecorMax by
7156 1999-05-22 Dominik Vogt <dominik.vogt@gmx.de>
7158 * fvwm/menus.c (NewMenuStyle): new options HoldSubmenus and
7161 * fvwm/builtins.c (ReadButtonFace): removed stray fprintf
7163 * fvwm/menus.c: more work on multiple menu instances and tear-off menus
7165 * menus.c: use ExecuteFunctionSaveTmpWin
7167 * fvwm/functions.c (ExecuteFunctionSaveTmpWin): wrapper around
7168 ExecuteFunction that restores Tmp_win
7170 * fvwm/menus.c (MakeMenu):
7172 Split off dynamic part of MakeMenu and moved it to new function.
7174 * fvwm/menus.c (MenuInteraction):
7175 Backed out ret_event argument. We can safely continue to use the global
7176 Event. Caused a bug when executing functions from window menus.
7178 * fvwm/events.c (HandleEvents):
7179 * fvwm/functions.c (DeferExecution):
7180 * fvwm/move_resize.c (resize_window):
7182 * fvwm/builtins.c (wait_func):
7183 * fvwm/menus.c (MenuInteraction):
7184 * fvwm/events.c (DispatchEvent):
7185 Added a parameter to DispatchEvent that allows to preserve the current
7186 Tmp_win when calling. Fixes a bug in menus.
7188 * fvwm/functions.c (DeferExecution): Fixed a bug that caused function
7189 to work on a random window.
7193 * libs/Graphics.c: CreateStretch*Pixmap: small adjustments
7194 * fvmw/colors.c: New function ParseGradient used for turning a string
7195 into something suitable for AllocNonLinerGradient()
7196 * fvwm/colors.c: New function CreateGradientPixmap understands H, V & D
7198 * fvwm/builtins.c: SetDefaultBackground() understands gradients
7200 Mon May 17 21:38:18 1999 DanEspen <dje@blue>
7202 * libs/Module.c (GetConfigLine): New function "InitGetConfigLine"
7203 so module only gets config lines it wants.
7205 * fvwm/modconf.c (SendDataToModule): If matching active, only send
7206 matching config lines.
7208 1999-05-20 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
7210 * fvwm/icons.c (CreateIconWindow): remove some code which
7211 prevented the creation of offscreen icons. This should't be
7212 a problem, since AutoPlaceIcon takes care of this later. But
7213 it enables Restart to put icons in the proper place.
7215 * fvwm/icons.c (Iconify):
7217 * fvwm/events.c (HandleMapRequestKeepRaised):
7218 (HandlePropertyNotify):
7219 remove some #ifdef SESSION's, since the session stuff is now
7220 also used for restarting.
7222 * fvwm/builtins.c (ReadButtonFace): Initialize vc->line_style to 0
7223 before reading a line pattern.
7225 1999-05-20 Dominik Vogt <dominik.vogt@gmx.de>
7227 * fvwm/menus.c (DestroyMenu):
7228 (NewMenuRoot): changes to handle multiple instances of the same menu
7229 (CopyMenuRoot): new function to create a copy of a menu
7233 * fvwm/windowlist.c:
7234 split members of MenuRoot into a dynamic part (MenuRootDynamic) and a
7235 static part (MenuRootStatic). The static members can safely be shared
7236 between multiple instances of the same menu while the dynamic members
7237 have to be created for each instance
7238 introduced MR_... macros to access MenuRoot members
7240 1999-05-19 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
7242 * fvwm/screen.h (ButtonFace): reduce memory consumption by
7243 moving the vector member into the union and making it more compact.
7244 The old vector_coords always used 61 ints. The new vector_coords
7245 use 10 ints for the most common case of buttons with a pattern of
7246 4 lines. Considering that I counted up to 33 ButtonFace structs
7247 per FvwmDecor, this should sum up to a memory reduction of
7248 approx. 6k / FvwmDecor.
7250 * fvwm/fvwm.c (LoadDefaultLeftButton):
7251 (LoadDefaultRightButton):
7252 (ResetAllButtons): adapt to new vector_coords.
7254 * fvwm/builtins.c (FreeButtonFace): free the dynamically allocated
7255 memory in vector_coords.
7256 * fvwm/builtins.c (ReadButtonFace): allocate memory for
7257 vector_coords dynamically, allow up to 32 points in vector
7258 patterns, since we use a long to hold the line_style flags.
7260 * fvwm/borders.c (DrawButton):
7261 (DrawLinePattern): adapt to new vector_coords.
7263 * fvwm/fvwm2.1: document the limit of 32 points / pattern.
7265 1999-05-18 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
7267 * fvwm/fvwm.c: remove SaveDesktopState, remove all references
7268 to _XA_WM_DESKTOP, set the Restarting flag based on restore_filename.
7269 (Done): don't move to viewport 0,0 if restarting.
7271 * fvwm/placement.c (PlaceWindow):
7272 * fvwm/fvwm.h: remove _XA_WM_DESKTOP
7276 * fvwm/{fvwm,read}.c: Fixed startup delays due to having modules
7277 started by reading a file. The only modules that are waited for are
7278 those specified on the command line.
7280 1999-05-19 Dominik Vogt <dominik.vogt@gmx.de>
7282 * configure.in: changed version to 2.3.3
7284 * fvwm/menus.h: more preparations for tear-off menus
7286 * fvwm/menus.c (MenuInteraction): fixed coredump with double key press
7288 1999-05-18 Dominik Vogt <dominik.vogt@gmx.de>
7290 * libs/Parse.h (MAX_TOKEN_LENGTH): increased MAX_TOKEN_LENGTH from 255
7291 to 1023. Was not big enough for ImagePath!
7293 * fvwm/modconf.c (SendDataToModule): send the MoveThreshold value to
7296 1999-05-18 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
7298 * fvwm/fvwm.h (common_flags_type): new member has_depressable_border.
7300 * fvwm/window_flags.h (HAS_DEPRESSABLE_BORDER): accessor macro.
7302 * fvwm/style.c (ProcessNewStyle): new styles
7303 DepressableBorder/FirmBorder to set has_depressable_border.
7305 * fvwm/borders.c (SetBorder): remove undocumented dependency of
7306 border depressability on has_mwm_buttons. Use
7307 has_depressable_border instead.
7310 * fvwm/fvwm2.1: document DepressableBorder/FirmBorder.
7312 Tue May 18 12:44:11 1999 Steve ROBBINS <stever@bic.mni.mcgill.ca>
7314 * acinclude.m4: AC_FUNC_SELECT may fail on certain AIX machines;
7315 bugfix from Lars Hecking.
7317 1999-05-18 Dominik Vogt <dominik.vogt@gmx.de>
7319 * fvwm/menus.c: menus.c should be reentrant now; the MenuRoot struct
7320 itself still needs some work, but not today
7322 * fvwm/menus.c: removed extern reference to Tmp_win
7323 removed extern reference to Context
7324 removed static variables dkp_...
7325 made position hint code reentrant
7326 removed extern reference to ButtonWindow
7327 made fWarpPointerToTitle code reentrant
7328 removed extern reference to Event
7331 * fvwm/misc.c (check_if_fvwm_window_exists): function to make sure that
7332 the given FvwmWindow structure is still valid
7334 1999-05-17 Dominik Vogt <dominik.vogt@gmx.de>
7336 * fvwm/move_resize.c:
7337 * fvwm/events.c: dont use external menuFromFrameOrWindowOrTitlebar
7341 * fvwm/menus.c: renamed the flags, removed 'allflags' from unions and
7342 restructured MenuRoot structure.
7343 Fixed '^<colour>^' in menu titles, removed some nearly unused macros.
7345 1999-05-17 Matthias Clasen <clasen@pong.mathematik.uni-freiburg.de>
7347 * fvwm/icons.c (AutoPlaceIcon): don't move window unless it is
7350 * fvwm/builtins.c (Maximize): remove (harmless) bug: applying
7351 IsRectangleOnThisPage to orig_g is never correct, since the
7352 orig_g values are desk-relative, not page-relative.
7356 * removed libs/ModGraph.h
7357 * libs/ModGraph.c: new structure Background: contains useful stuff
7358 * libs/Graphics.c: new functions CreateStretch{X,Y,}Pixmap()
7359 * fvwm/{{lots.c},screen.h} use Background struct.
7360 * modules/Fvwm{Ident,Scroll,Buttons}: use Background Struct
7362 Sun May 16 10:22:00 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
7364 * fvwm/events.c (My_XNextEvent): update select function call, and
7365 fd_width type for new AC_FUNC_SELECT macro.
7367 * configure.in: switch from AC_FUNC_SELECT_ARGTYPES to AC_FUNC_SELECT.
7369 * acconfig.h: insert preprocessor symbols for AC_FUNC_SELECT macro.
7371 * acinclude.m4: insert AC_FUNC_SELECT macro.
7373 1999-05-15 Dominik Vogt <dominik.vogt@gmx.de>
7375 * fvwm/menus.c (AddToMenu): removed and rewrote some macros; menu item
7376 drawing may have new bugs now
7378 * fvwm/menus.c (AddToMenu):
7379 * fvwm/menus.h (MenuItem): removed unused member item_num
7381 * fvwm/menus.c (SetMenuItemSelected):
7384 * fvwm/menus.h (MenuItem): removed the dynamic member 'state'; all
7385 other parts of this struct don't change while the menu is up
7387 * fvwm/menus.c (MenuInteraction): use Scr.MoveThreshold in menus too
7388 (MakeMenu): fixed WindowList title
7390 * fvwm/fvwm.c (InitVariables): initialise default move threshold
7392 * fvwm/defaults.h: #define for default move threshold
7394 1999-05-14 Dominik Vogt <dominik.vogt@gmx.de>
7396 * fvwm/builtins.c (SetMoveThreshold): added a safety check
7398 * fvwm/screen.h (ScreenInfo):
7399 * fvwm/parse.h (enum):
7401 * fvwm/functions.c (func_config):
7402 * fvwm/builtins.c (SetMoveThreshold):
7403 applied MoveThreshold patch by Andrew Morton
7405 * fvwm/icons.c (AutoPlaceIcon): Force icon on desktop even if center of
7406 window is off the desk's borders
7408 1999-05-13 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
7410 * fvwm/fvwm.c (CaptureOneWindow): set PPosOverride in
7411 CaptureOneWindow, to avoid jumping windows with RecaptureWindow
7413 * fvwm/builtins.c (Maximize): Call SetBorder when maximizing,
7414 otherwise doing "Maximize Tall" from a module may forget
7415 to update the maximize button.
7419 * fvwm/{lots} New command "DefaultBackground":
7420 understands TiledPixmap <pixmap>. With no args uses DefaultColors.
7421 Used by some modules.
7423 1999-05-13 Dan Espen <dane@mk.bellcore.com>
7425 * INSTALL.fvwm (Configuration File): Clear up distinction between
7426 $sysconfdir and $sysconfdir/fvwm.
7428 1999-05-12 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
7430 * fvwm/menus.c (do_menu): set *ret_paction to NULL after
7431 freeing it. This fixes coredumps from do_windowList (bugs
7434 1999-05-12 Dan Espen <dane@mk.bellcore.com>
7436 * INSTALL.fvwm (Configuration File): Some clarification on config files
7437 that are installed. $sysconfdir is ${prefix}/etc/fvwm.
7439 * fvwm/fvwm2.1 (INITIALIZATION): Correct typo and facts about
7442 1999-05-12 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
7444 * fvwm/builtins.c (Maximize): make windows go back to their
7445 original location upon unmaximization again.
7447 1999-05-11 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
7449 * fvwm/fvwm.h (style_flags): new member icon_override.
7451 * fvwm/style.h (SICON_OVERRIDE): macro to access icon_override.
7453 * fvwm/style.c (ProcessNewStyle): new style option
7454 IconOverride/NoActiveIconOverride/NoIconOverride sets
7457 * fvwm/add_window.c (AddWindow): change logic for determining
7458 the icon. It uses the icon_override style flag now.
7461 * fvwm/fvwm2.1: document IconOverride/NoIconOverride/
7462 NoActiveIconOverride. This fixes bug #333.
7464 1999-05-10 Dominik Vogt <dominik.vogt@gmx.de>
7466 * fvwm/menus.c (paint_menu_item): take sidepic into account for right
7468 (MiWarpPointerToItem): fixed warping to first item after multiple
7469 titles or separators
7470 (MakeMenu): titles count for complete item width, not just the left
7473 1999-05-10 Matthias Clasen <clasen@pong.mathematik.uni-freiburg.de>
7475 * fvwm/session.c (SaveWindowStates): save orig_g.[xy] - old_bw
7476 instead of orig_g.[xy] - the old_bw is added again in AddWindow.
7477 This fixes bug #334.
7479 Sun May 9 02:43:02 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
7481 * utils/Makefile.am: don't install fvwm_make_browse_menu.sh until
7482 we have some consensus on _where_ to put it.
7484 Sat May 8 14:29:10 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
7486 * fvwm/icons.c (Iconify): removed unused variable `dummy'.
7488 1999-05-07 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
7490 * fvwm/move_resize.c (ConstrainSize): make sure to stay within
7493 * fvwm/add_window.c (GetWindowSizeHints):
7494 fix the fix to silently accept min width zero,
7495 reject any negative values in aspect ratios, scale the aspect
7496 ratios to be <= 65536 to avoid overflows in ConstrainSize.
7499 1999-05-07 Steven Michael ROBBINS <stever@jeff.cs.mcgill.ca>
7501 * fvwm/windowlist.c (do_windowList): fix call to do_menu.
7503 Fri May 7 13:30:06 1999 DanEspen <dje@blue>
7505 * utils/xpmroot.1: .TH line fixup.
7507 * fvwm/fvwm2.1: .TH line fixup.
7509 * AUTHORS: Added details for Albrech Kadlec.
7513 * fvwm.icons.c: support for client supplied icon pixmaps with
7514 fvwm running in a non-default visual
7516 1999-05-07 Dominik Vogt <dominik.vogt@gmx.de>
7518 * fvwm/menus.c (do_menu): fixed memory leak
7519 (menu_func): miExecuteAction -> ret_action
7521 Fri May 7 00:43:44 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
7523 * utils/Makefile.am (BuildXLockMenu.1): build and distribute manpage.
7524 You will need 'pod2man' (from perl 5) to build the manpage, so don't
7525 edit BuildXLockMenu.in unless you have perl 5.
7527 Thu May 6 23:14:11 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
7529 * libs/Module.h: add fvwm_packet_t type.
7531 1999-05-07 Dominik Vogt <dominik.vogt@gmx.de>
7533 * fvwm/events.c (HandleMapRequestKeepRaised):
7534 (HandleMapNotify): only grab focus for transients when their top window
7537 * fvwm/events.c (HandleMapRequestKeepRaised): another focus fix
7539 * fvwm/misc.c (Destroy): focus returns to 'parent' of transient windows
7541 * fvwm/menus.c (MenuInteraction):
7543 (MenuInteraction): fixed destroying in dynamicpopdownaction; fixed a
7544 bug with 'selectinplace' and multiple recursive submenus with position
7545 hints (saves some CPU).
7547 * fvwm/windowlist.c (do_windowList):
7549 * fvwm/menus.c (FPopupMenu): fixed calling interactive functions in
7552 * fvwm/menus.c (PopDownMenu):
7553 (FPopupMenu): fixed dynamic 'popup' menus
7555 * fvwm/functions.c (ExecuteFunction):
7557 * fvwm/menus.c (FPopupMenu):
7559 (MenuInteraction): fixed position hints with dynamic menus
7561 * fvwm/menus.c (paint_menu_item):
7563 * fvwm/menus.h (MenuRoot): fixed right justification for menu items
7565 1999-05-06 Dominik Vogt <dominik.vogt@gmx.de>
7567 * fvwm/menus.c (paint_menu_item): hilight items without a left text too
7568 (MakeMenu): right menu item text does not draw into submenu triangles
7571 * fvwm/menus.c (FPopupMenu): dynamic menus don't need an item initially
7573 * utils/Makefile.am: make BuildXLockMenu executable
7575 * configure.in (xpm_problem): removed FvwmAudio Makefile
7577 * fvwm/menus.c (DestroyMenu): fixed 'recreate'
7578 (DestroyMenu): fixed memory leak when destroying dynamic menus
7580 * utils/BuildXLockMenu: applied documentation patch
7582 * fvwm/windowlist.c (do_windowList):
7584 * fvwm/menus.c (NewMenuRoot): use memset to initialise menu
7586 * fvwm/add_window.c (GetWindowSizeHints): accept a min width/height
7588 (GetWindowSizeHints): some more information in case of illegal
7591 1999-05-05 Dominik Vogt <dominik.vogt@gmx.de>
7593 * fvwm/events.c (HandleLeaveNotify):
7594 (HandleEnterNotify): removed debugging code
7596 * fvwm/builtins.c (Maximize): fixed unmaximizing on current page
7598 * fvwm/focus.c (DoSetFocus):
7599 * fvwm/icons.c (AutoPlaceIcon):
7600 * fvwm/builtins.c (Maximize):
7601 * fvwm/events.c (HandlePropertyNotify):
7602 (HandleMapRequestKeepRaised):
7604 use IsRectangleOnThisPage
7607 * fvwm/misc.c (IsRectangleOnThisPage): generalised version of
7610 * fvwm/windowlist.c:
7614 * fvwm/move_resize.c:
7615 * fvwm/module_interface.c:
7621 * fvwm/decorations.c:
7624 * fvwm/add_window.c:
7625 use new rectangle struct
7627 * fvwm/fvwm.h (struct rectangle): new type 'rectangle' for use with
7628 window structure, use this for 'orig', 'frame' and 'title' geometry
7630 * fvwm/stack.c: added GPL notice
7632 * fvwm/builtins.c (MaximizeWidth):
7633 (MaximizeHeight): now static
7634 (Maximize): fixed maximizing with window not fully on current page
7636 1999-05-05 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
7638 * fvwm/icons.c (Iconify): remove unnecessary EnterNotify event
7641 * fvwm/events.c (HandleEnterNotify): improve the icon title
7642 raising fix with a better understanding of what goes on:
7643 We get an EnterNotify with mode == NotifyUnGrab when fvwm releases
7644 the grab held during iconification. Now we only react to
7645 EnterNotify events with mode == NotifyNormal.
7647 * fvwm/add_window.c (GetWindowSizeHints): issue a warning
7648 if broken hints are encountered. Reset PBaseSize if base > min,
7649 to avoid problems with size - base becoming <= 0 in the aspect
7650 ratio calculations. Normalize the aspect ratios.
7653 1999-05-05 Dominik Vogt <dominik.vogt@gmx.de>
7655 * utils/BuildXLockMenu: applied patch by Mikhael Goikhman
7657 * fvwm/move_resize.c (moveLoop): fixed move/page fix
7659 1999-05-04 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
7661 * fvwm/placement.c (GetGravityOffsets): remove unnecessary
7662 check for PWinGravity. We make sure the value is valid in
7665 * fvwm/module_interface.c (CONFIGARGS):
7666 * fvwm/module_interface.c (OLDCONFIGARGS):
7667 * fvwm/module_interface.c (CONFIGARGSNEW):
7668 * fvwm/module.c (CONFIGARGS):
7669 * fvwm/module.c (OLDCONFIGARGS):
7670 * fvwm/module.c (CONFIGARGSNEW): remove unnecessary checks
7671 for PBaseSize and PResizeInc from these macros. We make sure
7672 the values are valid in GetWindowSizeHints.
7674 * fvwm/move_resize.c (ConstrainSize): remove the override_size
7675 flag handling here, since it is now done in GetWindowSizeHints.
7676 Be more ICCCM 2 compliant by applying the aspect ratio to
7677 size - base_size if the base_size is explicitly given.
7679 * fvwm/add_window.c (GetWindowSizeHints): completely rewritten.
7680 It now modifies the hints in the following way: ensure that
7681 1 <= inc, 0 <= base, 1 <= min <= max. It uses the follwing
7682 defaults: 1 for inc, min or 0 for base, base or 1 for min,
7683 MAX_WINDOW for max, NorthWest for gravity. PAspect is unset
7684 if the aspect ratios are broken. Apart from that, the flags are
7685 not changed. The override_size style is now handled here as well.
7687 1999-05-04 Dominik Vogt <dominik.vogt@gmx.de>
7689 * fvwm/fvwm2.1 (XORpixmap): comment how to turn XORpixmap off
7691 * fvwm/move_resize.c: removed debugging code
7693 * fvwm/builtins.c (SetXORPixmap): access of freed pointer fixed
7695 * fvwm/move_resize.c (moveLoop): fixed move/page bug when the button
7696 was released while the windows were being unmapped
7698 * fvwm/icons.c (AutoPlaceIcon): fixed icon palcement (Bug #319)
7699 (Iconify): fixed icon title raising bug
7701 * fvwm/events.c (HandleMapNotify): fixed focus policy (mouse focus)
7703 * fvwm/Makefile.am (fvwm2_SOURCES):
7706 * fvwm/window_flags.h: renamed gsfr.h
7708 * fvwm/add_window.c (AddWindow): fixed xterm w/ active icon
7710 * fvwm/events.c (HandlePropertyNotify): use IsWindowOnThisPage funtion
7712 Sun May 2 09:39:37 1999 DanEspen <dje@blue>
7714 * fvwm/ConfigFvwmDefaults: Alt-tab binding is now builtin.
7716 Sat May 1 10:43:55 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
7718 * fvwm/Makefile.am (fvwm2_SOURCES):
7719 * libs/Makefile.am (libfvwm_a_SOURCES):
7720 * fvwm/vpacket.h: moved to libs/vpacket.h, since this file is
7721 used only by modules.
7723 * libs/*: include Module.h rather than fvwm/module.h.
7724 * fvwm/*: include module_interface.h rather than module.h.
7726 * fvwm/Makefile.am (fvwm2_SOURCES):
7727 * fvwm/module.[ch]: renamed to module_interface.[ch], to avoid
7728 confusion with libs/Module.[ch].
7730 * libs/Makefile.am (libfvwm_a_SOURCES):
7731 * libs/Module.h: new file. Everything a module needs to know in
7732 order to talk to FVWM.
7734 Sat May 1 01:42:02 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
7736 * fvwm/session.c (LoadGlobalState): fix scanf argument. Removed
7739 1999-04-29 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
7742 * fvwm/session.c (set_sm_properties):
7743 (save_session_state): new functions split off from save_yourself2.
7744 (RestartInSession): new function used to restart fvwm under SM.
7746 * fvwm/fvwm.c (Done): rework how restarting is done under SM. The
7747 new scheme should not leak files and should not introduce
7748 unwanted checkpoints.
7750 We do the following now:
7752 1) Change the current state in .fvwm_restart
7753 and add a pointer to the previous session save file
7755 2) Change the SmRestartCommand and SmDiscardCommand
7756 to refer to .fvwm_restart and change the SmRestartStyleHint
7758 3) Exit, the SM starts us again, restoring the current state
7760 4) The new fvwm finds the pointer to the session save file
7761 and changes the SM properties back to their previous values.
7765 * libs/ModGraph.{h,c}: new function (Graphics *)CreateGraphics(void);
7766 * libs/Picture.{h,c}: new function (void)SavePictureCMap.
7767 * fvwm/builtins.c: use XFlushGC before sending look to modules,
7768 removed subliminal advertisment
7769 * libs/ModGraph.{h,c}: changed DEFGRAPHSTR for FvwmButtons
7771 1999-04-28 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
7773 * fvwm/session.c (callback_save_yourself2): set the
7774 _GSM_Priority property used by the Gnome session manager.
7775 Use SmLISTofARRAY8 for SmDiscardCommand as the protocol demands
7776 on POSIX systems, but leave the old code using SmARRAY8 in as a
7777 hack for buggy xsm. Define XSM_BUGGY_DISCARD_COMMAND to use it.
7778 (SaveWindowStates): save res_name under [RES_NAME], not res_class.
7780 * fvwm/stack.c (LowerWindow):
7782 * fvwm/screen.h (ScreenInfo): remove LastWindowRaised.
7785 * fvwm/stack.c (CanBeRaised): new function to determine if
7786 a window can be raised any further.
7788 * fvwm/events.c (HandleButtonPress):
7789 * fvwm/builtins.c (raiselower_func): use CanBeRaised instead
7790 of LastWindowRaised to determine if a window should be raised.
7794 * libs/ModGraph.{h,c}: SetWindowBackground takes width/height of window
7796 1999-04-28 Dominik Vogt <dominik.vogt@gmx.de>
7799 * fvwm/move_resize.c:
7804 * fvwm/builtins.c: use events.h
7806 * fvwm/misc.h: moved prototypes to events.h
7807 * fvwm/events.h: new file
7809 * fvwm/misc.c (Keyboard_shortcuts): moved function from move_resize.c
7813 * fvwm/add_window.c:
7817 * fvwm/events.c: include move_resize.h
7819 * fvwm/move_resize.c (InteractiveMove):
7820 * fvwm/move_resize.c (AnimatedMoveAnyWindow):
7821 * fvwm/move_resize.c (DisplayPosition):
7822 * fvwm/move_resize.c (DisplaySize): now static
7824 * fvwm/misc.h: moved all move/resize related prototypes to
7827 * fvwm/Makefile.am (fvwm2_SOURCES): add new files, remove old ones
7828 * fvwm/move_resize.h: new file for move_resize prototypes
7829 * fvwm/move_resize.c: merged move.c and resize.c into this file
7830 (resize_window): another try at resize-jump-to-border area
7832 * fvwm/misc.h: removed 'extern' from prototypes
7834 * fvwm/menus.c (menu_func): some work on repeat command for menus
7836 * fvwm/menus.c (MenuInteraction): removed #define MICRO_S_FOR_10MS
7837 (PaintEntry): function renamed to paint_menu_item
7839 * fvwm/move.c (AnimatedMoveAnyWindow): check for NULL pointer tmp_win
7840 (AnimatedMoveAnyWindow): speed up for short distances
7841 (AnimatedMoveAnyWindow): animated move can be aborted with a key or
7844 * fvwm/placement.c (PlaceAgain_func): fixed coredump
7846 * fvwm/placement.c (PlaceAgain_func):
7847 * fvwm/builtins.c (PlaceAgain_func): moved function to placement.c
7849 * fvwm/fvwm2.1: Removed previous patch (duplicate)
7851 * libs/Bindings.c (GrabWindowKey):
7852 (GrabWindowButton): don't grab buttons and keys multiple times
7854 1999-04-28 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
7856 * acinclude.m4: add AM_PATH_GDK_IMLIB from imlib.m4.
7858 * configure.in: use AM_PATH_GDK_IMLIB to check for gdk-imlib.
7860 * acconfig.h: new define IMLIB to indicate the presence
7861 of gdk-imlib (for FvwmGtk).
7863 1999-04-27 Dominik Vogt <dominik.vogt@gmx.de>
7865 * fvwm/fvwm2.1: Added hint at IgnoreModifiers default.
7869 * libs/ModGraph.{h,c}: Added GPL copyright, added SetWindowBackground()
7871 Mon Apr 26 13:02:25 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
7873 * fvwm/read.h: new file.
7874 * fvwm/read.c: split up ReadSubFunc() into smaller bits, removing
7875 a lot of hair. Created two new public interfaces,
7876 run_command_stream() and run_command_file().
7878 * fvwm/fvwm.c (main): use run_command_file to read initialization
7881 1999-04-26 Dan Espen <dane@mk.bellcore.com>
7883 * fvwm/fvwm.h: Make prototype for SigDone and Restart agree with
7884 functions in fvwm.c.
7886 Mon Apr 26 09:45:19 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
7888 * libs/ModGraph.c (ParseGraphics): change to void function, as
7889 none of the return statements return anything. Remove unused
7890 variable `junk'. Include stdio.h for sscanf() prototype.
7892 * libs/ModGraph.h: protect against multiple inclusion, correct
7893 return type of ParseGraphics.
7897 * libs/ModGraph.{h,c}: new functions InitGraphics/ParseGraphics for
7898 modules to use to make sense of the Default_graphics config message
7899 * fvwm/modconf.c: uses ModGraph.h
7901 Mon Apr 26 02:17:28 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
7903 * configure.in: add check for getpwuid.
7905 * fvwm/module.c (executeModule): skip malloc & free by using
7908 * libs/Strings.c (CatString3): dynamically allocate the buffer.
7909 Reformatted some code.
7913 * libs/Parse.h: new files.
7915 * libs/fvwmlib.h: include new headers; remove relevant prototypes.
7917 * libs/Parse.c (GetModuleResource): fix memory leak.
7919 * fvwm/read.c (ReadSubFunc):
7921 * fvwm/fvwm.h: user_home_ptr -> user_home_dir.
7923 * fvwm/fvwm.c (main): removed unused `output_file' variable. Try
7924 a bit harder (use getpwuid) to find user_home_dir.
7926 * fvwm/fvwm.c (Done): save state into user_home_dir.
7928 1999-04-25 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
7930 * fvwm/add_window.c (AddWindow): update not only the _WIN_STATE,
7931 but also _WIN_WORKSPACE and _WIN_LAYER.
7933 1999-04-24 Bob Woodside <proteus@pcnet.com>
7934 * fvwm/Makefile.am: added stack.c & stack.h.
7936 1999-04-24 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
7938 * fvwm/virtual.c (changeDesks): update number of workspaces,
7939 since it may have changed.
7940 (do_move_window_to_desk): update number of workspaces,
7941 since it may have changed. Also update the workspace of the window.
7943 * fvwm/gnome.c (GNOME_GetStyle): new function to initialize
7944 a window_style struct from GNOME hints.
7945 (GNOME_SetDeskCount): find the maximal populated desk, then
7946 use to set the number of workspaces to a reasonable value.
7948 * fvwm/style.c (lookup_style): call GNOME_GetStyle to
7949 initialize the window_style.
7950 * fvwm/add_window.c (AddWindow): initialize do_shade,
7951 do_max to 0. Don't call GNOME_GetHints before unconditionally
7952 overwriting the flags. Instead rely on lookup_styles to take
7953 GNOME hints into account.
7954 * fvwm/session.c (MatchWinToSM): don't modify do_shade,
7955 do_max unless a match was found.
7958 * fvwm/builtins.c (stick_function):
7959 (WindowShade): update gnome hints.
7961 * fvwm/fvwm.h (common_flags_type): new flag is_fixed.
7962 * fvwm/gsfr.h: and corresponding macros.
7963 * fvwm/style.c (ProcessNewStyle): new style option
7964 VariablePosition/FixedPosition to set the new flag.
7965 * fvwm/gnome.c (GNOME_GetHintState):
7966 (GNOME_SetHints): also use the is_fixed flag.
7967 * fvwm/move.c (AnimatedMoveAnyWindow):
7968 (move_window_doit): refuse to move unless is_fixed is set.
7970 * NEWS: document the new style options.
7974 * fvwm/stack.h: new files.
7975 * fvwm/events.c: move HandleUnusualStackmodes, its helper
7976 functions and ResyncFvwmStackRing to stack.c, include stack.h.
7977 * fvwm/misc.c: move RaiseWindow and LowerWindow to stack.c
7978 and BroadcastRestack to module.c.
7979 * fvwm/misc.h: remove RaiseWindow and LowerWindow.
7980 * fvwm/builtins.c: move new_layer to stack.c, include stack.h.
7981 * fvwm/add_window.c:
7984 * fvwm/icons.c: include stack.h.
7986 Fri Apr 23 17:32:45 1999 DanEspen <dje@blue>
7988 * libs/Bindings.c (AddBinding): Only add one entry to the binding
7989 table when a key generates the exact same information with more than
7992 Fri Apr 23 14:26:26 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
7994 * NEWS: note that FVWM_CONFIGDIR is now $sysconfdir/fvwm.
7996 Fri Apr 23 12:29:19 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
8000 * fvwm/events.c: include focus.h for prototypes.
8002 * fvwm/focus.c: include bindings.h for prototypes.
8004 * fvwm/events.c (HandleUnusualStackmodes): non-void functions must
8005 actually return a value.
8007 * fvwm/focus.h (IsLastFocusSetByMouse): add prototype. Also added
8008 some missing documentation for other prototypes.
8010 * fvwm/module.c (BroadcastNewPacket):
8011 * fvwm/events.c (HandleConfigureRequest):
8012 * fvwm/builtins.c (new_layer): removed unused variable.
8014 1999-04-23 Dominik Vogt <dominik.vogt@gmx.de>
8016 * fvwm/fvwm2.1: fixed manpage bug (half a line lost)
8018 * fvwm/functions.c (ComplexFunction):
8019 (execute_complex_function):
8020 (ExecuteFunction): renamed ComplexFunction2 to execute_complex_function
8021 Don't expand the command line twice when calliing a complex function
8022 without the 'Function' builtin.
8024 * libs/Parse.c (DoPeekToken): fixed parsing empty tokens
8026 1999-04-22 Dominik Vogt <dominik.vogt@gmx.de>
8028 * configure.in: changed version to 2.3.2
8030 1999-04-22 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
8032 * fvwm/gnome.c (GNOME_SetLayer): new function for updating
8035 1999-04-21 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
8037 * fvwm/virtual.c (changeDesks): call GNOME_SetCurrentDesk.
8040 * fvwm/builtins.c (new_layer): new function split off from
8041 change_layer to do the actual change.
8043 * fvwm/gnome.c (GNOME_ProcessClientMessage):
8044 implement the _WIN_LAYER client message with the new_layer
8045 function. Use the XA_ defines instead of strings.
8047 1999-04-21 Dominik Vogt <dominik.vogt@gmx.de>
8049 * fvwm/events.c (HandleUnusualStackmodes): commented out two DBUG
8050 macros with too many arguments
8052 1999-04-20 Dominik Vogt <dominik.vogt@gmx.de>
8054 * fvwm/icons.c (CreateIconWindow): use GrabAllWindowKeysAndButtons
8057 * libs/Bindings.c (GrabAllWindowKeysAndButtons):
8058 New convenience function (a bit faster if everything has to be grabbed)
8060 1999-04-21 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
8062 * fvwm/events.c (HandleConfigureRequest): rewrite the
8063 part dealing with stack_mode. Treat stack_modes != Above, Below by
8064 calling HandleUnusualStackmodes. The X protocol semantics of the
8065 various stack_modes is more or less preserved with the exception
8066 that raising/lowering are restricted to stay within the layer.
8068 (HandleUnusualStackmodes): new function implementing TopIf,
8069 BottomIf and Opposite restacking.
8072 (overlap): auxiliary routines for occlusion detection in
8073 HandleUnusualStackmodes.
8075 * fvwm/fvwm.h (common_flags_type): new flag ignore_restack.
8076 * fvwm/gsfr.h (IGNORE_RESTACK): new macro to access it.
8077 * fvwm/style.c (ProcessNewStyle): set/reset ignore_restack
8078 with the new style options AllowRestack/IgnoreRestack.
8080 * fvwm/events.c (HandleConfigureRequest): ignore stack_mode
8081 if ingnore_restack is set.
8084 * fvwm/fvwm2.1: document AllowRestack/IgnoreRestack.
8088 * libs/Picture.{c,h},fvwm/{add_window,fvwm,icons,menus}.c: Partly
8089 fixed -visual Truecolor with different depths, Client supplied
8090 icon pixmaps look ugly and XorPixmap has no effect.
8092 1999-04-20 Bob Woodside <proteus@pcnet.com>
8094 * fvwm/AUTHORS: Who-to-blame entry for module GSFR.
8096 1999-04-20 Dominik Vogt <dominik.vogt@gmx.de>
8098 * fvwm/icons.c (DeIconify):
8099 * fvwm/focus.c (FocusOn):
8103 (DoSetFocus): Focus and FlipFocus commands take 'NoWarp' as parameter
8104 to prevent warping to the desk/page the window is on
8106 1999-04-19 Dominik Vogt <dominik.vogt@gmx.de>
8108 * fvwm/icons.c (AutoPlaceIcon):
8109 Use IsWindowOnThisPage. This fixes the problem that the icon may be on
8110 a different page even if you iconified something on the current page
8113 * fvwm/builtins.c (Maximize):
8114 * fvwm/focus.c (SetFocus):
8115 * fvwm/misc.c (IsWindowOnThisPage):
8116 Implement and use service function IsWindowOnThisPage()
8118 * fvwm/events.c (HandleFocusIn):
8119 * fvwm/focus.c (IsLastFocusSetByMouse):
8120 replaced global variable lastFocusType by function
8121 IsLastFocusSetByMouse
8124 * fvwm/builtins.c (flip_focus_func):
8129 moved focus related code and prototypes to focus.[ch]
8131 * fvwm/functions.c (ExecuteFunction): fixed coredump in SILENT
8133 1999-04-18 Dominik Vogt <dominik.vogt@gmx.de>
8135 * fvwm/builtins.c (FocusOn):
8136 * fvwm/events.c (HandleEnterNotify): use HAS_MOUSE_FOCUS and
8137 HAS_SLOPPY_FOCUS instead of !HAS_CLICK_FOCUS and !HAS_NEVER_FOCUS
8139 1999-04-19 Bob Woodside <proteus@pcnet.com>
8141 * fvwm/Makefile.am: Added vpacket.h.
8145 * fvwm/module.c,modconf.c Replaced M_NEW_LOOK packet with config line:
8148 1999-04-19 Bob Woodside <proteus@pcnet.com>
8150 * fvwm/module.c: New-style variable packet building logic for GSFR -
8151 used for the M_ADD_WINDOW/M_CONFIGURE_WINDOW packets.
8152 * fvwm/module.h: Ibid.
8154 1999-04-19 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
8156 * fvwm/events.c (HandleConfigureRequest):
8157 * fvwm/icons.c (CreateIconWindow):
8159 * fvwm/misc.c (LowerWindow):
8160 (RaiseWindow): make sure icon windows are always restacked
8163 1999-04-18 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
8165 * fvwm/fvwm.h (window_flags): new flags is_icon_entered
8166 for tracking enter and leave events on iconified windows.
8167 * fvwm/gsfr.h (IS_ICON_ENTERED):
8169 (SETM_ICONIFIED_BY_PARENT): new macros to set is_icon_entered.
8170 * fvwm/icons.c (DrawIconWindow): change the logic of
8171 DrawIconWindow to show the full icon title and raise it iff
8172 the pointer is over the icon.
8173 * fvwm/events.c (HandleEnterNotify):
8174 (HandleLeaveNotify): maintain is_icon_entered and redraw the icon.
8175 * NEWS: mention the new icon behaviour.
8177 1999-04-18 Bob Woodside <proteus@pcnet.com>
8179 * fvwm/vpacket.h: new file - this should contain structure descriptions
8180 for any new-style module packets (post-GSFR) using the new, variable-
8181 length argument packet sending logic. Initially it only contains the new
8182 M_CONFIGURE_WINDOW/M_ADD_WINDOW packet.
8184 * fvwm/virtual.c: changeDesks: fixed segfault caused by use of a NULL
8187 1999-04-18 Dominik Vogt <dominik.vogt@gmx.de>
8189 * fvwm/fvwm.c (Done): removed debugging code
8191 * fvwm/builtins.c (MatchesConditionMask):
8194 renamed gsfr_flag_mask to flag_mask
8200 * fvwm/builtins.c (MatchesConditionMask):
8201 * fvwm/add_window.c (AddWindow):
8202 renamed gsfr_flags to flags
8204 * fvwm/windowlist.c:
8206 renamed file windows.c to windowlist.c
8208 1999-04-18 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
8210 * fvwm/icons.c (DrawIconWindow): implement CDE-like raising
8211 of the titles of focused icons.
8213 1999-04-17 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
8215 * fvwm/screen.h (ScreenInfo): new member for go struct:
8218 * fvwm/fvwm.c (InitVariables): initialize Scr.go.RaiseHackNeeded
8219 based on the ServerVendor string.
8221 * fvwm/misc.c (RaiseWindow): use the hack for raising over
8222 NT windows if Scr.go.RaiseHackNeeded is set.
8224 * fvwm/builtins.c (SetGlobalOptions): allow to set
8225 Scr.go.RaiseHackNeeded with the global options
8226 RaiseOverNativeWindows/IgnoreNativeWindows.
8228 * fvwm/fvwm2.1: Document the new global options
8229 RaiseOverNativeWindows/IgnoreNativeWindows.
8234 * fvwm/screen.h: remove NON_VIRTUAL.
8236 * fvwm/virtual.c (HandlePaging): ensure that HandlePaging
8237 doesn't return false unless it really did change the viewport,
8238 ie called MoveViewPort with nonzero delta_x, delta_y. The
8239 previous logic could also return true if the pointer stayed
8240 long enough on a pan frame where paging is not possible.
8242 Sat Apr 17 13:55:41 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
8244 * fvwm/module.c (SETOLDFLAGS): fixed several dozen "statements
8247 * fvwm/functions.c (ExecuteFunction): removed unused variable, add
8248 parentheses in `if' condition
8250 1999-04-17 Dominik Vogt <dominik.vogt@gmx.de>
8252 * fvwm/resize.c (resize_window): fixed resize-loosing-grip bug
8254 * fvwm/functions.c (func_config):
8255 * fvwm/functions.h (FunctionItem):
8257 added FUNC_DONT_REPEAT flag to functions structure, changed Bool
8258 f_needs_window/func_needs_window to unsigned char flags
8260 * fvwm/parse.h (enum): added F_UNDEFINED define needed by repeat
8263 1999-04-17 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
8265 * fvwm/screen.h (TOP_EDGE):
8268 (LEFT_EDGE): separate cursor types for the pan frames.
8270 * fvwm/fvwm.c (CreateCursors): initialize the _EDGE cursors
8271 to be the same as the non-_EDGE ones.
8273 * fvwm/virtual.c (initPanFrames): use the _EDGE cursors.
8275 * fvwm/builtins.c (CursorStyle): allow to change the _EDGE cursors.
8278 * NEWS: document the new cursors.
8280 1999-04-16 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
8282 * fvwm/fvwm2.1: expanded the introductory remarks on layers,
8283 documented StaysOnBottom, more detailed explanation of the
8284 override behaviour of Icon.
8286 * fvwm/windows.c (do_windowList):
8287 * fvwm/style.c (ProcessNewStyle):
8289 * fvwm/screen.h (ScreenInfo): renamed OnTopLayer -->
8290 TopLayer, StaysPutLayer --> DefaultLayer, new variable
8293 * fvwm/builtins.c (SetDefaultLayers): set all three
8294 layer variables in the Scr struct.
8296 * fvwm/style.c (ProcessNewStyle): added style option
8299 1999-04-16 Dominik Vogt <dominik.vogt@gmx.de>
8301 * fvwm/menus.c (menuShortcuts): Page up and page down work like
8302 shift-up and shift-down in menus, i.e. they jump to the start or end of
8304 (menuShortcuts): fixed up/down when pressed with the pointer outside
8307 * fvwm/repeat.c (set_repeat_data): removed fprintfs
8309 * fvwm/functions.c (DeferExecution): allow to abot DeferExecution with
8311 (ComplexFunction2): fixed use_depth
8312 (func_comp): removed temporary variables to speed things up a bit
8313 (FindBuiltinFunction): added check for " +" which is fell through the
8314 check for "+". This should save quite a bit of time with configs that
8315 indent the '+' command with a space.
8316 (FindBuiltinFunction): removed calculation of func_config table size
8317 this is a constant that can be determined at compile time. No need to
8318 store it in a static.
8319 (FindBuiltinFunction):
8320 (func_config): changed function table entries to lower case. Since most
8321 letters in config files are lower case anyway this saves some CPU
8323 (DeferExecution): ungrab cursor too when pressing escape
8325 * fvwm/repeat.c (update_last_string): function replaced with new
8326 function set_repeat_data
8328 1999-04-15 Dominik Vogt <dominik.vogt@gmx.de>
8330 * fvwm/ConfigFvwmSetup:
8331 * fvwm/ConfigFvwmDefaults:
8332 removed unnecessary duoble quotes
8336 * fvwm/module.{h,c}: Removed M_NEW_LOOK, will be a text config line
8337 * fvwm/module.h: Fixed macro MAX_MESSAGE to allow 32 message types
8338 * fvwm/module.h: renamed M_ADD_WINDOW to M_OLD_ADD_WINDOW, renamed
8339 M_CONFIGURE_WINDOW to M_OLD_CONFIGURE_WINDOW.
8340 * fvwm/module.h: added new messages M_ADD_WINDOW & M_CONFIGURE_WINDOW.
8341 * fvwm/module.c: (SendConfig/BroadcastConfig) send out old and new
8342 versions of packets to allow old modules to get the right flags.
8344 Thu Apr 15 10:50:17 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
8346 * fvwm/virtual.c (scroll): removed unused variable.
8348 * fvwm/add_window.c (GetWindowSizeHints): add parentheses to fix
8349 && vs. || precedence problems.
8353 * docs/FAQ: added stuff about start-up delays
8354 * fvwm/fvwm.c,modules.c: Changed startup processing to only count
8355 command line modules.
8357 1999-04-15 Dominik Vogt <dominik.vogt@gmx.de>
8359 * fvwm/add_window.c: fix for broken size hints
8361 * fvwm/style.c (ProcessNewStyle):
8363 * fvwm/resize.c (ConstrainSize):
8366 implemented (No)ResizeHintOverride style as a hack to make broken
8369 * fvwm/events.c (HandleButtonPress): clicktofocusclickraises raises
8370 neverfocus windows too
8372 1999-04-14 Dominik Vogt <dominik.vogt@gmx.de>
8375 * fvwm/focus.c (SetFocus):
8376 * fvwm/events.c (HandleMapRequestKeepRaised):
8378 (HandleUnmapNotify):
8379 (HandleButtonPress):
8380 * fvwm/virtual.c (changeDesks):
8381 * fvwm/builtins.c (FocusOn):
8382 * fvwm/style.c (ProcessNewStyle):
8383 * fvwm/gsfr.h (HAS_NEVER_FOCUS):
8384 * fvwm/fvwm.h (FOCUS_NEVER):
8385 Implemented NeverFocus style
8387 * fvwm/repeat.c (update_last_string): fixed memory leak
8389 * fvwm/functions.c (ExecuteFunction): fixed memory leak
8391 * fvwm/builtins.c (ReadButtonFace): fixed buffer overflow in scanf
8393 * fvwm/fvwm.c (main): moved call to getenv into if statement to make
8396 * fvwm/windows.c (do_windowList): fixed format of sprintfs: expected
8397 long but got unsigned long
8399 * fvwm/virtual.c (scroll): fixed parsing of less than 2 parameters that
8402 * fvwm/session.c (SaveWindowStates): fixed illegal parameter to fprintf
8403 (int expected but got unsigned char).
8405 * fvwm/placement.c (PlaceWindow): removed superfluous ';'
8407 * fvwm/misc.c (BroadcastRestack): reindented empty loop body for
8410 * fvwm/menus.c (MenuInteraction): reindented empty loop body for
8412 (destroy_menu): removed unused variable 'rest'
8414 * fvwm/icccm2.c (SetupICCCM2): fixed sign of printf string
8417 * fvwm/misc.c (ReapChildren): made function from macro
8419 * fvwm/builtins.c (FocusOn): removed unused variables x and y
8420 (FocusOn): removed obsolete code
8421 (add_item_to_decor): reindented empty loop body for clarity
8424 * fvwm/misc.c (NewFontAndColor): made function from macro
8426 * fvwm/borders.c (get_button_state):
8427 (change_window_color): made functions from macros
8429 * libs/Module.c (SendText): int len -> unsigned int len
8431 1999-04-14 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
8435 * fvwm/builtins.c (SetDefaultIcon):
8436 * fvwm/functions.c (func_config): Add DefaultIcon command.
8438 * fvwm/style.c (ProcessNewStyle): Change Icon style option
8439 to reset icon_name, if used without argument. Remove hack
8440 for Style * Icon foo; issue a warning about this.
8442 1999-04-13 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
8444 * fvwm/events.c (HandlePropertyNotify): Make sure disabling
8445 an active icon restores the default icon.
8447 Tue Apr 13 23:13:24 1999 DanEspen <dje@blue>
8449 * fvwm/fvwm.c (main): Read command just $HOME or $FVWM_USERHOME.
8451 * fvwm/read.c (ReadSubFunc): Read command just $HOME or $FVWM_USERHOME.
8453 * fvwm/fvwm2.1 (sub-menu): Read command just $HOME or $FVWM_USERHOME.
8455 1999-04-13 Dan Espen <dane@mk.bellcore.com>
8457 * fvwm/fvwm2.1 (Examples): fix description of IconFill default
8462 * fvwm/fvwm{.c,2.1}: implemented -visual and -visualId options.
8463 * fvwm/builtins.c: Colorlimit ignored on static colormaps.
8465 1999-04-12 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
8467 * fvwm/style.c (ProcessNewStyle): has_icon: set not only the
8468 mask, but also the flag itself. Icons reappear.
8470 * fvwm/events.c (HandlePropertyNotify): Replace was_urgent
8471 variable by old_wmhints_flags. Make sure that clients can
8472 reset their hints to `no icon' (toggling `Enable Active Icon'
8473 in xterm works now).
8477 * fvwm/fvwm.{h,c}: removed unused Scr.CornerWidth
8478 * fvwm/module.{h,c}: New functions SendLook(module) & BroadcastLook()
8479 * fvwm/builtins.c: BroadcastLook() from Xor{Value,Pixmap} and
8480 Default{Colors,Font}.
8482 1999-04-12 Dominik Vogt <dominik.vogt@gmx.de>
8484 * fvwm/fvwm.c (SetRCDefaults): removed unnecessary quoting of stlye *
8486 * fvwm/style.c (ProcessNewStyle): fixed minor parsing bug (no error
8491 * fvwm/fvwm.c (SetRCDefaults):
8492 * fvwm/events.c (HandleMapRequestKeepRaised):
8494 (HandleUnmapNotify):
8495 * fvwm/style.c (ProcessNewStyle):
8496 * fvwm/style.h (SDO_GRAB_FOCUS_TRANSIENT):
8498 * fvwm/gsfr.h (DO_GRAB_FOCUS):
8499 Implemented new style 'GrabFocusTransient'
8501 * fvwm/fvwm.h: removed old flag defines
8503 1999-04-11 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
8505 * fvwm/events.c (HandleUnmapNotify): Replace one return path
8506 with an else, to make sure the GNOME hook at the end is executed
8507 for both return paths.
8508 Call CoerceEnterNotifyOnCurrentWindow if the window being unmapped
8509 has the focus and uses GrabFocus.
8511 Sun Apr 11 09:43:09 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
8513 * configure.in (FVWM_CONFIGDIR): set to ${sysconfdir}/fvwm,
8514 as multiple config files are now installed.
8516 1999-04-11 Dominik Vogt <dominik.vogt@gmx.de>
8518 * fvwm/add_window.c (AddWindow): initialise tmp_win when malloc'd
8520 * fvwm/style.c: fixed IconFill style
8522 1999-04-11 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
8524 * fvwm/add_window.c (AddWindow): Make sure tmp_win->icon_name
8525 gets initialized before being used.
8527 Sat Apr 10 12:15:23 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
8529 * fvwm/session.c (LoadWindowStates): corrected `unsigned int
8530 format, different type arg (arg 3)' error in loading flags.
8532 1999-04-10 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
8534 * fvwm/gsfr.h (SET_FOCUS_MODE):
8535 (SETM_FOCUS_MODE): don't use !! for non-booleans.
8537 * fvwm/session.c (LoadWindowStates):
8538 (SaveWindowStates): fix loading and saving of window flags.
8540 1999-04-09 Dominik Vogt <dominik.vogt@gmx.de>
8542 * libs/Parse.c (GetNextSimpleOption):
8543 (GetNextFullOption): replaced GetNextOption with these two functions
8544 the latter one returns multiple tokens up to the next ',' while the
8545 first one only reads a single token
8547 * fvwm/gnome.c (GNOME_SetDeskNames): removed unused variable i
8550 (ProcessNewStyle): Rewrote parsing to get rid of those horrible macros.
8551 This saves 3696 bytes in the executable (gcc, i686). Macros with more
8552 than a single command should be forbidden!!!
8559 moved icon related code and definitions to icons.[ch]
8563 * fvwm/icons.c (AutoPlace): renamed to AutoPlaceIcon
8565 * fvwm/icons.h: new file
8569 added GPL copyright notice
8571 * fvwm/style.c (add_style_to_list): some speedup when using many
8574 * fvwm/add_window.c (AddWindow): replaced calloc with safemalloc
8576 * fvwm/style.c: reformatted comments
8578 * fvwm/gsfr.h (SET_ICON_OURS):
8579 * fvwm/style.c (ProcessNewStyle):
8582 * fvwm/decorations.c (SelectDecor): fixed MWM_FUNCCTIONS (maximize and
8585 * fvwm/fvwm.h (style_flags):
8586 * fvwm/style.c (ProcessNewStyle):
8588 * fvwm/style.h (SUSE_NO_PPOSITION): removed unused flags use_layer
8590 * fvwm/add_window.c (AddWindow): use macros from style.h
8592 * fvwm/style.c (ProcessNewStyle):
8595 * fvwm/fvwm.h (style_flags): removed unused flag
8596 use_start_raised_lowered
8598 * fvwm/placement.c (PlaceWindow):
8600 * fvwm/gsfr.h (DO_NOT_SHOW_ON_MAP):
8601 logic of show_on_map was reversed
8603 * fvwm/style.c (ProcessNewStyle): removed duplicate code
8605 Thu Apr 8 23:45:05 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
8607 * fvwm/Makefile.am (fvwm2_SOURCES): include gnome.c
8608 unconditionally, otherwise it doesn't make it to the distribution;
8609 it is suitably ifdef'd for compiling without GNOME enabled.
8611 * fvwm/session.c (LoadWindowStates): fixed a scanf reading
8612 unsigned int into a char*.
8614 * fvwm/session.c (SaveWindowStates): removed unused parameter to
8617 * fvwm/style.c (cmp_masked_flags): add parentheses around
8618 comparison in operand of &
8620 1999-04-08 Dominik Vogt <dominik.vogt@gmx.de>
8623 * fvwm/bindings.c (ParseBinding):
8624 function moved back to fvwm directory
8626 * fvwm/builtins.c (change_layer): modified the syntax of the 'Layer'
8627 command. 'Layer 0 -1' should no longer be used. Use 'Layer default' or
8628 simply 'Layer' instead.
8643 * fvwm/decorations.c:
8646 * fvwm/add_window.c:
8653 * fvwm/fvwm.h: activated GSFR defines
8655 * ------ begin of great-style-flag-rewrite ------
8657 * fvwm/style.c: reversed weird logic of off_flags meaning 'flag has
8669 * COPYING: changed to GPL
8673 * fvwm/add_window.c: code cleanup, removed most events from ->parent
8674 * fvwm/fvwm.c: sticky_grey_pixmap initialised for mono screens
8676 1999-04-07 Dominik Vogt <dominik.vogt@gmx.de>
8679 * fvwm/builtins.c: include style.h
8681 * fvwm/fvwm.c (InitVariables): removed initialisation of TheList
8684 * fvwm/screen.h (ScreenInfo): moved TheList to style.c (not a global
8687 * fvwm/Makefile.am (fvwm2_SOURCES): added style.h
8689 * fvwm/style.h (name_list_struct):
8690 * fvwm/style.c (LookInList):
8692 moved stuff from add_window.c/misc.h to style.[ch] where it belongs.
8694 * fvwm/styles.h: new file
8696 * fvwm/functions.c (expand): fixed parsing of empty arguments
8698 1999-04-07 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
8701 * INSTALL.fvwm: Finish the removal of the NO_SAVEUNDERS and
8702 WINDOWSHADE configure options.
8704 1999-04-07 Dominik Vogt <dominik.vogt@gmx.de>
8706 * fvwm/functions.c (expand): some clean up
8708 * fvwm/Makefile.am (fvwm2_SOURCES): added gsfr.h
8710 * configure.in: changed version to 2.3.1
8716 moved all code for Repeat command to repeat.c and repeat.h
8718 * fvwm/Makefile.am (fvwm2_SOURCES): added bindings.h, repeat.c,
8721 1999-04-06 Dominik Vogt <dominik.vogt@gmx.de>
8723 * fvwm/fvwm.c (CaptureAllWindows):
8732 * fvwm/add_window.c:
8735 * fvwm/misc.h: moved prototypes for bindings.c to bindings.h
8736 * fvwm/bindings.h: new file
8738 * fvwm/fvwm2.1 (RecaptureWindow):
8741 * fvwm/functions.c (func_config):
8742 * fvwm/builtins.c (do_recapture):
8745 made 'window' option of recapture a new command 'RecaptureWindow' for
8746 sake of consistency with RefreshWindow
8748 * fvwm/functions.c (expand): some speedup
8751 * fvwm/functions.c (ComplexFunction2):
8753 made functions static
8757 moved typedef of last_added_item_type to misc.h
8759 * fvwm/windows.c (do_windowList):
8760 * fvwm/read.c (ReadSubFunc):
8763 * fvwm/module.c (HandleModuleInput):
8764 * fvwm/menus.c (menu_func):
8766 * fvwm/fvwm.c (main):
8770 * fvwm/functions.c (repeat_function):
8772 * fvwm/events.c (HandleKeyPress):
8773 (HandlePropertyNotify):
8774 (HandleClientMessage):
8775 (HandleButtonPress):
8776 * fvwm/builtins.c (AddToDecor):
8786 use new parameter to ExecuteFunction
8787 * fvwm/functions.c (ExecuteFunction):
8788 additional input parameter: expand_cmd (suppress expanding '$...' on
8793 moved function prototypes for functions.c into functions.h
8795 * fvwm/functions.h: removed ONE_AND_A_HALF_CLICKS (unused)
8797 1999-04-05 Tomas Ogren <stric@ing.umu.se>
8799 * fvwm/{colormaps.c,events.c,fvwm.c,gnome.c,icccm2.c,misc.c,misc.h,module.c,module.h,session.c,virtual.c}:
8800 Misc function prototype fixes to make MIPSpro cc -fullwarn happy.
8802 1999-04-05 Tomas Ogren <stric@ing.umu.se>
8804 * fvwm/borders.c: #endif FOO -> #endif /* FOO */
8805 * fvwm/screen.h, fvwm/misc.h: Moved the last_added_item_type from
8806 screen.h to misc.h since that's where it's mostly used, and because
8807 misc.h is included in most .c files, but screen.h is not.
8808 * fvwm/menus.h: Changed 2 bitfields to use unsigned instead of unsigned
8809 char, now it compiles with xlc (AIX).
8811 1999-04-05 Dominik Vogt <dominik.vogt@gmx.de>
8813 * fvwm/misc.h: moved prototype of set_last_added_item out of GNOME
8816 * fvwm/builtins.c (destroy_fvwmfunc): fixed bug: '=' -> '=='
8818 * fvwm/menus.h: added prototypes for add_another_menu_item and
8821 * fvwm/fvwm.c (CaptureAllWindows): removed unused variable
8823 1999-04-04 Dominik Vogt <dominik.vogt@gmx.de>
8825 * fvwm/builtins.c (stick_function): fixed 'Stick'
8827 1999-04-05 Tomas Ogren <stric@ing.umu.se>
8829 * libs/fvwmlib.h: Be gone evil // comments in c-code
8831 Sun Apr 4 10:53:17 1999 DanEspen <dje@blue>
8833 * fvwm/FormFvwmHelp.in: New form, creates users starting configuration.
8835 * fvwm/fvwm2.1 (read): Explain new read logic, and config file
8838 * fvwm/module.c (executeModule): Export FVWM_USERHOME to modules.
8840 * fvwm/read.c (ReadSubFunc): New logic to read either from $HOME, using
8841 a leading dot, or the users config dir without the dot, or the config
8842 dir without the dot.
8844 * fvwm/fvwm.h: New extern, user_home_ptr.
8846 * fvwm/fvwm.c (SetRCDefaults): Add "read <configdir>ConfigFvwmDefaults"
8847 to builtin command table. If "FVWM_USERHOME" not already exported,
8848 FVWM_USERHOME is ".fvwm/" or "." depending on existence.
8849 Export environment variable "FVWM_USERHOME" to modules only.
8851 * fvwm/ConfigFvwmDefaults: Fvwm2 builtins in addition to the table
8854 * fvwm/ConfigFvwmSetup: Skeleton of a new users configuration.
8856 * fvwm/Makefile.am (config_DATA): Added FvwmDefaults (additions
8857 to the builtin table, FvwmSetup (based on system.fvwm2rc).
8859 1999-04-04 Dominik Vogt <dominik.vogt@gmx.de>
8861 * ------ end of my changes to move all menu code to menus.c ------
8863 * fvwm/menus.h (MenuGlobals): strunct merged into MenuInfo
8865 * fvwm/fvwm.c (InitVariables): use new MenuInfo struct
8867 * fvwm/menus.h: moved menu specific stuff from ScreenInfo struct to new
8882 * fvwm/decorations.c:
8884 removed '#include "menus.h"'
8886 * fvwm/misc.h (F_CMD_ARGS): moved macro to fvwm.h so that misc.h does
8887 not have to be included
8889 * fvwm/misc.c (GetOneMenuPositionArgument):
8890 (GetMenuOptions): moved to menus.c
8892 * fvwm/misc.h: moved all menu related stuff to menus.h
8894 * fvwm/builtins.c (add_another_item): use new function
8895 add_another_menu_item
8897 * fvwm/menus.c (add_another_menu_item): new function
8900 * fvwm/misc.c (set_last_added_item): new function
8902 * fvwm/fvwm.c (InitVariables):
8903 * fvwm/screen.h (ScreenInfo):
8905 * fvwm/menus.c (SetMenuCursor): (new function)
8907 * fvwm/builtins.c (CursorStyle):
8908 * fvwm/builtins.c (ApplyDefaultFontAndColors):
8909 moved menu functionality to menus.c
8911 * fvwm/builtins.c (ChangeMenuStyle):
8915 (GetMenuStyleIndex):
8929 * ------ begin of my changes to move all menu code to menus.c ------
8931 * fvwm/builtins.c (Recapture): "window" option allows to recapture a
8934 * fvwm/fvwm.c (CaptureAllWindows):
8935 (CaptureOneWindow): Moved code to recapture a single window into
8938 * fvwm/resize.c (resize_window): enlarged warp area in windows to 1/7
8943 * fvwm/menus.c (MakeMenu): removed SAVEUNDERS option
8946 * configure.in: removed windowshade option
8948 * fvwm/session.c: reindented file
8951 * fvwm/resize.c (resize_window):
8953 * fvwm/move.c (AnimatedMoveAnyWindow):
8956 * fvwm/gnome.c (GNOME_GetHintState):
8959 * fvwm/functions.c (func_config):
8960 * fvwm/events.c (HandleConfigureRequest):
8965 * fvwm/add_window.c (AddWindow):
8966 * fvwm/borders.c (SetBorder):
8968 removed ifdefs for WINDOWSHADE
8970 1999-04-03 Dominik Vogt <dominik.vogt@gmx.de>
8972 * fvwm/fvwm.c (main): moved DBUG message to correct place
8974 * fvwm/fvwm2.1 (Desk): renamed command to 'GotoDesk'. Old name is still
8977 * fvwm/misc.h: add new functions, sorted virtual.c entries
8979 * fvwm/builtins.c (stick_function): use do_move_window_to_desk to fix
8980 'Stick' function with desk numbers (bug #274)
8982 * fvwm/virtual.c (do_move_window_to_desk):
8983 (move_window_to_desk): move some code to do_... function
8985 * fvwm/functions.c (func_config): GotoDesk is a synonym for Desk
8988 * fvwm/functions.c (func_config):
8989 * fvwm/virtual.c (changeWindowsDesk): renamed obsolete function to new
8990 command name 'move_window_to_desk'
8992 Sun Apr 4 11:07:53 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
8994 * utils/xselection.c (paste_primary): removed unused variable.
8996 Sun Apr 4 04:04:06 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
8998 * fvwm/Makefile.am (fvwm2_SOURCES): add `session.h'
8999 * fvwm/session.h: new file for exports from session.c.
9000 * fvwm/fvwm.c: include session.h.
9002 1999-04-04 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
9004 * fvwm/fvwm.c (Done): use the session management functions
9005 to save state to $HOME/.fvwm_restart and add
9006 "-restore $HOME/.fvwm_restart" to the command exec'd for
9009 * fvwm/session.c: reorganized a bit to put only the functions
9010 in #ifdef SESSION ... #endif which actually depend on SMlib.h.
9011 (SaveWindowStates): Save window id.
9012 (LoadWindowStates): Store saved window id in Match struct.
9013 (matchWin): If Restarting is true, match by window id.
9017 * fvwm/add_window.c:
9018 * fvwm/misc.h: Remove #ifdef SESSION ... #endif protection
9019 around calls to functions which are now compiled unconditionally.
9022 * fvwm/fvwm2.1: document the new Restart functionality.
9024 Sat Apr 3 14:12:26 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
9026 * libs/Parse.c (SkipNTokens): removed unused variable.
9028 * fvwm/functions.c: removed unused variables.
9030 * fvwm/menus.c: removed unused variables, initialized variable
9033 Sat Apr 3 02:06:01 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
9035 * libs/Parse.c (XCmpToken): add function from ModParse.c
9037 * libs/fvwmlib.h: add macro FindToken from ModParse.h
9039 * libs/Makefile.am (libfvwm_a_SOURCES): removed ModParse.c and
9042 * libs/Parse.c (GetNextOption): treat comma as a `delimiter',
9043 rather than a `space'.
9045 1999-04-02 Dominik Vogt <dominik.vogt@gmx.de>
9047 * fvwm/events.c (HandlePropertyNotify): merged duplicate if statement
9049 * fvwm/icons.c (DrawIconWindow): closed unterminated comment
9051 * fvwm/add_window.c (AddWindow): temporary fix for sides/corners
9053 1999-04-01 Andrew T. Veliath <andrewtv@usa.net>
9055 * fvwm/functions.c (func_config): Make GNOMEButton uppercase.
9057 1999-04-02 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
9061 * fvwm/misc.c (RaiseWindow): Remove EXCEED_HACK, always compile
9064 1999-04-01 Dominik Vogt <dominik.vogt@gmx.de>
9066 * fvwm/resize.c (resize_window): experimental patch: warp pointer to
9067 the sides/corners when pressed near the edge (within 20 pixels)
9069 * fvwm/events.c (HandleButtonPress): clicktofocusdoesntpassclick works
9070 with no-input windows now
9072 * fvwm/builtins.c (Maximize): consider desk number when checking if
9073 window is on current page
9075 1999-04-01 Andrew T. Veliath <andrewtv@usa.net>
9077 * fvwm/builtins.c (SetDeskSize): Call GNOME_SetAreaCount.
9079 * fvwm/misc.h: Add proto for GNOME_SetAreaCount.
9081 * fvwm/Makefile.am (GNOME): If GNOME hints disabled, avoid
9082 compilation of gnome.c.
9084 * configure.in: Turn --enable-gnome into an smr_SWITCH macro and
9085 use an AM_CONDITIONAL.
9089 * fvwm/*: #define PICK_TRUECOLOR and fvwm will use a truecolor visual
9090 rather than the default.
9092 Wed Mar 31 20:32:27 1999 Steve ROBBINS <stever@bottom.bic.mni.mcgill.ca (Steve ROBBINS)>
9094 * fvwm/menus.c (menuShortcuts): removed C++-style comment.
9096 * acconfig.h (alloca stuff): moved to @BOTTOM@ section, because it
9097 depends on the definition of HAVE_ALLOCA_H. Also removed the
9098 ifndef _GNUC_; nobody knows why we can't include <alloca.h> when
9099 compiling with gcc. On the contrary, this file provides a
9100 prototype for alloca() which is a good thing.
9102 1999-04-01 Tomas Ogren <stric@ing.umu.se>
9104 * fvwm/move.c (moveLoop): Fixed typo: window_being_moved ->
9105 window_being_moved_opaque
9107 1999-04-01 Dominik Vogt <dominik.vogt@gmx.de>
9109 * fvwm/events.c (HandleButtonPress): any modifier works with
9112 * fvwm/menus.c (menuShortcuts): fixed coredump in multiple hotkeys and
9113 fixed problem with exactly two identical hotkeys where one was the
9114 first or last item of the menu
9116 1999-03-31 Dominik Vogt <dominik.vogt@gmx.de>
9118 * fvwm/fvwm2.1 (ButtonStyle): documented MWMDecorShade
9120 * fvwm/decorations.c (SelectDecor):
9121 * fvwm/borders.c (DrawButton):
9122 * fvwm/screen.h: added a MWMDecorShade button style (looks like max but
9123 is shown when the mwm hints would show a minimize button)
9125 * fvwm/builtins.c (Maximize): Unmaximizing a window on the current page
9126 always maps the window on the current page.
9129 * fvwm/virtual.c (MoveViewport):
9130 * fvwm/fvwm.h (FvwmWindow):
9131 * fvwm/move.c (moveLoop): fixed window moving with the outline over
9134 1999-03-31 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
9137 * fvwm/icccm2.c (SetupICCCM2): add parameter replace_wm.
9138 Don't replace running wm unless replace_wm is nonzero.
9140 * fvwm/fvwm.c (main): call SetupICCCM2 with a boolean parameter
9141 which is set if the command line argument "-replace" is given.
9143 * fvwm/fvwm.c (usage): add -replace, -clientId and -restore.
9146 * fvwm/fvwm2.1 (ICCCM COMPLIANCE):
9147 * fvwm/fvwm2.1 (OPTIONS): document -replace and possible problems.
9149 * fvwm/move.c (moveLoop): only set window_being_moved for
9150 opaque moves, since setting it for rubberband moves makes
9151 the window behave like a sticky window.
9153 * fvwm/virtual.c (MoveViewport): fix a typo: there was a
9155 1999-03-31 Dominik Vogt <dominik.vogt@gmx.de>
9158 * fvwm/decorations.c (check_allowed_function):
9159 (check_allowed_function2): removed
9161 * fvwm/builtins.c (Maximize):
9165 (close_function): use check_if_function_allowed
9167 * fvwm/decorations.c (check_if_function_allowed): modified function to
9168 make it independent of menu code
9170 * fvwm/menus.c (PaintEntry): fixed hilighting greyed out items
9172 * libs/Bindings.c (ParseBinding): fixed uninitialised memory reads
9174 * fvwm/functions.c (update_last_string): fixed freeing unallocated
9177 1999-03-31 Dan Espen <dane@mk.bellcore.com>
9179 * fvwm/Makefile.am (fvwm2_SOURCES): gnome.c listed twice.
9181 1999-03-30 Dominik Vogt <dominik.vogt@gmx.de>
9183 * fvwm/functions.c: sorted functions
9186 * fvwm/functions.c (func_config):
9187 (repeat_function): new 'Repeat' function
9189 * fvwm/builtins.c (Maximize):
9190 * libs/Parse.c (PeekToken): changed PeekToken function to return token
9191 and set new string pointer via parameters
9195 * fvwm/functions.c (DeferExecution):
9196 (ExecuteFunction): added some debugging code to force a coredump if
9197 tmp_win is accessed in functions that don't use DeferExecution (which
9198 is illegal: if they need a window they have to make sure they got one).
9199 (expand): added 'noexpand' command prefix
9201 * fvwm/functions.c (DeferExecution): Check *tmp_win for non-NULL
9202 instead of tmp_win. Caused a coredump.
9204 Tue Mar 30 20:54:15 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
9206 * fvwm/menus.c (menuShortcuts): bugfix `if ( countHotkey = 1 )'
9207 --> `if ( countHotkey == 1 )'.
9209 * fvwm/fvwm.c (main): exit after processing -version option. Make
9210 `vizinfo' conditional on PICK_TRUECOLOR.
9211 * fvwm/fvwm.c (usage): call exit().
9213 1999-03-31 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
9215 * fvwm/virtual.c (MoveViewport): fix a typo: there was a
9216 reference to t left in the t1-part of the double loop. This
9217 caused strange behaviour when moving across page boundaries.
9219 1999-03-30 Tomas Ogren <stric@ing.umu.se>
9221 * fvwm/gnome.c: Missing file from the Gnome patch...
9222 * fvwm/Makefile.am: Added gnome.c
9224 1999-03-30 Dominik Vogt <dominik.vogt@gmx.de>
9226 **/*: applied Gnome patch by Jay Painter
9228 1999-02-07 Michael Han <mikehan@best.com>
9230 * fvwm/menus.c (menuShortcuts): Changed the hotkey handler from a flat
9231 once-over the menu to a "smarter" search that locates the next match
9232 and distinguishes between unique and non-unique hotkeys, doing a
9233 MENU_NEWITEM selection for non-uniques and retaining existing behavior
9235 (AddToMenu): Commented out checks to prevent binding of duplicate
9236 hotkeys for what I think are obvious reasons.
9237 (FHotKeyUsedBefore): Noted that this function is now
9239 1999-03-30 Dominik Vogt <dominik.vogt@gmx.de>
9241 * fvwm/menus.c (AddToMenu):
9243 (menuShortcuts): applied multiple menu hotkey patch by Mike Han
9245 * libs/Bindings.c (ParseBinding): removed UMR
9249 * fvwm/*: First attempt at getting fvwm to use non-default visual,
9250 #define PICK_TRUECOLOR to turn it on.
9252 1999-03-29 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
9254 * fvwm/misc.c (RaiseWindow):
9255 (LowerWindow): Fix oversight in raising/lowering icons:
9256 icon_pixmap_w wasn't treated.
9260 * fvwm/{builtins,colors,fvwm,icccm2,menus}.c: All GC's are now created
9261 from Scr.NoFocusWin which could have a non-default Visual is somebody
9262 coded a -visual option. ICCCM2 stuff uses NoFocusWin rather than
9263 creating another hidden window.
9265 1999-03-29 Dominik Vogt <dominik.vogt@gmx.de>
9267 * fvwm/fvwm.c (SetRCDefaults): changed back to MouseFocus as default
9269 Mon Mar 29 01:02:40 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
9271 * fvwm/fvwm2.1: removed duplicated IconPath, fixed missing italic
9274 Sun Mar 28 22:09:12 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
9276 * libs/Parse.c (NukeToken): removed errant semicolon.
9278 * fvwm/module.h: prototyped PositiveWrite.
9280 * fvwm/fvwm.c: added `unused' attribute to sccsid to quiet gcc
9283 * fvwm/virtual.c (get_page_arguments):
9284 * fvwm/builtins.c (Maximize):
9285 * fvwm/borders.c (SetBorder):
9286 * fvwm/bindings.c (ignore_modifiers):
9287 * libs/Bindings.c (GrabWindowButton): removed unused variables.
9289 * libs/fvwmlib.h: add prototype for GrabAllWindowButtons.
9291 * libs/Bindings.c (find_context): rewrote since variable `tmp1'
9292 was used uninitialized.
9294 Sun Mar 28 17:56:27 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
9296 * libs/Picture.c: removed $Id from comment; avoids unnecessary
9297 rebuilds after a cvs commit.
9299 Sun Mar 28 15:42:30 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
9301 * libs/Strings.c (stripcpy): add 'const' qualifier to 'char*'
9304 * fvwm/builtins.c (imagePath_function, iconPath_function,
9305 pixmapPath_function, setModulePath): change to new setPath().
9307 * libs/Picture.c (SetImagePath): use new setPath() internally.
9310 * libs/System.c (setPath): new function. Sets a colon-separated
9311 path variable, e.g. ImagePath and ModulePath. Expands environment
9312 variables, and expands + to be the previous value of the path.
9314 * fvwm/fvwm2.1: rewrote ImagePath and ModulePath entries to
9315 document the '+' expansion.
9317 Sun Mar 28 11:44:29 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
9319 * fvwm/Makefile.am (AM_CFLAGS): move '-D' flags for FVWM_MODLEDIR
9320 and FVWM_LIBDIR to this variable and removed the special build
9321 rules for builtins.c, fvwm.c, and read.c; the special rules
9322 prevented automake's dependency-tracking from working
9324 * acconfig.h (FVWMRC): moved filename suffix symbol FVWMRC here.
9326 1999-03-28 Dominik Vogt <dominik.vogt@gmx.de>
9328 * fvwm/fvwm2.1: Removed obsolete doublequotes from many examples
9330 * libs/Parse.c (CopyToken): fixed quoting with backslashes
9332 * fvwm/module.c (executeModule): fixed coredump (empty action and
9333 REMOVE_EXECUTABLE_EXTENSION defined)
9335 * fvwm/fvwm2.1 (GrabFocus): documented syntax change
9337 * fvwm/style.c (ProcessNewStyle): ClickToFocus implies GrabFocus,
9338 MouseFocus and SloppyFocus imply GrabFocusOff
9340 * fvwm/fvwm2.1 (Mouse): syntax update ('l' allowed as a modifier).
9342 * fvwm/bindings.c (ignore_modifiers): use ParseModifiers from library
9344 * libs/Bindings.c (win_contexts): allow function key names in 'Key'
9345 command to be lower case.
9346 (key_modifiers): caps-lock is now an allowed modifier
9348 * fvwm/bindings.c (mouse_binding):
9350 (activate_binding): Key and mouse bindings are activated immediately
9351 now. No need for racapture anymore.
9353 * fvwm/icons.c (GrabIconButtons):
9354 * fvwm/add_window.c (GrabButtons): remove terribly redundant code
9355 (GrabButtons): moved functionality into library
9357 * fvwm/fvwm2.1 (Examples): added a warning about performance downgrade
9359 * fvwm/bindings.c (key_binding): grab new keys immediately, don't wait
9362 * libs/Bindings.c (GrabWindowKey):
9363 (GrabAllWindowKeys): new functions to handle bindings
9365 * fvwm/icons.c (GrabIconKeys):
9366 * fvwm/add_window.c (GrabKeys): functionality moved into library
9368 1999-03-27 Dominik Vogt <dominik.vogt@gmx.de>
9370 * fvwm/events.c (HandleButtonPress): fixed bug in title button drawing
9372 * --- end of changes to move binding code into fvwmlib ---
9374 * fvwm/functions.c (func_config): use key_func/mouse_func instead of
9377 * fvwm/icons.c (GrabIconButtons):
9379 * fvwm/events.c (HandleButtonPress):
9381 * fvwm/add_window.c (GrabKeys):
9382 (GrabButtons): use new Bindings module in fvwmlib
9385 * fvwm/menus.h (Binding): moved typedef to fvwmlib.h
9388 * fvwm/fvwm.h: move context macros into fvwmlib
9390 * libs/Makefile.am: added Bindings.c
9392 * libs/Bindings.c: new file
9394 * --- begin of changes to move binding code into fvwmlib ---
9396 1999-03-27 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
9398 * fvwm/move.c (moveLoop): don't send synthetic
9399 ConfigureNotify containing wrong size information when
9400 moving icons. This caused xterms to think they're 48x48
9401 after moving their icon and deiconfying them.
9403 1999-03-26 Steven Michael ROBBINS <stever@jeff.cs.mcgill.ca>
9405 * fvwm/builtins.c (SetXOR): added missing semicolon.
9407 1999-03-26 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
9409 * fvwm/misc.c (RaiseWindow): add a hack to raise *all* windows
9410 while keeping their stacking order; I hope this helps with
9411 Exceed and native windows. Someone with access to an Exceed
9412 X Server has to replace the XFree vendor id by the Exceed
9413 vendor id - I don't know it.
9415 * configure.in (EXCEED_HACK): New flag to protect the above hack.
9416 It defaults to `off'.
9421 * fvwm/screen.h: moved 6 globalopts ints into Scr.go bitfield
9423 1999-03-23 Dominik Vogt <dominik.vogt@gmx.de>
9425 * fvwm/events.c (HandleButtonPress): fixed border drawing and button
9428 1999-03-24 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
9430 * fvwm/resize.c (resize_window):
9431 * fvwm/builtins.c (Maximize):
9432 * fvwm/add_window.c (AddWindow):
9433 * fvwm/session.c (SaveWindowStates):
9434 * fvwm/events.c (HandleConfigureRequest):
9435 * fvwm/borders.c (SetBorder): Change orig_x/orig_y to absolute coords.
9437 * fvwm/builtins.c (Maximize): Unmaximize to the same
9438 absolute position as before (unless we're sticky).
9440 * fvwm/events.c (HandleMapRequest): While in startup,
9441 handle map request by just mapping the window, decorations
9444 1999-03-22 Dominik Vogt <dominik.vogt@gmx.de>
9447 * fvwm/fvwm.h: fixed order of window flags
9449 1999-03-24 Bob Woodside <proteus@pcnet.com>
9451 * fvwm/add_window.c: Reuse FvwmWindow structure on Recapture.
9452 * fvwm/events.c: Ibid.
9453 * fvwm/fvwm.c: Ibid.
9454 * fvwm/fvwm.h: Ibid.
9455 * fvwm/misc.c: Ibid.
9456 * fvwm/misc.h: Ibid.
9458 1999-03-23 Dan Espen <dane@mk.bellcore.com>
9460 * libs/Parse.c (GetSuffixedIntegerArguments): Correctly initialize
9461 "suffixes" variable to correct a UMR detected by Purify.
9462 (DoPeekToken): Made tmptok static since its address is being
9463 returned. This is probably not the right way to fix this.
9464 (GetSuffixedIntegerArguments): Remove extra code from suffixlist
9467 1999-03-23 Tomas Ogren <stric@ing.umu.se>
9469 * libs/Parse.c (GetIntegerArguments): When chaining functions, please
9470 remember to pass along the return-value all the way out..
9472 1999-03-22 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
9474 * fvwm/add_window.c (LookInList): Initialize layer to
9475 Scr.StaysPutLayer. This means that windows without any
9476 layer-setting style option (StaysOnTop/StaysPut/Layer) are put in
9477 the same layer as those with explicit StaysPut.
9479 1999-03-22 Dominik Vogt <dominik.vogt@gmx.de>
9481 * fvwm/misc.c (GetMenuOptions): another try to fix the UMR
9483 * libs/Parse.c (GetSuffixedIntegerArguments): fixed UMR
9485 * fvwm/builtins.c (Maximize):
9487 (MaximizeWidth): applied patch for maximize (maximize until another
9489 (Maximize): changed syntax: use 'grow' instead of '-1'
9492 * libs/Parse.c (CmpToken): duplicate function removed (same as
9494 (DoGetNextToken): rewritten to use new DoPeekToken, SkipSpaces and
9496 (MatchToken): use new DoPeekToken fuction
9497 (CopyToken): new function - use with care
9498 (SkipSpaces): new function
9499 (DoPeekToken): new function replaces PeekToken
9500 (SkipNTokens): use new PeekToken function
9501 (CheckNTokens): new function to check if there are N more tokens.
9503 * fvwm/menus.c (do_menu): fixed bug that caused menus to believe they
9504 were doubleclicked from title buttons
9506 * fvwm/fvwm2.1: adapted iconify examples to new syntax
9508 * fvwm/bindings.c (CheckBinding): return True if a binding was executed
9509 * fvwm/events.c (HandleKeyPress): fixed bindings (key/mouse events not
9510 eaten up when a binding matches)
9511 (HandleButtonPress): fixed title bar button drawing but may break
9514 1999-03-21 Dominik Vogt <dominik.vogt@gmx.de>
9516 * fvwm/misc.c (GetMenuOptions): tried to fix UMR in GetMenuOptions
9518 1999-03-22 Dan Espen <dane@mk.bellcore.com>
9520 * fvwm/fvwm2.1 (Example): Colorlimit cutoff point now 21 bits.
9522 * fvwm/builtins.c (SetColorLimit): Adjusted colorlimit cutoff point
9525 1999-03-21 Dominik Vogt <dominik.vogt@gmx.de>
9527 * fvwm/builtins.c (SetBorderStyle): fixed coredump with whitespace
9528 behind an opening parenthesis
9529 (ReadTitleButton): dito
9531 * sample.fvwmrc/new-features: removed illegal option 'Solid' from
9532 BorderStyle examples.
9534 * fvwm/bindings.c (CheckBinding): fixed bindings to mouse button '0'
9536 * fvwm/virtual.c (scroll): applied Scroll command fix by Keith Pomakis.
9537 (get_page_arguments): fixed bug in new syntax
9540 * fvwm/events.c (HandleMapRequestKeepRaised):
9541 * fvwm/style.c (ProcessNewStyle):
9542 * fvwm/fvwm.h (FvwmWindow):
9543 * fvwm/add_window.c (AddWindow): implemented GrabFocus/GrabFocusOff
9544 style (default is GrabFocus Off)..
9546 * fvwm/fvwm2.1 (IgnoreModifiers): documented new command
9547 (WindowShade): updated new toggling syntax
9550 * fvwm/functions.c (func_config): new command IgnoreModifiers (based on
9551 patch by Benoit TRIQUET <benoit@adsl-216-100-248-201.dsl.pacbell.net>)
9553 * fvwm/focus.c (SetFocus):
9554 * fvwm/add_window.c (GrabButtons):
9555 (GrabKeys): use MaskUsedModifiers and GetUnusedModifiers instead of
9556 global mods_used and LockMask
9558 * fvwm/bindings.c (GetUnusedModifiers):
9559 (MaskUsedModifiers):
9560 (CheckBinding): new function for binding handling
9562 * fvwm/events.c (HandleKeyPress):
9563 (HandleButtonPress): moved binding checking code to bindings.c
9565 * fvwm/builtins.c (stick_function): fixed bug in Stick function (could
9566 only turn sticky off)
9568 * fvwm/fvwm2.1 (GotoPage):
9569 * fvwm/fvwm2.1 (MoveToPage): documented new syntax
9571 * libs/Parse.c (GetSuffixedIntegerArguments): added function for
9572 parsing integer arguments with suffixes
9574 * fvwm/fvwm2.1 (Examples): documented new options for MoveToPage and
9577 1999-03-20 Dominik Vogt <dominik.vogt@gmx.de>
9579 * fvwm/move.c (move_window_doit):
9580 * fvwm/virtual.c (get_page_arguments):
9582 * fvwm/misc.h: implemented a 'previous page' option for GotoPage and
9583 MoveToPage functions (original patch by Nagi Aboulenein). Negative page
9584 numbers refer to the lowest or rightmost page. The suffix 'p' indicates
9587 * fvwm/menus.c (DrawTrianglePattern): applied menu triangle patch for
9588 low resolutions by Adam Rice <wysiwyg@glympton.airtime.co.uk>
9590 Sun Mar 21 10:29:40 1999 DanEspen <dje@blue>
9592 * NEWS: Updates on form pasting, ImagePath adding, ColorLimit.
9594 * libs/Picture.c (SetImagePath): Add to the existing image path.
9596 * fvwm/fvwm2.1 (ImagePath): Indicate that ImagePath adds to the front
9597 of the image path. Document that there is a builtin image path.
9599 1999-03-21 Tomas Ogren <stric@ing.umu.se>
9601 * fvwm/builtins.c: Maximize can now expand until hitting some other
9602 window (with the arg(s) -1). Ideas taken from enlightenment.
9603 * fvwm/builtins.c: Fixed various compiler warnings.
9605 1999-03-21 Tomas Ogren <stric@ing.umu.se>
9607 * fvwm/builtins.c: Fixed various compiler warnings.
9609 Sat Mar 20 15:22:02 1999 DanEspen <dje@blue>
9611 * fvwm/builtins.c (SetColorLimit): Ignore ColorLimit if display
9612 depth exceeds 8 bits.
9614 * fvwm/fvwm2.1 (Example): Describe new behavior, colorlimit does
9615 nothing on display depths greater than 8, else new default is 255.
9617 * fvwm/fvwm.c (InitVariables): If screen depth is 8 bits or less,
9618 automatically colorlimit.
9620 * fvwm/fvwm2.1 (id): remove FvwmTalk
9622 * configure.in (xpm_problem): remove FvwmTalk
9624 1999-03-20 Dominik Vogt <dominik.vogt@gmx.de>
9626 * fvwm/move.c (moveLoop):
9627 * fvwm/virtual.c (MoveViewport): fixed a bug that caused a window
9628 that was being moved to flicker back to its original position when it
9629 was moved over the screen edge e.g. with EdgeScroll 10 10
9631 * fvwm/events.c (HandleEnterNotify):
9632 * fvwm/resize.c (resize_window):
9633 * fvwm/move.c (moveLoop): changes for new version of HandlePaging
9635 * fvwm/virtual.c (HandlePaging): rewrote HandlePaging to return
9636 immediately so resize or move can continue when the pointer is on the
9639 1999-03-16 Dominik Vogt <dominik.vogt@gmx.de>
9641 * fvwm/fvwm2.1: documented inability to bind something to the corners
9642 of a naked transient
9644 * fvwm/events.c (HandleButtonPress): fixed bug: naked transients can't
9645 have functions bound to the frame with MouseFocusClickRaises.
9648 * configure.in: sorted options
9650 1999-03-19 Andrew T. Veliath <andrewtv@usa.net>
9655 (add_item_to_decor): Fix state changes to keep `+' happy.
9656 (SetButtonFlag): Reindent and make more readable.
9658 1999-03-19 Tomas Ogren <stric@ing.umu.se>
9660 * fvwm/fvwm2.1: Fixed some *roff tyops
9662 1999-03-18 Paul D. Smith <psmith@gnu.org>
9664 * libs/Module.c (SendText): Rewrite to work on RISC architectures
9665 where you can't dereference non-aligned pointers as ints.
9667 * configure.in: Use AC_FUNC_ALLOCA to test for alloca() support.
9668 * acconfig.h: Add boilerplate to initialize alloca() properly for
9670 * libs/Makefile.am (libfvwm_a_LIBADD): Add alloca.o to the libfvwm
9671 library if necessary.
9672 * fvwm/events.c (DispatchEvent): If we're using the C version of
9673 alloca, call alloca(0) to clean up.
9677 * fvwm/{fvwm2.1,builtins.c} WindowShadeAnimate takes a'p' suffix to
9678 mean pixels for the step size.
9679 * fvwm/{screen.h,{builtins,fvwm,session}.c} New GlobalOpt:
9680 WindowShadeShrinks (with default WindowShadeScrolls) for oclock
9681 * fvwm/{fvwm{2.1,.h},builtins.c} Patch from Neil Bird to add conditions
9682 to the WindowId command.
9684 1999-03-17 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
9686 * fvwm/builtins.c (CursorStyle):
9688 * NEWS: enhance CursorStyle to allow specification of cursor
9689 colors and creating cursors from pixmaps.
9691 1999-03-17 Tomas Ogren <stric@ing.umu.se>
9693 * fvwm/add_window.c fvwm/borders.c fvwm/builtins.c fvwm/events.c
9694 fvwm/icons.c fvwm/misc.h fvwm/move.c fvwm/resize.c fvwm/virtual.c:
9695 Added one argument to SetupFrame, which is only used when shading to
9696 avoid windows with size -2 etc..
9698 Wed Mar 17 06:42:10 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
9700 * INSTALL.fvwm: add a note about include directories for optional
9703 1999-03-17 Bob Woodside <proteus@pcnet.com>
9705 * docs/fvwm.lsm: corrected a couple of typos that prevented the LSM
9706 from accepting the entry.
9708 Wed Mar 17 00:09:32 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
9710 * fvwm/modconf.c (SendDataToModule): fixed stupid off-by-one error
9711 that caused a stack smash.
9713 1999-03-17 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
9715 * fvwm/module.c (KillModule): remove spurious debug message.
9717 1999-03-16 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
9719 * fvwm/misc.h (name_list_struct): add starts_lowered and
9720 has_starts_lowered to tmpflags bitfield.
9721 * fvwm/add_window.c (AddWindow):
9722 * fvwm/style.c (ProcessNewStyle): implement
9723 StartsLowered/StartRaised style flags.
9725 * fvwm/fvwm2.1: document StartsLowered/StartsRaised.
9727 * fvwm/icccm2.c (HandleSelectionClear): remove spurious fvwm_msg.
9729 * fvwm/misc.h (name_list_struct): add flag has_layer in a new
9731 * fvwm/style.c (ProcessNewStyle): set has_layer.
9732 * fvwm/add_window.c (merge_styles): use has_layer.
9734 1999-03-16 Tomas Ogren <stric@ing.umu.se>
9736 * modules/FvwmGtk/Makefile.am: Added GTK_CFLAGS and friends, the
9737 values we got from autoconf...
9741 * fvwm/builtins.c,functions.c,misc.h,parse.h: applied Replace
9742 patch from Trent Piepho <xyzzy@u.washington.edu> first posted in
9743 Nov 1996. Changed the name to PlaceAgain to avoid confusion.
9745 Mon Mar 15 22:17:04 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
9747 * fvwm/fvwm.c (SetRCDefaults): add "Exec xterm" to builtin menu.
9748 Very handy for the times that you f*@# up an install by forgetting
9749 to install a config file.
9751 1999-03-15 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
9753 * libs/Module.c (SendText): Send packets atomically in order
9754 to avoid fvwm accidentially killing a module after reading the
9755 first word of the packet too fast.
9757 * acinclude.m4: include gtk.m4 in order to make rebuilding
9758 on gtk-less hosts less error-prone.
9760 1999-03-13 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
9762 * fvwm/module.c (SendStrToModule): Make sure fvwm doesn't hold
9763 any grabs while sending strings to modules. This is necessary for
9764 implementing menus in modules.
9766 1999-03-14 Dominik Vogt <dominik.vogt@gmx.de>
9768 * utils/fvwmrc_convert: applied MenuStyle patch
9770 * fvwm/events.c (HandleButtonPress): fixed ClickToFocus
9772 Sat Mar 13 15:12:37 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
9774 * configure.in: add entry for modules/FvwmCommand/scripts/Makefile.
9776 Sat Mar 13 11:04:48 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
9778 * configure.in: added check for perl. Re-ordered to put tests for
9779 optional libraries near the beginning, so we can fail early if
9780 desired library is not found.
9782 * acinclude.m4 (smr_ARG_WITHINCLUDES): removed `unset', as it is
9783 said to be unportable.
9785 1999-03-13 Steven Michael ROBBINS <stever@jeff.cs.mcgill.ca>
9787 * vms/*: updates from Fabien.
9789 1999-03-12 Steven Michael ROBBINS <stever@jeff.cs.mcgill.ca>
9791 * fvwm/borders.c (SetBorder): removed text following #endif, as it
9792 violates the ANSI C standard (or so claims SGI cc).
9794 1999-03-12 Dominik Vogt <dominik.vogt@gmx.de>
9796 * fvwm/menus.c (DoMenusOverlap): fixed menu animation bug
9798 1999-03-11 Dominik Vogt <dominik.vogt@gmx.de>
9800 * fvwm/events.c (HandleButtonPress): fixed bug with <shift> being
9801 treated differently than the other modifiers when using ClickToFocus.
9805 * fvwm/borders.c (SetBorder): rewritten the frame drawing code to
9806 restore FvwmBorder style look. Resize handles are now InputOnly
9807 windows and all border drawing happens in FvwmWindow->frame. Less code
9808 and makes "BorderStyle DGradient" feasible.
9809 * libs/Graphics.c: fixed memory leak
9811 Fri Mar 12 08:51:09 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
9813 * libs/Graphics.c (RelieveWindowGC): replaced dynamic array size
9814 with explicit malloc() call.
9815 * fvwm/menus.c (menuShortcuts): removed cast on lvalue.
9816 Both problems noted by Fabien Villard.
9818 1999-03-11 Dominik Vogt <dominik.vogt@gmx.de>
9820 * fvwm/functions.h: removed ONE_AND_A_HALF_CLICKS
9821 * fvwm/functions.c (ComplexFunction2): applied fix for click vs.
9822 doubleclick distinction by Dan D Niles, removed ONE_AND_A_HALF_CLICKS
9824 * fvwm/fvwm.c (Done): print system error message if Restart fails
9826 * fvwm/fvwm2.1 (Restart): updated syntax
9828 * fvwm/fvwm.c (Done): Suppress error message when Restart is used
9829 without arguments, just restart fvwm
9831 * utils/fvwmrc_convert: patches by Julian Gilbey
9833 * fvwm/menus.c (menuShortcuts): applied patch: convert menu shortcuts
9834 to lowercase before comparing with hotkey
9836 * fvwm/fvwm2.1 (viewport): added hint about newline quoting
9838 1999-03-10 Dominik Vogt <dominik.vogt@gmx.de>
9840 * fvwm/fvwm2.1 (Popup): clarification on recursive menus
9842 * fvwm/menus.c (MenuInteraction): fixed PopupAsSubmenu option;
9843 definitely should test my code before committing
9845 * fvwm/fvwm2.1: updated manpage for below options
9847 * fvwm/builtins.c (NewMenuStyle): added 'PopupAsRoot' and
9848 'PopupAsSubmenu' options to MenuStyle
9850 * fvwm/menus.h: added MenuStyle flag PostPopupAsRoot
9852 * fvwm/functions.c (ComplexFunction2): fixed positional parameters in
9857 * fvwm/events.c (DispatchEvent) clears the rubber band outline
9858 before processing the event.
9860 Wed Mar 10 10:52:31 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
9862 * vms/*: files specific to the VMS port, courtesy of Fabien Villard.
9864 * fvwm/module.c (executeModule): put ifdef around exit() if child
9865 fails to exec the module binary. Apparently VMS doesn't actually
9866 spawn a child process unless the exec() call succeeds. Calling
9867 exit after fork() returns 0 will exit the parent! Search for
9868 executables ending with EXECUTABLE_EXTENSION, and optionally
9869 remove the extension before exec().
9871 * fvwm/fvwm.c (main): put ifdef around setting close-on-exec for
9872 the X11 file descriptor. DecWindows returns an event flag instead
9873 of a file descriptor in the fd field of the Display structure.
9875 * acconfig.h: add preprocessor symbols HAVE_X11_FD,
9876 FORK_CREATES_CHILD, EXECUTABLE_EXTENSION, and
9877 REMOVE_EXECUTABLE_EXTENSION to support the above. All are set to
9878 suitable values for unix semantics.
9880 Tue Mar 9 22:14:25 1999 Steve ROBBINS <stever@osric.bic.mni.mcgill.ca>
9882 * extras: removed. Copied former 'extra' modules FvwmCommand,
9883 FvwmConsole, FvwmDebug, FvwmScript, FvwmTaskBar, and FvwmWharf to
9884 the modules directory. Removed the other extra modules FvwmConfig
9885 (author's documentation says it is "braindead" and he "discourages
9886 its use"), FvwmGoodStuff (obsoleted by FvwmButtons), FvwmPipe
9887 (similar functionality is obtained using FvwmCommand), fvwmperl
9890 * extras/ChangeLog: added to end of modules/ChangeLog.
9892 Tue Mar 9 18:00:22 1999 Steve ROBBINS <stever@osric.bic.mni.mcgill.ca>
9894 * configure.in (readline): check for readline/history.h, rather
9895 than readline/readline.h. Some packages install the latter, but
9896 not the former, but both are required if FVWM is to use readline.
9897 Also tell user why we are checking for readline twice.
9899 1999-03-09 Dominik Vogt <dominik.vogt@gmx.de>
9902 * fvwm/menus.c (FindPopup):
9903 * fvwm/functions.c (ComplexFunction2):
9905 Removed harmful GetNextToken from FindPopup and FindFunction. This is
9906 done before these functions are called now. (Bug found by Julian
9909 * utils/fvwmrc_convert: applied patch by Julian Gilbey
9911 * fvwm/fvwm2.1 (AddToFunc): description of below patch
9913 * fvwm/functions.c (expand): Added special variables $x and $y for
9914 complex functions. These expand to the x and y coordinates of
9915 the viewport. (Patch by Will French <wfrench@interport.net>)
9917 * fvwm/functions.c (IsClick): first click in function does not time out
9918 (ComplexFunction2): Do not assume 'Move' operation if the button has
9919 not been released within Scr.ClickTime. Just wait for the ButtonRelease
9920 before making the decision.
9922 1999-03-08 Dominik Vogt <dominik.vogt@gmx.de>
9924 * fvwm/read.c (ReadFile): use F_CMD_ARGS
9928 * libs/Graphics.c New function RelieveWindowGC() - draws relief lines
9929 of arbitrary thickness around a rectangle.
9931 1999-03-07 Tomas Ogren <stric@ing.umu.se>
9933 * fvwm/resize.c, fvwm/move.c, fvwm/virtual.c: Removed some extra ;'s
9934 which belongs in a prototype, not the actual function declaration.
9935 * fvwm/virtual.c (changeWindowsDesk): s/t/tmp_win/ .. since that's
9936 what the function gets as argument.
9938 1999-03-07 Dominik Vogt <dominik.vogt@gmx.de>
9940 * fvwm/fvwm2.1 (sub-menu): added description of 'Silent' function
9942 * fvwm/functions.c (ExecuteFunction):
9943 (DeferExecution): implemented silent_functions flags
9945 * fvwm/builtins.c (SetHiColor):
9948 (ApplyDefaultFontAndColors):
9950 * fvwm/virtual.c (checkPanFrames):
9952 * fvwm/session.c (SaveGlobalState):
9954 * fvwm/resize.c (resize_window):
9955 * fvwm/placement.c (PlaceWindow):
9956 * fvwm/fvwm.c (InitVariables):
9957 (CaptureAllWindows):
9958 * fvwm/menus.c (MakeMenu):
9959 use new Scr.flags structure
9961 * fvwm/screen.h (ScreenInfo): introduced flags structure and
9962 silent_functions flag. Removed old unsigned long flags.
9964 * fvwm/misc.h (struct functions): moved struct to functions.h
9966 * fvwm/functions.c (func_config): added 'Silent' command.
9968 * fvwm/virtual.c (setEdgeThickness):
9970 (changeWindowsDesk):
9972 * fvwm/resize.c (resize_window):
9973 * fvwm/move.c (move_window_doit):
9975 (animated_move_window):
9976 (move_window_to_page):
9977 * fvwm/functions.c (func_config):
9978 changed argument list to use F_CMD_ARGS
9980 * fvwm/functions.c (DeferExecution): moved function from builtins.c
9983 * fvwm/screen.h: removed ApplyWindowFont
9985 * fvwm/misc.h: removed ApplyIconFont
9987 * fvwm/builtins.c: Replaced argument list for builtins with macro
9988 F_CMD_ARGS (makes it easier to change this in the future).
9990 * fvwm/builtins.c (SafeDefineCursor): now static
9991 (FindMenuStyle): dito
9992 (ApplyIconFont): dito
9993 (ApplyWindowFont): dito
9995 * fvwm/move.c (InteractiveMove): fixed interactive move that was broken
9996 since fix for module input.
9998 * fvwm/menus.c (MakeMenu): fixed typo
10000 * ------ end of my changes to split functions and menus ------
10002 * fvwm/builtins.c (add_item_to_menu):
10004 * fvwm/windows.c (do_windowList):
10005 * fvwm/menus.c (MakeMenu):
10006 (NewMenuRoot): removed parameter to distinguish between menus and
10007 functions (NewMenuRoot).
10010 * fvwm/menus.h (MenuRoot): moved some flags into flags structure
10012 * fvwm/menus.c (DestroyMenu): fixed coredump with menus destroying
10015 * fvwm/misc.h: added NewFvwmFunction
10017 * fvwm/menus.h (MenuItem):
10018 * fvwm/menus.c (AddToMenu): removed unused flag 'func_needs_window'
10020 * fvwm/functions.c (find_func_type): return parameters optional
10022 * fvwm/builtins.c (add_another_item): updated for AddToFunction
10024 * fvwm/misc.h: added DestroyFunction
10026 * fvwm/builtins.c (destroy_fvwmfunc): new function
10028 * fvwm/parse.h: added F_DESTROY_FUNCTION
10030 * fvwm/builtins.c (add_item_to_func): use AddToFunction now instead of
10032 (add_item_to_menu): added last_func static global (like last_menu)
10033 (destroy_menu): fixed coredump:
10039 * fvwm/Makefile.am: removed complex.c, added functions.h
10041 * fvwm/functions.c (DestroyFunction): new function
10042 (NewFvwmFunction): new function
10044 * fvwm/misc.h: added FindFunction
10046 * fvwm/fvwm.c (StartupStuff):
10047 (Done): FindPopup -> FindFunction
10049 * fvwm/functions.c (FindFunction): analogon to FindPopup
10051 * fvwm/builtins.c (FindPopup): moved function to menus.c
10053 * fvwm/functions.c (expand): now static
10055 * fvwm/misc.h: removed function expand
10057 * fvwm/functions.c (IsClick): now static
10059 * fvwm/fvwm.c (InitVariables): initialise Scr.functions
10061 * fvwm/screen.h (ScreenInfo): added member 'FvwmFunction *functions'
10063 * fvwm/menus.h: moved function specific code into
10064 functions.c/functios.h
10066 * fvwm/functions.h: new file
10068 * fvwm/complex.c: merged file with functions.c
10070 * fvwm/functions.c (ExecuteFunction):
10071 * fvwm/complex.c (ComplexFunction):
10073 removed global variable 'desperate' by introducing a wrapper around
10074 ComplexFunction that copes with an additional argument
10076 * ------ beginning of my changes to split functions and menus ------
10078 1999-03-07 Dominik Vogt <dominik.vogt@gmx.de>
10080 * fvwm/functions.c (func_config): changed function names to uppercase
10081 (FindBuiltinFunction):
10082 (func_comp): functions are converted to uppercase before comparing them
10083 to the table entries
10085 1999-03-06 Dominik Vogt <dominik.vogt@gmx.de>
10087 * libs/Module.c (GetConfigLine):
10089 * fvwm/functions.c (func_config):
10090 Rerenamed builtin functions
10091 Send_ConfigInfo <- SendConfigInfo
10092 Send_WindowList <- SendWindowList
10093 set_mask <- SetMask
10095 1999-03-07 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
10097 * fvwm/add_window.c (merge_styles): fix Layer option handling.
10099 * fvwm/misc.c (BroadcastRestack): Reworked to send just one
10100 variable-size packet containing all windows. This is necessary
10101 to make the pager work properly. It seems ok to send packets
10102 larger than MAX_BODY_SIZE, since M_WINDOWNAME has to potential
10105 1999-03-06 Tomas Ogren <stric@ing.umu.se>
10107 * fvwm/fvwm2.1: Reformatted 2 paragraphs.. 'tr in the beginning of a
10108 line starts rot13-mode or something in nroff..
10110 1999-03-05 Tomas Ogren <stric@ing.umu.se>
10112 * fvwm/builtins.c (WindowShade): Removed a little check for MAXIMIZED
10113 windows which broke the shade/maximize "cooperation".
10115 1999-03-05 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
10117 * utils/xselection.c: new utility for using the X Selection
10118 as commands to fvwm.
10119 * utils/Makefile.am (bin_PROGRAMS): add xselection.
10121 * fvwm/session.c (SaveGlobalState):
10124 (SaveWindowStates):
10127 * fvwm/icccm2.c (SetupICCCM2): fix -Wall trivia. Change
10128 some fvwm_msg(DBG...) to DBUG(...)
10130 * fvwm/events.c (XUrgencyHint): define it if it isn't already.
10132 * configure.in: Add a check for SM.
10134 * fvwm/misc.c (RaiseWindow): fix bugs with raising windows
10137 * fvwm/module.h (M_RESTACK): new packet type.
10138 * fvwm/misc.c (BroadcastRestack): new function sending
10139 information about stacking order changes.
10140 (RaiseWindow): use BroadcastRestack.
10141 (LowerWindow): use BroadcastRestack.
10143 * fvwm/events.c (HandleConfigureRequest): use BroadcastRestack.
10145 1999-03-05 Dominik Vogt <dominik.vogt@gmx.de>
10147 * fvwm/fvwm.h (FvwmWindow): some preparations for GSFR
10149 * fvwm/fvwm2.1: marked IconPath and PixmapPath as obsolete and added a
10150 hint to the ImagePath command
10152 * libs/Module.c (GetConfigLine):
10154 * fvwm/functions.c (func_config):
10155 Renamed builtin functions
10156 Send_ConfigInfo -> SendConfigInfo
10157 Send_WindowList -> SendWindowList
10158 set_mask -> SetMask
10160 1999-03-05 Johan Bengtsson <johanb@DoCS.UU.SE>
10162 * libs/System.c (searchPath): Fixed a potential off by two error.
10163 When space was allocated for the file name, a directory separator
10164 and the null termination was not taken into account. This was only
10165 triggered when the path only contained one directory.
10167 Thu Mar 4 19:18:26 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
10169 * fvwm/fvwm2.1 (Iconify): re-worded to put the current syntax
10170 before the obsolete syntax. I didn't really understand how
10171 "Iconify toggle" differs from just "Iconify".
10173 1999-03-04 Dominik Vogt <dominik.vogt@gmx.de>
10175 * fvwm/builtins.c (WindowShade):
10177 (iconify_function):
10178 (stick_function): added patch for consistent toggling function syntax
10181 * libs/Parse.c (ParseToggleArgument): New parsing function for toggling
10184 * fvwm/move.c (DoSnapAttract):
10185 * fvwm/builtins.c (SetSnapAttraction): applied patch to snap to screen
10188 * fvwm/fvwm2.1: TriangleRelief -> TrianglesRelief
10190 1999-03-04 Dan Espen <dane@mk.bellcore.com>
10192 * fvwm/fvwm2.1: Re-applied "Changed fvwm to fvwm2 everywhere I
10193 thought it should be changed". It seemed to have disappeared.
10195 1999-03-04 Tomas Ogren <stric@ing.umu.se>
10197 * NEWS: Updated w/ animated shading
10199 1999-03-04 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
10201 * fvwm/builtins.c (Maximize): Make partially maximized
10202 windows unmaximize to their original position.
10204 * fvwm/borders.c (SetupFrame): do XResizeWindow on tmp->w
10205 even if shaded. This fixes animated WindowShade.
10207 * fvwm/fvwm.c (main): call SetupICCCM2 before selecting
10208 for SubstructureRedirect on the root window.
10209 (Done): call CloseICCCM2 after undecorating all windows.
10210 * fvwm/colormaps.c: new global client_controls_colormaps
10211 for client-side InstallColormap support.
10212 (HandleColormapNotify):
10213 (InstallWindowColormaps): don't install colormaps if
10214 client_controls_colormaps is true.
10215 * fvwm/events.c (HandleClientMessage): handle wm_colormap_notify
10216 clientmessages by setting client_controls_colormaps.
10217 (InitEventHandlerJumpTable): install HandleSelectionClear
10218 and HandleSelectionRequest.
10219 * fvwm/icccm2.c: New file implementing SetupICCCM2,
10220 CloseICCCM2, HandleSelectionRequest and HandleSelectionClear.
10221 * fvwm/fvwm.h: add prototypes for these plus a couple of Atom's.
10223 Thu Mar 4 01:30:28 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
10225 * fvwm/module.c (executeModule): search for module using
10226 searchPath() rather than searchIcon()!
10228 Thu Mar 4 01:22:15 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
10230 * libs/System.c (searchPath): new function; this is most of the
10231 guts of the old findIconFile -- which was used to find more than
10232 just icons --- modules, for example!
10234 Thu Mar 4 00:55:34 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
10236 * libs/fvwmlib.h: added prototypes for all replacement functions,
10237 conditionally compiled.
10239 Thu Mar 4 00:44:06 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
10242 * libs/XResource.c:
10245 * fvwm/functions.c:
10247 * fvwm/modconf.c: replace IconPath by ImagePath; the config
10248 command IconPath remains, but is flagged as deprecated.
10250 Wed Mar 3 21:05:11 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
10252 * sample.fvwmrc/system.fvwm2rc-sample-2:
10253 * sample.fvwmrc/new-features: changed PixmapPath and IconPath to
10256 1999-03-03 Tomas Ogren <stric@ing.umu.se>
10258 * fvwm/builtins.c (WindowShade): Enhanced WindowShade() to do
10259 animation, with the number of steps configured by the command
10260 'WindowShadeAnimate <steps>'
10261 * fvwm/builtins.c: New function 'setShadeAnim()', called by the Fvwm
10262 command 'WindowShadeAnimate', sets the animation steps used in
10264 * fvwm/parse.h: Added F_SHADE_ANIMATE
10265 * fvwm/misc.h: Function prototype for setShadeAnim().
10266 * fvwm/functions.c: Added Fvwm command 'WindowShadeAnimate <steps>'
10267 * fvwm/fvwm2.1: Updated man-page with WindowShadeAnimate
10269 1999-03-02 Steven Michael ROBBINS <stever@hojpoj.cs.mcgill.ca>
10271 * fvwm/module.c (executeModule): put ifdef around code that closes
10272 pipes in child processes.
10274 * fvwm/misc.c: put ifdef around fvwm_msg; allows VMS port to
10275 define its own version of this routine.
10277 1999-03-02 Steven Michael ROBBINS <stever@hojpoj.cs.mcgill.ca>
10279 * fvwm/fvwm.h: add 'extern' keyword to Bool fFvwmInStartup,
10280 otherwise it is defined in each .c file that includes <fvwm/fvwm.h>
10282 * fvwm/modconf.c: add 'extern' keyword to PipeMask; ditto.
10284 1999-03-02 Dan Espen <dane@mk.bellcore.com>
10286 * fvwm/fvwm2.1: Changed fvwm to fvwm2 everywhere I thought it should
10289 1999-03-02 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
10291 * fvwm/fvwm2.1: details about the geometry displayed
10294 * fvwm/windows.c (do_windowList): show layer in window list.
10296 * fvwm/builtins.c (Maximize):
10297 (WindowShade): allow shading maximized/maximizing shaded windows.
10298 * fvwm/fvwm.h (FvwmWindow): new field maximized_ht.
10299 * fvwm/add_window.c (AddWindow): initialize maximized_ht.
10300 * fvwm/session.c (SaveWindowStates): save the correct maximized
10301 size for shaded windows.
10302 * fvwm/events.c (HandleConfigureRequest): allow clients
10303 to resize themself if shaded, but not if maximized.
10304 * fvwm/resize.c (resize_window): allow interactive resizing
10306 * fvwm/fvwm2.1: adjust documentation of WindowShade.
10308 * fvwm/builtins.c (PickFunc):
10309 (AllFunc): new functions.
10313 * fvwm/functions.c (func_config): add entries for Pick and All.
10315 * fvwm/session.c (SaveWindowStates):
10316 * fvwm/add_window.c (AddWindow):
10317 * fvwm/move.c (AnimatedMoveAnyWindow):
10318 (moveLoop): insert #ifdef WINDOWSHADE ... #endif to
10319 make configure --disable-windowshade work.
10321 1999-03-02 Dan Espen <dane@mk.bellcore.com>
10323 * NEWS: Updated news on FvwmAnimate fonts and colors defaults.
10325 1999-03-01 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
10327 * fvwm/fvwm.c (InitVariables): Change the default layers
10328 for StaysOnTop and StaysPut from 1 and 0 to 6 and 4.
10330 * fvwm/fvwm2.1: Adjust the documentation of DefaultLayers.
10332 * fvwm/add_window.c (AddWindow): Put windows at the top of
10333 their layer initially.
10337 * fvwm/*: Removed ->bw. FvwmBorder windows will look funny until I fix
10340 * fvwm/move.c: Fixed opaque/animated moves to not crash shaded windows,
10341 removed #ifndef NO_ETERM_SUPPORT, might want to make it a configure
10344 1999-02-28 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
10346 * fvwm/add_window.c (AddWindow): Fix a bug where unmaximizing a
10347 window on a non-origin page that has been restored to maximized
10348 state from a saved session would make it jump to a different page.
10350 1999-02-28 Steven Michael ROBBINS <stever@jeff.cs.mcgill.ca>
10353 * INSTALL.fvwm: backed out of Sat Feb 27 12:49:23 1999 change.
10354 Fvwm exports FVWM_MODULEDIR to the environment of subprocesses, so
10355 running configure in an xterm will always pick up the current
10358 Sun Feb 28 11:37:22 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
10360 * fvwm/fvwm2.1: removed all traces of PixmapPath from manpage.
10362 Sun Feb 28 11:25:30 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
10364 * libs/Strings.c (stripcpy): make sure 'tmp' is valid before
10365 dereferencing it; there was a possible problem if function was
10366 passed an empty string.
10368 Sun Feb 28 11:03:42 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
10370 * libs/Picture.h: new file.
10371 * libs/fvwmlib.h: moved declarations for Picture.c into Picture.h.
10373 * libs/Picture.c (GetIconPath,SetIconPath): the icon path variable
10374 is now static; these are the accessor functions.
10375 * libs/Picture.c (findIconFile,GetPicture,CachePicture): these
10376 functions now look at a single path, rather than IconPath and
10377 PixmapPath. The path parameter may be NULL, in which case the
10378 default path -- the one set by SetIconPath() -- is used.
10380 * fvwm/add_window.c:
10382 * fvwm/functions.c:
10388 Fixes for the findIconFile(), GetPicture(), and CachePicture()
10389 changes. The PixmapPath command is temporarily retained; it gives
10390 a warning, and then calls IconPath.
10392 1999-02-28 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
10394 * AUTHORS: fix the spelling of my name.
10396 * libs/ModParse.c (GetArgument): fix GetArgument for quoted args.
10397 (DoPeekArgument): new function needed in GetArgument.
10398 Use safemalloc instead of malloc ( change copied from
10399 modules/FvwmEvent/Parse.c ).
10400 (PeekArgument): now call DoPeekArgument.
10402 * fvwm/move.c (InteractiveMove): fix behaviour of
10403 InteractiveMove when called from a context other than a
10404 ButtonPress or KeyPress.
10406 * fvwm/builtins.c (WindowShade): fix an off-by-one error
10407 with shaded FvwmBorder windows.
10409 1999-02-27 Matthias Clasen <clasen@mathematik.uni-freiburg.de>
10411 * fvwm/{add_window,builtins,events,functions,fvwm,misc,
10412 placement,session,style,windows}.c:
10413 * fvwm/{fvwm,misc}.h:
10415 implement a layered stacking order.
10417 * configure.in, acconfig.h:
10418 * fvwm/{session,add_window,events,fvwm,icons}.c:
10419 * fvwm/{fvwm,misc}.h:
10420 * NEWS, fvwm/fvwm2.1:
10421 add session management functionality ( make fvwm a client
10422 of a X SMP compliant session manager).
10424 Sat Feb 27 12:49:23 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
10426 * configure.in: allow FVWM_{MODULE,CONFIG}DIR to be overridden by
10427 setting the corresponding environment variable before running
10430 1999-02-26 Steven Michael ROBBINS <stever@jeff.cs.mcgill.ca>
10432 * auto*: removed all generated files from repository. To
10433 regenerate the files, you will need to do "automake --add-missing"
10434 then "autoreconf". Added .cvsignore files to ignore them during
10439 * fvwm/placement.c: fixed wandering on restart/recapture caused by
10440 old_bw being ignored.
10442 1999-02-25 Dan Espen <dane@mk.bellcore.com>
10444 * fvwm/module.c (HandleModuleInput): Increased max message from a
10445 module from 255 to 999, needed for FvwmForm. Removed a little
10448 Tue Feb 23 13:02:33 1999 Steve Robbins <steve@nyongwa.montreal.qc.ca>
10450 * fvwm/module.c: include <sys/time.h> to ensure that FD_SET and
10451 friends are found. My Linux system needed this, don't ask me why.
10455 * fvwm/builtins.c: Emulate command updates feedback window position.
10457 * fvwm/virtual.c: EdgeThickness command can be used at any time to
10458 alter the panframe windows. Panframe windows unmapped when paging to
10459 the end page and wrapping is disabled. Panframe windows go right into
10462 * fvwm/windows.c: WindowList looks better when NoGeometry specified.
10464 * fvwm/move.c: Opaque and Animated moves send events to client.
10465 Transparent Eterm will stay transparent. #define NO_ETERM_SUPPORT if
10466 you think this is horrible.
10468 * fvwm/{module.{c,h},move.c} Opaque and Animated moves send module
10469 messages. FvwmPager follows the move.
10471 * fvwm/{events,fvwm,modconf,module,read}.c: moved invocation of
10472 StartupStuff() from ReadSubFunc to main event loop. Initial capture
10473 happens only after all command line args are finished and any modules
10474 that the command line args invoke. Any number of -cmd's can be
10475 specified and the initial capture will happen when they have finished
10476 so that you don't need a recapture after a restart to get the right
10477 decorations. Added a timeout so that Fvwm will always do the initial
10478 capture.FvwmCPP & FvwmM4 can now be rewritten to exec() the subprocess
10479 and avoid using a Read of a temp file.
10481 * fvwm/{events,focus,module}.c: FOCUS_CHANGE packet has the third
10482 (previously useless) paramter set to denote FlipFocus/Focus. Modules
10483 can now accuraetly track the internal window list order.
10485 * fvwm/borders.c: experimental rewrite of Sticky lines. Use xmag to
10486 look at the ends. If they don't line up I think you have an Xserver
10489 * fvwm/{{builtins,functions,fvwm}.c,fvwm2.1,misc.h}: XORPixmap.
10490 Eat this Enlightenment 8-). Actually it's meant to improve the
10491 visibility of rubberband lines in PsuedoColor displays (use Colorlimit
10492 first) but it looks great on TrueColor. It plays nicely with XORValue
10493 and I don't think it leaks pixmaps.
10495 1999-02-23 Dominik Vogt <dominik.vogt@gmx.de>
10499 * configure.in: changed version to 2.3.0
10501 * *: fvwm 2.2 has been released :-))