1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-21 13:28:05 +01:00

Fixed the background image for displaying the workspace name to be taken

from the same place as the name is displaying. It was still taken from the
middle of screen even if the name display place moved to top.
This commit is contained in:
dan
1999-04-25 16:36:07 +00:00
parent d3f29988d0
commit 98df61be32

View File

@@ -358,7 +358,7 @@ showWorkspaceName(WScreen *scr, int workspace)
ximg = RGetXImage(scr->rcontext, scr->root_win,
(scr->scr_width - data->text->width)/2,
(scr->scr_height - data->text->height)/2,
0 /* (scr->scr_height - data->text->height)/2 */,
data->text->width, data->text->height);
if (!ximg) {