Commit graph

456 commits

Author SHA1 Message Date
Scott Moynes
8b55442b2e use drop shadow height in the font height.
honour rc file config option for drop shadows with new shadow code
2002-10-17 02:59:30 +00:00
Scott Moynes
8552ba2ac9 xft drawing on offsets once and for all 2002-10-17 02:37:23 +00:00
Scott Moynes
d974e00bc9 fixed the drop shadow window clearing bug in Basemenu 2002-10-17 01:45:30 +00:00
Scott Moynes
ccf6cfadf7 Fix XFT redraw of text. Still needs slight work for the shadow in Basemenu 2002-10-17 00:52:03 +00:00
Scott Moynes
402e229e76 Allow for customizing of the dropShadows.
If xft.flags: shadow then you can specify the tint with xft.shadow.tint:
which should be a number 0 to 255. xft.shadow.offset: will specify how
many pixels to add in positioning.
Also, try to fix the inheritence in the pressed button borders. Need a
style to test this
2002-10-16 22:33:34 +00:00
Scott Moynes
be127cb4c6 make an *xft.flags: shadow flag to have per style resource shadows 2002-10-16 02:53:49 +00:00
Scott Moynes
fa3fb793e7 oops. fix workspace warping merge buglet 2002-10-04 03:18:28 +00:00
Scott Moynes
987cf7cc40 Added style resources for window.button.pressed.focus: and
window.button.pressed.unfocus:
Documentation to be added.
2002-10-03 03:58:07 +00:00
Scott Moynes
080ba7f9b9 remove debug code in window menu placement 2002-10-01 02:12:09 +00:00
Scott Moynes
72a2e98738 merged with 2_1-merged-to-HEAD-2002-09-30 2002-10-01 01:59:09 +00:00
Scott Moynes
783fac59c9 snap a window menu to the bottom of the screen if it is positioned too low. 2002-10-01 01:17:24 +00:00
Scott Moynes
5b8ec88623 fixed menu placement on menus with very small windows 2002-10-01 00:14:15 +00:00
Marius Nita
c2afc72a41 Fix small compile error on g++3. 2002-09-22 09:08:29 +00:00
Scott Moynes
e0d619e309 added a configure flag for enabling/disabling bitmap buttons 2002-09-14 05:43:57 +00:00
Scott Moynes
c196ecd878 more bitmap merge fixes 2002-09-14 04:52:04 +00:00
Scott Moynes
01732a20db Some bitmap bugfixes
Fixed parameters to XFillRectangle, remoced old debug code.
2002-09-14 04:01:20 +00:00
Scott Moynes
c2d992a35c merged bitmap buttons 2002-09-14 03:44:44 +00:00
Dana Jansens
15ca6904fc make alt-right click resizing work on the window handles 2002-09-11 02:14:55 +00:00
Dana Jansens
ce5313528e bindable/disableable root/workspace menus 2002-09-09 22:09:38 +00:00
Dana Jansens
3de15d0504 default drop shadows to off 2002-09-09 20:51:43 +00:00
Dana Jansens
7f001973a8 catch button presses on the window's frame window, else they end up passing up the heirarchy to the root window, and then that will do things like pop up the root menu by right clicking on the window's frame window. 2002-09-08 01:22:13 +00:00
Dana Jansens
70fed8c962 dont draw borders past the end of a texture 2002-09-07 16:50:34 +00:00
Dana Jansens
8d54452b77 lighter shadow 2002-09-07 07:35:03 +00:00
Dana Jansens
01a6d810b6 increase the reported font size when it has a shadow 2002-09-07 07:18:31 +00:00
Dana Jansens
2c01b1aa9a drop shadow with color of text 2002-09-07 06:43:18 +00:00
Dana Jansens
076ef8c10e better ropshadow? 2002-09-07 06:26:20 +00:00
Dana Jansens
02c028d8ae (optional) drop shadows for fonts 2002-09-06 16:14:55 +00:00
Dana Jansens
c1e79a4a82 back out the thick X button 2002-09-04 03:35:21 +00:00
Dana Jansens
23aea9b42f better border support for stuff. add a borderColor resource, and allow borders with gradients. basically, they can only be used with flat stuff (not raised/lowered) 2002-09-04 02:58:39 +00:00
Dana Jansens
1f5dd220e7 watch for sticky windows when mapping, let them show. 2002-09-04 02:28:42 +00:00
Dana Jansens
42e00b1c5b sync with 2.0 branch (fix auto-rasie with gtk issue) 2002-09-01 21:14:26 +00:00
Dana Jansens
e93ce60568 sync with the 2.0 branch (make XAtom::getValue not use an XGrabServer) 2002-09-01 09:51:54 +00:00
Dana Jansens
923c381dc1 sync with the 2.0 branch 2002-08-31 06:15:07 +00:00
Scott Moynes
e811623978 fixed debug flag being forced on. 2002-08-29 00:07:53 +00:00
Scott Moynes
767e04e090 Added a optional omnipresent button, enabled using the title bar layout key "S".
Needs to be documented, and the drawing tweaked a bit.
2002-08-28 23:58:32 +00:00
Dana Jansens
d139e299d5 cleanups and add a server grab in getValue 2002-08-27 12:49:04 +00:00
Dana Jansens
5033ce0a24 proper mask t catch the unmap events on systray windows 2002-08-27 10:57:15 +00:00
Dana Jansens
f5a1f592a4 fix shape support 2002-08-27 08:18:04 +00:00
Marius Nita
07e619ebbb Added missing header for clearShape, which was breaking compilation 2002-08-27 06:59:57 +00:00
Dana Jansens
9667f3a0e9 fix shape.
a) it didnt work when it added shape after mapping
b) removing shape wouldnt have worked right either
2002-08-27 03:59:51 +00:00
Scott Moynes
bb9a37ec3d Draw close button with line_width of 2. 2002-08-26 23:52:37 +00:00
Dana Jansens
f763814b33 dont limit how big a window can be resized.
dont let the user resize a window smaller than 0, which makes it wrap to a huge number
2002-08-26 12:09:28 +00:00
Dana Jansens
a6d6f0118b sync with blackbox
get rid of the default limit on window sizes
2002-08-26 05:27:25 +00:00
Dana Jansens
85612861f5 don't limit how big a window can be resized 2002-08-26 04:53:37 +00:00
Dana Jansens
d9c0cfedbd unmanage desktop windows on shutdown 2002-08-26 00:25:08 +00:00
Dana Jansens
3ad19e4a45 format comment 2002-08-26 00:23:28 +00:00
Dana Jansens
328b861d19 use the window's gravity when handling a configureRequest event for a resize only 2002-08-25 11:26:15 +00:00
Dana Jansens
db3e93a3c1 actually check if a window has the function flags approproate before trying to perform an action. (i.e. dont let windows iconify if they arent supposed to, etc) 2002-08-25 09:48:50 +00:00
Dana Jansens
45863e605c clean up the new focusing code for workspace switching 2002-08-25 08:41:18 +00:00
Dana Jansens
3ee18e2f5f explicitly set the focused window instead of waiting for the x server when changing workspaces, otherwise, if you move througha workspace before the xserver distributes your focus, you end up losing which window had the focus 2002-08-25 08:11:43 +00:00