I have a simple GTK+ application (source attached) which works slightly differently when run in Wayland or X11. I'm using fully updated Fedora 25 so GTK+ is version 3.22.6. Firstly, when run under Wayland the application has a size slightly greater than its natural size. That is, I am able to reduce its size manually. Under X11 the application appears at its natural size and can only be made bigger manually. Secondly, under Wayland there is no menu icon in the titlebar. Right clicking where the icon should be invokes the window menu. Under X11 the menu icon is present in the titlebar and the window menu can be invoked by a right or left click. In each case I prefer the behaviour under X11 and would like to have the same behaviour under Wayland. Do I need to change my program to do this or is the problem elsewhere? Ron
Attachment:
tester.c
Description: Text document