Cohjay window decoration
pootie
Source i (link to git-repo or to original if based on someone elses unmodified work):
Updated: Applied patch to fix icon spacing, fixed bad makefiles as well (thanks maitre).
Screenshot updated.
© 2025 pling.com - Planet Linux'ing Groups
All rights reserved. All trademarks are copyright by their respective owners. All contributors are responsible for their uploads.
Ratings & Comments
10 Comments
I'm verrry tired of seeing rounded corners on KDE windows all the time. We need more new win-decs like this!! Boxed corners rule! (and they always will)
yes! fits perfectly my needs i'm fed of round shapes too. :)
nice windeco. i like it. and i'm proud that you use my wallpaper ;)
I'm proud to be using it, Thanks.
Apply like so: patch blitz.cpp < ../app_icon_adjust.patch Here's the patch, also dropped it in an email: # [app_icon_adjust.patch] 1419c1419 < p.drawPixmap( clientHandler->tile( TitleLeft, isActive() )->width()+iconAppSpacing, ((clientHandler->tile(TitleCenter, isActive() )->height() - icon->height())/2) + Settings_Param.CaptionAdjustement + 1, *icon, 0, 0, icon->width(), icon->height()); --- > p.drawPixmap( clientHandler->tile( TitleLeft, isActive() )->width()+iconAppSpacing, ((clientHandler->tile(TitleCenter, isActive() )->height() - icon->height())/2) + Settings_Param.CaptionAdjustement - 1, *icon, 0, 0, icon->width(), icon->height()); 1423c1423 < p.drawPixmap( BttWidthOnLeft() + iconAppSpacing, ((clientHandler->tile(TitleCenter, isActive() )->height() - icon->height())/2 ) + Settings_Param.CaptionAdjustement/2 + 1, *icon, 0, 0, icon->width(), icon->height()); --- > p.drawPixmap( BttWidthOnLeft() + iconAppSpacing, ((clientHandler->tile(TitleCenter, isActive() )->height() - icon->height())/2 ) + Settings_Param.CaptionAdjustement/2 - 1, *icon, 0, 0, icon->width(), icon->height()); In my humble opinion, I'd suggest adjusting the text's vertical position as well.
Thanks for the patch, and all the help. Which way do you suggest I align the text? Perhaps it is a bit low, and should be raised a pixel or two? It will be easier now that the icon will be in place :) .
Sorry, replied before I read your e-mail. I agree two pixels higher does look better. Thanks.
Nice, I really like this one. Quick fix - looks like your Makefile.in's got trounced, to fix it, copy admin/Makefile.in to kwin/Makefile.in and copy admin/Makefile.in2 to kwin/config/Makefile.in I'll look at the vertical spacing.
Nice, I like it. Could you also make a version with round buttons?
thanks, I'll look into it.