aboutsummaryrefslogtreecommitdiff
path: root/sway
AgeCommit message (Collapse)Author
2018-07-14Simplify transactions by utilising a dirty flag on containersRyan Dwyer
This PR changes the way we handle transactions to a more simple method. The new method is to mark containers as dirty from low level code (eg. arranging, or container_destroy, and eventually seat_set_focus), then call transaction_commit_dirty which picks up those containers and runs them through a transaction. The old methods of using transactions (arrange_and_commit, or creating one manually) are now no longer possible. The highest-level code (execute_command and view implementation handlers) will call transaction_commit_dirty, so most other code just needs to set containers as dirty. This is done by arranging, but can also be done by calling container_set_dirty.
2018-07-14Force min/max size when resizing floating containersRyan Dwyer
2018-07-14Implement resize grow|shrink <direction> <amount> or <amount>Ryan Dwyer
2018-07-14Implement resize command for floating viewsRyan Dwyer
Implements the following for floating views: * resize set <width> <height> * resize <grow|shrink> <width|height|up|down|left|right> <amount>
2018-07-13Simplify popup_unconstrainemersion
Just use the parent output.
2018-07-13Fix output_has_opaque_lockscreenemersion
2018-07-13Merge pull request #2252 from rkubosz/scroll-button-optionDrew DeVault
feature: scroll button option for input devices
2018-07-13add error handling for scroll button out of rangeRobert Kubosz
user will be informed if the scroll button indentifier values causes underflow or overflow.
2018-07-13Merge branch 'master' into xwayland-floating-bordersRyan Dwyer
2018-07-12expanded error detection for scroll button optionRobert Kubosz
Now the scroll_button will not accept: - letters on string beginning; - negative numbers. What is tolerated: - letters after number; - rational numbers: the fraction after dot will be omitted.
2018-07-12Merge pull request #2253 from Hello71/issue2249Drew DeVault
config.c: fix current_config uninit warning (#2249)
2018-07-12Add xdg-positioner supportemersion
2018-07-12Don't disable borders for xwayland floating viewsemersion
2018-07-12config.c: fix current_config uninit warning (#2249)Alex Xu
2018-07-12rm constraint for max value of button identifierRobert Kubosz
updated error message to be more adequate for current contraint
2018-07-12add paragraph to sway-input man pageRobert Kubosz
The added paragraph describes how to get button identifier and set it in config.
2018-07-12increase maximum value of button identifierRobert Kubosz
and also cleanup spaces
2018-07-12Fix crash in seat codeRyan Dwyer
Container will be NULL if launching swaylock.
2018-07-11Updates for swaywm/wlroots#1116emersion
2018-07-11Merge pull request #2248 from Dudemanguy911/fix_crash_on_floating_windowsDrew DeVault
fix crash on floating windows
2018-07-11add scroll button optionRobert Kubosz
This commit introduces a scroll_button option, which is intended to be used with scroll_method. Now user can edit his sway config and add an scroll_button option to device section.
2018-07-11fix crash on floating windowsdudemanguy
2018-07-11Implement floating_minimum_size and floating_maximum_sizeRyan Dwyer
2018-07-11Merge pull request #2243 from RyanDwyer/use-fullscreen-saved-bufferemersion
Use saved buffer when fullscreen view is in a transaction
2018-07-11Use saved buffer when fullscreen view is in a transactionRyan Dwyer
Fixes #2237.
2018-07-11Move floating windows to front when focusedRyan Dwyer
2018-07-10removed unnecessary parensruss morris
2018-07-10fix line lengthsruss morris
2018-07-10tabs instead of spacesruss morris
2018-07-10fix tabbed titlebar widthsruss morris
2018-07-10Add get_config message type to ipcIan Fan
2018-07-10Add get_binding_modes message type to ipcIan Fan
2018-07-10Merge branch 'master' into fix-stacked-layoutRyan Dwyer
2018-07-09Merge branch 'master' into focus-mode-toggleDrew DeVault
2018-07-09Update for swaywm/wlroots#1126emersion
2018-07-10Fix titlebar rendering for nested stacked containersKonstantin Pospelov
2018-07-09Document `focus floating|tiling`emersion
2018-07-09Implement `focus mode_toggle`emersion
2018-07-09Merge pull request #2223 from RyanDwyer/floating-moveemersion
Implement some floating move commands
2018-07-09Remove duplicate function declaration and add assertionRyan Dwyer
2018-07-09Implement some floating move commandsRyan Dwyer
This implements the following for floating containers: * move <direction> <amount> * move [absolute] position <x> <y> * move [absolute] position mouse
2018-07-09No need to walk to workspace, recursive willvilhalmer
2018-07-09Regroup signalvilhalmer
2018-07-08Replace empty workspace with moved workspacevilhalmer
2018-07-07Split rendereremersion
2018-07-07Fix titles when container titles contain UTF-8 charactersRyan Dwyer
The title and marks textures would have their height set from the config's computed max font height, but the textures were not regenerated when the config's max font height changed which made a gap appear. Rather than making it regenerate the title textures every time the config font height was changed, I've changed it to just make the textures the height of the title itself and fill any gap when rendering. Also, the title_width and marks_width variables have been renamed to make it more obvious that they are in output-buffer-local coordinates. Fixes #1936.
2018-07-06Make view_update_* update live props as wellemersion
2018-07-06Fix xwayland floating views unclickableemersion
Some xwayland views are first configured with a 1x1 size, and then resized. Since the view size isn't updated, they are unclickable. Fixes #2195
2018-07-06Merge pull request #2206 from martinetd/leaksDrew DeVault
Fix a bunch of leaks
2018-07-06Merge branch 'master' into leaksemersion