-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
OSD improvements #893
OSD improvements #893
Conversation
awesome !! |
Is this common for the openbox theme format?
Thus I think Edit: Edit 2:
Edit 3:
That should be done already, we only operate in the unscaled coordinate space and supply the scale to cairo when creating the buffer: |
Thanks for review @Consolatis
Well 馃槃 The example you have given is the only think I know of in Openbox 3.6 that is not documented. Only the first version (without So, I other words, I think the example you have give in an oddity and that now that we have a chance to design the
100% agree. That is indeed my first
Yep, good idea.
Oh, I forgot. Thanks for reminding me. 馃槉 |
...and calculate item-height based on font-height Add theme options - osd.window-switcher.width - osd.window-switcher.item.padding.x - osd.window-switcher.item.padding.y Issue labwc#879
Ready to go from my perspective. Would appreciate review. |
I didn't verify all the calculations but assuming you tested it while developing this LGTM apart from the comment above regarding the added side effect of |
Thanks. Yes, I've tested pretty thoroughly as I've gone. |
--EDIT-- This list is now managed at #968
Based on @1qh list in issue #879
TODO:
s/osd.window-switcher.item.width/osd-window-switcher.width/
Take into account output->scaleis_title_different()
nr_items
*item_height
>output_height
Notes:
Have used
osd.window-switcher.foo: bar
because the window-switcher is only one type of OSD and we might want to set different value for the workspace-switcher for example. If anyone wants to set them to the same, they can simply doosd.*.foo: bar
.