From: "Rodolfo García Peñas (kix)" <[email protected]> This patch series do these things:
- Unify the Dock and Clip creation because it uses one Clip per workspace and one common Dock. Clip and Dock do similar work then, the functions can handle them as WDock struct, without know if they are Clips or Docks. - Removes the extra Clip created in screen.h, used mainly to set the Clip icon and the position. - Set the final position for the Clip and Dock, without painting them in 0,0 and then move to the final position. - Remove the code where the Clip is created, removed and created again in the right position, because the Clip must be created after the workspace. The previous code create the Clip first, then remove it, and then Create it again in the workspace. - Easy event handle for mouse buttons in Clip and Dock, with menu creation in the WDock creation. Best regads, kix. Rodolfo García Peñas (kix) (7): dockMenuCreate splitted Dock middle button menu create Make clip_icon variable more private Remove X11 calls for Clip on workspace change Create clip only if needed New function set_appicon_positioh_from_dictionary Set position for all Dock types src/balloon.c | 3 +- src/defaults.c | 2 +- src/dock.c | 306 +++++++++++++++++++++++++++++++------------------------ src/dock.h | 6 +- src/dockedapp.c | 4 +- src/moveres.c | 2 +- src/screen.c | 8 +- src/workspace.c | 36 +++---- src/workspace.h | 2 +- 9 files changed, 196 insertions(+), 173 deletions(-) -- 1.7.10.4 -- To unsubscribe, send mail to [email protected].
