Commit Graph

5189 Commits

Author SHA1 Message Date
Kim Woelders 8878d862fd background: Discard broken backgrounds when opening configuration dialog 2022-05-13 15:35:10 +02:00
Kim Woelders 3008713107 Update winter theme
Fix vertical iconbox sliders (Milan Maljković)
2022-05-12 19:18:23 +02:00
Kim Woelders cf4e4d7193 autofoo: Invert no-container option logic
Should make it less likely that it is activated by mistake.

(apparently causes focus issues)
2022-05-09 15:49:46 +02:00
Kim Woelders f640a09346 moveresize: Fix screen edge resistance for grouped windows
Previously a window group being moved would not be affected by the
screen edge resistance.
Now the dragged window is subject to the screen edge resistance.
2022-05-09 15:49:46 +02:00
Kim Woelders ebd3b74f49 moveresize: Move SnapEwin() to where it is used. 2022-05-09 15:49:46 +02:00
Kim Woelders a68018d795 moveresize: Enable configuring edge restistance in dialog 2022-05-09 14:05:24 +02:00
Kim Woelders f8d7cb8c00 arrange: Introduce screen struts
Can be used to  restrict area where windows are normally placed.
Works like struts set by clients with _NET_WM_STRUT.

Sugested by Milan Maljković.
2022-05-03 19:20:19 +02:00
Kim Woelders 398622f986 arrange: Refactor SnapEwin() 2022-05-03 19:20:19 +02:00
Kim Woelders de008aa637 session: Fix broken session id handling
Also fixes a minor memory leak.
2022-05-01 20:19:43 +02:00
Kim Woelders c350cbcf4b pinning: Remember across restart 2022-05-01 20:19:43 +02:00
Kim Woelders 1cc55627d2 menus: Drop (edox) Help 2022-05-01 20:19:43 +02:00
Kim Woelders 5938226ffd main: Don't start edox on first startup
The edox documentaion is rather dated - time to drop it.
2022-05-01 20:19:43 +02:00
Kim Woelders 452429832e French translation update (Philippe J. Guillaumie) 2022-04-30 20:26:41 +02:00
Kim Woelders cf5927deb8 Clamp window position on move
In non-compositing mode the x/y coordinate limts are [-32768; 32767] as
should be expected. If moving beyond these values the coordinates are
just set modulo 2^16 (like in a signed 16 bit integer) and most likely
this isn't noticed anywhere.

In compositing mode the coordinates apperently must be clamped some
more, but it is not clear why or where the limit is.
The problem manifests itself in that a window moved "too far" seems to
have disappeared when moving it back on screen, possibly because the
name pixmap is invalidated.
Shading/unshading the window makes it re-appear.

The problem can be seen when dragging a window far off a (small) pager.
2022-04-30 20:26:41 +02:00
Kim Woelders dc5db9e4a1 CM: Adjust shadowing conditions some more
Re-enable sharp shadows on shaped windows.
Should be ok now that sharp shadowing shaped windows has been fixed.
2022-04-29 20:01:17 +02:00
Kim Woelders 5b071a0e26 CM: Fix sharp shadows when window is shaped
This once did work. I wonder when it broke.
2022-04-29 19:53:08 +02:00
Kim Woelders 95a41f07a2 place-pagers.pl: Behave properly when pagers have borders 2022-04-28 19:26:58 +02:00
Kim Woelders f07b6a74e5 ipc: Add custom format window_list 2022-04-28 19:26:58 +02:00
Kim Woelders f0a0a4526b Danish translation update 2022-04-24 18:02:14 +02:00
Kim Woelders 6956fa3588 po: Patch po files in accordance with text changes 2022-04-24 12:41:25 +02:00
Kim Woelders 0abe277197 config/menus: Text cleanups
In general only capitalize first word.
Consistently don't have periods at oneline string end.
Tweak text here and there.
2022-04-24 12:41:25 +02:00
Kim Woelders 546c1bb2df dialogs: Text cleanups
In general only capitalize first word.
Capitalization of words was somewhat inconsistent throughout the
dialogs.
2022-04-24 12:41:25 +02:00
Kim Woelders c6fc7e4fb9 Update config/strings.c and po 2022-04-24 12:23:48 +02:00
Kim Woelders 54a666166d po: On Top -> Highest 2022-04-24 12:23:47 +02:00
Kim Woelders a4cd43578d dialogs: Fixup after recent layout changes 2022-04-24 12:22:58 +02:00
Kim Woelders a0c24a89af Fix C++ build
Apparently compiling with -x c++ does produce warnings about missing
items in designated initializers.
2022-04-24 11:39:50 +02:00
Kim Woelders 5f23c8fce9 arrange: Fix C++ build 2022-04-24 11:39:50 +02:00
Kim Woelders f812edf7fe epp: Fix potential compiler warning 2022-04-24 11:39:50 +02:00
Kim Woelders 3ad01fdda7 focus: IPC help tweaks
- Mention next, prev, and focus mode ?
- Some wording and format changes
2022-04-22 17:00:05 +02:00
Kim Woelders a178c11eb9 menus: Add pass_ptr option to winops menu 2022-04-22 13:29:46 +02:00
Kim Woelders 403f8659e4 place-pagers.pl: Only optionally stack below(or above) 2022-04-22 13:23:49 +02:00
Kim Woelders 6d6d1c8dc4 ipc: Debug tweaks 2022-04-22 13:23:32 +02:00
Kim Woelders a09b13260a dialogs: Drop re-centering combined dialog on item change
Gives maybe a bit more smooth appearance.
Allows it to be moved away and not re-centered on change.
2022-04-22 08:02:23 +02:00
Kim Woelders 3c42724f96 Dialog layout adjustments
In general left-align text labels.
2022-04-22 07:41:58 +02:00
Kim Woelders 8090324299 moveresize: Refactor some conditions for readability 2022-04-22 07:35:28 +02:00
Kim Woelders a5228ad9e0 moveresize: Remove long time unused constrained move code
Not active because doMoveConstrained() has been disabled for ages.

