Commit graph

4683 commits

Author SHA1 Message Date
Dana Jansens
3b77950a79 add font weight and font slant enumerations 2007-03-04 01:08:51 +00:00
Dana Jansens
ac6fe98008 use font 8point by default if none is specified 2007-03-04 01:08:33 +00:00
Dana Jansens
41e272bd27 add missing comment 2007-03-04 00:47:26 +00:00
Dana Jansens
aa852556c0 let the configuration file changes affect windows' decroations and functionality on reconfigure (fix keepBorder bug 2841 2007-03-03 21:10:15 +00:00
Dana Jansens
73671503fa don't change the restart type with the session manager when openbox exits. it's not like something else will magically run instead. if we exit, we should get started again, that's why --replace exists. 2007-03-03 06:04:00 +00:00
Dana Jansens
65f0c70851 pretty brackets 2007-03-03 03:53:10 +00:00
Dana Jansens
9d1949f0b1 if sm is disabled, there is nothing to shutdown, so don't go trying to free things and stuff. that can only be a bug 2007-03-03 03:47:50 +00:00
Dana Jansens
831deb72c6 ok this time for real...
add --reconfigure option to openbox.

this option will open the display, find the current openbox's PID from the root window, and send a SIGUSR2 to it, telling it to reconfigure. then it exits.

also no longer printing help if you pass an invalid argument to openbox (because i want to parse arguments for --reconfigure before i start up the session management stuff)
2007-03-03 03:43:45 +00:00
Dana Jansens
48a7c32512 make a copy of the argc and argv instead of modifying the real ones
this means that when openbox is restared it doesn't lose it's SM related command line args, they get passed to the new openbox same as they were passed to the one exiting.
2007-03-03 03:42:28 +00:00
Dana Jansens
b8bcc45143 commited things i wasn't supposed to. wow i suck. 2007-03-03 03:29:49 +00:00
Dana Jansens
81743b0529 reverse that last commit.. that was by accident.. 2007-03-03 03:29:24 +00:00
Dana Jansens
f189b02f85 add --reconfigure option to openbox.
this option will open the display, find the current openbox's PID from the root window, and send a SIGUSR2 to it, telling it to reconfigure. then it exits.

no longer printing help if you pass an invalid argument to openbox

since that is the case, session_startup doesnt need to be modifying the args anymore
2007-03-03 03:27:35 +00:00
Dana Jansens
56c5c7d15f why aren't these variables getting initialized. how exactly is openbox not being super strange without that..? 2007-03-03 03:00:05 +00:00
Dana Jansens
8343a8192f fix memleak, free the render instance on shutdown. 2007-03-03 02:53:57 +00:00
Dana Jansens
037fc862b0 pango is now mandatory..
lots of cleanups to the pango code, which was a very nice base to start from. thanks to whomever wrote that for us.. put some of the pango variables into the various render structs so that they don't need to be created all the time. put the pango context inside our RrInstance so that it can be properly freed at shutdown. removed xft dependencies all through the code and the build system also. who knows if this will break compiling for some poor souls. i guess we'll find out, won't we!
2007-03-03 02:53:41 +00:00
Dana Jansens
c5b551b25a add -fno-strict-aliasing to the gcc compiler flags. this is needed, see:
http://www.exim.org/mail-archives/exim-users/Week-of-Mon-20030721/msg00141.html

| It's not a compiler bug.  It is a C99 bug, or more exactly, a
| feature.  C99 changed the semantic of the C language with respect to
| aliasing questions.   Now, the compiler can assume that pointer to
| different types points to different memory location.  This breaks all
| the OO code written in C.
|
| This is a very good idea that the compiler issues a warning message
| because the semantic of language really changed and you want to revert
| to the old semantic.
|
| The make package MUST add -fno-strict-aliasing.  It is not a
| convenience to get rid off warnings.
2007-03-03 00:58:37 +00:00
Dana Jansens
4084f5d82d fix for per-application focus settings. properly use all the possible values (1, 0, and -1) 2007-03-02 22:44:38 +00:00
Dana Jansens
07fe0980be declare variables at the beginning of blocks, because it is nice to do so. and polite? 2007-03-02 22:11:46 +00:00
Dana Jansens
de383f35f7 no more using SaveUnder for our openbox-specific windows. it makes things actually slow down, believe it or not! 2007-03-02 22:06:13 +00:00
Dana Jansens
140c5313cf only update the screen areas when a window actually has a strut (or when the strut changes), don't waste extra calls to screen areas, because it makes people redraw when they don't need to 2007-03-02 15:19:39 +00:00
Dana Jansens
80a6f06c0a support clients which use true transparency 32-bit visuals.
this requires that when a client is using a 32-bit visual, we have to
make the frame windows that sit underneath it to use the same visual (and a
colormap which matches it)
2007-03-02 06:01:16 +00:00
Dana Jansens
78af5d15e9 this includes a number of things since my magnificent return....
1. some random compiling/style cleanups
2. some bigfixes
 - mislogic in per-window-settings and focusing new windows
 - use client_can_focus rather than checking variables for directional focus
 - MAYBE fix all those lock-ups forever. using event_curtime (a new variable) now instead of event_lasttime. event_lasttime is still used however when the event being processed did not have a time associated with it. this may or may not be a problem, and will be seen.
