After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 729602 - wayland: Only send wl_output.scale event if supported by the client
wayland: Only send wl_output.scale event if supported by the client
Status: RESOLVED FIXED
Product: mutter
Classification: Core
Component: wayland
unspecified
Other All
: Normal normal
: ---
Assigned To: mutter-maint
mutter-maint
Depends on:
Blocks:
 
 
Reported: 2014-05-05 21:49 UTC by Jonas Ådahl
Modified: 2014-05-08 17:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
wayland: Only send wl_output.scale event if supported by the client (1.73 KB, patch)
2014-05-05 21:49 UTC, Jonas Ådahl
committed Details | Review

Description Jonas Ådahl 2014-05-05 21:49:20 UTC
'scale' was introduced in version 2, so only send such an event to
clients which has bound a new enough version of wl_output.
Comment 1 Jonas Ådahl 2014-05-05 21:49:22 UTC
Created attachment 275922 [details] [review]
wayland: Only send wl_output.scale event if supported by the client
Comment 2 Jasper St. Pierre (not reading bugmail) 2014-05-05 22:34:34 UTC
Review of attachment 275922 [details] [review]:

Yep. (Though I'm not sure why we have the constants. Doesn't the scanner export the since="" attribute into something we can get at? No?)
Comment 3 Jonas Ådahl 2014-05-07 20:04:05 UTC
Its not exported in a way that makes it reusable like that, but its trivial to make wayland-scanner do it. I'll send a patch.
Comment 4 drago01 2014-05-08 17:54:15 UTC
Comment on attachment 275922 [details] [review]
wayland: Only send wl_output.scale event if supported by the client

This got pushed.