aboutsummaryrefslogtreecommitdiff
path: root/examples/foreign-toplevel.c
diff options
context:
space:
mode:
authorScott Anderson <scott@anderso.nz>2020-03-22 00:55:54 +1300
committerSimon Ser <contact@emersion.fr>2020-03-21 13:58:27 +0100
commit34303e1b47defc7aca518983ac3aaea6c881d112 (patch)
tree3785e50c4dbade839cf31c59b6bd49241d7adc08 /examples/foreign-toplevel.c
parentb614ded3fcb022c4567bbee932a6df3e83acaff6 (diff)
wlr_surface: Post error if multiple role objects created
This fixes an assertion failure if a client tries to do this, e.g. by creating multiple toplevel objects for the same surface. If the same role data is set multiple times, this does not cause an error, which is how cursors use this interface.
Diffstat (limited to 'examples/foreign-toplevel.c')
0 files changed, 0 insertions, 0 deletions