3. um.. i forget
4. oh yeah, 3rd party docks are now treated like the internal ob dock irt focus. that is, clicking on them won't pass them focus. this is going to be ratified as expected behavior in the wm-spec just now. if docks/panels want focus they can request it with _net_active_window, and then they can have all the focus they want! one day alt-tabbing around dock windows might be nice. but not until the ob dock is moved out into a separate application. going to have to add a wmapp selection and stuff for that though... ugly. who uses wmdockapps anymore !? someone must.. *sigh*
2007-03-02 02:23:00 +00:00
Mikael Magnusson
2b99b62abf maybe this works then 2007-02-20 13:13:27 +00:00
Mikael Magnusson
144cc4ff70 this should do it 2007-02-20 12:30:47 +00:00
Mikael Magnusson
30002bb87f note that in the CHANGELOG 2007-02-05 21:24:48 +00:00
Mikael Magnusson
1aa9c7e95e always place windows on the screen with the mouse cursor in xinerama, throw some code around (try3) 2007-02-05 21:19:35 +00:00
Mikael Magnusson
d04b68f8bc always place windows on the screen with the mouse cursor in xinerama, throw some code around (try2) 2007-02-05 21:19:04 +00:00
Mikael Magnusson
29da19bd85 always place windows on the screen with the mouse cursor in xinerama, throw some code around 2007-02-05 21:16:18 +00:00
Mikael Magnusson
74c7f786eb SIGH 2007-02-03 15:03:46 +00:00
Mikael Magnusson
9180659154 maybe we should actually run the actions on the menu items when activated, maybe i am crazy but it seems like a good idea 2007-02-03 14:57:34 +00:00
Mikael Magnusson
f43067b772 a combined client_list_menu, use as client-list-combined-menu in your rc.xml. needs some layout tuneups 2007-01-30 09:32:17 +00:00
Mikael Magnusson
d3d4aa2987 80 cols 2006-11-15 21:12:06 +00:00
Mikael Magnusson
59d35252dd dont use nonexisting functions 2006-10-31 14:40:32 +00:00
Mikael Magnusson
b18846db69 Add MoveFromEdge* actions, shorten client_directional_edge_search with some handy #defines 2006-10-31 03:33:21 +00:00
Mikael Magnusson
efa508a2a2 show clients with the skip_taskbar property set in the client_list_menu if they're iconic 2006-09-18 22:03:27 +00:00
Mikael Magnusson
b9532883a2 dont use the keepBorder option for mwm hinted windows after all, but do honor the mwm_decor_border hint instead 2006-09-12 20:26:00 +00:00
Mikael Magnusson
b276ff81a1 stray ; killed if 2006-09-09 22:05:31 +00:00
Mikael Magnusson
baf774b90d update this too 2006-09-07 12:06:11 +00:00
Mikael Magnusson
250af09c42 update changelog 2006-09-07 12:00:31 +00:00
Mikael Magnusson
6930bdb289 fix a crash when using mirrorhorizontal and resizing a window to width 1 2006-09-07 11:40:01 +00:00
Mikael Magnusson
1fbc70da58 disable middle menus by default 2006-09-06 10:50:33 +00:00
Mikael Magnusson
cb81941e27 corrections to hr.po from daniel radetic 2006-09-05 15:11:37 +00:00
Mikael Magnusson
c4dc6e231d unused thingies 2006-08-31 13:50:47 +00:00
Mikael Magnusson
d84f1aac10 remove .cvsignore files 2006-08-31 13:49:36 +00:00
Mikael Magnusson
a3b551510c note 5483 in CHANGELOG 2006-08-31 13:47:27 +00:00
Mikael Magnusson
96eab1423f oops, added borders to windows when keepborder was on and they didnt have one to start with, ie docks etc 2006-08-31 13:43:19 +00:00
Mikael Magnusson
9b7915ffd1 add slovak translation 2006-08-25 01:58:29 +00:00
Mikael Magnusson
119f8cea63 correct a typo? 2006-08-25 01:29:19 +00:00
Mikael Magnusson
28590f8cef minor tweak 2006-08-24 22:09:20 +00:00
Mikael Magnusson
d4b90d3641 strstr is our friend, thanks merry 2006-08-24 22:04:19 +00:00