Commit graph

297 commits

Author SHA1 Message Date
Dana Jansens
5cf86b186c add options for ignoring shaded windows and full-maxed windows while placing new windows 2002-07-16 02:18:16 +00:00
Dana Jansens
af0eced081 kde's 'desktop menu' now works just like a panel 2002-07-15 22:27:46 +00:00
Dana Jansens
90dbcb271c properly handle workspace names, and changes to them. 2002-07-14 20:54:03 +00:00
Dana Jansens
c6a826bf66 fix case where the window group deletes itself. somehow missed this while syncing! :( 2002-07-14 18:47:52 +00:00
Dana Jansens
3312a209d7 sych with blackbox 2002-07-14 18:45:46 +00:00
Dana Jansens
1525520dd1 make arrows larger, match th size of the other bullets. make all bullets' sizes quickly/easily adustable 2002-07-14 17:55:03 +00:00
Dana Jansens
8ff1b70973 make sure the desktop names atom is set when setting a workspace name, even when it doesnt already exist (bug fix) 2002-07-14 17:30:26 +00:00
Dana Jansens
8cb1108f4e properly lower windows and keep desktop windows on the bottom. 2002-07-13 21:25:19 +00:00
Dana Jansens
e8b6f65186 add support for the WM_CLASS property.
make getValue for a string array return the right number in nelements.
2002-07-12 02:24:30 +00:00
Dana Jansens
17fbff7d70 make the wheel mouse shade anywhere on the titlebar, and not press buttons. thanks woodlbock. 2002-07-11 23:44:04 +00:00
Dana Jansens
f320a02397 clean up the systray and desktop lists 2002-07-11 00:41:56 +00:00
Dana Jansens
cac80d06ef restart the window manager on a SIGHUP 2002-07-10 22:29:57 +00:00
Dana Jansens
9e99a9a1e2 sync with bb cvs 2002-07-10 22:24:48 +00:00
Dana Jansens
b21cf8b335 add another return, and return a value for a non-void funtion. 2002-07-10 17:49:05 +00:00
Dana Jansens
25f3456b5d missing a ; 2002-07-10 17:47:59 +00:00
Dana Jansens
66119f751d add some returns so the compiler doesnt get confused 2002-07-10 17:46:21 +00:00
Dana Jansens
235d9e4c40 use a BPen in the BFont class for drawing standard X fonts 2002-07-09 06:50:01 +00:00
Dana Jansens
0c04fb5260 synch with bb-cvs.
add window resize zones. the resource has been renamed from windowZones to resizeZones.
2002-07-09 06:09:10 +00:00
Dana Jansens
8e34bfcfcb keep iconified windows' workspace set to BSENTINEL, but set the NETWM hint to 0xffffffff (all desktops) 2002-07-09 04:49:04 +00:00
Dana Jansens
f2ecfb623b when a window is iconified, set its workspace to 'all workspaces' so it shows up in taskbars still. otherwise its impossible to get back iconified windows. update teh stacking list when windows switch workspaces. 2002-07-09 01:22:16 +00:00
Dana Jansens
20bc088a99 add option to the rc file to use/not use AA for Xft fonts 2002-07-08 04:40:34 +00:00
Dana Jansens
1618ecc845 extend the style format to use xft.(font|size|flags) to specify an xft font 2002-07-08 02:28:24 +00:00
Dana Jansens
137a0c4e59 allow style options in the rc file to override those found in the style 2002-07-07 21:16:35 +00:00
Dana Jansens
32c1369752 no need to call XrmInit outside of Config class. fix indenting. 2002-07-07 20:38:39 +00:00
Dana Jansens
1da5287620 dont need to XrmInit outside of the Config class. fix indenting. 2002-07-07 20:38:00 +00:00
Dana Jansens
6d4aa1af4e fix a debug print 2002-07-07 19:17:04 +00:00
Dana Jansens
ed3e597500 don't cast char*'s to string's needlessly 2002-07-07 11:17:44 +00:00
Dana Jansens
300491ce5a sync with bb-cvs 2002-07-07 10:27:06 +00:00
Dana Jansens
b29977196b try make the ~/.openbox dir if it doesnt exist. 2002-07-07 10:26:42 +00:00
Dana Jansens
b950402ba2 remove some debug fprintfs 2002-07-06 00:29:12 +00:00
Dana Jansens
5282d92b62 was ending up using the wrong cache items. now i find and release it every time a string is drawn 2002-07-06 00:28:27 +00:00
Dana Jansens
6716bd3323 sync with bb-cvs: re-add support for alt-button2, fix some off by 2's temorarily 2002-07-05 23:56:10 +00:00
Dana Jansens
9d2f88e05a use the True/False as is the blackbox code standard. 2002-07-05 22:09:40 +00:00
Dana Jansens
4abbbd9f84 remove compiler warnings 2002-07-05 20:13:56 +00:00
Dana Jansens
b3c3157354 fix a memleak reported by valgrind 2002-07-05 19:48:03 +00:00
Dana Jansens
6954842d84 when placing a window, dont use its strut while placing itself. 2002-07-05 19:47:44 +00:00
Dana Jansens
e15e4a9e03 make iconified windows uniconify on an XMapRequestEvent.
sync with blackbox cvs.
2002-07-05 01:24:32 +00:00
Dana Jansens
be2f47223c make the styles' doJustify methods stop returning the string length as this is no longer needed with the BFont class 2002-07-04 21:33:27 +00:00
Dana Jansens
08d793bb79 add BFont class, with Xft support 2002-07-03 06:34:25 +00:00
Dana Jansens
9aaf4f8de7 some memory bugs from woodblock (thanks!) 2002-07-03 05:26:11 +00:00
Dana Jansens
75a068cca2 removing old Makefile.in, rolling back Makefile.am to before the mappable muse button bindings 2002-07-03 01:31:32 +00:00
Dana Jansens
888c0bac90 backing out all changes to make mouse button mapping's configurable 2002-07-02 14:57:02 +00:00
Dana Jansens
ffa4c7f341 sync with bb. mostly cleanups in Window.cc 2002-06-30 09:53:52 +00:00
Dana Jansens
18064df19f add capability to stick a window from input, and make close buttons work. 2002-06-30 03:30:54 +00:00
Dana Jansens
351a06655b Configureable button mappings! 2002-06-29 23:50:04 +00:00
Dana Jansens
b0d81f77aa proper order for the stacking order list 2002-06-28 04:27:49 +00:00
Dana Jansens
871602208a make desktop windows get lowered properly 2002-06-28 03:39:22 +00:00
Dana Jansens
eb136b9629 use the _NET_WM_DESKTOP_NAMES root property 2002-06-28 01:44:47 +00:00
Dana Jansens
e9f582ae97 make getting a list of strings work right 2002-06-28 01:43:32 +00:00
Dana Jansens
578a5cc980 make fully max'd windows properly snap 2002-06-27 17:54:32 +00:00
Dana Jansens
b2e9af8886 add the functionality for window-window snapping 2002-06-22 04:48:33 +00:00
Dana Jansens
f4c0547b7a merge from netwm-merge2 to netwm-merge3. Basically, all of netwm that we intend to support is 'supported'. Just need to squash bugs now. 2002-06-21 20:40:14 +00:00
Dana Jansens
1766453ca2 sync with blackbox-cvs 2002-06-21 01:06:29 +00:00
Dana Jansens
8941da8e41 change to match blackbox 2002-06-07 00:28:40 +00:00
Dana Jansens
e90fafd2fd fix off-by-ones in window-to-window snapping. move the property from the blackbox class to the screen class. 2002-06-07 00:24:02 +00:00
Dana Jansens
aad50046de synched with bb-cvs. couple bug fixes. 2002-06-05 04:20:08 +00:00
Dana Jansens
7a55323343 syching with bb-cvs. rm .\#* on make dist-clean. nls updates. 2002-06-05 03:51:26 +00:00
Dana Jansens
a7db565c75 window-to-window snapping is now a run-time option.
window-corner snapping added, and also is a run-time option.
2002-06-02 00:30:55 +00:00
Dana Jansens
f0c2fa18be window-to-window corner snapping! 2002-06-01 23:48:21 +00:00
Dana Jansens
39d598e556 backing out sticky transients change, this should go in the netwm branch 2002-06-01 18:08:49 +00:00
Dana Jansens
1775e867c4 sync with bb-cvs 2002-06-01 17:54:32 +00:00
Dana Jansens
4e0fde35ac make all parents/transients that are related have the same sticky state. 2002-06-01 17:18:55 +00:00
Dana Jansens
20bac0772c on reconfigure, save all of the open submenus instead of just one, and then reopen them all as best as possible. 2002-06-01 17:14:32 +00:00
Dana Jansens
e149ab6c29 no need to try the same screen edge twice for snapping when full max is on 2002-05-30 23:17:54 +00:00
Dana Jansens
9ccebf1118 redecorating fixups. sync with bb cvs. 2002-05-30 08:55:30 +00:00
Dana Jansens
c5c5a80c7e fix bug from merging last netwm stuff 2002-05-30 07:14:43 +00:00
Dana Jansens
5336c900d0 merge in netwm branch at tag netwm-merge2 2002-05-30 06:51:43 +00:00
Dana Jansens
23640740ca sync with bb cvs 2002-05-30 04:35:22 +00:00
Dana Jansens
4787715525 save the right number of workspaces to the rc when adding/removing one 2002-05-29 09:11:41 +00:00
Dana Jansens
53353465f2 fix so that FocusIn events for focus transer from root->client are used. 2002-05-28 19:34:23 +00:00
Dana Jansens
b8ee3dbc45 merging in netwm changes at merge point "netwm-merge1". This add the XAtom class, and sets the net_supported_wm_check related atoms. 2002-05-28 14:32:42 +00:00
Dana Jansens
12fcb33bfa re-added UnderMouse Placement
added NLS support in the new configure system.
2002-05-28 12:39:23 +00:00
Dana Jansens
b48e215ca6 updated nls to use openbox.cat 2002-05-28 12:21:38 +00:00
Dana Jansens
8eb930551c disable the current workspace in the send-to menu 2002-05-28 11:55:43 +00:00
Dana Jansens
46b2484eda let a window snap to more than one window at a time 2002-05-28 11:46:29 +00:00
Dana Jansens
734a96739d window-to-window snapping 2002-05-28 11:38:37 +00:00
Dana Jansens
0bf0d84443 adding .cvsignore files to the repository to clean up the output whenever you commit some sort of cvs action 2002-05-28 10:33:56 +00:00
Dana Jansens
b13452a0c0 when nothing is to be focused, give the root window focus instead of the toolbar (since the toolbar is not neccesarily mapped anymore!) 2002-05-28 10:15:08 +00:00
Dana Jansens
57ac5e5b5e sync with bb-cvs 2002-05-28 09:53:11 +00:00
Dana Jansens
6284d4ef90 fix bug where destroying the wrong windows in BlackboxWindow::positionButtons.
make util/ directory use the new config.h too
2002-05-28 09:38:40 +00:00
Dana Jansens
62ea1c5937 use config.h for configuration options instead of a bunch of -D's on the compile command lines 2002-05-28 07:41:47 +00:00
Dana Jansens
5377e3fde1 added "Hide Toolbar" option. 2002-05-27 05:06:04 +00:00
Dana Jansens
b0f8eab0e6 make window menu behavior consistant. ignore !button1. 2002-05-27 03:55:18 +00:00
Dana Jansens
341c4e04ff mouse wheel support
custom titlebar layout
2002-05-27 03:12:21 +00:00
Dana Jansens
c2ab902334 prevent (and if need be revert) shading if titlebar decor is toggled off 2002-05-26 20:53:48 +00:00
Dana Jansens
f5f7c8fb4e use the raw screen size not the strut adjusted size to determine max_height and width of a client 2002-05-26 20:51:33 +00:00
Dana Jansens
59cea4f2d3 save workspace names properly with the new Configuration class. 2002-05-26 20:51:12 +00:00
Dana Jansens
0305cbdc3a add Configuration class for generic configuration data load/save-ing.
use Configuration class throughout code. no longer save rc file on exit, save when any options are changed.
2002-05-26 20:25:38 +00:00
Dana Jansens
0c7e8e4011 fixed the geometry window not getting the proper pixmap. This was caused by using a style with the window.label.focus set to parentrelative. The window label's parent is the title bar but the geometry window's parent is root. The code now detects the parentrelative and tries to use the window.title as intended. 2002-05-25 15:46:08 +00:00
Dana Jansens
c04cb76409 - raise the window during maximization if the user clicked the maximize button, but otherwise don't
- two fixes here.  1) only raise window in maximize if the window is focused, 2) remap window on reparent event
2002-05-25 15:45:09 +00:00
Dana Jansens
2f65b6533c make use of the --enable-clobber option 2002-05-25 03:46:25 +00:00
Dana Jansens
d744d37540 reindent version string 2002-05-25 03:24:39 +00:00
Dana Jansens
e5d6ed912c reindent again. better now. 2002-05-25 03:23:44 +00:00
Dana Jansens
ca5b573f63 reindent the help/usage message 2002-05-25 02:58:51 +00:00
Dana Jansens
b3737edc7c use openbox/ dir for rc file and menu file. turn menu into a command line option instead of an rc file option 2002-05-25 02:24:30 +00:00
Dana Jansens
e5bdc51167 build a 'openbox' binary 2002-05-25 01:18:50 +00:00
Dana Jansens
f70f3028ce use our default style 2002-05-25 01:11:24 +00:00
Dana Jansens
f992b34c7d use our version string 2002-05-25 01:10:44 +00:00
Dana Jansens
20063c2246 import from bb-cvs 2002-05-25 00:30:31 +00:00
Dana Jansens
8794d357e6 import from bb-cvs
added slit and enable-clobber defines back in Makefile.am
2002-05-25 00:29:44 +00:00