ports/x11-wm/windowmaker/files/patch-src__startup.c
Hiroki Sato 66732e092d Update to 0.95.7. Changes include:
- Window snapping (maximize a window to a side or corder of the screen) by
  dragging is now supported.

- It is now possible to customize behavior when a maximized window is
  dragged.

- A knob is added to globally ignore decoration hints from GNOME
  appications.

- A ICCCM protocol for window manager replacement has been supported.
2015-10-06 05:12:56 +00:00

11 lines
439 B
C

--- src/startup.c.orig 2015-08-11 18:41:14 UTC
+++ src/startup.c
@@ -666,7 +666,7 @@ void StartUp(Bool defaultScreenOnly)
wMenuRestoreState(wScreen[j]);
/* If we're not restarting, restore session */
- if (wPreferences.flags.restarting == 0 && !wPreferences.flags.norestore)
+ if (!wPreferences.flags.restarting && !wPreferences.flags.norestore)
wSessionRestoreState(wScreen[j]);
if (!wPreferences.flags.noautolaunch) {