aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/xwayland.h
AgeCommit message (Collapse)Author
2018-07-29Initial pass on API stability guaranteesDrew DeVault
This introduces -DWLR_USE_UNSTABLE and adds information regarding the stability status to all headers. I started with a conservative set of headers to mark as stable: - types/wlr_matrix.h - util/edges.h - util/log.h - util/region.h - xcursor.h
2018-07-29reintroduce xwayland is_unmanagedMarkus Ongyerth
153f37bdf57c61e7fb09162a6791afe8b9b4d0ef (#1145) removed the wlr_xwayland_is_unamanged function while fixing OR, because it was belieived that it's supposed to work around the broken OR handling. This was a misunderstanding. is_unmanaged is (while sort of a hack) intended to work around inherent differences between "real" X sessions and our Xwayland/wayland situation. The main reason it exists is to support applications like rofi and dzen, while not handing focus to other OR windows (which should *not* be required). Traditionally, these applications just grabbed input from X and didn't need to be focused by any logic in the WM. Which of course doesn't work in wayland compositors. So we have to give them focus in some way. Giving *every* OR window focus, breaks other applications that don't expect focus to change. A testcase that was pointed out to me where wlr_xwayland_is_unamanged was breaking things is https://github.com/swaywm/sway/issues/2128 (syncplay, gitk, gitgui) Supposedly it broke using keyboard to navigate the menus. I can't reproduce this with this patch. The popups can be navigated as long as the parent has focus.
2018-07-19Introduce set_hints event for xwaylandRyan Dwyer
2018-07-18xwayland: handle override_redirect flag changesemersion
The override_redirect flag can change on configure notify and on map notify. This adds an event to know when it changes. This removes wlr_xwayland_surface_is_unmanaged which was wrongly using the window type to decide whether the view should be unmanaged. A similar patch was proposed to Weston, but has never been merged upstream [1]. [1]: https://patchwork.freedesktop.org/patch/211161/
2018-05-10Fix Xwayland cleanupVincent Vanlaer
Fixes #964
2018-05-08Merge pull request #959 from VincentVanlaer/xwayland-lazyemersion
Add the option to start Xwayland only when a client connects
2018-05-08Make xwayland_finish* clean up wlr_xwaylandVincent Vanlaer
2018-05-06Allow xwayland to start lazilyVincent Vanlaer
Makes the xwayland startup process two phased. The first phase just initialises the X11 sockets. The second phase starts the Xwayland server itself. When starting xwayland lazily the second phase will be postponed until a client has connected to the X11 socket. Changes in behaviour: The DISPLAY environment is now set immediately after the X11 sockets are created. When the Xwayland server is killed or crashes, the sockets will not be recreated, but reused. Fixes #849: Start up Xwayland lazily
2018-05-04Use UTF-8 xwayland window title if availableemersion
2018-05-03Fix typos in comments and stringsmorganamilo
2018-04-13xwayland: emit new_surface when unmappedemersion
2018-04-11Always unmap before destroying surfaceemersion
2018-04-08Add wlr_xwayland_surface_pingemersion
2018-04-02Missed a spotDrew DeVault
2018-03-31xwyaland: fix style issuesemersion
2018-03-30xwayland: rename map_notify to map for consistencyemersion
2018-03-03move xwm.h out of include/wlrDominique Martinet
xwm.h was meant to be private, so move it to include/xwayland/xwm.h We had an ifdef WLR_HAS_XCB_ICCCM in xwayland.h which was easy to move to xwm, it is not safe to use the WLR_HAS_* in the public headers. I checked a few of our current users and none rely on xwm.h being public as expected (rootston, sway, hsroots)
2018-02-26add xwayland unmanaged tests to support dmenuMarkus Ongyerth
This adds `wlr_xwayland_surface_is_unamanged`, to allow compositors more fine grained control over XWayland focus. A surface that is unmanaged should not receive focus, while other windows that are just override redirect may want it (dmenu). The way unamanged is determined is taken from wlc.
2018-02-12Reformat all #include directivesemersion
2018-01-14xwayland: render children window in fullscreenemersion
2017-12-29wlr_xwayland: preserve end of struct on restartDominique Martinet
This is more robust than trying to recopy a few fields. Note: wlr_xwayland->events.ready now resets after each trigger, so one can hook on it again and be called when restart is ready
2017-12-29xwayland: listen to wlr_seat destroy signalDominique Martinet
2017-12-27config: Avoid clash with other config-headersBjörn Esser
2017-12-27Merge pull request #524 from acrisci/role-committedemersion
[wip] Role committed
2017-12-27xwayland: role committedTony Crisci
2017-12-26config: Put all defines into config.hBjörn Esser
2017-12-14Merge branch 'master' into xwm-selectionemersion
2017-12-14Merge branch 'master' into display-destroyemersion
2017-12-14Merge branch 'master' into xwm-selectionemersion
2017-12-13xwm: user custom event handlerTony Crisci
2017-12-08Merge branch 'master' into feature/xwm-selectionTony Crisci
2017-12-08Do not destroy wl_client in wlr_xwayland_finishemersion
2017-12-08Listen to display destroy in xwayland, rename wlr_egl_freeemersion
2017-12-03xwayland: remove xwayland param from xsurface methodsTony Crisci
2017-11-22xwayland: clean up seat settingTony Crisci
2017-11-22xwm: send selection dataTony Crisci
2017-11-21xwm: get selection targetsTony Crisci
2017-11-19Refactor wlr_list inside wlrootsemersion
2017-11-12Run startup command after xwayland is readyDrew DeVault
2017-11-02Use compositor theme for xwm cursoremersion
2017-10-27xwm: create colormap and visual depth detectionTony Crisci
2017-10-27xwm: net wm stateTony Crisci
2017-10-27xwm: moveresize eventsTony Crisci
2017-10-26xwm: remove incorrect implementation of net wm stateTony Crisci
2017-10-25xwm: improve activation and dont send focus twiceTony Crisci
2017-10-24xwm: map and unmap notifyTony Crisci
2017-10-24xwm: get rid of displayable surfaces listTony Crisci
2017-10-24xwm: fix listsTony Crisci
2017-10-24xwm: add surface to rootston on surface commitTony Crisci
2017-10-21Rename remaining refs to wlr_listDrew DeVault