aboutsummaryrefslogtreecommitdiffstats
path: root/sway/desktop/xwayland.c
Commit message (Collapse)AuthorAge
...
| * Updates per wlroots#1076Libravatar Drew DeVault2018-07-05
| |
| * Fix damage on swaybar when view requests to exit fullscreenLibravatar Ryan Dwyer2018-07-02
| | | | | | | | Fixes #2191
* | Implement pid->workspace trackingLibravatar Drew DeVault2018-07-01
|/ | | | | | | | | When you spawn a process with the exec command, sway now notes the workspace you had focused and the pid of the child process, then assigns that workspace to the child when its window appears. Some of this is carried over from sway 0.15, but with some major refactoring and centralization of state.
* sway views: add helpers to get view and layer from wlr_surfaceLibravatar Dominique Martinet2018-06-30
|
* Merge remote-tracking branch 'upstream/master' into atomicLibravatar Ryan Dwyer2018-06-30
|\
| * Revert "Don't unmaximize floating views"Libravatar Rostislav Pehlivanov2018-06-30
| | | | | | | | This reverts commit 97672295ed50d1d6272876c4a3b6b5607cab05c6.
* | Fix flash of background when xwayland views are mappedLibravatar Ryan Dwyer2018-06-30
| | | | | | | | | | | | | | | | | | | | | | A flash of background was happening for two reasons: 1) We were using the xsurface's dimensions to check if the surface is ready, but these are pending dimensions. 2) In my particular setup, the default geometry of the xsurface does not intersect any output, which prevented it from receiving a frame done event. This made the transaction time out and the client would only redraw once it's been rendered.
* | Merge remote-tracking branch 'upstream/master' into atomicLibravatar Ryan Dwyer2018-06-29
|\|
| * fix accidently removing borders on XCB_CONFIGURE_REQUESTLibravatar Armin Preiml2018-06-27
| | | | | | | | | | | | | | The view was configured with the container coordinates. Although they were right on the first configure, they changed after a XCB_CONFIGURE_REQUEST, when the border was already drawn.
| * xwayland: accept configure requests from floating viewsLibravatar emersion2018-06-24
| |
| * Automatically float xwayland windowsLibravatar emersion2018-06-18
| |
* | Move unsetting of view->surface into view_unmapLibravatar Ryan Dwyer2018-06-27
| |
* | Remove transaction_add_damageLibravatar Ryan Dwyer2018-06-27
| | | | | | | | Instead, damage each container when applying the transaction.
* | Damage output when views toggle fullscreenLibravatar Ryan Dwyer2018-06-26
| | | | | | | | | | Also add workspace to the transaction when a view maps in fullscreen mode.
* | Rename view's free callback to destroyLibravatar Ryan Dwyer2018-06-26
| |
* | Damage output when a fullscreen view unmapsLibravatar Ryan Dwyer2018-06-26
| | | | | | | | | | Also moved the arranging into view_unmap to avoid excessive code duplication.
* | Implement atomic layout updates for xwayland viewsLibravatar Ryan Dwyer2018-06-24
| |
* | Implement atomic layout updates for tree operationsLibravatar Ryan Dwyer2018-06-23
| | | | | | | | | | This implements atomic layout updates for when views map, reparent or unmap.
* | Preserve buffers during transactionsLibravatar Ryan Dwyer2018-06-18
| | | | | | | | | | * Also fix parts of the rendering where it was rendering the pending state instead of current.
* | Refactor everything that needs to arrange windowsLibravatar Ryan Dwyer2018-06-09
| | | | | | | | | | | | | | | | | | | | * The arrange_foo functions are now replaced with arrange_and_commit, or with manually created transactions and arrange_windows x2. * The arrange functions are now only called from the highest level functions rather than from both high level and low level functions. * Due to the previous point, view_set_fullscreen_raw and view_set_fullscreen are both merged into one function again. * Floating and fullscreen are now working with transactions.
* | Make main properties be the pending stateLibravatar Ryan Dwyer2018-06-09
| |
* | WIP: Atomic layout updates ground workLibravatar Ryan Dwyer2018-06-09
|/
* Don't restore focus if unmapping surface wasn't focusedLibravatar Ryan Dwyer2018-06-04
|
* Restore focus when unmapping unmanaged xwayland surfacesLibravatar Ryan Dwyer2018-06-04
|
* Fix fullscreen position of xwayland viewsLibravatar Ryan Dwyer2018-06-01
|
* Fix floating position when view is floated when mappedLibravatar Ryan Dwyer2018-06-01
|
* Don't unmaximize floating viewsLibravatar Ryan Dwyer2018-06-01
|
* Remove unfinished wants_floating implementation for xwaylandLibravatar Ryan Dwyer2018-06-01
|
* Don't let xwayland views set position unless unmanagedLibravatar Ryan Dwyer2018-06-01
|
* Store swayc coordinates as layout-localLibravatar Ryan Dwyer2018-06-01
|
* Rename set_maximized functions to set_tiledLibravatar Ryan Dwyer2018-06-01
|
* Replace is_floating boolean with functionLibravatar Ryan Dwyer2018-06-01
|
* Implement floatingLibravatar Ryan Dwyer2018-06-01
|
* Revert "Revert "Merge pull request #1943 from RyanDwyer/criteria-improvements""Libravatar Ryan Dwyer2018-05-14
| | | | | | | This reverts commit 32a572cecfd0f6072a78ce0a381a2f8365f9010a. This reimplements the criteria overhaul in preparation for fixing a known bug.
* Don't destroy view child on xdg-popup unmapLibravatar emersion2018-05-12
|
* Revert "Merge pull request #1943 from RyanDwyer/criteria-improvements"Libravatar Drew DeVault2018-05-12
| | | | | This reverts commit 3e1bf721c69cb6df70c3dc3d3d4933e987339676, reversing changes made to 2217518bd554d0f11dafa7ec4e8f35f2e4762fbd.
* Overhaul criteria implementationLibravatar Ryan Dwyer2018-05-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Damage borders when damaging viewLibravatar emersion2018-05-10
|
* Implement title_formatLibravatar Ryan Dwyer2018-05-05
| | | | | | | | | | 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)
* Update titles when surfaces are committedLibravatar Ryan Dwyer2018-05-03
|
* Implement bordersLibravatar Ryan Dwyer2018-04-30
| | | | | | | | | | | | | 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
* Don't call view_set_fullscreen on unmapped xwayland viewsLibravatar emersion2018-04-28
|
* Do not let tiled xwayland views do what they wantLibravatar emersion2018-04-24
|
* Don't unmap on destroy, this is already guaranteed by wlrootsLibravatar emersion2018-04-20
|
* Handle fullscreen flag when mapping a surface.Libravatar Ryan Dwyer2018-04-17
|
* Feedback for fullscreen.Libravatar Ryan Dwyer2018-04-17
|
* Implement fullscreen.Libravatar Ryan Dwyer2018-04-16
|
* Do not call the map handler when an xwayland surface is createdLibravatar emersion2018-04-13
|
* Give keyboard focus to unmanaged xwayland surfacesLibravatar emersion2018-04-07
| | | | This fixes dmenu
* Simplify damage tracking functions, use them in layer shellLibravatar emersion2018-04-06
|