270 Commits (9c93e1c0ce53fb7776ff29129b53b12694d9abff)

Author SHA1 Message Date
Ryan Dwyer 0f6d212629 Send output enter/leave events correctly
6 years ago
Ryan Dwyer 2b5a404ac9 Replace hacky L_FLOATING container with a list
6 years ago
Ryan Dwyer 7f22fab389
Merge branch 'master' into commands
6 years ago
Drew DeVault d0a24465d7
Merge pull request #2466 from RyanDwyer/geometry
6 years ago
Ian Fan 23601a8771 commands: complete assign command
6 years ago
Ryan Dwyer d6cd79c342 Implement iterators per container type
6 years ago
Ryan Dwyer b0a5f3a25f Store geometry in the view and handle any floating view resizing
6 years ago
emersion b3ee9af0c8 Add view_get_geometry
6 years ago
Brian Ashworth 3c26536267
Merge branch 'master' into master
6 years ago
Ian Fan f7c21451df commands: fix workspace edge cases
6 years ago
Ian Fan 69e1a421fc commands: complete move implementation
6 years ago
Mariusz Bialonczyk 776b9b7e1f Fix segv when sway is terminating
6 years ago
Ryan Dwyer 30e7e0f7c7 Move workspace pid code to root.c
6 years ago
Ryan Dwyer 854c5fbec8 Fix crash when fullscreen view closes on inactive workspace
6 years ago
Ryan Dwyer 8392eae40f Revert "Revert "Fix popups""
6 years ago
Drew DeVault 9aa258d33a Revert "Fix popups"
6 years ago
Ryan Dwyer 9339026a31 Fix focus related crashes
6 years ago
emersion 47bf4ed0cb
Merge branch 'master' into fix-resize-wiggle
6 years ago
Drew DeVault 9564c73c0d
Merge pull request #2391 from RyanDwyer/fix-popups-v2
6 years ago
Ian Fan 317217f2c8 ipc: add window::mark event
6 years ago
Ian Fan 4f8f363dda ipc: add window::title event
6 years ago
Ryan Dwyer d10ccc1eb1 Correctly track saved surfaces during multiple transactions
6 years ago
Ryan Dwyer 7a59508da4 Close popups when changing focus
6 years ago
Ryan Dwyer de86d65627 Fix popups
6 years ago
Ryan Dwyer 902a1402ba Fix crash when a child of a floating container is in the scratchpad
6 years ago
Ryan Dwyer 08cfba2192 Allow containers to float
6 years ago
Ryan Dwyer 6ceb1d33fd Fix assign to workspace
6 years ago
Ryan Dwyer a90f2dbde9 Refactor view_map
6 years ago
Ryan Dwyer 27a20a4884 Allow containers to be fullscreen
6 years ago
Pascal Pascher 384c55c0b4 more style fixes, reorder config.h include
6 years ago
Pascal Pascher f95cb9a7c1 reverted includes of "sway/config.h" and replaced with "config.h" from meson build
6 years ago
Pascal Pascher 79a45d4a40 more style fixes, included "sway/config.h" where needed
6 years ago
Pascal Pascher 2bf893248a style fixes, exclude sway/desctop/xwayland.c when enable_xwayland: false
6 years ago
Pascal Pascher 24ad1c3983 Added meson option "enable_xwayland" (default: true) to enable/disable xwayland support
6 years ago
Drew DeVault f4b882475e Merge branch 'master' into pid-workspaces
6 years ago
Ryan Dwyer 81e8f31cc6 Implement scratchpad
6 years ago
Ryan Dwyer 011d1ebfa4 Consider view's min/max sizes when resizing
6 years ago
Ryan Dwyer 9fbe13b9be Implement floating_modifier and mouse operations for floating views
6 years ago
Ryan Dwyer 54b00d351e Implement assign to output
6 years ago
frsfnrrg b3014f7b16 Fix uninitialized pointer in view_unmap
6 years ago
Brian Ashworth 10fc7a5b49
Merge branch 'master' into default-floating-border
6 years ago
Ryan Dwyer 9cbff272cb Remove superfluous IPC urgent events
6 years ago
Ryan Dwyer 75c699db62 Implement default_floating_border command and adjust CSD behaviour
6 years ago
Drew DeVault d6bd314dff
Merge pull request #2276 from RyanDwyer/urgency
6 years ago
Ryan Dwyer e2f28c023c Focus view before running criteria when mapping
6 years ago
Ryan Dwyer fc2484095a Implement no_focus command
6 years ago
Ryan Dwyer 5f0a4bb6a4 Update workspace urgent state when views close or move workspaces
6 years ago
Ryan Dwyer f86087d78f Fix urgency IPC events
6 years ago
Ryan Dwyer 315d5311b2 Implement urgency base functionality
6 years ago
Ryan Dwyer 2032f85d94 Simplify transactions by utilising a dirty flag on containers
6 years ago
emersion 9b16227ec3 Don't disable borders for xwayland floating views
6 years ago
emersion 60fdb71a1f Updates for swaywm/wlroots#1116
6 years ago
Ryan Dwyer f2d1cf3ceb Implement floating_minimum_size and floating_maximum_size
6 years ago
emersion 63b4bf5000
Update for swaywm/wlroots#1126
6 years ago
Ryan Dwyer 0046eed969 Fix titles when container titles contain UTF-8 characters
6 years ago
emersion 9a9d9116be
Make view_update_* update live props as well
6 years ago
Dominique Martinet 785ed4383b view_map: free criterias as the list it is
6 years ago
Ryan Dwyer fc826b921f Call view_set_tiled for mapping non-floating views
6 years ago
Ryan Dwyer f156a25e64 Only call view_set_tiled when switching floating mode
6 years ago
Drew DeVault acd79e1505 Implement pid->workspace tracking
6 years ago
Dominique Martinet 9ea4cc13a0 sway views: add helpers to get view and layer from wlr_surface
6 years ago
Ryan Dwyer e396af853b Merge remote-tracking branch 'upstream/master' into atomic
6 years ago
Rostislav Pehlivanov e0d0e8f840 Revert "Don't unmaximize floating views"
6 years ago
emersion 4de28bba68
Fix floating views not receiving frame events
6 years ago
Ryan Dwyer e6829c5991 Move unsetting of view->surface into view_unmap
7 years ago
Ryan Dwyer be86d3aba6 Remove transaction_add_damage
7 years ago
Ryan Dwyer 50190bc760 Rename view's free callback to destroy
7 years ago
Ryan Dwyer 7a922c65aa Damage output when a fullscreen view unmaps
7 years ago
Ryan Dwyer 9b15e81cff Fix potential crash when fullscreen view unmaps
7 years ago
Ryan Dwyer 38398e2d77 Implement atomic layout updates for tree operations
7 years ago
Ryan Dwyer bb66e6d578 Refactor everything that needs to arrange windows
7 years ago
Ryan Dwyer f9e6d703d2 Make main properties be the pending state
7 years ago
Ryan Dwyer 59c9488701 WIP: Atomic layout updates ground work
7 years ago
Konstantin Pospelov e6baac4297 Fix view title update order
7 years ago
Ryan Dwyer 3f1cfd547e Fix top border when a view is initially floating
7 years ago
Ryan Dwyer a2c1cb9072 Fix mpv damage issue when unfullscreening into floating
7 years ago
Ryan Dwyer f24087d104 Fix fullscreen position
7 years ago
Ryan Dwyer 97672295ed Don't unmaximize floating views
7 years ago
Ryan Dwyer 70f5d6fcf3 Rename container_set_geometry_from_view
7 years ago
Ryan Dwyer e4e912ea91 Store swayc coordinates as layout-local
7 years ago
Ryan Dwyer 02de2a6f65 Rename set_maximized functions to set_tiled
7 years ago
Ryan Dwyer 13a4b0512e Fix unfullscreening a floating view
7 years ago
Ryan Dwyer aaba7642b3 Replace is_floating boolean with function
7 years ago
Ryan Dwyer 1f2e399ade Implement floating
7 years ago
Ryan Dwyer 9df1432f56 Refactor parse_title_format
7 years ago
Ryan Dwyer d3dd7e5bae Rename view_get_type to view_get_shell
7 years ago
Ryan Dwyer 51865c00c8 Add %app_id to title_format
7 years ago
Drew DeVault ab74c95d56
Merge pull request #2036 from RyanDwyer/workspace-switch-on-map
7 years ago
Ryan Dwyer f32a002401 Switch workspace if required when mapping a view
7 years ago
Ryan Dwyer db38b9bbf3 Clean up container title functions
7 years ago
Ryan Dwyer f6c3682c05 Use constants for titlebar dimensions
7 years ago
Ryan Dwyer 664169fbf1 Implement stacked layout
7 years ago
Brian Ashworth 0273c6438c Fix hide_edge_borders smart for tabs and stacks
7 years ago
Ryan Dwyer 5ab4930185 Fix tab border issues
7 years ago
Ryan Dwyer efc07fb3d4 Don't track damage for views on inactive tabs
7 years ago
Ryan Dwyer c08f9bf257 Implement tabbed layout
7 years ago
Ryan Dwyer c4ea2b51f6 Fix hide_edge_borders constraints
7 years ago
Ryan Dwyer ebb0d051db Fix many border opacity issues
7 years ago
Ryan Dwyer 69ac7f73e7 Destroy marks textures when view destroyed
7 years ago
Ryan Dwyer b351d0a64a Set textures to null when destroying
7 years ago
Ryan Dwyer 5384fdcbc6 Don't show marks which start with an underscore
7 years ago
Ryan Dwyer 0e2cc0af30 Implement show_marks
7 years ago
Ryan Dwyer fc96f004d2 Don't steal focus when a view changes its title
7 years ago
Ryan Dwyer 22d38600d0 Implement marks
7 years ago
Brian Ashworth 9ba0dca7ba
Merge branch 'master' into fix-1975
7 years ago
emersion 95a10dd4f3
Kill wl_shell
7 years ago
Brian Ashworth 3488fbc859 Fix y and height for a hidden top normal border
7 years ago
Brian Ashworth 34b864fb17
Merge branch 'master' into fix-1975
7 years ago
Brian Ashworth 6ff7c52736 Fix titles and detect edges for hide_edge_borders
7 years ago
Ryan Dwyer 92b8497a0b Fix crash when launching programs from dmenu
7 years ago
Ryan Dwyer bffcb496cc Revert "Revert "Merge pull request #1953 from RyanDwyer/criteria-focused""
7 years ago
Ryan Dwyer 1e9aaa54a8 Revert "Revert "Merge pull request #1943 from RyanDwyer/criteria-improvements""
7 years ago
Drew DeVault b2dec12368
Merge pull request #1970 from emersion/xdg-shell-stable
7 years ago
emersion 88d9d43b36
Add xdg-shell stable support
7 years ago
Heghedus Razvan 789a877b37 Fix crash when using pango markup font
7 years ago
Brian Ashworth 2adf23c2a3 Only count views for hide_edge_borders smart
7 years ago
Brian Ashworth ec60e24f75
Merge branch 'master' into edge-borders
7 years ago
Brian Ashworth e3625d8f33 Count descendant views for hide_edge_borders smart
7 years ago
Drew DeVault 32a572cecf Revert "Merge pull request #1943 from RyanDwyer/criteria-improvements"
7 years ago
Drew DeVault ac0e62584f Revert "Merge pull request #1953 from RyanDwyer/criteria-focused"
7 years ago
Ryan Dwyer 4717c71da5
Merge branch 'master' into fix-crash-on-fullscreen
7 years ago
Ryan Dwyer 94e42f9857 Implement __focused__ criteria
7 years ago
Brian Ashworth 3db7fc2bb2 Implement hide_edge_borders
7 years ago
Dudemanguy911 935bda0f33 fix crash on fullscreen toggle
7 years ago
Ryan Dwyer 3b0c26d149 Overhaul criteria implementation
7 years ago
emersion bec80f1551
Damage borders when damaging view
7 years ago
Ryan Dwyer 936226845f Add extra check for view title being NULL
7 years ago
Ryan Dwyer 5d6d24e71a Move code for re-arranging after font height change into a common place
7 years ago
Ryan Dwyer da7d6642d3 Refactor parse_title_format()
7 years ago
Ryan Dwyer 228c478e8d Implement title_format
7 years ago
Ryan Dwyer b667298a0a Render titles
7 years ago
Dillen Meijboom b45e2bd95e Fixed #1888 GCC cannot compile due to uninitialized variables (#1889)
7 years ago
Ryan Dwyer 83952c5201 Restore view_update_position()
7 years ago
Ryan Dwyer fa5de2876e Move docblock and fix indenting of switch/case.
7 years ago
Ryan Dwyer 630ba30e3c Implement borders
7 years ago
Ryan Dwyer 91f97fc21a Fix segfault in view_unmap()
7 years ago
Ryan Dwyer 167c2e1aa9 Refactor arrange_windows()
7 years ago
Ryan Dwyer dfc26c664f Update wording about unmanaged/unmapped views
7 years ago
Ryan Dwyer 30a7488936 Add assert to view_execute_criteria()
7 years ago
Ryan Dwyer 72767e1cc3 Implement criteria commands
7 years ago
emersion a41057714f
Update for wlroots#885
7 years ago
Ryan Dwyer 72beae209b Fullscreen fixes.
7 years ago
Ryan Dwyer cc4da245a8 Fix views unmapping their own fullscreen windows.
7 years ago
Ryan Dwyer c685ef081f Create sway_workspace struct.
7 years ago
Ryan Dwyer bfd5834f4c Feedback for fullscreen.
7 years ago
Ryan Dwyer 52420cc24d Implement fullscreen.
7 years ago
emersion 516f5454ad
Simplify damage tracking functions, use them in layer shell
7 years ago
emersion 290c916290
Send surface enter/leave events to view children
7 years ago
emersion 88e3e5ea5d
Fix wl_output enter/leave events
7 years ago
emersion 6b9b03f09f
Remove outdated TODO
7 years ago