Was effectively equivalent to setting misc.snap.screen_snap_dist to
large value.
2022-04-22 07:35:20 +02:00
Kim Woelders 04f040199c moveresize: Remove long time unused swapmove code
Not active because doSwapMove() has been disabled for ages.

Not resurrecting, doesn't seem to work properly.
2022-04-22 07:35:00 +02:00
Kim Woelders e789b1740e moveresize: Remove disabled nogroup move functions
Nogroup operations have been implemented by other means.
2022-04-21 09:08:47 +02:00
Kim Woelders 5e7ca9c93e containers: Configuration saving tweaks - fixup
Forgot to change file name buffer, container configuration changes
could get lost.
2022-04-19 18:11:21 +02:00
Kim Woelders 9cfe1e2577 Fix some problems with resize-by-keyboard
If using the pointer while in resize-by-keyboard mode one could run into
a couple of issues, among others that the window outline frame might not
be taken down.

To fix this the pointer is now also grabbed in resize-by-keyboard mode
but pointer events ignored.
2022-04-19 17:05:55 +02:00
Kim Woelders 243c33d084 Winops layer menu: Add "Lowest"
Also rename "On Top" to "Highest".
2022-04-19 14:41:55 +02:00
Kim Woelders 0eb986a943 ipc: win_op help updates 2022-04-18 20:41:11 +02:00
Kim Woelders f370ba49a3 French translation update (Philippe J. Guillaumie) 2022-04-18 20:41:11 +02:00
Kim Woelders 34f007d088 Add window option to pass-through pointer events 2022-04-16 11:26:17 +02:00
Kim Woelders edd9216610 arrange: Disable ARRANGE_BY_POSITION mode
Rather perculiar thing..
2022-04-04 18:35:45 +02:00
Kim Woelders 684e911c9e arrange: Simplify/speed up by using qsort(), cosmetics 2022-04-04 18:35:45 +02:00
Kim Woelders b3e5758442 arrange: Minor tweak in SnapEwin()
Use EwinListGetAll() instead of EwinListOrderGet().
ListWinGroupMembersForEwin() uses EwinListGetAll() (i.e. the stacking
list) so it seems more consistent to use the same throughout this
function.
2022-04-04 13:21:18 +02:00
Kim Woelders c5ffe964b0 arrange: Use object order list when arranging
Previously the stacking order was used. This meant that windows of the
same size after stacking changes might be shuffled around when doing e.g.
"desk arrange", which does not seem right.
2022-04-04 13:21:18 +02:00
Kim Woelders 31cb37f935 arrange: Remove pointless call to EwinListGetAll() 2022-04-04 13:21:18 +02:00
Kim Woelders 08b70658d3 stacking: Hold all objects in the order list
I.e. not just the EWins.
2022-04-04 13:17:53 +02:00