Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-05-12 | Don't destroy view child on xdg-popup unmap | emersion | |
2018-05-12 | Revert "Merge pull request #1943 from RyanDwyer/criteria-improvements" | Drew DeVault | |
This reverts commit 3e1bf721c69cb6df70c3dc3d3d4933e987339676, reversing changes made to 2217518bd554d0f11dafa7ec4e8f35f2e4762fbd. | |||
2018-05-11 | Overhaul criteria implementation | Ryan Dwyer | |
The criteria struct now uses properties for each token type rather than the list_t list of tokens. The reason for this is that different token types have different data types: pcre, string and number to name a few. This solution should be more flexible moving forward. A bonus of this is that criteria is now easier to understand when looking at the struct definition. The criteria parser has been rewritten because the previous one didn't support valueless pairs (eg. [class="foo" floating]). Criteria now has types. Types at the moment are CT_COMMAND, CT_ASSIGN_WORKSPACE and CT_ASSIGN_OUTPUT. i3 uses types as well. Previously the assign command was creating a criteria with 'move to workspace <name>' as its command, but this caused the window to appear briefly on the focused workspace before being moved to the assigned workspace. It now creates the view directly in the assigned workspace. Each view will only execute a given criteria once. This is achieved by storing a list of executed criteria in the view. This is the same strategy used by i3. Escaping now works properly. Previously you could do things like [class="Fire\"fox"] and the stored value would be 'Fire\"fox', but it should be (and now is) 'Fire"fox'. The public functions in criteria.c are now all prefixed with criteria_. Xwayland views now listen to the set_title, set_class and set_window_type events and criteria will be run when these happen. XDG shell has none of these events so it continues to update the title in handle_commit. Each view type's get_prop function has been split into get_string_prop and get_int_prop because some properties like the X11 window ID and window type are numeric. The following new criteria tokens are now supported: * id (X11 window ID) * instance * tiling * workspace | |||
2018-05-10 | Damage borders when damaging view | emersion | |
2018-05-05 | Implement title_format | Ryan Dwyer | |
This implements the title_format command, with a new placeholder %shell which gets substituted with the view type (xwayland, xdg_shell_v6 or wl_shell). Example config: for_window [title=".*"] title_format %title (class=%class instance=%instance shell=%shell) | |||
2018-05-03 | Update titles when surfaces are committed | Ryan Dwyer | |
2018-04-30 | Implement borders | Ryan Dwyer | |
Implements rendering of borders. Title text is still to do. Implements the following configuration directives: * client.focused * client.focused_inactive * client.unfocused * client.urgent * border * default_border | |||
2018-04-28 | Don't call view_set_fullscreen on unmapped xwayland views | emersion | |
2018-04-24 | Do not let tiled xwayland views do what they want | emersion | |
2018-04-20 | Don't unmap on destroy, this is already guaranteed by wlroots | emersion | |
2018-04-17 | Handle fullscreen flag when mapping a surface. | Ryan Dwyer | |
2018-04-17 | Feedback for fullscreen. | Ryan Dwyer | |
2018-04-16 | Implement fullscreen. | Ryan Dwyer | |
2018-04-13 | Do not call the map handler when an xwayland surface is created | emersion | |
2018-04-07 | Give keyboard focus to unmanaged xwayland surfaces | emersion | |
This fixes dmenu | |||
2018-04-06 | Simplify damage tracking functions, use them in layer shell | emersion | |
2018-04-06 | Send surface enter/leave events to view children | emersion | |
2018-04-05 | Handle unmanaged surfaces motion | emersion | |
2018-04-05 | Add damage tracking for xwayland unmanaged surfaces | emersion | |
2018-04-05 | Handle xwayland configure requests for unmanaged surfaces | emersion | |
2018-04-05 | Make xwayland surface destroy more foolproof | emersion | |
2018-04-05 | Fix xwayland unmanaged surfaces | emersion | |
2018-04-05 | Implement shell views | emersion | |
2018-04-04 | Remove unused SWAY_VIEW_TYPES | emersion | |
2018-04-02 | Xwayland unmanaged views aren't views anymore | emersion | |
2018-04-02 | Address review comments | emersion | |
2018-03-31 | Add sway_view_impl | emersion | |
2018-03-31 | Introduce common functions to create, map, unmap, destroy views | emersion | |
2018-03-31 | Merge pull request #1681 from emersion/xwayland-configure-position | Drew DeVault | |
Fix various xwayland issues | |||
2018-03-31 | Fix xwayland configure in set_size | emersion | |
2018-03-31 | Fix xwayland configure position | emersion | |
2018-03-30 | Maximize xwayland views by default | emersion | |
2018-03-30 | Handle map/unmap events in xdg-shell-v6 | emersion | |
2018-03-30 | Add lite damage tracking | emersion | |
This skips the renderer if nothing has changed, and renders everything otherwise. | |||
2018-03-30 | Merge branch 'wlroots' into wlroots-xwayland-map | Tony Crisci | |
2018-03-30 | Fix workspace deletion edge cases | Drew DeVault | |
2018-03-30 | Use the new map/unmap events for xwayland views | emersion | |
2018-03-30 | Add xwayland views to focused container | Drew DeVault | |
2018-03-30 | Fix segfault on xwayland unmanaged view unmap | emersion | |
2018-03-30 | Unify initial xwayland view mapping with map handler | emersion | |
2018-03-30 | Fix crash when override redirect views close | Drew DeVault | |
2018-03-29 | Revert "Merge pull request #1653 from swaywm/revert-1647-refactor-tree" | Tony Crisci | |
This reverts commit 472e81f35d689d67cda241acafda91c688d61046, reversing changes made to 6b7841b11ff4cd35f54d69dc92029855893e5ce0. | |||
2018-03-29 | Revert "Refactor tree" | Drew DeVault | |
2018-03-29 | arrange windows | Tony Crisci | |
2018-03-29 | more renaming things | Tony Crisci | |
2018-03-29 | rename container functions | Tony Crisci | |
2018-03-29 | move tree includes to their own directory | Tony Crisci | |
2018-03-28 | Render layer surfaces and respect exclusive zone | Drew DeVault | |
2018-03-03 | xwayland: do not send surface configure when no width/height | Dominique Martinet | |
The code in apply_horiz_layout systematically does `set_position` then `set_size`, so for new windows there is an invalid call. For old windows there are two calls when only one is needed, with the current code set_position could not send any surface configure without impact, but in the future it might be needed? Native wayland surfaces do not need to know where they are (the set_position handled only updates the sway internal view variable), why does X11 window need that? | |||
2018-02-27 | Utilize wlr_xwayland_surface_is_unmanaged | Drew DeVault | |