Amadeusz Sławiński
dda7f48407
wmaker: alt-tab to shaded windows when "SwitchPanelImages = None" is set
...
Reported-by: Josip Deanovic <djosip+news@linuxpages.net >
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net >
2014-05-26 00:20:32 +01:00
Amadeusz Sławiński
e749c455c6
wmaker: raise shaded window when alt tabbing
...
Reported-by: Josip Deanovic <djosip+news@linuxpages.net >
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net >
2014-05-26 00:20:32 +01:00
Amadeusz Sławiński
ca64091f05
Add missing options to wmsetbg manpage
...
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net >
2014-05-19 22:09:58 +01:00
Amadeusz Sławiński
c478a39a4a
reformat output so it fits on terminals with 80 columns
...
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net >
2014-05-19 22:09:58 +01:00
Amadeusz Sławiński
c6991fb991
Allow setting "FrameFocusedBorderColor" from WPrefs
...
Adds separate entry in menu and draws border around focused window.
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net >
2014-05-19 21:37:26 +01:00
Amadeusz Sławiński
bc8ccee72f
Allow setting separate border color for focused windows
...
This patch adds "FrameFocusedBorderColor" option for theming,
It should allow having borders better matching titlebar colors.
By default it's set to black.
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net >
2014-05-19 21:37:26 +01:00
Amadeusz Sławiński
9d503d2abc
Fix segfault in Wprefs when background is set to fpixmap (wmsetbg --fillscale)
...
Long time ago I added this option so I could have wallpaper filling my
screen while preserving aspect ratio.
Seems like I didn't add it to WPrefs
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net >
2014-05-19 20:58:20 +01:00
Amadeusz Sławiński
ab3057c68d
WINGs: Value stored to 'sz' is never read
...
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net >
2014-05-18 23:00:17 +01:00
Amadeusz Sławiński
18f9c49f0a
WINGs: Value stored to 'fh'|'fy' is never read
...
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net >
2014-05-18 23:00:17 +01:00
Amadeusz Sławiński
22f1ae15e6
util: Value stored to 'count' is never read
...
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net >
2014-05-18 23:00:17 +01:00
Amadeusz Sławiński
9384e3273f
WINGs: Value stored to 'aw' is never read
...
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net >
2014-05-18 23:00:17 +01:00
Amadeusz Sławiński
0db65843ff
wrlib: Value stored to 'nptr' is never read
...
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net >
2014-05-18 23:00:17 +01:00
Amadeusz Sławiński
32c720dd86
wmaker: Value stored to 'w1' is never read
...
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net >
2014-05-18 23:00:17 +01:00
Amadeusz Sławiński
677117276c
util: Value stored to 'ret' is never read
...
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net >
2014-05-18 23:00:17 +01:00
Amadeusz Sławiński
1b69c49fb2
wrlib: Value stored to 'bptr' is never read
...
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net >
2014-05-18 23:00:17 +01:00
Amadeusz Sławiński
1c6d0f38ef
wrlib: Value stored to 'i'|'tmpc' is never read
...
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net >
2014-05-18 23:00:17 +01:00
Amadeusz Sławiński
41c943e900
WINGs: Value stored to 'columnX' is never read
...
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net >
2014-05-18 23:00:17 +01:00
Amadeusz Sławiński
2cb3119e08
WPrefs: Value stored to 'timage' is never read
...
three times in a row
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net >
2014-05-18 23:00:15 +01:00
Amadeusz Sławiński
3b71662011
WINGs: actually assign variable
...
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net >
2014-05-17 15:59:48 +01:00
Amadeusz Sławiński
c1031965e9
WINGs: Value stored to 'pos'|'_w'|'done' is never read
...
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net >
2014-05-17 15:59:48 +01:00
Amadeusz Sławiński
f41880cf05
WINGs: Value stored to 'scroll' is never read
...
it is assigned after doing switch() {}
so values assigned in switch() are dropped anyway
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net >
2014-05-17 15:59:48 +01:00
Amadeusz Sławiński
b857bafc88
WINGs: Called function pointer is null (null dereference)
...
make sure that we have function to call
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net >
2014-05-17 15:59:48 +01:00
Amadeusz Sławiński
fb4cd10519
wrlib: wrong type in sizeof
...
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net >
2014-05-17 15:59:48 +01:00
Amadeusz Sławiński
7b413ff07f
wrlib: wrong type in sizeof
...
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net >
2014-05-17 15:59:48 +01:00
Amadeusz Sławiński
56772f792c
wrlib: potentially incorrect sizeof in malloc
...
Result of 'malloc' is converted to a pointer of type 'unsigned char',
which is incompatible with sizeof operand type 'char'
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net >
2014-05-17 15:59:48 +01:00
Amadeusz Sławiński
ff1e6f8273
wmlib: Potential leak of memory pointed to by 'entry'
...
two similar ones, if we return then free allocated memory
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net >
2014-05-17 15:59:47 +01:00
Amadeusz Sławiński
3187f95278
wrlib: Potential leak of memory pointed to by 'tmpp'
...
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net >
2014-05-17 15:59:47 +01:00
Amadeusz Sławiński
0faff93cf7
move dock/icons size adjustments, to fix window placement
...
Functions placing windows (PlaceWindow - src/placement.c, wMaximizeWindow -
src/actions.c) need to calculate area differently than ones placing icons
(PlaceIcon - src/placement.c, wArrangeIcons - src/actions.c).
So this patch puts adjustment code in wGetUsableAreaForHead which is
used by all those functions but called with different 'bool noicons'
argument depending on if it's called in window or icon placement
function.
Reported-by: Carlos R. Mafra <crmafra@gmail.com >
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net >
2013-12-30 18:11:07 +00:00
Amadeusz Sławiński
9c8398c0dc
Fix implicit declaration
...
usermenu.c:257:12: warning: implicit declaration of function ‘GetShortcutString’ [-Wimplicit-function-declaration]
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net >
2013-12-30 18:11:04 +00:00
Amadeusz Sławiński
cf719c2979
take dock into account when not covering icons next to it
...
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net >
2013-12-30 18:11:04 +00:00
Amadeusz Sławiński
09b28b92f1
make adjustments for dock when calculating area for miniwindows
...
Fixes bug report:
The 0.80.2 and older versions allowed the miniwindows to lay down in
parallel with wmdock (if one wanted it that way) but newer Windowmaker
versions could only partially simulate such behavior and that includes
to either setting an option NoWindowOverDock to yes or to manually set
the dock to "Keep on Top".
Reported-by: Josip Deanovic <djosip+news@linuxpages.net >
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net >
2013-12-30 18:11:04 +00:00
Amadeusz Sławiński
952319ae60
move maximization size adjustments to maximization function
...
now wGetUsableAreaForHead returns better result
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net >
2013-12-30 18:11:04 +00:00
Amadeusz Sławiński
311ab6b08c
Raise fullscreened window
...
Make sure that fullscreened window covers all normal windows
2013-12-30 18:11:03 +00:00
Amadeusz Sławiński
a504370f3b
Remove WMFullscreenLevel
...
Make fullscreen windows be on the same level as normal ones.
2013-12-30 18:11:02 +00:00
Amadeusz Sławiński
eae7ef6c59
Fix Maximize/Unmaximize in window menu
...
Add variable to track window startup size and use it when checking for changes
2012-11-24 11:07:32 +01:00
Amadeusz Sławiński
910a851f35
Fix "implicit declaration of function"
2012-06-03 18:00:38 +01:00
Amadeusz Sławiński
fc5c0fe1a4
Add fill screen scale to wmsetbg
...
I noticed that I can have different background with wmmsetbg for each
desktop and wanted to use it, but it was missing option to fill the
screen with proportionally scaled image, so here it is.
2012-06-03 17:02:30 +01:00