mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-21 21:38:00 +01:00
- Removed legacy OFFIX_DND support code
- Fixed the signal handler for crashes (ie, removed it) and made wmaker restarting be made automatically by a monitoring process. - Made NetWM support be enabled by default - Removed old code to store/restore workspace state (now relies on netwm)
This commit is contained in:
@@ -1204,14 +1204,6 @@ wScreenSaveState(WScreen *scr)
|
||||
|
||||
make_keys();
|
||||
|
||||
/* Save current workspace, so can go back to it upon restart. */
|
||||
data[0] = scr->current_workspace;
|
||||
data[1] = WFLAGS_NONE;
|
||||
|
||||
XChangeProperty(dpy, scr->root_win, _XA_WINDOWMAKER_STATE,
|
||||
_XA_WINDOWMAKER_STATE, 32, PropModeReplace,
|
||||
(unsigned char *) data, 2);
|
||||
|
||||
/* save state of windows */
|
||||
wwin = scr->focused_window;
|
||||
while (wwin) {
|
||||
|
||||
Reference in New Issue
Block a user