Commit graph

263 commits

Author SHA1 Message Date
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
Dana Jansens
18bdbfaad2 better string get/set 2002-05-24 18:19:22 +00:00
Dana Jansens
120d8e5ac3 updated -version output ot list myself 2002-05-23 15:40:11 +00:00
Dana Jansens
bbbe226ccc refix i18n for --disable-nls 2002-05-23 15:22:48 +00:00
Dana Jansens
e7c332a586 missing an include 2002-05-23 15:12:38 +00:00
Dana Jansens
ac62af410d fix compiling with --disable-nls 2002-05-23 15:11:41 +00:00
Dana Jansens
d03852ad25 fix compliling with --disable-slit 2002-05-23 15:00:15 +00:00
Dana Jansens
a85c9a7c6e added XAtom class, and it all now compiles. 2002-05-23 14:53:06 +00:00
Dana Jansens
67b4df1eff merge the sticky window fix from 1.2. 2002-05-23 14:27:52 +00:00
Dana Jansens
fda410fdf2 fixed sticky windows! 2002-05-23 06:23:22 +00:00
Dana Jansens
20d7381ffb new versions of the X classes
added an Atom in XAtom and functionality in XScreen and XDisplay
2002-05-17 02:49:26 +00:00
Dana Jansens
de712f8567 XDisplay's nextEvent completed 2002-05-16 22:48:44 +00:00
Dana Jansens
ae3dc273c4 new i18n class using overloaded operator() instead of getMessage() 2002-05-16 22:35:59 +00:00
Dana Jansens
91a7ca7d20 added the X classes to the build process though they aren't sued by anything else yet. They now compile too. 2002-05-16 18:39:03 +00:00
Dana Jansens
cc7cb82deb adding new X base classes which encapsulate all X server interation 2002-05-16 15:50:41 +00:00
Dana Jansens
4f04dcaf22 removing auto-generated stuff from cvs 2002-05-16 15:27:36 +00:00
Dana Jansens
ae093dba2f make a new autoRaiseDelay value take effect without having to restart 2002-05-16 09:24:40 +00:00
Dana Jansens
7f3d32e3dc make auto-raise value load. 2002-05-16 07:52:13 +00:00
Dana Jansens
927091eef1 fix off-by-one window resizing bug 2002-05-16 07:16:32 +00:00
Dana Jansens
5d6413d495 fix for slit direction menu not reconfiguring properly 2002-05-16 05:59:02 +00:00
Dana Jansens
90e7db977f *** empty log message *** 2002-05-16 04:41:56 +00:00
Dana Jansens
a3a23c28f0 moved menu from a rc file option to a command line option 2002-05-15 22:23:35 +00:00
Dana Jansens
878d57337f update changelog.
removed a redundant var from BaseDisplay.
2002-05-14 23:30:22 +00:00
Dana Jansens
e7978c7d24 confine the mouse to the window for button grabs so that alt-click-drag on a window that wont move doesnt let the mouse leave the window and cause havoc 2002-05-14 23:15:38 +00:00
Dana Jansens
f75083669f new version of bsetroot ported from blackbox cvs 2002-05-14 22:15:01 +00:00
Dana Jansens
527864614b set the button windows to None when they are destroyed so we know they are no longer valid windows 2002-05-14 19:32:32 +00:00
Dana Jansens
1b1efab489 compile with -Wall -W -pendantic when --enable-debug is set. 2002-05-14 19:28:34 +00:00
Dana Jansens
f00ed578ba new focus code! working better than ever! 2002-05-14 07:53:22 +00:00
Dana Jansens
e81b9d6a72 fix for changing window buttons order. destroy them properly when they no longer exist and recreate them if they dont exist yet 2002-05-14 00:47:16 +00:00
Dana Jansens
d6c02ad70c fix segfaut from uninitialized focused_screen pointer 2002-05-13 23:09:20 +00:00
Dana Jansens
6d16679486 focus code updates 2002-05-13 00:23:59 +00:00
Dana Jansens
6486b64576 LinkedList->STL conversion completed. LinkedList is no longer use and it has been removed from the source tree. 2002-05-12 22:45:28 +00:00
Dana Jansens
d58f7b569e no more use of LinkedList in BaseDisplay 2002-05-12 22:40:32 +00:00
Dana Jansens
eb8a11a5a7 removed LinkedLists in BaseDisplay and Image. Only 1 left in BaseDisplay now 2002-05-12 21:46:02 +00:00
Dana Jansens
ebdf25bf67 removed all 'using namespace std;' calls. 2002-05-12 21:15:40 +00:00