Commit graph

5393 commits

Author SHA1 Message Date
Dana Jansens
4969c1b084 move some typedefs into class scope 2002-05-12 20:56:40 +00:00
Dana Jansens
30b899fc02 converted all of the openbox class LinkedLists to STL objects 2002-05-12 20:46:02 +00:00
Dana Jansens
57fb41c806 converted the remaining LinkedLists in Screen to STL objects. 2002-05-12 09:15:09 +00:00
Dana Jansens
addc23faf5 not initializing a pointer to NULL 2002-05-12 01:40:36 +00:00
Dana Jansens
a0dbb0e13f couple of LinkedLists converted to STL lists in BScreen
changed teh calls to XSetInputFocus. Using the root window as the fallback when there is nothing to focus instead of the toolbar. Also, always using 'RevertToPointerRoot' instead of sometimes 'RevertToParent'
2002-05-12 01:23:48 +00:00
Dana Jansens
f804f86c3e use screen instead of its ImageControl to get/set the image dither value 2002-05-11 18:36:26 +00:00
Dana Jansens
c7810a3c38 make image dithering value load correctly 2002-05-11 18:33:29 +00:00
Dana Jansens
b424a72384 converted from LinkedList to STL vector and list 2002-05-11 05:33:49 +00:00
Dana Jansens
fba11bf0c6 increment version for next release 2002-05-10 09:09:36 +00:00
Dana Jansens
9f9cdf1194 fixes for using ostrstream in gcc3. have to unfreeze the string more. annoying.
save workspace names/count properly
2002-05-10 07:13:40 +00:00
Dana Jansens
098fae70a6 better gcc3 compat. using ostrstream again. and using namespace std;
some focus changes. workspace contains a focused window instead of openbox class. this fixes a seg
2002-05-10 02:58:09 +00:00
Dana Jansens
ec10256a78 ran autoconf to regen configure 2002-05-07 15:36:00 +00:00
Dana Jansens
8956328138 gcc 3 compatibility, converted strstreams to stringstreams 2002-05-07 15:34:46 +00:00
Dana Jansens
4e2c37f2d2 fix headers to use the new defines 2002-05-05 23:18:35 +00:00
Dana Jansens
38de48bd8b stop moving a window if it is maximized 2002-05-03 22:02:51 +00:00
Dana Jansens
445e28af9a windows at positions x<0 or y<0 are no longer ignored in the placing code 2002-05-02 04:44:19 +00:00
Dana Jansens
ba832151d0 better toolbar strftime size/padding fix 2002-05-01 22:30:44 +00:00
Dana Jansens
73f0a90993 BScreen::resource.root_command wasnt being initialized 2002-05-01 22:21:12 +00:00
Dana Jansens
415f0241b3 xsetbg typo 2002-05-01 19:56:29 +00:00
Dana Jansens
5f9c458fbc fix possible seg because of new move code. make sure that the masked_window pointer gets cleanup up (call endMove) when a window is destroyed (pointer is then invalid) 2002-05-01 07:13:12 +00:00
Dana Jansens
0be1c1e8d7 when a window begins moving, make sure another window is not moving already, and if it is, end its move 2002-04-30 08:09:53 +00:00
Dana Jansens
f4d29bb737 make sure that the only time Click-to-place kicks in is when initially placing/mapping the window 2002-04-30 07:46:46 +00:00
Dana Jansens
5705ea3613 bug #1 from click placement fixed. was catching more motionNotify events than i wanted to with the new/modified move grabs. now i drop any left-over extras when the move completes so they dont come in too late 2002-04-30 07:24:54 +00:00
Dana Jansens
b88c4292e5 removing old files that got merged in 2002-04-30 02:12:11 +00:00
Dana Jansens
f290e1c04c save the titlebarLayout in the default config 2002-04-30 02:08:33 +00:00
Dana Jansens
b79ced0198 changelog fixes 2002-04-29 23:45:06 +00:00
Dana Jansens
deb016c7b4 fix positioning of the window menu 2002-04-29 23:35:35 +00:00
Dana Jansens
84f0293a88 fix bug with window menu positioning 2002-04-29 23:27:31 +00:00
Dana Jansens
22f8550d45 fixed col placement 2002-04-29 20:29:10 +00:00
Dana Jansens
1368ffc54c better logic when changing a window's decoration level, for choosing what elements of decoration get placed on the window. 2002-04-29 07:41:53 +00:00
Dana Jansens
00dc78c66f better logic when changing a window's decoration level, for choosing what elements of decoration get placed on the window. 2002-04-29 07:31:44 +00:00
Dana Jansens
fb1ef42d42 fixed bug from converting over to STL 2002-04-29 01:58:28 +00:00
Dana Jansens
65118aafb6 bsetroot supports transparent apps with root property 2002-04-28 19:38:47 +00:00
Dana Jansens
6796e79827 took bsetroot from Blackbox moving_target.. "bsetroot now sets xrootpmap_id, pseudo transparent apps should be happy" 2002-04-28 19:35:59 +00:00
Dana Jansens
127252cc10 when a window is iconified, it was being moved, end the move cleanly 2002-04-28 19:17:16 +00:00
Dana Jansens
5e3ca8e665 don't click-to-place windows when they specify a position 2002-04-28 19:14:54 +00:00
Dana Jansens
4852193a57 properly handle placing a window while another window is still placing. 2002-04-28 19:09:25 +00:00
Dana Jansens
1789f16af9 if user is moving a window and switches workspaces, stop moving that window 2002-04-28 12:34:34 +00:00
Dana Jansens
8ef0610e90 added ClickMouse window placement policy 2002-04-28 12:12:24 +00:00
Dana Jansens
830e53f25c moved the 'moving window' logic into separate functions "startMove" "doMove" and "endMove" 2002-04-28 11:26:55 +00:00
Dana Jansens
ad7f61121c new row/col Smart Placement from colophon 2002-04-28 01:05:12 +00:00
Dana Jansens
20cd70c466 added UnderMouse windwo placement. 2002-04-28 00:11:19 +00:00
Dana Jansens
07281446ea better cascadePlacement. uses screen.availableArea(). 2002-04-27 21:15:00 +00:00
Dana Jansens
e5685e3cfd added BScreen::availableArea() which returns a rect specifying where windows can be placed on the screen, and what area they can fill when maximized 2002-04-27 19:25:20 +00:00
Dana Jansens
fb96e47f23 removed debugging couts 2002-04-27 19:24:09 +00:00
Dana Jansens
b7d0a77d16 add std:: to the vector typedef in Basemenu
converted slit to use a std::list instead of LinkedList
2002-04-27 18:53:59 +00:00
Dana Jansens
5c9ab8b845 converted from LinkedList to a vector 2002-04-27 18:21:21 +00:00
Dana Jansens
3001cec790 more dithering fix. 2002-04-26 07:38:17 +00:00
Dana Jansens
b2453eec0e that segfaulted. oops. added a workaround so setImageDither doesnt reconfig when saving off all the rc values 2002-04-26 07:19:22 +00:00
Dana Jansens
3f6f897d88 when Image Dither is changed in the menu, make ob reconfigure so it uses the dithering 2002-04-26 07:13:22 +00:00