wmaker: Restore multi screen functionality by reverting wrong commits
commitcb3702559a3cbf7656896c1ede8074e7e541894b
authorBALATON Zoltan <balaton@eik.bme.hu>
Sun, 19 Oct 2014 21:53:58 +0000 (19 23:53 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Sun, 2 Nov 2014 12:04:14 +0000 (2 13:04 +0100)
treed96f3f9360d4a14b4dc88ef90adffa50c0d44eec
parente3dcadde3099e744921018bbf9506ac169221db6
wmaker: Restore multi screen functionality by reverting wrong commits

Revert patches that moved variables from WMScreen to global level
because this broke X displays with multiple independent screens and
caused dock and clip icons to become mixed up. When managing multiple
screens each screen used to have it's own state/dock and clip. This
commit restores that by reverting mainly the commits listed below (and
those that are invalidated by reverting these) and fixing up later
commits to apply after the revert.

Reverted commits:
f60e65001bfdd21fd9939b2b0121037682b6522c Moved 'workspace_name_font' from the Screen to a Workspace object in the global namespace
9e103a46e99d323e070c3779c5d261c171df2e17 Variable workspace_count moved to the workspace object in the global namespace
e5ae684d02fdb66f1a90d486a21fd70498464f90 Variable last_workspace moved to workspace object in global namespace
c610b8d7ce865938a7a5e2aa97772f2a67f30602 Variable current_workspace moved to workspace object in global namespace
f0c50736001dd8c5a81ab1ae5926f6e14b7a9730 Array of workspaces moved to the workspace object in the global namespace
9c252988f8378876b9710561428666799317673c Variable workspace_menu moved to workspace object in global namespace
e86b8dcb2f28bf06ff04e12ea15754b684437f31 Clip, Dock and Drawers menu moved to appropriate global namespace
074092f319706bfe3f4df8873aab962ece25e9c3 Removed WScreen args not used
4a7daf2322901ca43b5cea2cab26015394db5b95 AppIcon list moved out of WScreen
2103fe390b839c2eea6a288539c5bd1c43435ac7 Variable clip_icon moved to clip object in the global namespace
014bc52531ec5d554920ce82d3e1046e26f84a3b wClipIconPaint appicon argument removed
40e1ea08b86a9d77488f451588581bacb794fdb2 Varible session_state moved to global namespace
6987d4aa4041f17f31e05d677326b42b01f946de Removed WScreen argument
0de3e590cedeb441d7c5038b8fae26bf851c5fd8 shortcutWindows moved to w_global
2e64831fb6742d8fc4164000da9acae4738853a8 Removed unused variable wapp_list
b6423a7b4f0111f73690d2a99ca0433d30b5dd32 wmaker: Moved variable Screen Count into the global namespace

Signed-off-by: Carlos R. Mafra <crmafra@gmail.com>
33 files changed:
src/WindowMaker.h
src/actions.c
src/appicon.c
src/application.c
src/balloon.c
src/cycling.c
src/defaults.c
src/defaults.h
src/dock.c
src/dock.h
src/dockedapp.c
src/event.c
src/main.c
src/menu.c
src/misc.c
src/moveres.c
src/placement.c
src/rootmenu.c
src/screen.c
src/screen.h
src/session.c
src/session.h
src/startup.c
src/switchmenu.c
src/switchpanel.c
src/wdefaults.c
src/window.c
src/winmenu.c
src/winspector.c
src/wmspec.c
src/workspace.c
src/workspace.h
src/xdnd.c