aboutsummaryrefslogtreecommitdiff
path: root/include/sway/output.h
AgeCommit message (Collapse)Author
2018-07-25Improve rendering with a fullscreen opaque overlay surfaceemersion
The rendering code doesn't use the exclusive input surface at all anymore to decide to skip rendering of shell surfaces. This fixes a weird situation in which a client requests exclusive input but isn't an overlay layer surface. The renderer also renders all overlay surfaces in this situation, not just one. This simplifies the code and fixes rendering when there are more than one overlay surfaces (e.g. for a virtual keyboard to type the lockscreen password).
2018-07-07Split rendereremersion
2018-07-07Use opaque region to determine if frame done should be sentRyan Dwyer
2018-06-29Merge remote-tracking branch 'upstream/master' into atomicRyan Dwyer
2018-06-26layer_shell: order destroying before sway_outputDominique Martinet
Both sway_output and sway_layer_shell listen to wlr's output destroy event, but sway_layer_shell needs to access into sway_output's data strucure and needs to be destroyed first. Resolve this by making sway_layer_shell listen to a new event that happens at start of sway_output's destroy handler
2018-06-09WIP: Atomic layout updates ground workRyan Dwyer
2018-06-06Switch output storing from list_t to wl_listBrian Ashworth
2018-06-06Store sway_outputs so that they can be reenabledBrian Ashworth
2018-05-10Damage borders when damaging viewemersion
2018-04-06Simplify damage tracking functions, use them in layer shellemersion
2018-04-05Fix desktop_damage_whole_surfaceemersion
2018-04-05Add container_damage_wholeemersion
2018-04-05Add damage tracking for xwayland unmanaged surfacesemersion
2018-04-02Merge branch 'wlroots' into view-redesignemersion
2018-04-02Partially implement move commandDrew DeVault
Works: - move [container|window] to workspace <name> - Note, this should be able to move C_CONTAINER but this is untested - move [workspace] to output [left|right|up|down|<name>] Not implemented yet: - move [left|right|up|down] - move scratchpad - move position
2018-03-31Introduce common functions to create, map, unmap, destroy viewsemersion
2018-03-30Add lite damage trackingemersion
This skips the renderer if nothing has changed, and renders everything otherwise.
2018-03-29Some layer shell fixesDrew DeVault
Based on the corresponding rootston changes
2018-03-28Address review feedbackDrew DeVault
2018-03-28Render layer surfaces and respect exclusive zoneDrew DeVault
2018-03-28Add initial layer shell skeletonDrew DeVault
2018-02-14output destroyTony Crisci
2017-12-13Update output containers on output layout changeemersion
2017-12-12Add scale and transform events to sway_outputemersion
2017-11-25Arrange windows on desktopDrew DeVault
2017-11-19Add outputs to the treeDrew DeVault
2017-11-18Move everything to sway/old/Drew DeVault
2017-11-11Wire up output frame loopDrew DeVault
2017-01-13Add output wrappingDaniel Kessler
This fixes issue #733. Now if the user focuses output right but is at the rightmost monitor, the focus will wrap the the leftmost monitor. This commit adds a new function, swayc_opposite_output, which selects the opposite output given a position and a direction. Now, when calling output_by_name, we first check if there is an adjacent output to switch to. If that fails, we call swayc_opposite_output to handle wrapping.
2016-09-01Reorganize includesDrew DeVault