-
Notifications
You must be signed in to change notification settings - Fork 178
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Signal rename #623
Signal rename #623
Conversation
Is that consistent enough? Looks like not enough |
The |
Also, my main concern was the order. In master, we have: |
for the sake of consistency maybe you should rename view-move-to-output to also have a -pre- and emit it without the -pre- at the end of the function with the same data structure when it actually moved
|
You forgot to apply the settings to |
@kode54, what do you mean? CI builds the whole project and uncrustify runs on all cpp and hpp files. |
Oh, hmm, maybe the errors were due to another merge request in my test queue. Oh well, I'll leave whoever authored that merge to fix their thing when this lands. |
For people who are trying to fix their plugins, here are the commands I have used for the main plugins: https://pastebin.com/44igfdvH. The commands do some things wrongly at first but if you run all of them you should get correct results. Anyway, do check what changed. |
Fixes #108
I am sorry for all of you who have custom plugins (@damianatorrpm @myfreeweb @soreau), this will very likely break compilation. At least with this PR all signal names should be consistent, all signal structs also follow the same naming convention and are all in the
wf::
namespace. Also, I have added documentation for all signals emitted from core.Here is an incomplete porting guide:
view_geometry_changed_signal
->wf::view_geometry_changed_signal
unmap-view
,pre-unmap-view
,map-view
are renamed toview-unmapped
,view-pre-unmapped
andview-mapped
attach-view
,detach-view
,layer-attach-view
,layer-detach-view
are nowview-(layer-)attached
andview-(layer-)detached
.view-disappeared
now is emitted together with all theview-detached
,view-unmapped
andview-minimized
signals.focus-view
->view-focused
view-maximize-request
->view-tile-request